Skip to content
API documentation

Stream durable MV workflow events

GET/api/v1/tasks/{taskId}/workflow/stream

Authentication · x-api-key

Receive durable workflow events over SSE. Resume with Last-Event-ID or after; reconcile the workflow snapshot after a reset.

Request

taskIdpath · Required
string

afterquery · Optional
string

Responses

200 OK

Reconnect with Last-Event-ID. Events carry a decimal-string sequence.

text/event-stream

    See the complete schema in the API explorer.

    403 Forbidden

    Forbidden: the API key lacks the required scope or its IP policy rejects this request.

    application/json

    • Response 403 · errorRequired

      object
      3 fields
      • Response 403 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 403 · error.messageRequired

        string

        Human readable error message

      • Response 403 · error.detailsOptional

        object

        Additional error details (optional)

    • Response 403 · successRequired

      false

      Always false for error responses

    429 Too Many Requests

    Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.

    application/json

    • Response 429 · errorRequired

      object
      3 fields
      • Response 429 · error.codeRequired

        string

        RATE_LIMITED for request and task admission rejections.

      • Response 429 · error.messageRequired

        string
      • Response 429 · error.detailsOptional

        object

        Optional and scope-dependent. Request limits supply scope/policy/type/limit/current/retryAfterSec. Task admission supplies inFlight/limit/tier, plus scope=apiKey for a key cap. IP rejection can omit details. In-flight rejection does not promise Retry-After.

        8 fields
    • Response 429 · successRequired

      false

      Default: false.

    Interactive API Explorer → · OpenAPI JSON