?
List passages
Lists every passage matching a filter, unranked, a page at a time.
admin.dataSources.passages({ slug, filter?, cursor?, limit?, candidate? })
Prints the passages that match a filter, document by document, without ranking them: every passage about an entity, every passage holding a phrase. Narrow with --entities, --filter, --contains, or --phrase. Page with --cursor. Add --candidate to read a rebuild in progress. The SDK's passages() is the same call for an app.
Parameters
--source
string
Corpus slug.
--entities
id,...
Passages about any of these entities.
--filter
k=v,...|json
Metadata filter, or the full filter grammar as JSON.
--contains
words
Passages holding all of these words.
--phrase
text
Passages holding this exact phrase.
--cursor
string
The previous page's nextCursor.
--limit
number
Passages per page, default 50, at most 200.
--candidate
flag
Read a rebuild in progress rather than what is live.
CLI
remy-admin datasources passages --source manuals --entities P-1004A --limit 100