get_usage
Retrieve API usage data, including search counts, per-user breakdowns, and IQ credit balance; optionally filter by month to monitor consumption and remaining credits.
Instructions
Get API usage data. Returns search counts, per-user breakdowns, and the current IQ credit balance (credits.credits_remaining, credits.credits_limit, credits.period_reset_date — the latter two are null for one-time credit grants). Optionally filter by month.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | Month to query (YYYY-MM format). Omit to get the last 12 months. |