Response (200)
{
"data": [
{
"granted_at": "2019-12-27T18:11:19.117Z",
"role": "admin",
"type": "user",
"user_id": "user_id"
}
],
"has_more": true,
"next_page": "next_page"
}Compliance API › Apps › Projects › Documents
Get project document content
GET /v1/compliance/apps/projects/documents/\{document_id\}
Get detailed information for a specific project document.
Path parameters
document_id: stringThe document ID (tagged ID, e.g., claude_proj_doc_abc123)
Headers
"anthropic-version": optional stringThe version of the Claude API you want to use.
Read more about versioning and our version history here.
"x-api-key": optional string
Returns
id: stringProject document identifier (tagged ID)
content: stringDocument text content
created_at: stringDocument creation timestamp
format: date-time
filename: stringDocument filename
user: object or nullThe 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: stringUser identifier (tagged ID)
email_address: stringUser's email address
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"