Get Runzumi compute usage and costs
get_usageUse this to get Runzumi compute usage and cost for the complete authorized workspace. Omit repositoryId for all accessible repositories, or supply it for one repository. One workspace call covers every accessible repository; dashboard previews are partial. Returns one row for each of the last 31 days: day, vcpuSeconds (billed vCPU-seconds, 18 per wall second on a 16 vCPU runner), costUnits and jobs. costUnits: 3000000 units = 1 USD. Per-job cost is not included in this daily usage response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Runzumi workspace ID from list_workspaces. | |
| repositoryId | No | Omit for all repositories you can access in the workspace; supply an ID to narrow to one repository. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| demo | No | ||
| appUrl | Yes | ||
| observedAt | Yes | ||
| completeness | Yes | ||
| compatibility | No |