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.