Account usage (beta)

Get data export events usage

Get a time-series array of the number of monthly data export events from your account. The granularity is always daily, with a maximum of 31 days.

get/api/v2/usage/data-export-events

Query parameters

fromstring string

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

tostring string

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

projectKeystring string

A project key. If specified, environmentKey is required and results apply to the corresponding environment in this project.

A project key. If specified, environmentKey is required and results apply to the corresponding environment in this project.

environmentKeystring string

An environment key. If specified, projectKey is required and results apply to the corresponding environment in this project.

An environment key. If specified, projectKey is required and results apply to the corresponding environment in this project.

Response

Usage response

_linksobject required

The location and content type of related resources

Example response

{
  "series": [
    {
      "time": 1676332800000,
      "value": 92
    }
  ]
}

Changes