ProjectDocumentMetadata
Returns metadata for project knowledge-base documents. Specify Id to retrieve one document, or omit it to source project_doc ids from ProjectAttachments automatically. Returns md5 and size_bytes for DLP deduplication without downloading. Use DeleteProjectDocument for permanent deletion and DownloadProjectDocument to retrieve the extracted text content.
View-Specific Information
Select
When Id is omitted, the add-in obtains only project_doc Ids from ProjectAttachments and issues one metadata request for each document automatically. Project_file attachments are excluded because they are not accepted by this endpoint. Use DownloadProjectDocument for extracted text and DeleteProjectDocument for permanent deletion.
The add-in uses the Claude Compliance API to process WHERE clause conditions built with the following column and operator server-side. The rest of the filter, including sorting, grouping, and offsets, is processed client-side within the add-in.
- Id supports the following operator: =.
SELECT Id, ClaudeProjectId, Filename, Md5, MimeType, SizeBytes FROM ProjectDocumentMetadata WHERE Id = 'claude_proj_doc_123';
SELECT Id, ClaudeProjectId, Filename, Md5, MimeType, SizeBytes FROM ProjectDocumentMetadata;
Columns
| Name | Type | Description |
| Id [KEY] | String | The unique project document id. When omitted, the provider sources project_doc ids from ProjectAttachments automatically. |
| ClaudeProjectId | String | The id of the project the document belongs to. |
| CreatedAt | Datetime | The creation timestamp of the document. |
| Filename | String | The name of the document. |
| Md5 | String | The MD5 hash of the document, for DLP deduplication. |
| MimeType | String | The MIME type of the extracted document content, always text/plain. |
| SizeBytes | Long | The size of the document in bytes. |
| UserId | String | The id of the user who created the document, when still available. |
| UserEmailAddress | String | The email address of the user who created the document, when still available. |