UsageOverview
Usage totals for the requested window, with the daily trend and the top consumers.
Properties
summaryobjectrequiredtotal_runsintegerrequiredAction runs in the window.
credits_consumednumberrequiredCredits spent in the window.
success_ratenumberrequiredPercentage of runs that succeeded, 0-100.
cache_savingsnumberrequiredCredits NOT spent because a run was served from cache. Not part of `credits_consumed`.
avg_cost_per_runnumberrequired`credits_consumed / total_runs`.
active_usersintegerMembers who ran something. Omitted for a key that only sees its own usage.
dailyarray ofrequiredtop_workflowsarray ofrequiredtop_actionsarray ofrequiredtop_usersarray ofrequiredEmpty for a key that only sees its own usage.
top_errornull | objectrequiredThe most frequent error in the window, or null when nothing failed.
Example
UsageOverview example
{
"summary": {
"total_runs": 0,
"credits_consumed": 0,
"success_rate": 0,
"cache_savings": 0,
"avg_cost_per_run": 0,
"active_users": 0
},
"daily": [
{
"date": "string",
"runs": 0,
"credits": 0,
"cache_hits": 0
}
],
"top_workflows": [
{
"sheet_id": "string",
"name": "string",
"deleted": false,
"runs": 0,
"credits": 0
}
],
"top_actions": [
{
"action_name": "string",
"runs": 0,
"credits": 0,
"cache_hits": 0
}
],
"top_users": [
{
"email": "string",
"runs": 0,
"credits": 0
}
],
"top_error": null
}