Get one Oliver thread.
GET/api/v1/oliver-threads/{oliver_thread_id}oliver:run
The thread with its agent and its latest run's status. Another user's thread is 403 naming its ID. Needs View Oliver Conversations.
| Scope | oliver:run |
| Asynchronous | No |
| MCP tool | get_oliver_thread |
| Portal permissions | view_oliver_conversations |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
oliver_thread_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json OliverThread |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
OliverThread
| Field | Type | Required | Description |
|---|---|---|---|
agent_name | string or null | Required | |
contexts | array of OliverThreadContext | Required | What the chat is scoped to: documents, folders and dataviews the agent is told to work with. |
created_at | string (date-time) or null | Required | |
latest_run | OliverThreadRunRef or null | Required | The thread's most recent run; null when it has none. |
my_rating | OliverThreadFeedback or null | Required | Your own rating of the thread, as the Portal's rate dialog shows it; null until you rate it. Rate with rate_oliver_thread. |
oliver_agent_id | string or null | Required | The agent the thread talks to. |
oliver_thread_id | string | Required | |
permission_mode | string | Required | ask (any write waits for approval) or auto. |
title | string or null | Required | The chat's heading, taken from its first message; null until then. |
updated_at | string (date-time) or null | Required | When the thread last had a message. |
OliverThreadContext
| Field | Type | Required | Description |
|---|---|---|---|
dataview_id | string or null | Required | The dataview, for type dataview. |
document_id | string or null | Required | The document, for type document. |
folder_id | string or null | Required | The folder, for type folder. |
label | string or null | Required | What the Portal shows for the context: a document's number, a folder's or dataview's name. Read-only: ignored when sent. |
type | string | Required | document, folder or dataview. A context this API does not set (a search, a clustering run, a redaction) reads as unknown. |
type_code | string or null | Required | The stored type of a context whose type is unknown. Read-only. |
OliverThreadFeedback
| Field | Type | Required | Description |
|---|---|---|---|
created_at | string (date-time) or null | Required | |
message | string or null | Required | What went wrong or right; required at 2 stars or fewer. |
oliver_thread_id | string | Required | |
rating | integer | Required | 1 to 5 stars. ≥ -2147483648; ≤ 2147483647 |
release | string or null | Required | The backend release the rating is tied to; null when unknown. |
OliverThreadRunRef
| Field | Type | Required | Description |
|---|---|---|---|
oliver_run_id | string | Required | |
status | string | Required | The run's status: planning, executing, running, waiting_for_user, completed, failed or cancelled (open). |