Skip to main content
GET
/
api
/
v2
/
applications
/
{applicationKey}
Get application by key
curl --request GET \
  --url https://app.launchdarkly.com/api/v2/applications/{applicationKey} \
  --header 'Authorization: <api-key>'
{
  "autoAdded": true,
  "key": "com.launchdarkly.cafe",
  "kind": "mobile",
  "name": "LaunchDarklyCafe",
  "flags": {
    "items": [
      {
        "name": "Example flag",
        "key": "flag-key-123abc",
        "_links": {},
        "_site": {
          "href": "<string>",
          "type": "<string>"
        }
      }
    ],
    "totalCount": 1,
    "_links": {}
  },
  "_access": {
    "denied": [
      {
        "action": "<string>",
        "reason": {
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "notResources": [
            "<string>"
          ],
          "actions": [
            "*"
          ],
          "notActions": [
            "<string>"
          ],
          "role_name": "<string>"
        }
      }
    ],
    "allowed": [
      {
        "action": "<string>",
        "reason": {
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "notResources": [
            "<string>"
          ],
          "actions": [
            "*"
          ],
          "notActions": [
            "<string>"
          ],
          "role_name": "<string>"
        }
      }
    ]
  },
  "_links": {},
  "_version": 123,
  "creationDate": "1654104600000",
  "description": "The LaunchDarkly Cafe app",
  "_maintainer": {
    "member": {
      "_links": {
        "self": {
          "href": "/api/v2/members/569f183514f4432160000007",
          "type": "application/json"
        }
      },
      "_id": "569f183514f4432160000007",
      "role": "admin",
      "email": "ariel@acme.com",
      "firstName": "Ariel",
      "lastName": "Flores"
    },
    "team": {
      "customRoleKeys": [
        "access-to-test-projects"
      ],
      "key": "team-key-123abc",
      "name": "QA Team",
      "_links": {}
    }
  }
}

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

Path Parameters

applicationKey
string<string>
required

The application key

Query Parameters

expand
string<string>

A comma-separated list of properties that can reveal additional information in the response. Options: flags.

Response

Application response

autoAdded
boolean
required

Whether the application was automatically created because it was included in a context when a LaunchDarkly SDK evaluated a feature flag, or was created through the LaunchDarkly UI or REST API.

Example:

true

key
string
required

The unique identifier of this application

Example:

"com.launchdarkly.cafe"

kind
enum<string>
required

To distinguish the kind of application

Available options:
browser,
mobile,
server
Example:

"mobile"

name
string
required

The name of the application

Example:

"LaunchDarklyCafe"

flags
object

Details about the flags that have been evaluated by the application

_access
object

Details on the allowed and denied actions for this application

The location and content type of related resources

_version
integer

Version of the application

creationDate
integer<int64>

Timestamp of when the application version was created

Example:

"1654104600000"

description
string

The application description

Example:

"The LaunchDarkly Cafe app"

_maintainer
object

Associated maintainer member or team info for the application