Feature Flags

Evaluate every client-visible flag for the visitor making the request.

Changed on

Unauthenticated: the project and environment come from the Host the browser called, never from the body. Only flags marked client_visible are evaluated or mentioned; a server-only flag is indistinguishable from one that does not exist.

post/_temps/flags

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Request body

attributesobject

Targeting attributes. Override the implicit ones of the same name.

keystring nullable

Bucketing subject, e.g. a signed-in user id. Defaults to the Temps visitor cookie when the request carries one.

keysstring[] nullable

Evaluate only these flags. Omit for all client-visible flags.

Response

Evaluated client-visible flags

Changes