API ReferenceAgents

List agent knowledge bases

GET
/api/v1/console/agents/{agentId}/knowledge_bases

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Team API key (prefix sk_). You may also send the key via X-Api-Key header.

In: header

Path Parameters

agentId*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/console/agents/string/knowledge_bases"
{  "message": "Success",  "data": [    {      "id": "string",      "type": "text",      "name": "string",      "description": "string",      "url": "string",      "content": "string"    }  ]}