Skip to main content
GET
/
projects
/
{projectId}
/
experiments
/
{experimentId}
cURL
curl --request GET \
  --url https://api.embeddables.com/projects/{projectId}/experiments/{experimentId}
{
  "id": "exp_abc123",
  "experimentId": "exp_abc123",
  "flowId": "flow_123",
  "name": "Button Color A/B Test",
  "hypothesis": "Changing button color will improve conversion rates",
  "impact_metrics": [
    "conversion_rate",
    "click_through_rate"
  ],
  "no_impact_metrics": [
    "bounce_rate"
  ],
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "observations": "Users seem to prefer blue buttons",
  "outcome": "Blue variant shows 15% higher conversion",
  "attachments": "[{\"url\":\"/project/pr_rIu92Y0RXzLYemTB/library/?libraryItemId=recmqyMdB2FHK0WOC\",\"name\":\"HIMS - Weight Loss Plans\"}]",
  "variants": "{\"control\": {\"name\": \"Control (Red)\", \"color\": \"#ff0000\"}, \"variant_a\": {\"name\": \"Blue Button\", \"color\": \"#0000ff\"}}",
  "flow_ids": [
    "flow_123",
    "flow_456"
  ],
  "paused_showing_variant": null,
  "winner_variant": "variant_a",
  "status": "running"
}

Path Parameters

projectId
string
required

The unique identifier for a Project in the database

experimentId
string
required

The unique identifier for an experiment

Response

id
string
required
Example:

"exp_abc123"

experimentId
string
required
Example:

"exp_abc123"

flowId
string
required

The unique identifier for a flow

created_at
string
required

A Date + Time string in ISO format

updated_at
string
required

A Date + Time string in ISO format

name
string | null
hypothesis
string | null
impact_metrics
string[] | null
no_impact_metrics
string[] | null
observations
string | null
outcome
string | null
attachments
string | null
variants
string | null
flow_ids
string[] | null
paused_showing_variant
string | null
winner_variant
string | null
status
enum<string>

The current status of the experiment

Available options:
draft,
running,
paused,
winner_picked,
completed,
discarded
I