Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

채팅

채팅 목록 조회
GET/v1/compliance/apps/chats

대상을 지정한 규정 준수 검토를 위해 필터링 기능과 함께 채팅 메타데이터를 나열합니다. 결과는 order_by 키를 기준으로 시간순(오름차순)으로 정렬되며, 값이 같으면 id로 정렬됩니다.

채팅 삭제
DELETE/v1/compliance/apps/chats/{claude_chat_id}

채팅과 연결된 모든 메시지 및 파일을 영구적으로 삭제합니다. 이는 되돌릴 수 없는 파괴적인 작업입니다.

Models
ChatListResponse object{ id, created_at, deleted_at, 8 more }

Chat metadata for listing chats (without messages).

ChatDeleteResponse object{ type: "claude_chat_deleted", id }

Response for deleting a Claude chat.

type: optional "claude_chat_deleted"

Constant string confirming deletion

defaultclaude_chat_deleted
id: string

The ID of the Claude chat that was deleted

채팅메시지

채팅 메시지 조회
GET/v1/compliance/apps/chats/{claude_chat_id}/messages

특정 채팅의 메시지 기록과 파일 메타데이터를 조회합니다.

채팅파일

파일 메타데이터 조회
GET/v1/compliance/apps/chats/files/{claude_file_id}

파일 콘텐츠를 다운로드하지 않고 채팅 메시지에서 참조된 파일의 메타데이터를 조회합니다. 바이트를 다운로드하려면 형제 엔드포인트인 /content를 사용하세요.

파일 삭제
DELETE/v1/compliance/apps/chats/files/{claude_file_id}

특정 파일을 영구적으로 삭제합니다. 이는 되돌릴 수 없는 파괴적 작업입니다.

파일 콘텐츠 다운로드
GET/v1/compliance/apps/chats/files/{claude_file_id}/content

채팅 메시지에서 참조된 파일의 바이너리 콘텐츠를 다운로드합니다.

Claude 생성 파일 메타데이터 조회
GET/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}

어시스턴트가 도구 사용을 통해 생성한 파일의 메타데이터를 반환합니다.

Claude 생성 파일 다운로드
GET/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}/content

어시스턴트가 도구 사용을 통해 생성한 파일의 바이너리 콘텐츠를 다운로드합니다.