---
title: "OFREP bulk evaluation for OpenFeature web SDKs, same origin."
method: POST
path: "/_temps/ofrep/v1/evaluate/flags"
tags: ["Feature Flags"]
---

# OFREP bulk evaluation for OpenFeature web SDKs, same origin.

`POST /_temps/ofrep/v1/evaluate/flags`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/_temps/ofrep/v1/evaluate/flags`
- Auth: none declared

## Request body

- OfrepEvaluationRequest: OFREP evaluation request: `{ "context": { "targetingKey": "...", ... } }`. `context` is an OpenFeature evaluation context, arbitrary JSON by definition. Scalar entries become targeting attributes; nested objects and arrays are ignored.
  - `context` object, nullable

## Response `200`

Evaluated client-visible flags

- OfrepBulkResponse
  - `flags` OfrepEvaluationSuccess[], required
    - `key` string, required
    - `metadata` OfrepMetadata, required: OFREP metadata. Always empty today; present because the protocol defines it.
    - `reason` string, required: `STATIC`, `TARGETING_MATCH`, `SPLIT`, `DISABLED`, `DEFAULT` or `ERROR`.
    - `value` unknown, required
    - `variant` string, nullable

## Other responses

- `304`: Unchanged for this context
- `400`: Invalid context
- `404`: No environment serves this host
- `429`: Rate limit exceeded

## Changes

- **2026-11-20** `68c970dc603c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/_temps/ofrep/v1/evaluate/flags/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
