Skip to main content
GET
/
api
/
v1
/
knowledge-base
/
{kb_id}
Get Knowledge Base
curl --request GET \
  --url https://api.kollie.ai/api/v1/knowledge-base/{kb_id} \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Get Knowledge Base

This endpoint retrieves a specific knowledge base by its ID.

Request

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Path Parameters

NameTypeRequiredDescription
kb_idstringYesThe ID of the knowledge base to retrieve

Response

200 OK

{
  "data": {
    "id": "string",
    "name": "string",
    "description": "string",
    "created_at": "string",
    "updated_at": "string",
    "organization_id": "string"
  }
}

Response Fields

FieldTypeDescription
idstringUnique identifier for the knowledge base
namestringName of the knowledge base
descriptionstringDescription of the knowledge base
created_atstringTimestamp when the knowledge base was created
updated_atstringTimestamp when the knowledge base was last updated
organization_idstringID of the organization that owns the knowledge base

Example

curl -X GET 'https://api.kollie.ai/api/v1/knowledge-base/123e4567-e89b-12d3-a456-426614174000' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'

Authorizations

X-API-Key
string
header
required

Path Parameters

kb_id
string<uuid>
required

Response

Successful Response