Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

遠端

列出遠端工作階段
GET/v1/compliance/apps/sessions/remote

列出金鑰可讀取之組織範圍內的遠端工作階段(在 Anthropic 管理的雲端環境中執行的 Cowork 工作階段)。

Models
RemoteListResponse object{ id, agent_id, claude_project_id, 7 more }

Metadata for one remote session, as returned in the list response and in the messages response's session field.

Carries session attributes only, not transcript content. Use the messages endpoint to retrieve a session's transcript.

遠端訊息

擷取遠端工作階段訊息
GET/v1/compliance/apps/sessions/remote/{claude_remote_session_id}/messages

擷取單一遠端工作階段的逐字稿:使用者提示、助理回應,以及工具呼叫和結果。不包含思考區塊和圖片。