Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Messages

Retrieve remote session messages
GET/v1/compliance/apps/sessions/remote/{claude_remote_session_id}/messages

Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included. Some notes for the assistant that Claude's apps add to a user's message, without showing them to the user, are withheld: such a text block is returned empty with added_as_context: true. Other added text is returned in full.

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.