Sawvant
Jobs

Stream job progress via SSE

Server-Sent Events stream that emits `progress`, `completed`, or `failed` events. The stream closes automatically when the job reaches a terminal state. A `: heartbeat` comment is sent every 30 seconds to keep the connection alive through proxies and load balancers. SSE clients ignore these automatically.

GET
/v1/jobs/{id}/stream
X-API-Key<token>

API key with sk_ prefix

In: header

Path Parameters

id*string

Job UUID

Formatuuid

Response Body

text/event-stream

application/json

application/json

application/json

curl -X GET "https://api.sawvant.com/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/stream"
"string"
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}