GET
/
knowledge-bases
/
{knowledge_base_id}
curl --request GET \
  --url https://api.totoy.ai/v1/knowledge-bases/{knowledge_base_id} \
  --header 'Authorization: Bearer <token>'
{
  "knowledge_base_id": "kb_feMfJbeqbAEj4u8K5HqmKpUbY",
  "name": "Totoy Customer Support Assistant",
  "instructions": "You are a customer support assistant for the customers of the company Totoy.",
  "project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
  "created_at": "2023-07-05T12:00:00Z",
  "updated_at": "2023-07-05T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

knowledge_base_id
string
required

Unique identifier for a Knowledge Base.

Maximum length: 28

Response

200
application/json
OK

The response is of type object.