Skip to content

One job's live log, telemetry and capacity-wait lines (SSE)

GET
/v1/events
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.

job_id
required

The job to follow

string format: uuid

The job to follow

project_id
string | null format: uuid

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>
ValidationError
object
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": {}
}
]
}