One job's live log, telemetry and capacity-wait lines (SSE)
GET
/v1/events
const url = 'https://example.com/v1/events?job_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/events?job_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \ --header 'X-API-Key: <X-API-Key>'Follow one job’s live lines. project_id, when given, must be the
job’s project; a project-restricted API key must give it.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” job_id
required
The job to follow
string format: uuid
The job to follow
project_id
string | null format: uuid
Responses
Section titled “ Responses ”Server-sent job events (live log, telemetry and capacity wait lines)
Media type text/event-stream
string
Invalid or missing API key
Media type application/json
ErrorResponse
Standard error response.
object
detail
required
Error message describing what went wrong
string
Example generated
{ "detail": "example"}Validation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}