Read API usage
usage_getThis workspace’s API consumption by endpoint, key and day. Defaults to the last 30 days; the window is capped at 366. Free.
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": "usage_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD. Defaults to today. | |
| from | No | YYYY-MM-DD. Defaults to 29 days ago. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||