---
title: "Get Feature Flags"
method: GET
path: "/api/domains/{domain_id}/feature-flags"
---

# Get Feature Flags

`GET /api/domains/{domain_id}/feature-flags`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/feature-flags`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Return effective feature flags for the current domain.

Resolution order:
1. A domain-specific row (domain_id = this domain) wins.
2. Otherwise, the global row (domain_id IS NULL) is used.
3. Permanent features are overlaid as enabled even if stale rows exist.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- FeatureFlagResponse[]
  - `name` string, required
  - `enabled` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
