List Context
Browse over knowledge or memories with optional filters. Results are paginated.
type parameter to filter and view ingested knowledge or user memories within a database or collection:
type=knowledge(default) - knowledge sources (documents, app sources).type=memory- user memories.
Request body
1. Filters
filtersis a structured object with three optional categories. Filters are exact-match constraints i.e. filtered values are matched against stored values as exact values. There are no range, contains, or OR operators on this endpoint; run multiple calls and merge client-side for OR behavior.- AND/OR: All filter pairs combine with a logical AND. To express OR semantics, run multiple calls and union them client-side.
ids+ filters: Whenidsis non-empty, only those IDs are considered, but otherfiltersstill apply on top - useful for “show me items 1, 2, 3 that also belong to department=legal”.
2. Including Fields for convenient data objects
When you don’t need every field on every row, passinclude_fields to keep response payloads small. Only the listed fields are populated; omitted fields should be treated as unavailable in that response. id, database, and collection are always returned.
Allowed values are title, type, description, note, timestamp, metadata, additional_metadata, and relations. Omit or pass null to return everything.
content, url, and attachments are not valid include_fields values - they are stripped from list responses, and requesting one returns 400. Fetch them per-source via Inspect Context.include_fields only applies to type=knowledge. It is ignored for type=memory.
type=memory, data is a ListUserMemoriesResponse instead - same idea but with a data.user_memories[] array of memory items.
Authorizations
API key sent as a Bearer token: "Bearer prefix.secret"
Body
List request
Collection scope. Defaults to the default collection when omitted. Formerly sub_tenant_id; the sub_tenant_id alias is still accepted (deprecated).
"team_docs"
Database/Collection are the canonical v2 names; TenantID/SubTenantID are their deprecated aliases (reconciled here in UnmarshalJSON and centrally by the TenantAliases middleware).
"acme_corp"
When provided, only items with these IDs are returned. Pagination and filters still apply.
Field projection — only the listed fields plus id, database, collection are returned. Only applies to type=knowledge.
Current page number (1-indexed).
1
Number of items per page.
50
deprecated: use collection
"sub_tenant_4567"
deprecated: use database
"tenant_1234"
Bucket to list: knowledge (default) or memory.
knowledge, memory "knowledge"