Skip to main content
POST
/
v1
/
threads
/
{threadId}
/
events
Append durable thread events
curl --request POST \
  --url https://api.runtools.ai/v1/threads/{threadId}/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    {}
  ],
  "runId": "<string>",
  "rolloutId": "<string>"
}
'
{
  "data": {
    "threadId": "<string>",
    "rolloutId": "<string>",
    "sequence": 123,
    "appended": 123
  }
}

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

Body

application/json
events
object[]
runId
string
rolloutId
string

Response

200 - application/json

Appended.

data
object