> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apowerb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Agent Sse

> Endpoint to run an ADK agent with SSE streaming.



## OpenAPI

````yaml /api-reference/openapi.json post /api/adk/run_sse
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/adk/run_sse:
    post:
      tags:
        - adk
      summary: Run Agent Sse
      description: Endpoint to run an ADK agent with SSE streaming.
      operationId: run_agent_sse_api_adk_run_sse_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunADKAgentRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    RunADKAgentRequest:
      properties:
        agent_name:
          type: string
          title: Agent Name
        user_id:
          type: string
          title: User Id
        session_id:
          type: string
          title: Session Id
        data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data
        run_mode:
          type: string
          title: Run Mode
          default: run
        streaming:
          type: boolean
          title: Streaming
          default: false
        new_message:
          additionalProperties: true
          type: object
          title: New Message
      type: object
      required:
        - agent_name
        - user_id
        - session_id
        - new_message
      title: RunADKAgentRequest
      description: Schema for running an ADK agent.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Run Agent Sse](/api-reference/run-agent-sse.md)
- [Run Workflow Sse](/api-reference/workflows/run-workflow-sse.md)
- [Run Agent](/api-reference/adk/run-agent.md)
- [Run Adk Agent](/api-reference/run-adk-agent.md)
