experiments
GET
https://lucidace.com /v1/projects/{project_id}/tenant-experiments/{id}/results Scope experiment:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tenant-experiments/{id}/results"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"experiment": {
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"metric": "string",
"name": "string",
"status": "string",
"stopped_at": "2024-01-01T00:00:00Z",
"tenant_id": "string",
"variants": [
{}
]
},
"srm": {
"flagged": true,
"p_value": 0
},
"variants": [
{
"chance_to_win": 0,
"ci_high": 0,
"ci_low": 0,
"conversions": 0,
"diff": 0,
"expected_loss": 0,
"exposed_units": 0,
"harm_p_value": 0,
"is_control": true,
"lift_ci_high": 0,
"lift_ci_low": 0,
"mean": 0,
"note": "string",
"p_adjusted": 0,
"p_value": 0,
"relative_lift": 0,
"significant": true,
"units": 0,
"variant": "string"
}
]
}Schema
experimentobjectrequiredShow child parameters
created_atstringrequiredidstringrequiredmetricstringrequiredConversion event name.
namestringrequiredstatusstringrequiredrunning | stoppedstopped_atstringtenant_idstringrequiredvariantsobject[]required[{key, weight, name?}]; the first variant is the control. key is immutable; name is the display label.srmSrmOutShow child parameters
flaggedbooleanrequiredExposures split differs from the weights (p < 0.001): check the assignment and exposure calls.
p_valuenumberrequiredvariantsVariantResult[]requiredShow child parameters
chance_to_winnumberci_highnumberci_lownumberconversionsintegerProportion metrics: units that converted (
mean = conversions / units before adjustment).diffnumberexpected_lossnumberexposed_unitsintegerrequiredUnits of this arm that were exposed and analysed (the arm's share of the exposed total).
harm_p_valuenumberGuardrails: one-sided p-value for harm.
is_controlbooleanrequiredlift_ci_highnumberlift_ci_lownumberFieller interval on
relative_lift (ratio metrics only; valid near a zero control).meannumberrequirednotestringp_adjustednumberp_valuenumberRaw p-value (always-valid for the sequential engine).
relative_liftnumbersignificantbooleanrequiredunitsintegerrequiredvariantstringrequired404
503
PATCH
https://lucidace.com /v1/projects/{project_id}/tenant-experiments/{id}/variants/{key} Renames a variant's display name at any status. The `key` stays immutable, so exposures and results stay joined; the rename is audited.
Parameters
project_idstringpathrequiredidstringpathrequiredkeystringpathrequiredRequest body
application/json
namestringrequiredDisplay name, 1 to 200 characters.
{
"name": "string"
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/tenant-experiments/{id}/variants/{key}" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"metric": "string",
"name": "string",
"status": "string",
"stopped_at": "2024-01-01T00:00:00Z",
"tenant_id": "string",
"variants": [
{}
]
}Schema
created_atstringrequiredidstringrequiredmetricstringrequiredConversion event name.
namestringrequiredstatusstringrequiredrunning | stoppedstopped_atstringtenant_idstringrequiredvariantsobject[]required[{key, weight, name?}]; the first variant is the control. key is immutable; name is the display label.400
403
404
Updated