title: Projects url: https://platform.claude.com/docs/en/api/compliance/apps/projects
Projects
List projects
GET /v1/compliance/apps/projects
Lists project metadata with filtering capabilities. Results are sorted chronologically (time ascending) by created_at.
Query parameters
-
created_at: optional object-
gt: optional stringFilter projects created after this time (RFC 3339 format)
format: date-time
-
gte: optional stringFilter projects created at or after this time (RFC 3339 format)
format: date-time
-
lt: optional stringFilter projects created before this time (RFC 3339 format)
format: date-time
-
lte: optional stringFilter projects created at or before this time (RFC 3339 format)
format: date-time
-
-
limit: optional numberMaximum results (default: 20, max: 100)
default: 20, maximum: 100, minimum: 1
-
organization_ids: optional array of stringFilter by organization IDs (accepts
org_...or organization UUID). Enumerate IDs viaGET /v1/compliance/organizations. -
page: optional stringOpaque pagination token from a previous response's
next_pagefield. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice. -
updated_at: optional object-
gt: optional stringFilter projects updated after this time (RFC 3339 format)
format: date-time
-
gte: optional stringFilter projects updated at or after this time (RFC 3339 format)
format: date-time
-
lt: optional stringFilter projects updated before this time (RFC 3339 format)
format: date-time
-
lte: optional stringFilter projects updated at or before this time (RFC 3339 format)
format: date-time
-
-
user_ids: optional array of stringFilter by user IDs. Enumerate IDs via
GET /v1/compliance/organizations/{org_uuid}/users.
Headers
"x-api-key": optional string
Returns
-
data: array of objectList of projects sorted by creation date ascending
-
id: stringProject identifier (tagged ID)
-
created_at: stringProject creation timestamp
format: date-time
-
deleted_at: string or nullTimestamp when the project was deleted by an end user, or null otherwise
format: date-time
-
is_private: booleanIf false, the project is visible to all organization members; if true the project is accessible only to the creator and specified collaborators
-
name: stringProject name
-
organization_uuid: stringOrganization UUID this project belongs to
-
updated_at: stringProject last update timestamp
format: date-time
-
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
-
-
organization_id: stringDeprecated
Organization identifier (tagged ID)
-
-
has_more: booleanWhether more records exist beyond the current result set
-
next_page: string or nullToken to retrieve the next page. Use this as the 'page' parameter in your next request
Example
curl https://api.anthropic.com/v1/compliance/apps/projects \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"data": [
{
"id": "claude_proj_abc123",
"name": "Q4 Product Planning",
"created_at": "2025-06-01T10:00:00Z",
"updated_at": "2025-06-15T14:30:00Z",
"is_private": true,
"organization_id": "org_abc123",
"organization_uuid": "abc12345-6789-0abc-def0-123456789abc",
"user": {
"id": "user_xyz456",
"email_address": "user@example.com"
}
}
],
"has_more": true,
"next_page": "page_eyJjcmVhdGVkX2F0IjoiMjAyNS0wNi0wMVQxMDowMDowMFoiLCJ1dWlkIjoiYWJjMTIzIn0="
}Get project details
GET /v1/compliance/apps/projects/{project_id}
Get detailed information for a specific project.
Path parameters
-
project_id: stringThe project ID (tagged ID, e.g., claude_proj_abc123)
Headers
"x-api-key": optional string
Returns
-
id: stringProject identifier (tagged ID)
-
attachments_count: numberNumber of attachments contained within this project
-
chats_count: numberNumber of chats contained within this project
-
created_at: stringProject creation timestamp
format: date-time
-
deleted_at: string or nullTimestamp when the project was deleted by an end user, or null otherwise
format: date-time
-
description: stringProject description
-
instructions: stringProject's custom instructions / prompt
-
is_private: booleanIf false, the project is visible to all organization members; if true the project is accessible only to the creator and specified collaborators
-
name: stringProject name
-
organization_uuid: stringOrganization UUID this project belongs to
-
updated_at: stringProject last update timestamp
format: date-time
-
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
-
-
organization_id: stringDeprecated
Organization identifier (tagged ID)
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"id": "claude_proj_01Nm7PqRsTuVwXyZaBcDeFgH",
"attachments_count": 3,
"chats_count": 14,
"created_at": "2025-03-12T18:22:41.123456Z",
"deleted_at": "2019-12-27T18:11:19.117Z",
"description": "Planning and research for the Q3 launch",
"instructions": "Focus on concise, actionable answers.",
"is_private": true,
"name": "Q3 Product Launch",
"organization_id": "org_015eofRkKpogX7uDKUyvBTph",
"organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
"updated_at": "2025-03-14T09:05:17.456789Z",
"user": {
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"email_address": "jane.doe@example.com"
}
}Delete project
DELETE /v1/compliance/apps/projects/{project_id}
Delete a project for compliance purposes.
Hard-deletes the project and all its associated data including:
- All project documents and files
- All role assignments
- Knowledge base (if RAG is enabled)
- Sync sources
Project must have no attached chats - returns 409 if chats exist.
Path parameters
-
project_id: stringThe project ID (tagged ID, e.g., claude_proj_abc123)
Headers
"x-api-key": optional string
Returns
-
type: optional "claude_project_deleted"Constant string confirming deletion.
default: claude_project_deleted
-
id: stringThe ID of the Claude project that was deleted
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \
-X DELETE \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"id": "id",
"type": "claude_project_deleted"
}Domain types
Project Retrieve Response
-
ProjectRetrieveResponse objectDetailed project information for compliance responses.
-
id: stringProject identifier (tagged ID)
-
attachments_count: numberNumber of attachments contained within this project
-
chats_count: numberNumber of chats contained within this project
-
created_at: stringProject creation timestamp
format: date-time
-
deleted_at: string or nullTimestamp when the project was deleted by an end user, or null otherwise
format: date-time
-
description: stringProject description
-
instructions: stringProject's custom instructions / prompt
-
is_private: booleanIf false, the project is visible to all organization members; if true the project is accessible only to the creator and specified collaborators
-
name: stringProject name
-
organization_uuid: stringOrganization UUID this project belongs to
-
updated_at: stringProject last update timestamp
format: date-time
-
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
-
-
organization_id: stringDeprecated
Organization identifier (tagged ID)
-
Project List Response
-
ProjectListResponse objectProject information for compliance responses.
-
id: stringProject identifier (tagged ID)
-
created_at: stringProject creation timestamp
format: date-time
-
deleted_at: string or nullTimestamp when the project was deleted by an end user, or null otherwise
format: date-time
-
is_private: booleanIf false, the project is visible to all organization members; if true the project is accessible only to the creator and specified collaborators
-
name: stringProject name
-
organization_uuid: stringOrganization UUID this project belongs to
-
updated_at: stringProject last update timestamp
format: date-time
-
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
-
-
organization_id: stringDeprecated
Organization identifier (tagged ID)
-
Project Delete Response
-
ProjectDeleteResponse objectResponse for deleting a Claude project.
-
type: optional "claude_project_deleted"Constant string confirming deletion.
default: claude_project_deleted
-
id: stringThe ID of the Claude project that was deleted
-
Projects › Attachments
List project attachments
GET /v1/compliance/apps/projects/{project_id}/attachments
List files and documents attached to a project.
List files and project documents attached to the project referenced by project_id. This includes the IDs of attached files, and attached project documents.
The raw binary content of attached files can be downloaded using the GET /v1/compliance/apps/chats/files/{claude_file_id}/content endpoint.
The text content of attached project documents can be fetched using the GET /v1/compliance/apps/projects/documents/{claude_proj_doc_id} endpoint.
Path parameters
-
project_id: stringThe project ID (tagged ID, e.g., claude_proj_abc123)
Query parameters
-
limit: optional numberMaximum results (default: 20, max: 100)
default: 20, maximum: 100, minimum: 1
-
page: optional stringOpaque pagination token from a previous response's
next_pagefield. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
Headers
"x-api-key": optional string
Returns
-
data: array of ComplianceProjectFileReference or ComplianceProjectDocReferenceList of attachments sorted chronologically by created_at, tie break by id
-
ComplianceProjectFileReference objectFile attachment reference for compliance responses.
-
type: "project_file"Discriminator marking this as a binary file
default: project_file
-
id: stringFile identifier (e.g., 'claude_file_abcd')
-
created_at: stringCreation timestamp (RFC 3339 format)
format: date-time
-
filename: stringDisplay name of the file (e.g., 'document.pdf')
-
md5: string or nullLowercase hex MD5 of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file
/metadataendpoint for the authoritative value. -
mime_type: stringMIME type of the file's preferred downloadable variant when one is recorded, else 'application/octet-stream'. Use the per-file
/metadataendpoint for the authoritative value. -
size_bytes: number or nullSize in bytes of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file
/metadataendpoint for the authoritative value.
-
-
ComplianceProjectDocReference objectProject document attachment reference for compliance responses.
-
type: "project_doc"Discriminator marking this as a plain text document
default: project_doc
-
id: stringProject document identifier (e.g., 'claude_proj_doc_abcd')
-
created_at: stringCreation timestamp (RFC 3339 format)
format: date-time
-
filename: stringDisplay name of the document (e.g., 'document.txt')
-
mime_type: "text/plain"MIME type of the project document, always set to plain text
default: text/plain
-
updated_at: string or nullLast-modified timestamp of the document. Reserved for future use — currently always null.
format: date-time
-
-
-
has_more: booleanWhether more records exist beyond the current result set
-
next_page: string or nullTo get the next page, use the 'next_page' from the current response as the 'page' in your next request
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID/attachments \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"data": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "filename",
"md5": "md5",
"mime_type": "mime_type",
"size_bytes": 0,
"type": "project_file"
}
],
"has_more": true,
"next_page": "next_page"
}Projects › Collaborators
List project collaborators
GET /v1/compliance/apps/projects/{project_id}/collaborators
List the users, groups, and organization-wide grants on a project.
Each entry represents one active role assignment on the project. Principals
are returned as a discriminated union on type — an individual user, an
RBAC group, the whole organization, or all holders of an organization-level
role.
Path parameters
-
project_id: stringThe project ID (tagged ID, e.g., claude_proj_abc123)
Query parameters
-
limit: optional numberMaximum results (default: 20, max: 100)
default: 20, maximum: 100, minimum: 1
-
page: optional stringOpaque pagination token from a previous response's
next_pagefield. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
Headers
"x-api-key": optional string
Returns
-
data: array of ComplianceProjectUserCollaborator or ComplianceProjectGroupCollaborator or ComplianceProjectOrganizationCollaborator or ComplianceProjectOrganizationRoleCollaboratorList of collaborators sorted chronologically by granted_at, tie break by the underlying role-assignment UUID
-
ComplianceProjectUserCollaborator objectAn individual user granted a role on a project.
-
type: "user"Discriminator marking this as an individual user collaborator
default: user
-
granted_at: stringWhen this collaborator was granted access (RFC 3339 format)
format: date-time
-
role: "admin" or "editor" or "owner" or "viewer"Role granted on the project
-
"admin" -
"editor" -
"owner" -
"viewer"
-
-
user_id: string or nullIdentifier of the user granted access (tagged ID), or null if their account has since been deleted
-
-
ComplianceProjectGroupCollaborator objectAn RBAC group granted a role on a project.
-
type: "group"Discriminator marking this as a group collaborator
default: group
-
granted_at: stringWhen this collaborator was granted access (RFC 3339 format)
format: date-time
-
group_id: stringIdentifier of the group granted access (tagged ID)
-
role: "admin" or "editor" or "owner" or "viewer"Role granted on the project
-
"admin" -
"editor" -
"owner" -
"viewer"
-
-
-
ComplianceProjectOrganizationCollaborator objectAn entire organization granted a role on a project.
-
type: "organization"Discriminator marking this as an organization-wide grant
default: organization
-
granted_at: stringWhen this collaborator was granted access (RFC 3339 format)
format: date-time
-
organization_uuid: stringUUID of the organization granted access
-
role: "admin" or "editor" or "owner" or "viewer"Role granted on the project
-
"admin" -
"editor" -
"owner" -
"viewer"
-
-
-
ComplianceProjectOrganizationRoleCollaborator objectAll holders of an organization-level role granted a role on a project.
-
type: "organization_role"Discriminator marking this as a grant to all organization members holding a specific org-level role
default: organization_role
-
granted_at: stringWhen this collaborator was granted access (RFC 3339 format)
format: date-time
-
organization_role: stringThe organization-level role whose holders are granted access
-
role: "admin" or "editor" or "owner" or "viewer"Role granted on the project
-
"admin" -
"editor" -
"owner" -
"viewer"
-
-
-
-
has_more: booleanWhether more records exist beyond the current result set
-
next_page: string or nullTo get the next page, use the 'next_page' from the current response as the 'page' in your next request
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID/collaborators \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"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"
}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
"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 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"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"
}
}Get project document metadata
GET /v1/compliance/apps/projects/documents/{document_id}/metadata
Returns metadata for a project document, without the content body.
Use the sibling GET /v1/compliance/apps/projects/documents/{document_id}
endpoint to fetch the document text. The md5 and size_bytes
fields here are computed over the UTF-8 encoding of that text, so a DLP
consumer can dedupe or match hashes without downloading every document.
Path parameters
-
document_id: stringThe document ID (tagged ID, e.g., claude_proj_doc_abc123)
Headers
"x-api-key": optional string
Returns
-
id: stringProject document identifier (tagged ID)
-
claude_project_id: stringThe project this document belongs to
-
created_at: stringDocument creation timestamp
format: date-time
-
filename: stringDocument filename
-
md5: stringLowercase hex MD5 of the document content (UTF-8 encoded). Matches the
contentfield returned by the sibling content endpoint. -
mime_type: "text/plain"MIME type of the document content, always plain text
default: text/plain
-
size_bytes: numberSize in bytes of the document content (UTF-8 encoded)
-
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/metadata \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"id": "id",
"claude_project_id": "claude_project_id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "filename",
"md5": "md5",
"mime_type": "text/plain",
"size_bytes": 0,
"user": {
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"email_address": "jane.doe@example.com"
}
}Delete project document
DELETE /v1/compliance/apps/projects/documents/{document_id}
Delete a project document for compliance purposes.
Hard-deletes the project document permanently.
Path parameters
-
document_id: stringThe document ID (tagged ID, e.g., claude_proj_doc_abc123)
Headers
"x-api-key": optional string
Returns
-
type: "claude_project_document_deleted"Constant string confirming deletion.
default: claude_project_document_deleted
-
id: stringThe ID of the project document that was deleted
Example
curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
-X DELETE \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response (200)
{
"id": "id",
"type": "claude_project_document_deleted"
}