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

# Stream Workspace Events

> SSE: ``event.recorded`` (a feed item) as an event arrives, ``event.processing``
({event_id, processing}) as the platform acts on it. The filters are the feed's;
``result`` is not applied here, since an event's result changes as it is handled.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces/{workspace}/streams/events/live
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/workspaces/{workspace}/streams/events/live:
    get:
      tags:
        - v1
        - protected
        - streams
      summary: Stream Workspace Events
      description: >-
        SSE: ``event.recorded`` (a feed item) as an event arrives,
        ``event.processing``

        ({event_id, processing}) as the platform acts on it. The filters are the
        feed's;

        ``result`` is not applied here, since an event's result changes as it is
        handled.
      operationId: stream_workspace_events_v1_streams_events_live_get
      parameters:
        - description: Slug of the workspace the request acts in
          in: path
          name: workspace
          required: true
          schema:
            description: Slug of the workspace the request acts in
            maxLength: 120
            pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
            title: Workspace
            type: string
        - in: query
          name: stream_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            title: Stream Id
        - in: query
          name: source_type
          required: false
          schema:
            anyOf:
              - maxLength: 64
                type: string
              - type: 'null'
            title: Source Type
        - description: An event kind, or a prefix ending in .* (order.*).
          in: query
          name: kind
          required: false
          schema:
            anyOf:
              - maxLength: 255
                type: string
              - type: 'null'
            description: An event kind, or a prefix ending in .* (order.*).
            title: Kind
        - in: query
          name: sender
          required: false
          schema:
            anyOf:
              - maxLength: 512
                type: string
              - type: 'null'
            title: Sender
        - in: query
          name: session_key
          required: false
          schema:
            anyOf:
              - maxLength: 512
                type: string
              - type: 'null'
            title: Session Key
        - description: What the platform did with it.
          in: query
          name: result
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ProcessingStatus'
              - type: 'null'
            description: What the platform did with it.
            title: Result
        - description: Received at or after.
          in: query
          name: since
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Received at or after.
            title: Since
        - description: Received before.
          in: query
          name: until
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Received before.
            title: Until
        - description: >-
            False leaves out the platform's own events (source type platform);
            the first page's counts still include them.
          in: query
          name: platform
          required: false
          schema:
            default: true
            description: >-
              False leaves out the platform's own events (source type platform);
              the first page's counts still include them.
            title: Platform
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema: {}
            text/event-stream: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ProcessingStatus:
      enum:
        - queued
        - processing
        - handled
        - error
        - no_handlers
        - skipped
      title: ProcessingStatus
      type: string
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.