v1

latestOpenAPI 3.0.0Proprietary2026-08-062711471.0 MB
Knowledge Bases

List knowledge bases assigned to an agent

Lists knowledge bases assigned to a specific agent. Requires a USER API key.

get/public/v1/agents/{agentId}/knowledge-bases

Path parameters

agentIdstring required
Example:asst_123

Response

Assigned knowledge bases

idnumber required
knowledgeBaseIdnumber required
assistantIdstring
maxUserProfileIdnumber
assignedAtstring required

Example response

[
  {
    "id": 1,
    "knowledgeBaseId": 1,
    "assistantId": "example",
    "maxUserProfileId": 1,
    "assignedAt": "example",
    "knowledgeBase": {
      "id": 1,
      "name": "example",
      "description": "example",
      "namespace": "example",
      "createdAt": "example",
      "updatedAt": "example"
    }
  }
]