Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

メッセージ

リモートセッションメッセージの取得
GET/v1/compliance/apps/sessions/remote/{claude_remote_session_id}/messages

1 つのリモートセッションのトランスクリプト(ユーザープロンプト、アシスタントの応答、ツール呼び出しと結果)を取得します。思考ブロックと画像は含まれません。Claude のアプリがユーザーに表示せずにユーザーのメッセージに追加する、アシスタント向けの一部のメモは返されません。そのような text ブロックは added_as_context: true 付きの空の状態で返されます。その他の追加されたテキストは完全な形で返されます。

Models
MessageListResponse object{ id, content, content_unavailable, 3 more }

A single user or assistant turn in a remote session transcript.

content is a discriminated union of text, tool_use, and tool_result blocks.