Get database usage
helix_get_database_usageGet hourly or daily read and write counts for one database over a time window.
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": {
"database": "<database>"
},
"name": "helix_get_database_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Exclusive RFC3339 end time. Supply together with start instead of period. | |
| start | No | Inclusive RFC3339 start time. Supply together with end instead of period. | |
| bucket | No | hourly (the default) or daily. | |
| period | No | A period ending now. Or give start and end instead. | |
| database | Yes | Database reference in cluster:<id> or tenant:<id> form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | ||
| buckets | Yes | ||
| database | Yes | ||
| content_trust | Yes |