Skip to main content
GET
Get all project SDK keys

Authorizations

Authorization
string
header
required

Headers

LD-API-Version
enum<string>
required

Version of the endpoint.

Available options:
beta

Path Parameters

projectKey
string
required

Query Parameters

filter
string

A queryfilter expression to apply to the list of SDK keys. Supports the following fields and operators: kind (equals, anyOf; values: "sdk", "mobile"), active (equals, anyOf; values: true, false), environmentKey (equals, anyOf; values: environment keys), viewKey (equals, anyOf; values: view key strings — returns only SDK keys linked to the specified view(s)), name (equals only; returns SDK keys whose name or key contains the value, matched case-insensitively). Example: kind anyOf ["sdk","mobile"], environmentKey anyOf ["production","test"], viewKey equals my-view, name equals "production".

limit
integer

The number of SDK keys to return. Defaults to 20. Maximum is 100.

offset
integer

The number of SDK keys to skip. Used for pagination.

expand
string

A comma-separated list of fields to expand in the response. Supported fields: environmentSummary, viewSummaries.

sort
enum<string>

A sort to apply to the list of SDK keys. Supported fields: createdAt and environmentKey. Prefix createdAt with - to sort in descending order (for example, -createdAt). environmentKey orders keys by environment key ascending, then by creation time ascending within each environment, so each page is environment-contiguous.

Available options:
createdAt,
-createdAt,
environmentKey

Response

Successful response

items
object[]
required
totalCount
integer
required

The total number of SDK keys matching the query, before pagination.

Example: