---
title: "Read a feature flag by name"
method: GET
path: "/api/v1/feature_flags/{name}"
tags: ["Feature Flags"]
---

# Read a feature flag by name

`GET /api/v1/feature_flags/{name}`

## Request

- Base URL: `https://api.pwapps.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pwapps.com/api/v1/feature_flags/{name}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pwapps/apis/curie-api/docs/api/v1/feature_flags/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns whether the named flag is enabled. Unknown flags resolve to `false`, so a client can query a flag that has not been seeded yet without special-casing 404s. Flags are edited in the admin panel (`feature_flags` table).

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- boolean

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-09** `2e36b261303f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pwapps/apis/curie-api/changes/api/v1/feature_flags/:name/get.md)

---

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