メインコンテンツまでスキップ

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_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
rolequerystring の配列任意
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsOliverThreadMessage の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

OliverMessageToolCall​

フィールド型必須説明
namestring必須The tool the agent called.
tool_call_keystring必須The key the model gave the call: the tool_call_key of the run's tool call.

OliverThreadMessage​

フィールド型必須説明
agent_namestring または null必須The agent that ran it (assistant messages).
child_oliver_thread_idstring または null必須The sub-agent thread the message started: read its conversation with list_oliver_thread_messages.
contentstring必須The message's text; an attached image reads as [image].
coststring または null必須What the model calls that wrote the message cost, as the Portal records it for the chat; null when none was recorded.
created_atstring (date-time) または null必須
model_namestring または null必須The model that wrote the message.
oliver_message_idstring必須
oliver_run_idstring または null必須The run that wrote the message; null for a message the Portal did not tie to a run.
oliver_thread_idstring必須The thread the message was written on: a sub-agent's own thread for its messages.
reasoning_tokensinteger または null必須Tokens the model spent reasoning.
request_tokensinteger または null必須Tokens sent to the model for the message.
response_tokensinteger または null必須Tokens the model wrote.
rolestring必須user or assistant (open).
tool_callsOliverMessageToolCall の配列必須The tools an assistant message called; their inputs and results are in list_oliver_run_tool_calls.