get_assistant_usage
Retrieve usage statistics for a specific assistant to monitor performance and track activity within the VoiceAI platform.
Instructions
Get usage statistics for an assistant
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assistant_id | Yes | Assistant ID |
Implementation Reference
- index.js:583-585 (handler)Handler case in executeTool method that constructs the API URL for fetching assistant usage statistics.case 'get_assistant_usage': url = `${this.baseUrl}/assistants/${args.assistant_id}/usage`; break;
- index.js:271-277 (schema)Input schema definition for the get_assistant_usage tool, requiring assistant_id.inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] }
- index.js:268-278 (registration)Tool registration in the listTools response, including name, description, and input schema.{ name: 'get_assistant_usage', description: 'Get usage statistics for an assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] } },