Assistant
Start an assistant thread for the person behind the credential (scope: assistant:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
application/json- body
title?stringLength
1 <= length <= 200Created
application/json- response
data*error*nullcurl -X POST "https://example.com/assistant/threads" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": 1, "title": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "messages": [ { "role": "user", "content": "string", "created_at": "2019-08-24T14:15:22Z" } ] }, "error": null}Send a message and run the assistant. `stream: true` or `Accept: text/event-stream` answers with server-sent events; otherwise one JSON AssistantRun. Mutating tool calls are never executed here: they come back as pending proposals, approved only in the app Approval Feed. 402 when the AI budget or credit is exhausted, 429 on rate or concurrency limits. (scope: assistant:write) POST
Previous Page
One assistant thread with its last 100 messages, oldest first (scope: assistant:read) GET
Next Page