Get data export events usage
Get a time series array showing the number of data export events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days. groupBy=projectId resolves legacy rows through the account's current environment-to-project mapping and returns 409 instead of a partial series when any successful row remains unattributed. Plain project filtering keeps its current-environment compatibility behavior.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.
stringThe series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.
stringA project key to filter results by. Without groupBy=projectId, filters to the project's current environments so retained pre-materialization usage remains visible. Can be specified multiple times, one query parameter per project key.
stringAn environment key to filter results by. If specified, exactly one projectKey must be provided. Can be specified multiple times, one query parameter per environment key.
stringAn event kind to filter results by. Can be specified multiple times, one query parameter per event kind.
stringA Streaming configuration kind to filter results by. Values preserve raw product identity; snowflake is legacy Streaming Snowflake and is distinct from Warehouse snowflake-v2. Can be specified multiple times.Valid values: kinesis, google-pubsub, mparticle, segment, azure-event-hubs, snowflake, unknown.
stringIf specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension. projectId requires one or more explicit projectKey filters and is capped at 100 selected projects.Valid values: projectId, environmentId, eventKind, destinationKind.
stringSpecifies the aggregation method. Defaults to month_to_date.Valid values: month_to_date, incremental.
stringSpecifies the data granularity. Defaults to daily. monthly granularity is only supported with the month_to_date aggregation type.Valid values: daily, hourly, monthly.
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/usage/data-export-events"{ "_links": { "property1": null, "property2": null }, "metadata": [ { "property1": null, "property2": null } ], "series": [ { "0": 11, "1": 15, "time": 1677888000000 } ]}Get MAU clientside usage GET
Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only. The counts reflect data reported from client-side SDKs.<br/><br/>For past months, the primary context kind is fixed and reflects the last known primary kind for that month. For the current month, it may vary as new primary context kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
Get evaluations usage GET
Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the returned data depends on the length of the requested time range: ranges shorter than two hours return minutely data, ranges shorter than two days return hourly data, and ranges of two days or longer return daily data. Minutely data is retained for 70 days; a range shorter than two hours that starts before then is returned at hourly granularity instead, with the start of the range widened to the containing hour. Ranges that predate available data return an empty series list. If a flag has served many distinct variation values in the requested range, the least recently seen values may be aggregated into a single additional series labeled "Other Variations".