Get usage per project
get_usage_by_projectGet monthly usage metrics for each project, including proxy traffic and messages sent/received, for customer rebilling. Optionally filter by project ID to view a single project's usage.
Instructions
Numbers, proxy traffic and messages sent and received per project for a month, for rebilling your customers. With projectId, that project only. Organization keys only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_usage_by_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | `YYYY-MM` in UTC. Default: the current month. | |
| projectId | No | One project: its id or `ext:<externalId>`. |