Update Assistant Thread
Rename, pin, archive or pick the model of a conversation (RO-319, RO-320). The model must be one the workspace offers (`GET /assistant/models`); null is Auto.
API key access
/api/v1/assistant/threads/{thread_id}Access token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).
In: header
Path Parameters
uuidHeader Parameters
Id of the workspace to act on (must be a member).
1 <= length <= 200A model the workspace offers; null = Auto.
length <= 120Response Body
curl -X PATCH "http://localhost:8000/api/v1/assistant/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "X-Workspace-Id: string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"pinned_at": "2019-08-24T14:15:22Z",
"archived_at": "2019-08-24T14:15:22Z",
"model": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Stop Assistant Turn
Stop the running turn (RO-319): its message becomes `cancelled`. A planning turn stops at once (the model call in flight is dropped); a confirmed plan stops before its next step and reports what it did. 409 when nothing is running.
Upload Assistant Attachment
Attach a file for Oro (RO-323). Its type is detected from its content (PDF, Word .docx, Excel .xlsx, CSV, plain text or Markdown, PNG, JPEG, WebP; old .xls/.doc and other types: 415). PDF, Word and Excel are read by the AI service (nothing in the file runs: no macros, formulas or links); CSV and text here. An unreadable, encrypted or damaged file is stored as `failed` with a reason. Stored in Postgres, personal to the uploader, within `ASSISTANT_ATTACHMENT_MAX_BYTES` per file (413) and `ASSISTANT_ATTACHMENTS_WORKSPACE_MAX_BYTES` per workspace (409), deleted after `ASSISTANT_ATTACHMENT_RETENTION_DAYS`. Signed-in users only (API keys: 403).