Get MAU usage

GET
/api/v2/usage/mau

Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.

Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read Account usage metrics.

Query parameters

fromstringOptional

The series of data returned starts from this timestamp. Defaults to 30 days ago.

tostringOptional

The series of data returned ends at this timestamp. Defaults to the current time.

projectstringOptional

A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects.

environmentstringOptional

An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project.

sdktypestringOptional

An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server

sdkstringOptional

An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK.

anonymousstringOptional

If specified, filters results to either anonymous or nonanonymous users.

groupbystringOptional

If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous, contextKind, sdkAppId

aggregationTypestringOptional

If specified, queries for rolling 30-day, month-to-date, or daily incremental counts. Default is rolling 30-day. Valid values: rolling_30d, month_to_date, daily_incremental

contextKindstringOptional

Filters results to the specified context kinds. Can be specified multiple times, one query parameter per context kind. If not set, queries for the user context kind.

Response

Usage response

metadatalist of maps from strings to any

Metadata about each series

serieslist of maps from strings to integers

An array of data points with timestamps. Each element of the array is an object with a ‘time’ field, whose value is the timestamp, and one or more key fields. If there are multiple key fields, they are labeled ‘0’, ‘1’, and so on, and are explained in the metadata.

Errors

Built with