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, 8 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

하나의 원격 세션 대화 기록(사용자 프롬프트, 어시스턴트 응답, 도구 호출 및 결과)을 조회합니다. 사고 블록과 이미지는 포함되지 않습니다. Claude 앱이 사용자에게 표시하지 않고 사용자 메시지에 추가하는 어시스턴트용 메모 중 일부는 제공되지 않습니다. 이러한 text 블록은 added_as_context: true와 함께 빈 상태로 반환됩니다. 그 외에 추가된 텍스트는 전체가 반환됩니다.