Skip to main content
GET
/
v1
/
threads
/
{threadId}
/
events
List durable thread events
curl --request GET \
  --url https://api.runtools.ai/v1/threads/{threadId}/events \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "thread": {
      "id": "thr_abc123",
      "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ownerUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "executionMode": "in_sandbox",
      "archived": true,
      "activeRolloutId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "events": [
      {
        "sequence": 123,
        "rolloutId": "<string>",
        "threadId": "<string>",
        "runId": "<string>",
        "type": "run_started",
        "payload": "<unknown>",
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "hasMore": true,
  "nextCursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

threadId
string
required

Query Parameters

limit
integer

Maximum number of rows to return.

Required range: 1 <= x <= 500
cursor
string

Opaque pagination cursor returned by a prior page.

rollout_id
string
include
enum<string>
Available options:
all_rollouts

Response

200 - application/json

Events page.

data
object
hasMore
boolean
nextCursor
string | null