Claude Platform Docs

Get project document content

GET/v1/compliance/apps/projects/documents/{document_id}

Get detailed information for a specific project document.

Path parameters
document_id: string

The document ID (tagged ID, e.g., claude_proj_doc_abc123)

Headers
"x-api-key": optional string
Returns
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

Get project document content

cURL
curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
{
  "id": "claude_proj_doc_01Qr8StUvWxYzAbCdEfGhJjK",
  "content": "# Design notes\n\n- Item one\n- Item two\n",
  "created_at": "2025-03-12T18:22:41.123456Z",
  "filename": "design-notes.txt",
  "user": {
    "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
    "email_address": "jane.doe@example.com"
  }
}
Returns Examples
{
  "id": "claude_proj_doc_01Qr8StUvWxYzAbCdEfGhJjK",
  "content": "# Design notes\n\n- Item one\n- Item two\n",
  "created_at": "2025-03-12T18:22:41.123456Z",
  "filename": "design-notes.txt",
  "user": {
    "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
    "email_address": "jane.doe@example.com"
  }
}