---
title: "Retrieve the feature flags of a deployment"
method: GET
path: "/v1/deployments/{deploymentId}/feature-flags"
tags: ["feature-flags"]
---

# Retrieve the feature flags of a deployment

`GET /v1/deployments/{deploymentId}/feature-flags`

Retrieve the feature flags of a deployment.

## Path parameters

- `deploymentId` string, required

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

- object
  - `flags` object[], required
  - `status` object, nullable, required
    - `deploymentId` string, required
    - `projectId` string, required
    - `responseStatus` number, required — The HTTP status code from the flags discovery endpoint.
    - `flagCount` number, required — The number of flag definitions returned by the flags discovery endpoint.
    - `createdAt` number, required

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `404`
- `410`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
