List documents
POST/v3/documents/list
Retrieves a paginated list of documents with their metadata and workflow status
Body ParametersJSON
DeprecatedcontainerTags: optional array of string
Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.
filepath: optional string
Filter documents by filepath. Exact match for full paths, prefix match if ending with /
List documents
curl https://api.supermemory.ai/v3/documents/list \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $SUPERMEMORY_API_KEY" \
-d '{
"limit": 10,
"order": "desc",
"page": 1,
"sort": "createdAt"
}'{
"memories": [
{
"id": "acxV5LHMEsG2hMSNb4umbn",
"connectionId": "xxxxxxxxxxxxxxxxxxxxxx",
"createdAt": "2025-04-15T09:30:00.000Z",
"customId": "doc-api-rate-limits",
"filepath": "filepath",
"metadata": {
"source": "bar",
"language": "bar"
},
"status": "done",
"summary": "API rate limit policy: 100 req/min free, 1000 req/min pro.",
"title": "API Rate Limiting Policy",
"type": "text",
"updatedAt": "2025-04-15T09:31:00.000Z",
"containerTags": [
"string"
],
"content": "This is the content of the document...",
"url": "https://docs.example.com/guides/rate-limits"
}
],
"pagination": {
"currentPage": 1,
"totalItems": 100,
"totalPages": 10,
"limit": 10
}
}Returns Examples
{
"memories": [
{
"id": "acxV5LHMEsG2hMSNb4umbn",
"connectionId": "xxxxxxxxxxxxxxxxxxxxxx",
"createdAt": "2025-04-15T09:30:00.000Z",
"customId": "doc-api-rate-limits",
"filepath": "filepath",
"metadata": {
"source": "bar",
"language": "bar"
},
"status": "done",
"summary": "API rate limit policy: 100 req/min free, 1000 req/min pro.",
"title": "API Rate Limiting Policy",
"type": "text",
"updatedAt": "2025-04-15T09:31:00.000Z",
"containerTags": [
"string"
],
"content": "This is the content of the document...",
"url": "https://docs.example.com/guides/rate-limits"
}
],
"pagination": {
"currentPage": 1,
"totalItems": 100,
"totalPages": 10,
"limit": 10
}
}