Skip to content

Get Job Events

GET
/api/jobs/{job_id}/events
curl --request GET \
--url 'http://localhost:8000/api/jobs/example/events?limit=100' \
--header 'Authorization: Bearer <token>'

Recent progress events for a job — backfills the live activity feed so a freshly opened task page shows what already happened, not just future events.

job_id
required
Job Id
string
limit
Limit
integer
default: 100
x-workspace-id
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}