Feature Flags

Every flag for the caller's environment, collapsed to what the evaluator needs.

Scope comes from the deployment token, never from the URL: a container's baked-in TEMPS_API_TOKEN identifies exactly one project (and usually one environment), so a compromised app cannot read another tenant's flags by changing a path parameter.

Supports If-None-Match, so the SDK's background poll is a 304 in the common case.

get/flags/snapshot

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/flags/snapshot
  • Auth: HTTP bearer

Query parameters

environment_idinteger nullable

Required only when the calling token is project-wide rather than scoped to a single environment.

Response

Snapshot for the environment

environment_idinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.