Monthly API and MCP usage
Il consumo mensile di API e MCP: calls, errors, total duration and total rows for each month, split by credential kind and by tool, newest month first. This is the organisation’s spend rather than one person’s activity, so only an administrator can read it — a member without that right gets an empty list, not a refusal, and you must not report that as «zero usage». The current month is partial until the nightly rollup runs again. For the individual calls behind a month call integrazioni_list_calls, which only keeps raw rows for the retention window.
Examples
- Quanto abbiamo consumato negli ultimi tre mesi? GET /api/v1/rest/integrazioni/usage?months=3
- Show me a year of API usage GET /api/v1/rest/integrazioni/usage?months=12
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/integrazioni/usage
- Auth: HTTP bearer
Query parameters
How many whole months back, 1–36. Default 12, which is the year-on-year comparison. The current month is partial until the nightly rollup runs again.
Headers
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.