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_id
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Request
This endpoint expects an object.
query
limit
Response
The synthesized answer to the query
response
query
Errors
400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error