Optimizely · Schema
Variation
A variation within an experiment
A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing
Properties
| Name | Type | Description |
|---|---|---|
| variation_id | integer | Unique identifier for the variation |
| name | string | Name of the variation |
| weight | integer | Traffic allocation weight for the variation |
| actions | array | List of actions (changes) applied in this variation |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Variation",
"title": "Variation",
"type": "object",
"description": "A variation within an experiment",
"properties": {
"variation_id": {
"type": "integer",
"format": "int64",
"description": "Unique identifier for the variation"
},
"name": {
"type": "string",
"description": "Name of the variation"
},
"weight": {
"type": "integer",
"description": "Traffic allocation weight for the variation",
"minimum": 0,
"maximum": 10000
},
"actions": {
"type": "array",
"description": "List of actions (changes) applied in this variation",
"items": {
"type": "object",
"properties": {
"page_id": {
"type": "integer",
"format": "int64",
"description": "The page this action applies to"
},
"changes": {
"type": "array",
"description": "List of changes applied on the page",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of change"
},
"value": {
"type": "string",
"description": "The change value"
}
}
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/optimizely-variation"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.