---
title: "Batch evaluate an Unleash context against a set of environments and projects."
method: POST
path: "/api/admin/playground/advanced"
tags: ["Playground"]
---

# Batch evaluate an Unleash context against a set of environments and projects.

`POST /api/admin/playground/advanced`

Use the provided `context`, `environments`, and `projects` to evaluate toggles on this Unleash instance. You can use comma-separated values to provide multiple values to each context field. Returns a combinatorial list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.

## Request body

- AdvancedPlaygroundRequestSchema — Data for the playground API to evaluate toggles in advanced mode with environment and context multi selection
  - `environments` string[], required — The environments to evaluate toggles in.
  - `projects` union — A list of projects to check for toggles in.
    - string[] — A list of projects to check for toggles in.
    - '*' — Check toggles in all projects.
  - `context` SdkContextSchema, required — The Unleash context as modeled in client SDKs
    - `appName` string, required — The name of the application.
    - `currentTime` string, date-time — A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user.
    - `environment` string — The environment the app is running in.
    - `properties` object — Additional Unleash context properties
    - `remoteAddress` string — The app's IP address
    - `sessionId` string — An identifier for the current session
    - `userId` string — An identifier for the current user

## Response `200`

advancedPlaygroundResponseSchema

- AdvancedPlaygroundResponseSchema — The state of all features given the provided input.
  - `input` AdvancedPlaygroundRequestSchema, required — Data for the playground API to evaluate toggles in advanced mode with environment and context multi selection
    - `environments` string[], required — The environments to evaluate toggles in.
    - `projects` union — A list of projects to check for toggles in.
      - string[] — A list of projects to check for toggles in.
      - '*' — Check toggles in all projects.
    - `context` SdkContextSchema, required — The Unleash context as modeled in client SDKs
      - `appName` string, required — The name of the application.
      - `currentTime` string, date-time — A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user.
      - `environment` string — The environment the app is running in.
      - `properties` object — Additional Unleash context properties
      - `remoteAddress` string — The app's IP address
      - `sessionId` string — An identifier for the current session
      - `userId` string — An identifier for the current user
  - `features` AdvancedPlaygroundFeatureSchema[], required — The list of features that have been evaluated.
    - `name` string, required — The feature's name.
    - `projectId` string, required — The ID of the project that contains this feature.
    - `environments` object, required — The lists of features that have been evaluated grouped by environment.
  - `warnings` object — Warnings that occurred during evaluation.
    - `invalidContextProperties` string[] — A list of top-level context properties that were provided as input that are not valid due to being the wrong type.

## Other responses

- `400` — The request data does not match what we expect.
- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.

## Changes

- **2026-07-31** `b2c3116e633e` — 4 warning
  - added the new `SEMVER_GTE` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/constraints/items/operator` response property for the response status `200`
  - added the new `SEMVER_GTE` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/segments/items/constraints/items/operator` response property for the response status `200`
  - added the new `SEMVER_LTE` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/constraints/items/operator` response property for the response status `200`
  - added the new `SEMVER_LTE` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/segments/items/constraints/items/operator` response property for the response status `200`
- **2026-06-15** `774670258f04` — 2 warning
  - added the new `REGEX` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/constraints/items/operator` response property for the response status `200`
  - added the new `REGEX` enum value to the `features/items/environments/additionalProperties/items/strategies/data/items/segments/items/constraints/items/operator` response property for the response status `200`

[Change history](https://skmtc.dev/unleash/apis/unleash-api-3/changes/api/admin/playground/advanced/post.md)

---

[API](https://skmtc.dev/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.dev/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
