For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • REST API overview
    • Access Tokens
    • Account Members
    • Account Usage Beta
      • GETGet AI runs usage
      • GETGet contexts clientside usage
      • GETGet contexts serverside usage
      • GETGet contexts total usage
      • GETGet data export events usage
      • GETGet evaluations usage
      • GETGet events usage
      • GETGet experimentation events usage
      • GETGet experimentation keys usage
      • GETGet MAU clientside usage
      • GETGet MAU SDKs by type
      • GETGet MAU total usage
      • GETGet MAU usage
      • GETGet MAU usage by category
      • GETGet observability errors usage
      • GETGet observability logs usage
      • GETGet observability metrics usage
      • GETGet observability sessions usage
      • GETGet observability traces usage
      • GETGet SDK versions usage details
      • GETGet service connections usage
      • GETGet stream usage
      • GETGet stream usage by SDK version
      • GETGet stream usage SDK versions
      • GETGet usage details for all SDK versions
      • GETGet Vega AI usage
    • AI Configs
    • Announcements
    • Applications Beta
    • Approvals
    • Approvals Beta
    • Audit Log
    • Code References
    • Contexts
    • Context Settings
    • Custom Roles
    • Data Export Destinations
    • Environments
    • Experiments
    • Feature Flags
    • Feature Flags Beta
    • Flag Import Configurations Beta
    • Flag Links Beta
    • Flag Triggers
    • Follow Flags
    • Holdouts Beta
    • Insights Charts Beta
    • Insights Deployments Beta
    • Insights Flag Events Beta
    • Insights Pull Requests Beta
    • Insights Repositories Beta
    • Insights Scores Beta
    • Integration Audit Log Subscriptions
    • Integration Delivery Configurations Beta
    • Integrations Beta
    • Layers
    • Metrics
    • Metrics Beta
    • OAuth2 Clients
    • Persistent Store Integrations Beta
    • Projects
    • Relay Proxy Configurations
    • Release Pipelines Beta
    • Releases Beta
    • Scheduled Changes
    • Segments
    • Tags
    • Teams
    • Teams Beta
    • Users
    • Users Beta
    • User Settings
    • Views Beta
    • Webhooks
    • Workflows
    • Workflow Templates
    • Other
Sign inTry it free
LogoLogo
REST API overviewAccount Usage Beta

Get usage details for all SDK versions

GET
/api/v2/usage/sdk-versions/all
GET
/api/v2/usage/sdk-versions/all
$curl https://app.launchdarkly.com/api/v2/usage/sdk-versions/all \
> -H "Authorization: <apiKey>"
1[
2 {
3 "name": "string",
4 "version": "string",
5 "type": "string",
6 "projectId": "string",
7 "projectKey": "string",
8 "projectName": "string",
9 "environmentId": "string",
10 "environmentKey": "string",
11 "environmentName": "string",
12 "applicationId": "string",
13 "ldLatestVersion": "string",
14 "eolStatus": "string",
15 "latestReleaseUrl": "string",
16 "connectionType": "string",
17 "relayVersion": "string",
18 "relayEolStatus": "string",
19 "relayLatestVersion": "string",
20 "relayLatestReleaseUrl": "string"
21 }
22]

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.

Was this page helpful?
Previous

Get Vega AI usage

Next
Built with

Authentication

Authorizationstring
API Key authentication via header

Query parameters

environmentIdstringOptionalformat: "string"
Filter to a specific environment ID.
projectIdstringOptionalformat: "string"
Filter to a specific project ID.
sdkNamestringOptionalformat: "string"
Filter to a specific SDK name.
sdkTypestringOptionalformat: "string"

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

sdkAppIdstringOptionalformat: "string"
Filter to a specific SDK application ID.
connectionTypestringOptionalformat: "string"

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

Response

SDK versions usage response
namestring
versionstring
typestring
projectIdstring
projectKeystring
projectNamestring
environmentIdstring
environmentKeystring
environmentNamestring
applicationIdstring
ldLatestVersionstring
eolStatusstring

The end of life (EOL) status of the SDK version. Possible values are:
- EolAllClear: the SDK version is current
- EolNear: the SDK version is approaching EOL
- EolPast: the SDK version is past EOL
- MajorVersionAvailable: a new major version is available but the current version is not near EOL
- EolUnknown: the EOL status cannot be determined.

latestReleaseUrlstring
connectionTypestring
relayVersionstring
relayEolStatusstring

The end of life status of the Relay Proxy version. Only present when the SDK connects through a Relay Proxy. Uses the same values as eolStatus.

relayLatestVersionstring
relayLatestReleaseUrlstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
503
Service Unavailable Error