Other

Other requests available in the LaunchDarkly API.

Root resource

Get all of the resource categories the API supports. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

Responses
200

Root response

429

Rate limited

get/api/v2
Request samples
Response samples
application/json
{
  • "links": {
    }
}

Identify the caller

Get basic information about the identity used (session cookie, API token, SDK keys, etc.) to call the API

Responses
200

Caller Identity

401

Invalid access token

429

Rate limited

get/api/v2/caller-identity
Request samples
Response samples
application/json
{
  • "accountId": "string",
  • "environmentId": "string",
  • "projectId": "string",
  • "environmentName": "string",
  • "projectName": "string",
  • "authKind": "string",
  • "tokenKind": "string",
  • "clientId": "string",
  • "tokenName": "string",
  • "tokenId": "string",
  • "memberId": "string",
  • "serviceToken": true
}

Gets the OpenAPI spec in json

Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

Responses
200

OpenAPI Spec

429

Rate limited

get/api/v2/openapi.json
Request samples
Response samples
application/json
{
  • "code": "rate_limited",
  • "message": "You've exceeded the API rate limit. Try again later."
}

Gets the public IP list

Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall. We post upcoming changes to this list in advance on our status page.

In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

Responses
200

Public IP response

429

Rate limited

get/api/v2/public-ip-list
Request samples
Response samples
application/json
{
  • "addresses": [
    ],
  • "outboundAddresses": [
    ]
}

Get version information

Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.

Responses
200

Versions information response

401

Invalid access token

403

Forbidden

429

Rate limited

get/api/v2/versions
Request samples
Response samples
application/json
{
  • "validVersions": [
    ],
  • "latestVersion": 0,
  • "currentVersion": 0,
  • "beta": false
}