List Data
Paginated listing of stored knowledge or memories with optional filters.
When to use it
- Admin dashboards – browse what’s been ingested into a tenant
- Audit and exports – paginate through all sources for reporting
- Debugging – verify metadata was attached correctly at ingestion
- Bulk operations – iterate over sources for cleanup or reprocessing
Endpoint
- Auth: Bearer token
- Idempotency: Read-only
- Async: No
Example
Request parameters
Filters
Filters narrow results using AND logic – every key-value pair must match.metadata / document_metadata are accepted as legacy aliases (back-compat with earlier API versions) - both names route to the same filter.source_fields keys: description, timestamp, title, type, url.
Field projection (knowledge only)
For large knowledge bases, response payloads can grow significantly. Useinclude_fields to return only the fields you need:
include_fields is set, only the listed fields plus id, tenant_id, and sub_tenant_id are populated. Other fields return their default/empty values.
Response
The response shape depends onkind.
kind: "knowledge" (default)
kind: "memories"
Pagination
Thepagination object on every response includes:
Behavior notes
metadata, additional_metadata, and source_fields must match for an item to be included.source_ids does not bypass filters. When source_ids is provided, returned items are restricted to those IDs and must still match any active filters.Related endpoints
- Inspect a single source: Fetch content – retrieve original file or presigned URL
- Inspect graph relationships: Graph relations by source ID – see entity links for a source
- Remove items: Delete knowledge · Delete memory
Errors
Common codes:400 INVALID_PARAMETERS, 404 TENANT_NOT_FOUND, 422 VALIDATION_ERROR. See Error Responses for the full list.
Read more: Essentials → MetadataAuthorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Unified request model for listing either sources or user memories.
Supports pagination (page / page_size) and optional filters on tenant_metadata and document_metadata.
If source_ids is provided and non-empty, only those IDs are returned
(pagination and filters still apply).
Tenant ID
"tenant_1234"
Sub-tenant ID
"sub_tenant_4567"
Whether to list normal sources or user memories.
knowledge, memories Optional list of IDs to fetch (max 100). If omitted, returns all.
100Page number to retrieve (1-indexed). Defaults to 1.
x >= 11
Number of items per page (1-100). Defaults to 50.
1 <= x <= 1001
Optional filters. Provide key-value pairs to match against tenant_metadata, document_metadata, and/or source-level fields (title, type, description, url, timestamp).
Optional list of source fields to include in the response. When provided, only the specified fields (plus id, tenant_id, sub_tenant_id which are always returned) will be populated; all other fields will have their default/empty values. This reduces payload size and improves performance. Allowed values: attachments, content, description, document_metadata, note, relations, tenant_metadata, timestamp, title, type, url. Omit or pass null to return all fields. Only applies to kind=knowledge; ignored for kind=memories.
Response
Successful Response
- SourceListResponse
- ListUserMemoriesResponse