Tool to retrieve usage history for a bot or workspace. Use to track resource consumption, monitor quota usage, or analyze historical trends for metrics like AI spend, member count, or invocation calls.
idRequiredstringID of a bot or a workspace, depending on the 'type' parameter. Use workspace ID for workspace-level metrics or bot ID for bot-specific metrics.
typeRequiredstringType of usage metric to retrieve history for. Determines what kind of usage data is returned.
x-workspace-idRequiredstringWorkspace ID for authentication and authorization context. Required for all admin API calls.
x-multiple-integrationsstringWhether the client supports bots with multiple instances of the same integration. Set to 'true' to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.