GET
/
api
/
v1
/
knowledge-base
/
collections
Get knowledge base collections
curl --request GET \
  --url https://prod.featherhq.com/api/v1/knowledge-base/collections \
  --header 'X-API-Key: <api-key>'
{
  "collections": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "files": [
        {
          "id": "<string>",
          "fileName": "<string>",
          "key": "<string>",
          "status": "<string>",
          "createdAt": "<string>",
          "updatedAt": "<string>",
          "prompt": "<string>",
          "size": 123,
          "url": "<string>"
        }
      ]
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Response

200
application/json

List of knowledge base collections retrieved successfully

The response is of type object.