Collections
List available collections and their capabilities before performing searches.
List Collections
/api/v1/search/collectionsReturns all collections your API key has access to. The response includes each collection's name, description, and search capabilities (sparse retrieval, reranking). Use the name field as the collection parameter when calling the Search API.
Authentication
Requires a valid API key via Authorization: Bearer header. The collections returned depend on what you have access to.
Response Fields
collectionsarray—Array of collection objects
countinteger—Total number of collections returned
Collection Object
namestring—Collection identifier — use this as the collection parameter in search requests
descriptionstring | null—Human-readable description of the collection's contents
Usage Notes
Call this endpoint to discover which collections are available before making search requests. The name field is what you pass as collection in the POST /api/v1/search/query endpoint.
Request
Response