(VG Agents Only) Returns agent knowledge base statistics
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 } }
Agent/Workspace secret API key as bearer token.
The ID of the agent to retrieve KB statistics from
Agent KB statistics retrieved
The response is of type object.
object