---
title: "Changes to Evaluate A Single Feature Flag"
method: POST
path: "/ofrep/v1/evaluate/flags/{key}"
---

# Changes to Evaluate A Single Feature Flag

`POST /ofrep/v1/evaluate/flags/{key}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 11 of 21 revisions.

- **2025-11-07** `a43d06a57adb` — 8 breaking, 2 info
- **2025-08-21** `ace2bf25318d` — 1 breaking
- **2025-06-02** `6e3caed39fa7` — 1 info
- **2025-02-07** `113e9501a7dc` — 3 info
- **2025-01-31** `d86062c9054c` — 1 breaking, 3 info
- **2025-01-22** `ea398c27b630` — 2 info
- **2024-07-26** `2fd784b6dd1e` — 1 info
- **2024-07-05** `bc39d1d2a5e5` — 1 warning
- **2024-06-10** `536f0e210aa8` — 1 info
- **2024-05-30** `4dcc1b14ac85` — 5 info
- **2024-03-07** `2637da20b444` — 4 breaking, 4 warning, 6 info

## Changes

- **2025-11-07** `a43d06a57adb` — 8 breaking, 2 info
  - request body became required
  - the request's body type/format changed from ``/`` to `object`/``
  - the request property `context` became required
  - the request property `context/targetingKey` became required
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - the response's body type/format changed from ``/`` to `object`/`` for status `404`
  - the response's body type/format changed from ``/`` to `object`/`` for status `500`
  - the `allOf[#/components/schemas/evaluationSuccess]/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added `subschema #1, subschema #2` to the `allOf[#/components/schemas/evaluationSuccess]/` response property `allOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `allOf[#/components/schemas/evaluationSuccess]/` response property `allOf` list for the response status `200`
- **2025-08-21** `ace2bf25318d` — 1 breaking
  - added `#/components/schemas/codeDefaultFlag` to the `allOf[#/components/schemas/evaluationSuccess]/allOf[subschema #2]/` response property `oneOf` list for the response status `200`
- **2025-06-02** `6e3caed39fa7` — 1 info
  - removed `subschema #2` from the response body `allOf` list for the response status `200`
- **2025-02-07** `113e9501a7dc` — 3 info
  - api operation id `evaluateFlag` was added
  - api tag `OFREP Core` added
  - api tag `OFREP core` removed
- **2025-01-31** `d86062c9054c` — 1 breaking, 3 info
  - the `allOf[#/components/schemas/evaluationSuccess]/allOf[subschema #1]/metadata` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - added the optional property `metadata` to the response with the `400` status
  - added the optional property `metadata` to the response with the `404` status
  - added `#/components/schemas/metadata, #/components/schemas/flagMetadataDescription, #/components/schemas/flagMetadataExamples` to the `allOf[#/components/schemas/evaluationSuccess]/allOf[subschema #1]/metadata` response property `allOf` list for the response status `200`
- **2025-01-22** `ea398c27b630` — 2 info
  - added `#/components/schemas/evaluationSuccess, subschema #2` to the response body `allOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `allOf` list for the response status `200`
- **2024-07-26** `2fd784b6dd1e` — 1 info
  - added the new optional request property `context/targetingKey`
- **2024-07-05** `bc39d1d2a5e5` — 1 warning
  - the optional response header `Retry-Later` removed for the status `429`
- **2024-06-10** `536f0e210aa8` — 1 info
  - api tag `OFREP core` added
- **2024-05-30** `4dcc1b14ac85` — 5 info
  - removed the `DISABLED` enum value from the `allOf[subschema #1]/reason` response property for the response status `200`
  - removed the `SPLIT` enum value from the `allOf[subschema #1]/reason` response property for the response status `200`
  - removed the `STATIC` enum value from the `allOf[subschema #1]/reason` response property for the response status `200`
  - removed the `TARGETING_MATCH` enum value from the `allOf[subschema #1]/reason` response property for the response status `200`
  - removed the `UNKNOWN` enum value from the `allOf[subschema #1]/reason` response property for the response status `200`
- **2024-03-07** `2637da20b444` — 4 breaking, 4 warning, 6 info
  - the request's body type/format changed from `object`/`` to ``/``
  - the response's body type/format changed from `object`/`` to ``/`` for status `400`
  - the response's body type/format changed from `object`/`` to ``/`` for status `404`
  - the response's body type/format changed from `object`/`` to ``/`` for status `500`
  - the optional response header `Retry-After` removed for the status `429`
  - removed the request property `context/targetingKey`
  - removed the optional property `metadata` from the response with the `400` status
  - removed the optional property `metadata` from the response with the `404` status
  - api operation id `evaluateFlag` removed and replaced with ``
  - api tag `OFREP Core` removed
  - request body became optional
  - the request property `context` became optional
  - added `subschema #1, subschema #2` to the response body `allOf` list for the response status `200`
  - removed `#/components/schemas/evaluationSuccess` from the response body `allOf` list for the response status `200`

---

[Operation](https://skmtc.dev/open-feature/apis/openfeature-remote-evaluation-protocol-ofrep/docs/ofrep/v1/evaluate/flags/:key/post.md) · [API](https://skmtc.dev/open-feature/apis/openfeature-remote-evaluation-protocol-ofrep.md) · [Page](https://skmtc.dev/open-feature/apis/openfeature-remote-evaluation-protocol-ofrep/changes/ofrep/v1/evaluate/flags/:key/post)
