Get project usage
get_usageReturns how many messages a project has sent per day over the last 30 days (up to 90), plus the total for the current calendar month. Counts are updated through the day.
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 |
|---|---|---|---|
| days | No | How many days back, 1 to 90. Default 30. | |
| project_id | Yes | The project's id, from list_projects. |