List the messages of an Oliver thread.
GET/api/v1/oliver-threads/{oliver_thread_id}/messagesoliver:run
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The conversation as the chat shows it, oldest first: your messages and the agent's answers, each with the model, its cost and its tokens. A message that started a sub-agent names that thread in child_oliver_thread_id; read it with this same route. role filters to user or assistant messages. Another user's thread is 403 naming its ID. Needs View Oliver Conversations; tool_calls is empty without View Oliver Tool Execution History.
| スコープ | oliver:run |
| 非同期 | いいえ |
| MCP ツール | list_oliver_thread_messages |
| Portal の権限 | view_oliver_conversations |
| ページング | keyset |
| 既定の並び順 | created_at, oliver_message_id |
| 並べ替えに使えるフィールド | created_at, oliver_message_id |
| フィルター | role |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
oliver_thread_id | path | string | 必須 | |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
role | query | 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 object |
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 |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | OliverThreadMessage の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
OliverMessageToolCall
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
name | string | 必須 | The tool the agent called. |
tool_call_key | string | 必須 | The key the model gave the call: the tool_call_key of the run's tool call. |
OliverThreadMessage
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
agent_name | string または null | 必須 | The agent that ran it (assistant messages). |
child_oliver_thread_id | string または null | 必須 | The sub-agent thread the message started: read its conversation with list_oliver_thread_messages. |
content | string | 必須 | The message's text; an attached image reads as [image]. |
cost | string または null | 必須 | What the model calls that wrote the message cost, as the Portal records it for the chat; null when none was recorded. |
created_at | string (date-time) または null | 必須 | |
model_name | string または null | 必須 | The model that wrote the message. |
oliver_message_id | string | 必須 | |
oliver_run_id | string または null | 必須 | The run that wrote the message; null for a message the Portal did not tie to a run. |
oliver_thread_id | string | 必須 | The thread the message was written on: a sub-agent's own thread for its messages. |
reasoning_tokens | integer または null | 必須 | Tokens the model spent reasoning. |
request_tokens | integer または null | 必須 | Tokens sent to the model for the message. |
response_tokens | integer または null | 必須 | Tokens the model wrote. |
role | string | 必須 | user or assistant (open). |
tool_calls | OliverMessageToolCall の配列 | 必須 | The tools an assistant message called; their inputs and results are in list_oliver_run_tool_calls. |