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

擷取單一遠端工作階段的逐字稿:使用者提示、助理回應,以及工具呼叫和結果。不包含思考區塊和圖片。Claude 的應用程式會在使用者訊息中加入一些給助理的附註,且不會向使用者顯示,其中部分附註不會傳回:此類 text 區塊會以空白內容傳回,並帶有 added_as_context: true。其他加入的文字則會完整傳回。

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

A single entry in a remote session transcript.

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