List Agent Knowledge Bases

List knowledge bases attached to an agent. Bare list — the attachment count is bounded by configuration, not by data scale, so this endpoint does not paginate.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired

Response

The knowledge bases attached to the agent.
knowledge_baseslist of objects

Errors

401
Unauthorized Error
404
Not Found Error