Account

Get account activity

Changed on

Returns the account's usage over a recent window, aggregated four ways. Requires a provisioning key.

get/v1/account/activity

Request

Query parameters

daysinteger

How many days back the report reaches, from 1 to 30; anything else draws a 400.

Response

The usage report for the requested window: the per-day rows, the totals, and the breakdowns by model and by API key.

period_daysinteger required

The window these numbers cover, in days back plus today.

Changes

    • breaking

      for the query request parameter days, the format changed from no format to int32

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id getAccountActivity removed and replaced with get_account_activity

    • info

      for the query request parameter days, the min was decreased from 1.00 to 0.00

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      response property api_key_usage/items/api_key_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property api_key_usage/items/api_key_name list-of-types was narrowed by removing types null from media type application/json of response 200