UsageSourceRow
Usage for one source instance.
Properties
source_instance_idstringrequiredThe source INSTANCE id, as listed by `GET /api/v1/sources`. Not the source-type slug.
namestringrequireddeletedbooleanrequiredTrue when the source has since been deleted.
runsintegerrequiredcreditsnumberrequiredsuccess_countintegerrequiredcache_hitsintegerrequiredcache_hit_ratenumberrequiredPercentage of runs served from cache, 0-100.
top_actionsarray ofrequiredThe three actions that spent the most credits on this source.
Example
UsageSourceRow example
{
"source_instance_id": "string",
"name": "string",
"deleted": 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
}
]
}