Reflag icon

Reflag

Automate your feature flagging through the Reflag API

Get Flag Targeting

AI-generated

Summary

Retrieve the targeting configuration details of a specific feature flag in a given app environment using its identifiers.

Inputs

  • App Id (required) — Specify the app identifier to target the correct app context.
  • Flag Key (required) — Provide the unique key identifying the specific feature flag to retrieve targeting for.
  • Env Id (required) — Indicate the environment identifier to specify within which environment the flag targeting is requested.
  • Request Options — Optionally configure advanced request parameters such as batching (number of items per batch and interval), SSL certificate verification skipping, HTTP proxy settings, and request timeout in milliseconds.

Output shape

a single JSON object containing the targeting rules and configuration for the specified feature flag within the provided app and environment context.

The output object includes all targeting details as returned by the Reflag API. Pagination does not apply as this operation fetches a single resource. Request errors or API failures will result in workflow errors.

Discussion