GET /accounts/{account_id}/flagship/apps/{app_id}/evaluate
Evaluates a flag against the provided context. Pass context attributes as query parameters; boolean and numeric strings are coerced automatically. For low-latency in-Worker evaluation, prefer the Flagship binding over this endpoint.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
app_id |
String | Yes |
App identifier. |
account_id |
String | Yes |
Cloudflare account ID. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
flagKey |
String | Yes |
The flag key to evaluate. |
targetingKey |
String | No |
Context targeting key (per OpenFeature spec); used for percentage rollout bucketing. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.