Skip to main content
List collections available for the current user to create knowledge bases.
curl -X GET https://api-be.atthene.com/api/v1/knowledge-bases/available-collections/ \
  -H "x-api-key: YOUR_API_KEY"

Response

Returns a success wrapper with available collections:
{
  "success": true,
  "collections": [
    {
      "id": "coll_123",
      "name": "Product Documentation",
      "description": "All product manuals and guides",
      "created_at": "2025-01-15T10:30:00Z",
      "datasource_count": 15
    },
    {
      "id": "coll_456",
      "name": "FAQ Collection",
      "description": "Frequently asked questions",
      "created_at": "2025-01-15T11:00:00Z",
      "datasource_count": 8
    }
  ],
  "count": 2
}