Background Tasks
Open the transcript
Changed onOpen the transcript reads the cloud run api-trigger-4a31958c-3a0a-4cb2-9361-ea563cd0477b on daily-summary. The first read sends no cursor. The stored page starts at sequence 0 with the message API worker claimed the run.
get/v1/background-tasks/{slug}/runs/{runId}/events
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/background-tasks/{slug}/runs/{runId}/events
- Auth: HTTP bearer
Path parameters
slugstring required
Task slug.
Example:daily-summary
Background task slug, matching bg-tasks/<slug> locally.
runIdstring required
Run id.
Example:api-trigger-4a31958c-3a0a-4cb2-9361-ea563cd0477b
Cloud-visible run id for a background task run.
Query parameters
afterSeqinteger
Sequence cursor.
Optional sequence cursor. The first read omits this. When provided, only events with seq greater than this value are returned.
Response
Stored transcript.
Example response
{
"events": [
{
"event": {
"model": "openai/gpt-4.1",
"type": "runtime.llm_call_started"
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"receivedAt": "2026-06-04T21:02:05Z",
"seq": 1,
"type": "runtime.llm_call_started"
}
],
"nextSeq": 499
}Changes
- info
added the optional property
to the response with the status
- info