Claude Platform Docs

Documents

Get project document content
GET/v1/compliance/apps/projects/documents/{document_id}
Get project document metadata
GET/v1/compliance/apps/projects/documents/{document_id}/metadata
Delete project document
DELETE/v1/compliance/apps/projects/documents/{document_id}
Models
DocumentRetrieveResponse object{ id, content, created_at, 2 more }

Project document information for compliance responses.

id: string

Project document identifier (tagged ID)

content: string

Document text content

created_at: string

Document creation timestamp

formatdate-time
filename: string

Document filename

user: object{ id, email_address } or null

The user who created a project or project document.

Fields that reference this type are null when the creator's account has been deleted or the creator is no longer a member of an organization the key may read.

id: string

User identifier (tagged ID)

email_address: string

User's email address

DocumentMetadataResponse object{ id, claude_project_id, created_at, 5 more }

Project document metadata for GET /v1/compliance/apps/projects/documents/{document_id}/metadata.

Returns metadata only. Use the sibling endpoint (without /metadata) to fetch the document text content.

DocumentDeleteResponse object{ id, type }

Response for deleting a project document.

id: string

The ID of the project document that was deleted

type: "claude_project_document_deleted"

Constant string confirming deletion.

defaultclaude_project_document_deleted