Collections

List available collections and their capabilities before performing searches.

List Collections

GET
/api/v1/search/collections

Returns 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

collections
required

arrayArray of collection objects

count
required

integerTotal number of collections returned

Collection Object

name
required

stringCollection identifier — use this as the collection parameter in search requests

description
required

string | nullHuman-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