---
title: "Get all feature types"
method: GET
path: "/api/admin/feature-types"
tags: ["Feature Types"]
---

# Get all feature types

`GET /api/admin/feature-types`

Retrieves all feature types that exist in this Unleash instance, along with their descriptions and lifetimes.

## Response `200`

featureTypesSchema

- FeatureTypesSchema — A list of [feature flag types](https://docs.getunleash.io/concepts/feature-flags#feature-flag-types) and the schema version used to represent those feature types.
  - `version` 1, required — The schema version used to describe the feature flag types listed in the `types` property.
  - `types` FeatureTypeSchema[], required — The list of feature flag types.
    - `id` string, required — The identifier of this feature flag type.
    - `name` string, required — The display name of this feature flag type.
    - `description` string, required — A description of what this feature flag type is intended to be used for.
    - `lifetimeDays` integer, nullable, required — How many days it takes before a feature flag of this typed is flagged as [potentially stale](https://docs.getunleash.io/concepts/technical-debt#stale-and-potentially-stale-toggles) by Unleash. If this value is `null`, Unleash will never mark it as potentially stale.

## Other responses

- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.

---

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