Skip to main content
POST
Search Documents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
knowledge_ids
string[]
required

Knowledge bases to search

query
string | null

Vector + keyword retrieval, also matched against document names

entity_names
string[] | null

Resolve documents through their metadata tags. Intersected with query when both are given

document_ids
string[] | null

Fetch these documents directly. Highest priority: query and entity_names are skipped

Response

Successful Response

documents
DocumentDetail · object[]