Skip to main content
GET
/
api
/
v2
/
versions
Get version information
curl --request GET \
  --url https://app.launchdarkly.com/api/v2/versions \
  --header 'Authorization: <api-key>'
{
  "validVersions": [
    123
  ],
  "latestVersion": "20220603",
  "currentVersion": "20220603",
  "beta": false
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Response

Versions information response

validVersions
integer[]
required

A list of all valid API versions. To learn more about our versioning, read Versioning.

latestVersion
integer
required

The most recently released version of the API

Example:

"20220603"

currentVersion
integer
required

The version of the API currently in use. Typically this is the API version specified for your access token. If you add the LD-API-Version: beta header to your request, this will be equal to the latestVersion.

Example:

"20220603"

beta
boolean

Whether the version of the API currently is use is a beta version. This is always true if you add the LD-API-Version: beta header to your request.

Example:

false