List Documents
List documents in your workspace with optional filters.Endpoint
GET /api/v1/documents
Query Parameters
Filter by status:
uploading, parsing, completed, failedFilter to documents in a specific group.
Comma-separated list of group IDs. Returns documents belonging to any of the specified groups.
Cannot be combined with
group_id.Response
Array of document objects
Examples
Get Document
Fetch metadata for a single document.Endpoint
GET /api/v1/documents/{document_id}
Path Parameters
The document identifier
Response
Document identifier
Document display name
Processing status:
uploading, parsing, completed, failedMIME type of the uploaded file
Signed URL to download the original file
AI-generated summary of the document
Unix timestamp (milliseconds) of upload
Group identifier if the document belongs to a group
Example
cURL
Update Document
Update a document’s group assignment. Passnull to remove it from its current group.
Endpoint
PATCH /api/v1/documents/{document_id}
Path Parameters
The document identifier
Request Body
application/json
The group to assign the document to, or
null to remove it from any group.Example
Delete Document
Permanently delete a document and all its indexed content.Endpoint
DELETE /api/v1/documents/{document_id}
Path Parameters
The document identifier
