Events
Returns the events associated with a job. If the job has no events, the response contains an empty list.
Requires the 'Execute structure profiling' permission. The check is global: the caller must hold the permission in at least one domain. Administrators and service accounts are always allowed.
Job external ID
Events
Unauthorized
Forbidden
Not found
Internal Server Error
GET /api/jobs/{job_external_id}/events HTTP/1.1
Accept: */*
{
"data": [
{
"id": 1,
"job_id": 1,
"message": "Job processing started",
"type": "job_started"
}
]
}Creates an event for a job.
Requires administrative privileges (administrator or service account).
Request body:
event(required) – Object containing:type(required, string) – Event type.message(required, string) – Event message.metadata(optional, object) – Additional event metadata.
Job external ID
Created
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
POST /api/jobs/{job_external_id}/events HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"event": {
"message": "Job processing started",
"metadata": {},
"type": "job_started"
}
}{
"data": {
"id": 1,
"inserted_at": "2026-05-12T10:00:00Z",
"job_id": 1,
"message": "Job processing started",
"metadata": {
"key": "value"
},
"type": "job_started",
"updated_at": "2026-05-12T10:00:00Z"
}
}Last updated