v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBGet a document by ID (namespace-scoped).
Get a document by ID without specifying a collection.
Searches across all collections in the namespace. Use the collection-scoped GET /v1/collections/{collection_id}/documents/{document_id} when you know the collection for a faster lookup.
Path parameters
The ID of the document to retrieve.
The ID of the document to retrieve.
Query parameters
Generate fresh presigned download URLs for all blobs with S3 storage
Generate fresh presigned download URLs for all blobs with S3 storage
Include a '_vectors' field listing available vector names
Include a '_vectors' field listing available vector names
Comma-separated fields containing document IDs to resolve inline. Referenced documents are fetched and attached under an '_expanded' key. Supports dot-notation for nested fields (e.g., 'items.product_id'). Max 50 unique references per request.
Comma-separated fields containing document IDs to resolve inline. Referenced documents are fetched and attached under an '_expanded' key. Supports dot-notation for nested fields (e.g., 'items.product_id'). Max 50 unique references per request.
Response
Successful Response
Example response
{
"_internal": {
"collection_id": "col_articles",
"created_at": "2025-10-31T10:00:00Z",
"document_id": "doc_f8966ff29c18e20c6b45e053",
"internal_id": "org_abc123",
"lineage": {
"chain": [
{
"collection_id": "col_articles",
"feature_extractor_id": "text_extractor_v1",
"timestamp": "2025-10-31T10:00:00Z"
}
],
"path": "bkt_content/col_articles",
"root_bucket_id": "bkt_content",
"root_object_id": "obj_article_001",
"source_object_id": "obj_article_001",
"source_type": "bucket"
},
"metadata": {
"ingestion_status": "COMPLETED"
},
"modality": "text",
"namespace_id": "ns_xyz789",
"source_blobs": [
{
"blob_id": "blob_text_001",
"blob_property": "content",
"blob_type": "text"
}
],
"updated_at": "2025-10-31T10:00:00Z"
},
"author": "Dr. Smith",
"collection_id": "col_articles",
"description": "Text document with _internal structure",
"document_id": "doc_f8966ff29c18e20c6b45e053",
"title": "AI in Healthcare"
}