Create thread
POST
/v1/sessions/{id}/threadsAuthorization
header
Authorization: Bearer <token>
An access token from Settings → Access tokens, with the scopes this call needs. Authentication
Path parameters
idstringrequiredRequest body
application/json · required
eventsarray<TextSubmitted | Stopped | SessionSuggestionResolved | ...>- Items
- 1 to 100
idempotencyKeystring | null- Length
- 1 to 512
labelstring- Length
- 1 to 255
modelConfigobjectdeliveryIdstring | null- Length
- 1 to 512
Responses
ThreadResultapplication/json
threadIdintegerrequired- Range
- 0 to 9007199254740991
kickoffstring | null- Value in
- "accepted" | "duplicate" | "failed"