Query Collection

Ask a question about a collection's contents. Runs a retrieval-augmented QA chain over the collection's embedded documents and returns a single synthesized natural-language answer, not a list of matching chunks. **Use Cases**: - Get a direct answer grounded in a collection's documents - Test RAG answer quality - Build custom Q&A interfaces

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

collection_idstringRequiredformat: "uuid"
org_idstringRequiredformat: "uuid"
The unique identifier of the organization.
project_idstringRequiredformat: "uuid"
The unique identifier of the project.

Request

This endpoint expects an object.
querystringRequired
limitintegerOptionalDefaults to 10

Response

The synthesized answer to the query
responsestring
querystring

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error