Skip to main content
Retrieve a daily breakdown of your API usage from the /v1/usage/report endpoint. The report includes token consumption, request counts, and costs for each day in the requested period.
GET /v1/usage/report is not yet live on the production API — it exists only on an unmerged feature branch. Calling it against https://api.swarms.world will currently return a 404. For live per-operation pricing, use /v1/usage/costs instead.
The endpoint supports predefined periods (day, week, month) and custom date ranges via start_date and end_date query parameters. See the API Reference for the full schema.

Quick Start

Custom Date Range

Pass start_date and end_date as query parameters to query a specific window. These override the period parameter.

Monitor Usage Over Time

Build a simple cost tracker that alerts on high-usage days:

Response Schema

UsageReportOutput

UsageReportDay