---
title: "Get all features in a project"
method: GET
path: "/api/admin/projects/{projectId}/features"
tags: ["Features"]
---

# Get all features in a project

`GET /api/admin/projects/{projectId}/features`

A list of all features for the specified project.

## Path parameters

- `projectId` string, required

## Response `200`

projectFeaturesSchema

- ProjectFeaturesSchema — A list of features in a project
  - `version` integer, required — The version of the feature's schema
  - `features` ProjectFeatureSchema[], required — A list of features
    - `name` string, required — Unique feature name
    - `type` string, required — Type of the flag e.g. experiment, kill-switch, release, operational, permission
    - `description` string, nullable, required — Detailed description of the feature
    - `stale` boolean, required — `true` if the feature is stale based on the age and feature type, otherwise `false`.
    - `favorite` boolean, required — `true` if the feature was favorited, otherwise `false`.
    - `impressionData` boolean, required — `true` if the impression data collection is enabled for the feature, otherwise `false`.
    - `createdAt` string, date-time, required — The date the feature was created
    - `environments` ProjectFeatureEnvironmentSchema[], required — The list of environments where the feature can be used
      - `name` string, required — The name of the environment
      - `type` string, required — The type of the environment
      - `enabled` boolean, required — `true` if the feature is enabled for the environment, otherwise `false`.
      - `sortOrder` number, required — The sort order of the feature environment in the feature environments list
      - `variantCount` number, required — The number of defined variants
      - `lastSeenAt` string, date-time, nullable, required — The date when metrics where last collected for the feature environment
      - `hasStrategies` boolean — Whether the feature has any strategies defined.
      - `hasEnabledStrategies` boolean — Whether the feature has any enabled strategies defined.
    - `tags` TagSchema[], nullable — The list of feature tags
      - `value` string, required — The value of the tag.
      - `type` string, required — The [type](https://docs.getunleash.io/concepts/feature-flags#tags) of the tag
      - `color` string, nullable — The hexadecimal color code for the tag type.

## Other responses

- `400` — The request data does not match what we expect.
- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `403` — The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
