Account usage (beta)

Get usage details for all SDK versions

GET
/api/v2/usage/sdk-versions/all

Get detailed SDK version usage data for all versions observed in the last 24 hours in your account. Unlike the /details endpoint which returns only the max version per SDK, this endpoint returns all SDK versions for the specified filters. This data is refreshed hourly.All query parameters are optional, allowing you to filter results as broadly or narrowly as needed.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Query Parameters

environmentId?string

Filter to a specific environment ID.

Formatstring
projectId?string

Filter to a specific project ID.

Formatstring
sdkName?string

Filter to a specific SDK name.

Formatstring
sdkType?string

Filter to a specific SDK type (for example, 'server', 'browser', 'mobile').

Formatstring
sdkAppId?string

Filter to a specific SDK application ID.

Formatstring
connectionType?string

Filter to a specific connection type (for example, 'direct', 'proxy').

Formatstring

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/usage/sdk-versions/all"
[  {    "name": "string",    "version": "string",    "type": "string",    "projectId": "string",    "projectKey": "string",    "projectName": "string",    "environmentId": "string",    "environmentKey": "string",    "environmentName": "string",    "applicationId": "string",    "ldLatestVersion": "string",    "eolStatus": "string",    "latestReleaseUrl": "string",    "connectionType": "string",    "relayVersion": "string",    "relayEolStatus": "string",    "relayLatestVersion": "string",    "relayLatestReleaseUrl": "string"  }]