API Reference
List Document Collections
GET /api/v1/documents/collections — list document collections in a tenant (added in PR #57).
GET
APIKeyHeaderheader
X-API-Key<token>tenant_id*Tenant Idfleet_id?string|nullSuccessful Response
application/json- response
collections*array<>count*CountNumber of collections, not total documents.
curl -X GET 'https://example.com/api/v1/documents/collections?tenant_id=string'Example Response
{ "collections": [ { "name": "string", "count": 0 } ], "count": 0}