Optional additionalA container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.
Optional experimentThe experiment ID for experiment-linked allocations.
Optional exposureProgressive release request payload.
Optional guardrailGuardrail metrics used to monitor and auto-pause or abort.
Optional idThe unique identifier of the targeting rule allocation. Use this ID with the allocation management endpoints, such as /api/v2/allocations/{allocation_id}. It is not included in SDK evaluation results or exposure events.
The unique key of the targeting rule allocation. SDKs report this key in flag evaluation results and exposure events to indicate which targeting rule assigned the variant. Use it to match evaluation or experiment data to this rule.
The display name of the targeting rule.
Optional targetingTargeting rules that determine audience eligibility.
The type of targeting rule (called allocation in the API model).
Optional variantVariant distribution weights.
Generated using TypeDoc
Request to create or update a targeting rule (allocation) for a feature flag environment.