get_usage
Retrieves actual CPU and memory usage for a project's app, with a live sample plus hourly averages and peaks for up to 14 days, so you can monitor resource consumption.
Instructions
CPU and memory the project's app actually used: live sample, then hourly averages and peaks (up to 14 days). Billing is based on the allocated size, not on this: use get_wallet for costs.
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": {
"project_id": "<project_id>"
},
"name": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |