Get usage for one tool
How often the agent called one specific tool, across chats and trigger runs, plus the most recent call inputs. :toolName is a tool name (lowercase with underscores, e.g. send_email), not a capability name — an unknown name returns 404 rather than a zero count.
Authorizations
Workspace API key (wk_) with the Workspace read API scope enabled.
Path Parameters
The agent id.
The tool name to look up (e.g. 'get_skills', 'send_email', 'http_request').
Query Parameters
ISO date string. Only count usage after this timestamp. Defaults to 30 days ago.
Max recent calls to return (default 10).
1 <= x <= 50Response
Success. Empty result sets are also 200.
Response fields for this endpoint are not modelled in the spec yet. See the Workspace API guide for the shapes.

