batch

Batch Usage

Aggregate API usage across all keys belonging to an owner for a specified date range.

Requires admin authentication.

If period_start and period_end are not provided, defaults to the current calendar month. Returns total call count, total spend, key count, and the billing period.

get/api/v1/batch/usage

Request

  • Base URL: https://agentictrade.io (the document declares no server; this is the origin it was published from)
  • URL: https://agentictrade.io/api/v1/batch/usage
  • Auth: none declared

Query parameters

owner_idstring required

Owner ID to aggregate usage for

period_startstring nullable

Start date (ISO 8601, e.g. 2026-01-01). Defaults to first day of current month.

period_endstring nullable

End date (ISO 8601, e.g. 2026-01-31). Defaults to current timestamp.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.