---
title: "Get data export events usage"
method: GET
path: "/api/v2/usage/data-export-events"
tags: ["Account usage (beta)"]
---

# Get data export events usage

`GET /api/v2/usage/data-export-events`

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.

## Query parameters

- `from` string, string — The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
- `to` string, string — The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
- `projectKey` string, string — A project key. If specified, `environmentKey` is required and results apply to the corresponding environment in this project.
- `environmentKey` string, string — An environment key. If specified, `projectKey` is required and results apply to the corresponding environment in this project.

## Response `200`

Usage response

- SeriesIntervalsRep
  - `series` Series[], required — An array of timestamps and values for a given meter
    - `time` integer, required — The timestamp
    - `value` number, required — The value for the given timestamp
  - `_links` object, required — The location and content type of related resources

## Other responses

- `400` — Invalid request
- `401` — Invalid access token
- `403` — Forbidden
- `429` — Rate limited
- `503` — Service unavailable

---

[API](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/b2724c5174d1/schema)
