Gensprite
Jobs

Stream job updates (browser only)

GET
/v1/jobs/{id}/events

Server-sent events carrying the same Job object that getJob returns, one per change, plus periodic heartbeats to keep intermediaries from closing the connection.

For browser clients only. Programmatic clients should poll instead, which is why this endpoint carries no weight in the contract: removing it would not affect them.

Authorization

AuthorizationBearer <token>

API key sent in the Authorization bearer header. Used by programmatic clients.

In: header

Path Parameters

id*string
Length1 <= length

Response Body

text/event-stream

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/jobs/string/events"
"string"