Get contexts serverside usage
Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by server-side SDKs.The supported granularity varies by aggregation type. The maximum time range is 365 days.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
stringThe series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
stringA project key to filter results by. 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.
stringA context kind to filter results by. Can be specified multiple times, one query parameter per context kind.
stringAn SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.
stringAn anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.Valid values: true, false.
stringIf specified, returns data for each distinct value of the given field. contextKind is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.Valid values: projectId, environmentId, sdkName, sdkAppId, anonymousV2.
stringSpecifies the aggregation method. Defaults to month_to_date.Valid values: month_to_date, incremental, rolling_30d.
stringSpecifies the data granularity. Defaults to daily. Valid values depend on aggregationType: month_to_date supports daily and monthly; incremental and rolling_30d support daily only.
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/usage/serverside-contexts"{ "_links": { "property1": null, "property2": null }, "metadata": [ { "property1": null, "property2": null } ], "series": [ { "0": 11, "1": 15, "time": 1677888000000 } ]}Get SDK versions usage details GET
Get detailed SDK version usage data for your account, including version information, EOL status, and relay proxy metadata. Refreshed hourly, returns the max version for each SDK observed in the last 24 hours, including those without EOL metadata available.<br/><br/>This endpoint provides comprehensive information about SDK versions in use across your projects and environments.
Get service connections usage GET
Get a time series array showing the number of service connection minutes from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.