UsageWorkflowRow
Usage for one sheet. A workflow's sheets are separate rows sharing a `workflow_id` — sum them for the workflow total. Field names match the Sheet schema: `sheet_id` is this row, `workflow_id` is the workflow it belongs to.
Properties
sheet_idstringrequiredUUID of the sheet. Pass to Get Workflow Usage, and as `{sheet_id}` on every sheet-scoped workflow endpoint.
namestringrequiredFully qualified name, `Parent > Sheet` for a child sheet.
deletedbooleanrequiredTrue when the workflow has since been deleted.
workflow_idstringrequiredUUID of the parent workflow this sheet belongs to — the `{workflow_id}` of the workflow endpoints. Equals `sheet_id` on a main sheet.
workflow_namestringrequiredThe parent workflow's name.
sheet_namestringrequiredThis sheet's own label — `Main Sheet` for an unnamed main sheet — without the parent prefix.
is_main_sheetbooleanrequiredrunsintegerrequiredcreditsnumberrequiredsuccess_countintegerrequiredRuns that succeeded.
cache_hitsintegerrequiredcache_hit_ratenumberrequiredPercentage of runs served from cache, 0-100.
top_actionsarray ofrequiredThe three actions that spent the most credits in this sheet.
Example
{
"sheet_id": "string",
"name": "string",
"deleted": false,
"workflow_id": "string",
"workflow_name": "string",
"sheet_name": "string",
"is_main_sheet": false,
"runs": 0,
"credits": 0,
"success_count": 0,
"cache_hits": 0,
"cache_hit_rate": 0,
"top_actions": [
{
"action_name": "string",
"runs": 0,
"credits": 0,
"cache_hits": 0
}
]
}