Skip to main content
GET
/
sse
/
status
SSE status stream
curl --request GET \
  --url https://api.capout.ai/sse/status
"event: status.updated\\ndata: {\"document_id\":\"doc_123\",\"status\":\"processing\",\"workflow_complete\":false}\\n\\n"

Query Parameters

token
string
required

Realtime token returned by POST /ws/token.

document_id
string[]

Repeat this query parameter to subscribe to specific document IDs.

recent
integer | null

Subscribe to the most recent organization-owned documents instead of listing document_id values.

Response

Streaming response

The response is of type string.

Example:

"event: status.updated\\ndata: {\"document_id\":\"doc_123\",\"status\":\"processing\",\"workflow_complete\":false}\\n\\n"