{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Evaluates a flag against the provided context, passed as a JSON request body (OFREP-shaped) rather than query parameters. Returns the same response shape as the GET variant.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Cloudflare account ID that owns the Flagship app.","type":"string"},"app_id":{"description":"Flagship app ID returned when the app was created.","type":"string"}},"required":["account_id","app_id"],"additionalProperties":false},"body":{"type":"object","properties":{"context":{"description":"Evaluation attributes keyed by name. Values may be any JSON value; the context supports up to 100 entries, nesting depth of 10, 10,000 values, and 32 KB.","type":"object","default":{},"additionalProperties":{"$ref":"#/definitions/flagship_JsonValue"}},"flagKey":{"description":"Key of the flag to evaluate within the app.","type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$"}},"additionalProperties":false,"required":["flagKey"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"flagship_JsonValue":{"oneOf":[{"type":["string","null"]},{"type":"number"},{"type":"boolean"},{"additionalProperties":{"$ref":"#/definitions/flagship_JsonValue"},"type":"object"},{"items":{"$ref":"#/definitions/flagship_JsonValue"},"type":"array"}]}}},"name":"Evaluate flag with JSON context","id":"cloudflare.flagship_evaluate_flag_post","example":{"path":{"account_id":"example","app_id":"example"},"body":{"flagKey":"example"}},"maxRequests":1,"summary":false}}