Skip to main content

Document search

POST 

/spaces/:qid/documents/search

Returns documents in the given space matching the supplied filters. When labels is set, documents must contain every requested label (set-containment via @>). When text_query is set, documents must match the websearch-style query against the text body (GIN index on text_tsv) and are ordered by ts_rank_cd similarity descending, with each result carrying a score. Optional filters: qid, track, start/end time bounds. Requires content access for the space qid.

Request

Responses

OK