Superflag · Schema
ExperimentCreateRequest
Feature FlagsDeveloper ToolsSoftware-as-a-ServiceDashboards
Properties
| Name | Type | Description |
|---|---|---|
| appId | string | |
| env | string | |
| key | string | |
| expectedConfigVersion | integer | |
| hypothesis | string | |
| owner | string | |
| flagKey | string | |
| audience | object | |
| assignmentUnit | object | |
| primaryMetric | object | |
| intendedDurationDays | integer | |
| sampleTarget | integer | |
| analysisDesign | object | |
| allocation | array | |
| layer | object | |
| idempotencyKey | string | |
| dryRun | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/superflag-sh/json-schema/superflag-sh-experiment-create-request-schema.json",
"title": "ExperimentCreateRequest",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/superflag-sh-openapi.json#/components/schemas/ExperimentCreateRequest",
"type": "object",
"additionalProperties": true,
"required": [
"appId",
"env",
"key",
"hypothesis",
"owner",
"flagKey",
"audience",
"assignmentUnit",
"primaryMetric",
"intendedDurationDays",
"sampleTarget",
"allocation",
"idempotencyKey"
],
"properties": {
"appId": {
"type": "string"
},
"env": {
"type": "string"
},
"key": {
"type": "string"
},
"expectedConfigVersion": {
"type": "integer",
"minimum": 0
},
"hypothesis": {
"type": "string"
},
"owner": {
"type": "string"
},
"flagKey": {
"type": "string"
},
"audience": {
"type": "object"
},
"assignmentUnit": {
"type": "object"
},
"primaryMetric": {
"type": "object"
},
"intendedDurationDays": {
"type": "integer",
"minimum": 1
},
"sampleTarget": {
"type": "integer",
"minimum": 1
},
"analysisDesign": {
"type": "object",
"additionalProperties": false,
"required": [
"method"
],
"properties": {
"method": {
"type": "string",
"enum": [
"fixed_horizon",
"sequential_obrien_fleming_v1"
]
}
}
},
"allocation": {
"type": "array",
"minItems": 2,
"items": {
"$ref": "#/$defs/WeightedVariation"
}
},
"layer": {
"$ref": "#/$defs/ExperimentLayerReference"
},
"idempotencyKey": {
"type": "string",
"minLength": 16,
"maxLength": 128
},
"dryRun": {
"type": "boolean"
}
},
"$defs": {
"AllocationRange": {
"type": "object",
"additionalProperties": false,
"required": [
"start",
"end"
],
"properties": {
"start": {
"type": "integer",
"minimum": 0,
"maximum": 99999
},
"end": {
"type": "integer",
"minimum": 1,
"maximum": 100000
}
}
},
"ExperimentLayerReference": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"capacity",
"migration"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"capacity": {
"$ref": "#/$defs/AllocationRange"
},
"migration": {
"enum": [
"frozen",
"reset"
]
}
}
},
"WeightedVariation": {
"type": "object",
"additionalProperties": false,
"required": [
"variation",
"weight"
],
"properties": {
"variation": {
"type": "string",
"minLength": 1
},
"weight": {
"type": "integer",
"minimum": 0,
"maximum": 100000
}
}
}
}
}
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/superflag-sh-experiment-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.