Get one Oliver thread.
GET/api/v1/oliver-threads/{oliver_thread_id}oliver:run
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The thread with its agent and its latest run's status. Another user's thread is 403 naming its ID. Needs View Oliver Conversations.
| スコープ | oliver:run |
| 非同期 | いいえ |
| MCP ツール | get_oliver_thread |
| Portal の権限 | view_oliver_conversations |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
oliver_thread_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
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 |
スキーマ
OliverThread
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
agent_name | string または null | 必須 | |
contexts | OliverThreadContext の配列 | 必須 | What the chat is scoped to: documents, folders and dataviews the agent is told to work with. |
created_at | string (date-time) または null | 必須 | |
latest_run | OliverThreadRunRef または null | 必須 | The thread's most recent run; null when it has none. |
my_rating | OliverThreadFeedback または null | 必須 | 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 または null | 必須 | The agent the thread talks to. |
oliver_thread_id | string | 必須 | |
permission_mode | string | 必須 | ask (any write waits for approval) or auto. |
title | string または null | 必須 | The chat's heading, taken from its first message; null until then. |
updated_at | string (date-time) または null | 必須 | When the thread last had a message. |
OliverThreadContext
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
dataview_id | string または null | 必須 | The dataview, for type dataview. |
document_id | string または null | 必須 | The document, for type document. |
folder_id | string または null | 必須 | The folder, for type folder. |
label | string または null | 必須 | 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 | 必須 | document, folder or dataview. A context this API does not set (a search, a clustering run, a redaction) reads as unknown. |
type_code | string または null | 必須 | The stored type of a context whose type is unknown. Read-only. |
OliverThreadFeedback
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
created_at | string (date-time) または null | 必須 | |
message | string または null | 必須 | What went wrong or right; required at 2 stars or fewer. |
oliver_thread_id | string | 必須 | |
rating | integer | 必須 | 1 to 5 stars. ≥ -2147483648; ≤ 2147483647 |
release | string または null | 必須 | The backend release the rating is tied to; null when unknown. |
OliverThreadRunRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
oliver_run_id | string | 必須 | |
status | string | 必須 | The run's status: planning, executing, running, waiting_for_user, completed, failed or cancelled (open). |