cURL
curl --request GET \ --url https://eu-vg-edge.moeaymandev.workers.dev/v2/agents/{agent_id}/stats/kb \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Agent KB statistics retrieved successfully", "data": { "charCount": 123, "docsCount": 123 } }
(VG Agents Only) Returns agent knowledge base statistics
Agent/Workspace secret API key as bearer token.
The ID of the agent to retrieve KB statistics from
Agent KB statistics retrieved
true
"Agent KB statistics retrieved successfully"
KB statistics
Show child attributes