List documents across all collections (namespace-scoped).
List documents across all collections in the namespace.
Use this when you don't know which collection a document belongs to, or when you need to search across collections. Optionally filter to specific collection_ids.
For collection-specific listing, use POST /v1/collections/{collection_id}/documents/list instead.
Query parameters
Request body
Example request
{
"filters": {
"AND": [
{
"field": "name",
"operator": "eq",
"value": "John"
},
{
"field": "age",
"operator": "gte",
"value": 30
}
],
"OR": [
{
"field": "status",
"operator": "eq",
"value": "active"
},
{
"field": "role",
"operator": "eq",
"value": "admin"
}
],
"NOT": [
{
"field": "department",
"operator": "eq",
"value": "HR"
},
{
"field": "location",
"operator": "eq",
"value": "remote"
}
],
"case_sensitive": true
},
"sort": {
"field": "created_at"
},
"group_by": "source_object_id",
"select": [
"metadata.title",
"content"
],
"expand": [
"customer_id"
]
}Response
Successful Response
Example response
{
"description": "Regular document list (no grouping)",
"pagination": {
"has_more": false,
"limit": 10,
"offset": 0,
"total_count": 1
},
"results": [
{
"collection_id": "col_articles",
"document_id": "doc_123",
"metadata": {
"title": "AI Article"
}
}
],
"stats": {
"avg_blobs_per_document": 1,
"total_documents": 1
}
}Changes
Changed in 5 of the 28 revisions of this API.214
- ●
added the new
signalenum value to thegroups/anyOf[subschema #1]/items/documents/items/_internal/anyOf[subschema #1: InternalPayloadModel]/lineage/anyOf[subschema #1: InternalLineageModel]/source_type/anyOf[subschema #1]/response property for the response status200response-property-enum-value-added
- ●
added the new
signalenum value to theresults/anyOf[subschema #1]/items/_internal/anyOf[subschema #1: InternalPayloadModel]/lineage/anyOf[subschema #1: InternalLineageModel]/source_type/anyOf[subschema #1]/response property for the response status200response-property-enum-value-added
- ●
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
warningsto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional
queryrequest parameterafternew-optional-request-parameter
- ○
added the new optional
queryrequest parameternext_cursornew-optional-request-parameter
- ○
- ○
added the new optional request property
include_totalnew-optional-request-property
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○