Skip to main content
Feather Flag exposes two separate APIs: This reference covers the Management API. See Evaluation for the Delivery API.

Versioning

All Management API endpoints are prefixed with /v1.

Authentication

Programmatic API requests require an Authorization header:
Dashboard requests may also be authenticated with a session cookie. Session auth is intended for browser-based dashboard usage, not external API clients. See Authentication for full details on API keys and session auth.

Request format

Request bodies must be JSON with Content-Type: application/json.

Response format

All responses are JSON. Successful responses return the resource directly (not wrapped in a data key).

Error shape

Common error codes

Pagination

Endpoints that return lists use cursor-based pagination:
  • Pass cursor (an opaque timestamp) to fetch the next page.
  • Pass limit (1–100, default 50) to control page size.
  • The response includes nextCursor (null when no more pages) and hasMore.

Partial success (207)

Some write endpoints return 207 Multi-Status when the primary operation succeeded but an edge cache sync failed. The response body includes a syncWarning field describing the failure.
Always handle 207 as a success for the primary resource, but alert on syncWarning — evaluations may serve stale data until the next sync. Use Trigger Sync to force a retry.