Optimizely Holdouts API

The Holdouts API from Optimizely — 4 operation(s) for holdouts.

Business capability
Product Telemetry & Experimentation Management BC-4280

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /projects/{project_id}/holdouts List holdouts in a project · List Holdouts for a project #
Ask an LLM
“Which holdouts are currently running in my Optimizely project?”
“Can I filter holdouts to draft or concluded ones only?”
Tell an agent
List holdouts in project {project_id}.
Show holdouts in project {project_id} with status {status}.
POST /projects/{project_id}/holdouts Create a holdout control group · Create a new Holdout #
Ask an LLM
“How do I reserve a slice of traffic as a baseline that sees no experiments?”
“What traffic allocation units does a new holdout use, percent or basis points?”
Tell an agent
Create holdout {name} with key {key} in project {project_id}.
Create holdout {name} ({key}) in project {project_id} holding back {traffic_allocation} basis points in {environment_key}.
DELETE /projects/{project_id}/holdouts/{holdout_id} Permanently delete a holdout · Delete a Holdout #
Ask an LLM
“Can I recover a holdout's metric history after deleting it?”
“How do I permanently remove a holdout I no longer need?”
Tell an agent destructive · confirm first
Permanently delete holdout {holdout_id} from project {project_id}.
Remove holdout {holdout_id} in project {project_id} and all its data.
GET /projects/{project_id}/holdouts/{holdout_id} Get a holdout's configuration · Fetch a single Holdout #
Ask an LLM
“What traffic allocation and status does a specific holdout have?”
“Can I see the audience conditions and metrics configured on one holdout?”
Tell an agent
Fetch holdout {holdout_id} in project {project_id}.
Show the configuration of holdout {holdout_id} in project {project_id}.
POST /projects/{project_id}/holdouts/{holdout_id} Update a holdout with JSON Patch · Update a Holdout using JSON Patch #
Ask an LLM
“How do I move a holdout from draft to running?”
“Can I change a holdout's traffic allocation without replacing the whole thing?”
Tell an agent
Patch holdout {holdout_id} in project {project_id} to set its status to running.
Conclude holdout {holdout_id} in project {project_id} with a JSON Patch.
GET /projects/{project_id}/holdouts/{holdout_id}/experiments List experiments connected to a holdout · Fetch experiments associated with a holdout #
Ask an LLM
“Which experiments are affected by a particular holdout?”
“Can I see start and end times of experiments linked to a holdout?”
Tell an agent
List experiments connected to holdout {holdout_id} in project {project_id}.
Show the experiments and deployed variations tied to holdout {holdout_id} in project {project_id}.
GET /export/projects/{project_id}/holdouts/{holdout_id}/results/csv Export holdout results as CSV · Get Holdout results as a CSV #
Ask an LLM
“How do I download a holdout's results as a spreadsheet?”
“Can I segment exported holdout results by device or browser?”
Tell an agent
Export results for holdout {holdout_id} in project {project_id} as CSV.
Download holdout {holdout_id} results in project {project_id} segmented by device {device}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optimizely:optimizely-holdouts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimizely-holdouts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Optimizely Holdouts API
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Holdouts across 2 of this provider''s published API definitions: optimizely-feature-experimentation-optimizely-feature-experimentation-api-openapi.json, optimizely-web-experimentation-optimizely-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.optimizely.com/flags/v1/
- url: https://api.optimizely.com/v2
security:
- apiKey: []
- OAuth2:
  - read
  - write
tags:


# --- truncated at 32 KB (83 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/optimizely/refs/heads/main/openapi/optimizely-holdouts-api-openapi.yml