Flagship·续36
<a href="#(resource)%20flagship.apps.flags.changelog%20%3E%20(model)%20changelog_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20diff">Link to this property</a>
event: "update"
<a href="#(resource)%20flagship.apps.flags.changelog%20%3E%20(model)%20changelog_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20event">Link to this property</a>
flag_key: string
<a href="#(resource)%20flagship.apps.flags.changelog%20%3E%20(model)%20changelog_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20flag_key">Link to this property</a>
</details>
<a href="#(resource)%20flagship.apps.flags.changelog%20%3E%20(model)%20changelog_list_response%20%3E%20(schema)%20%3E%20(variant)%202">Link to this property</a>
</details>
FlagshipAppsEvaluate
Evaluate flag from query context
GET/accounts/{account_id}/flagship/apps/{app_id}/evaluate
ModelsExpand Collapse
<details>
<summary>
EvaluateGetResponse object {flagKey, reason, variant, 2 more }
</summary>
flagKey: string
Key of the evaluated flag.
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20flagKey">Link to this property</a>
<details>
<summary>
reason: "STATIC"or "TARGETING_MATCH"or "DEFAULT"or 2 more
Reason the evaluator selected this variation.
</summary>
One of the following:
"STATIC"
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason%20%3E%20(member)%200">Link to this property</a>
"TARGETING_MATCH"
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason%20%3E%20(member)%201">Link to this property</a>
"DEFAULT"
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason%20%3E%20(member)%202">Link to this property</a>
"DISABLED"
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason%20%3E%20(member)%203">Link to this property</a>
"SPLIT"
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason%20%3E%20(member)%204">Link to this property</a>
</details>
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20reason">Link to this property</a>
variant: string
Name of the variation that supplied the resolved value.
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20variant">Link to this property</a>
<details>
<summary>
metadata: optional map[booleanor stringor number]
Key-value metadata associated with the flag. Returned only when the flag has metadata.
</summary>
One of the following:
boolean
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>
string
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>
number
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>
</details>
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>
<details>
<summary>
value: optional stringor numberor booleanor 2 more
</summary>
One of the following:
string
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(variant)%200">Link to this property</a>
number
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(variant)%201">Link to this property</a>
boolean
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(variant)%202">Link to this property</a>
map[unknown]
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(variant)%203">Link to this property</a>
array of unknown
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(variant)%204">Link to this property</a>
</details>
<a href="#(resource)%20flagship.apps.evaluate%20%3E%20(model)%20evaluate_get_response%20%3E%20(schema)%20%3E%20(property)%20value">Link to this property</a>
</details>
Link to this property
description: Evaluate flags with scalar query or structured JSON context. title: Evaluation API image: https://developers.cloudflare.com/flagship/reference/evaluation-api/og.png?v=3bb4624174d3fd3d
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/flagship/llms.txt
Use this file to discover all available pages before exploring further.
