Revive thread

POST/v1/sessions/{id}/threads/{tid}/revive

Authorization

header

Authorization: Bearer <token>

An access token from Settings → Access tokens, with the scopes this call needs. Authentication

Path parameters

idstringrequired
TypeID with prefix "asess_".
tidstringrequired

Responses

ThreadResultapplication/json

threadIdintegerrequired
Range
0 to 9007199254740991
kickoffstring | null
Present when kickoff events were supplied. A failed kickoff still returns the created thread. Retry create or fork with the same idempotencyKey to reuse this thread and retry kickoff, or retry only its events with this threadId. A repeated key returns duplicate.
Value in
"accepted" | "duplicate" | "failed"