Analytics

Get credits burned for proxy usage

Retrieve credits burned per day, broken down by tier. Each item holds one date and a data array whose key is the tier number ("1", "2", "3") and whose value is the credits burned on that tier. The date range may span at most 365 days.

If the API key is restricted to specific packages, results (and any package_ids filter) are limited to those packages.

Requires the proxy:analytics:read scope.

post/v1/proxy/analytics/credits-burned

Request

Request body

from_datestring date-time required

Start of the query range (ISO 8601).

to_datestring date-time required

End of the query range (ISO 8601). At most 365 days after from_date.

package_idsstring[] nullable

Restrict results to these package IDs.

Response

Successful Response

datestring required

Changes

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