Get domain usage
domain_usageReturns daily send, receive and API counters for one domain.
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": {
"orgId": "<orgId>",
"domainId": "<domainId>"
},
"name": "domain_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date, inclusive. Defaults to today. | |
| from | No | ISO date, inclusive. Defaults to 30 days ago. | |
| orgId | Yes | Organization ID from org_list. | |
| domainId | Yes | Domain ID from domain_list. | |
| breakdown | No | Split each day by agent. |