Skip to main content
POST
Search document chunks

Authorizations

X-API-Key
string
header
required

Body

application/json

Request model for agent queries.

query
string
required

The natural language query

Minimum string length: 1
documentIds
string | null

Comma-separated string of document file IDs. If provided and non-empty, skips document and company selection and goes directly to retrieval.

Response

Chunks relevant to the query

Response model for chunk search results.

relevantChunks
Chunk · object[]
required

List of relevant document chunks