List Collections
List all collections in a project with optional filtering.
Collections group related documents for use in RAG-enabled tasks and chats.
Results are paginated and can be filtered by title.
**Use Cases**:
- Browse available knowledge bases
- Find collections for specific topics
- Manage document organization
- Set up RAG contexts for tasks
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
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Query parameters
title
Filter collections by title (partial match)
cursor
Pagination cursor returned from a previous request. Use this to fetch the next page of results.
page_limit
Number of results per page
Response
Successfully retrieved collections
results
The list of items returned for the current page.
pagination
Contains pagination information for the result set.
Errors
400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error