This feature is in beta
To use this feature, pass in a header including the
LD-API-Version
key with value set tobeta
. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
The account usage API lets you query for metrics about how your account is using LaunchDarkly. To learn more, read Account usage metrics.
Each endpoint returns time-series data in the form of an array of data points with timestamps. Each one contains data for that time from one or more series. It also includes a metadata array describing what each of the series is.
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.
Usage response
Invalid request
Invalid access token
Forbidden
Rate limited
Service unavailable
{- "series": [
- {
- "time": 1676332800000,
- "value": 92
}
], - "_links": {
- "property1": null,
- "property2": null
}
}
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 data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Usage response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
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 data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Usage response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
Get a time-series array of the number of monthly experimentation keys from your account. The granularity is always daily, with a maximum of 31 days.
Usage response
Invalid request
Invalid access token
Forbidden
Rate limited
Service unavailable
{- "series": [
- {
- "time": 1676332800000,
- "value": 92
}
], - "_links": {
- "property1": null,
- "property2": null
}
}
Get a time-series array of the number of monthly experimentation units from your account. The granularity is always daily, with a maximum of 31 days.
Usage response
Invalid request
Invalid access token
Forbidden
Rate limited
Service unavailable
{- "series": [
- {
- "time": 1676332800000,
- "value": 92
}
], - "_links": {
- "property1": null,
- "property2": null
}
}
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.
Usage response
Invalid request
Invalid access token
Forbidden
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either browser
, mobile
, or backend
.
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.
Usage response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.
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.
MAU SDKs response
Invalid request
Invalid access token
Forbidden
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "sdks": [
- "Android",
- "Java",
- "Node.js"
]
}
Get a time-series array of the number of monthly service connections from your account. The granularity is always daily, with a maximum of 31 days.
Usage response
Invalid request
Invalid access token
Forbidden
Rate limited
Service unavailable
{- "series": [
- {
- "time": 1676332800000,
- "value": 92
}
], - "_links": {
- "property1": null,
- "property2": null
}
}
Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Usage response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Usage response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "metadata": [
- {
- "property1": null,
- "property2": null
}
], - "series": [
- {
- "0": 11,
- "1": 15,
- "time": 1677888000000
}
]
}
Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
SDK Versions response
Invalid access token
Forbidden
Rate limited
{- "_links": {
- "property1": null,
- "property2": null
}, - "sdkVersions": [
- {
- "sdk": "Android",
- "version": "3.1.2"
}, - {
- "sdk": "Android",
- "version": "3.1.5"
}, - {
- "sdk": "C",
- "version": "2.4.6"
}
]
}