cURL
curl --request GET \ --url https://eu-vg-edge.moeaymandev.workers.dev/v2/agents/{agent_id}/kb \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Agent KB documents retrieved successfully", "data": [ { "ID": "<string>", "status": "ERROR", "ts": 123, "name": "<string>", "content": "<string>", "metadata": { "description": "<string>" }, "tags": [ "<string>" ], "sourceType": "doc" } ] }
Returns agent knowledge base documents
Agent/Workspace secret API key as bearer token.
The ID of the agent to retrieve KB documents from
Agent KB documents retrieved
true
"Agent KB documents retrieved successfully"
Array of KB Docs
Show child attributes