---
title: "Get a single feature control by name"
method: GET
path: "/api/feature-control/{name}"
---

# Get a single feature control by name

`GET /api/feature-control/{name}`

Returns the basic details of a feature control, excluding its history.

## Path parameters

- `name` string, required

## Headers

- `x-cdp-request-id` string

## Response `200`

Successfully retrieved the feature control.

- FeatureControl
  - `name` string
  - `type` 'list-string' | 'list-number' | 'boolean' | 'date' | 'string' | 'number'
  - `value` union
    - string
    - number
    - boolean
    - string[]
    - number[]
  - `scopes` string[]

## Other responses

- `400` — Bad Request - Validation error.
- `401` — Unauthorized.
- `404` — Not Found - Feature control does not exist.

---

[API](https://skmtc.net/defra/apis/grants-config-broker-api.md) · [All operations](https://skmtc.net/defra/apis/grants-config-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/defra/grants-config-broker-api/versions/8af3c6dc00fe/schema)
