---
title: "Get all SDK keys"
method: GET
path: "/v1/projects/{projectIdOrName}/feature-flags/sdk-keys"
tags: ["feature-flags"]
---

# Get all SDK keys

`GET /v1/projects/{projectIdOrName}/feature-flags/sdk-keys`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/sdk-keys`
- Auth: HTTP bearer

Gets all SDK keys for a project.

## Path parameters

- `projectIdOrName` string, required: The project id or name

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

- object
  - `data` object[], required
    - `createdAt` number, required
    - `createdBy` string, required
    - `deletedAt` number
    - `environment` string, required
    - `hashKey` string, required
    - `label` string
    - `partialKeyValue` string, required: Partially-masked representation of the SDK key value, safe to display in UIs. The value is the `vf_<type>_` prefix followed by the first 3 characters of the secret portion and a fixed 8-character `*` mask (e.g. `vf_server_abc********`).
    - `projectId` string, required
    - `type` 'client' | 'mobile' | 'server', required
    - `updatedAt` number, required

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `402`: The account is missing a payment so payment method must be updated
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-06-11** `14b4658f819e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/projects/:projectIdOrName/feature-flags/sdk-keys/get.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
