Skip to main content
POST
CreateExperimentAPI mirrors erdo_create_experiment.

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Body

application/json
decision_rule_markdown
string
evidence_datasets
object[]
guardrail_metrics
string[]
hypothesis_markdown
string
primary_metric
string
project_slug
string
scope
string
slug
string
title
string
variants
object[]
workstream_slug
string

Response

Success response

evidence_datasets
ExperimentEvidenceDataset binds an experiment to a measurement dataset. · object[]
experiment_run
ExperimentRun is a structured test with hypothesis, variants, decision. · object

Sibling to Workstream, can be hosted by a workstream or standalone.

policy_state
ExperimentPolicyState is the decision policy's most recent reading for an · object

experiment: what it believes about each variant, how it split the traffic, and where each variant sits against the stop thresholds. It is READ from the last allocation_step (action_taken) and posterior_stop (decision_check) observations the policy wrote — never recomputed on read.

variants
ExperimentVariant is one variant in an experiment. · object[]