Redpine Connect
API referenceSearch

List collections

List all document collections accessible to the authenticated API key.

GET
/api/v1/search/collections

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Pass your key in the Authorization header as Bearer sk_live_.... An X-API-Key: sk_live_... header is also accepted as an alternative. Keys are created in the Redpine Connect dashboard under Settings > API Keys.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/search/collections"
{  "collections": [    {      "documentCount": 0,      "name": "string"    }  ],  "count": 0}
Was this page helpful?