Skip to main content

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.

Scopeoliver:run
AsynchronousNo
MCP toolget_oliver_thread
Portal permissionsview_oliver_conversations

Parameters​

NameInTypeRequiredDescription
oliver_thread_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json OliverThread
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

OliverThread​

FieldTypeRequiredDescription
agent_namestring or nullRequired
contextsarray of OliverThreadContextRequiredWhat the chat is scoped to: documents, folders and dataviews the agent is told to work with.
created_atstring (date-time) or nullRequired
latest_runOliverThreadRunRef or nullRequiredThe thread's most recent run; null when it has none.
my_ratingOliverThreadFeedback or nullRequiredYour 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_idstring or nullRequiredThe agent the thread talks to.
oliver_thread_idstringRequired
permission_modestringRequiredask (any write waits for approval) or auto.
titlestring or nullRequiredThe chat's heading, taken from its first message; null until then.
updated_atstring (date-time) or nullRequiredWhen the thread last had a message.

OliverThreadContext​

FieldTypeRequiredDescription
dataview_idstring or nullRequiredThe dataview, for type dataview.
document_idstring or nullRequiredThe document, for type document.
folder_idstring or nullRequiredThe folder, for type folder.
labelstring or nullRequiredWhat the Portal shows for the context: a document's number, a folder's or dataview's name. Read-only: ignored when sent.
typestringRequireddocument, folder or dataview. A context this API does not set (a search, a clustering run, a redaction) reads as unknown.
type_codestring or nullRequiredThe stored type of a context whose type is unknown. Read-only.

OliverThreadFeedback​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
messagestring or nullRequiredWhat went wrong or right; required at 2 stars or fewer.
oliver_thread_idstringRequired
ratingintegerRequired1 to 5 stars. ≥ -2147483648; ≤ 2147483647
releasestring or nullRequiredThe backend release the rating is tied to; null when unknown.

OliverThreadRunRef​

FieldTypeRequiredDescription
oliver_run_idstringRequired
statusstringRequiredThe run's status: planning, executing, running, waiting_for_user, completed, failed or cancelled (open).