SPB Git

Repository Public

retrieve.md 1.5 KB 80 lines markdown

1---2title: Get project document content3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/retrieve4---56# Get project document content78**GET** `/v1/compliance/apps/projects/documents/{document_id}`910Get detailed information for a specific project document.1112## Path parameters1314- `document_id: string`1516  The document ID (tagged ID, e.g., claude_proj_doc_abc123)1718## Headers1920- `"x-api-key": optional string`2122## Returns2324- `id: string`2526  Project document identifier (tagged ID)2728- `content: string`2930  Document text content3132- `created_at: string`3334  Document creation timestamp3536  format: date-time3738- `filename: string`3940  Document filename4142- `user: object or null`4344  The user who created a project or project document.4546  Fields that reference this type are null when the creator's account has47  been deleted or the creator is no longer a member of an organization the48  key may read.4950  - `id: string`5152    User identifier (tagged ID)5354  - `email_address: string`5556    User's email address5758## Example5960```bash61curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \62    -H 'anthropic-version: 2023-06-01' \63    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"64```6566### Response (200)6768```json69{70  "id": "claude_proj_doc_01Qr8StUvWxYzAbCdEfGhJjK",71  "content": "# Design notes\n\n- Item one\n- Item two\n",72  "created_at": "2025-03-12T18:22:41.123456Z",73  "filename": "design-notes.txt",74  "user": {75    "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",76    "email_address": "jane.doe@example.com"77  }78}79```80
Files main
Menu

Theme