Report

Reports - API Usage

Daily publisher-API request aggregates scoped to the logged-in publisher's org. Optional publisher_account_id narrows to one API-key account. Query hits the monthly-partitioned api_request_log — wide ranges cross partition boundaries but stay indexed on created_at. Group by date, account, publisher.

get/publisher/v1/reports/api-usage

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/publisher/v1/reports/api-usage
  • Auth: none declared

Query parameters

fromstring date required
tostring date required
publisher_account_idinteger
group_bystring[]

Group-by dimensions (repeat or CSV). Allowed set is per report (see the reports changelog); default date. publisher_account_id accepts a single value or a CSV/repeat list.

bucket'day' | 'week' | 'month'

Date bucket: day|week|month (default day).

Response

Daily rows, ordered by report_date DESC.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "errors": []
}

Changes

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