Actions22
- Chat Actions
- Container Tag Actions
- Conversation Actions
- Document Actions
- Memory Actions
- Profile Actions
- Search Actions
Document → List
AI-generatedSummary
List documents from Supermemory with optional pagination, container‑tag filtering, and advanced JSON filters.
Inputs
- returnAll — Whether to return all results or only up to a given limit (default: false).
- limit — Maximum number of results to return when returnAll is false (default: 50, min: 1).
- page — Page number to retrieve when returnAll is false (starts at 1, default: 1, min: 1).
- containerTagsList — Filter documents by one or more container tags. Provide each tag via the Tags sub‑field (name or ID). Leave empty to list all documents.
- filtersJson — Advanced filter expressed as JSON supporting metadata, numeric, array_contains, and string_contains filter types (default: empty string).
Output shape
Array of document objects
Each object contains the document’s id, content, containerTags, metadata, and other fields returned by the Supermemory /v3/documents/list endpoint. If returnAll is true the array contains all matching documents; otherwise it contains a single page of results.
Examples
Example 1: Retrieve the first 20 documents from the 'project-alpha' container tag.
Set returnAll=false, limit=20, page=1, containerTagsList.tags=[{tag:'project-alpha'}].
Example 2: Get all documents whose metadata field 'category' equals 'blog'.
Set returnAll=true, filtersJson={'AND':[{'key':'category','value':'blog','filterType':'metadata'}]}.
