features

Evaluate feature flags for the current portal site

Evaluate requested flags for the visited or explicitly selected site.

Inputs: body: Canonical feature keys and optional site_id fallback. user: Authenticated session user. request_site: Site resolved from Referer then Origin, if any. site_service: Lookup for explicit site_id when headers do not resolve. feature_service: Feature evaluation. Output: Requested feature keys mapped to enabled state and config.

post/api/v1/features/evaluate

Request

  • Base URL
    https://api.endless.health (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

feature_keysstring[] required

Canonical feature keys to evaluate for this site and user.

site_idinteger nullable

Portal site when Referer/Origin do not resolve one. Ignored when those headers already match a site.

Response

Successful Response

object required

Changes

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