API ReferenceKnowledge bases

Get details of a specific Knowledge Base

GET
/api/knowledge-bases/{id}

Retrieves the complete details of a Knowledge Base by its ID.

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Bearer token for API authentication

In: header

Path Parameters

id*string

Unique ID of the Knowledge Base

Response Body

application/json

curl -X GET "https://app.docutray.com/api/knowledge-bases/string"
{
  "data": {
    "id": "string",
    "name": "string",
    "description": "string",
    "schema": {},
    "indexingPreferences": {},
    "isActive": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "documentCount": 0
  }
}
Empty
Empty
Empty
Empty
Empty