experiments
GET
https://lucidace.com /v1/projects/{project_id}/namespaces Scope experiment:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/namespaces"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"name": "string",
"parameters": {},
"total_buckets": 0
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
created_atstringrequiredidstringrequirednamestringrequiredparametersobjectrequiredLayer parameter defaults shared by the layer's experiments (LC-EXT-36).
total_bucketsintegerrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/namespaces Scope experiment:writeParameters
project_idstringpathrequiredRequest body
application/json
namestringrequiredparametersobjectLayer parameter defaults:
{name: value}; experiments in the layer override them per variant (payload.lc_params).total_bucketsinteger{
"name": "string",
"parameters": {},
"total_buckets": 0
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/namespaces" \
-H "Content-Type: application/json" \
-d '{"name":"string","parameters":{},"total_buckets":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"name": "string",
"parameters": {},
"total_buckets": 0
}Schema
created_atstringrequiredidstringrequirednamestringrequiredparametersobjectrequiredLayer parameter defaults shared by the layer's experiments (LC-EXT-36).
total_bucketsintegerrequired400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/namespaces/{id} Scope experiment:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/namespaces/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"allocations": [
{
"bucket_end": 0,
"bucket_start": 0,
"experiment_id": "string"
}
],
"namespace": {
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"name": "string",
"parameters": {},
"total_buckets": 0
}
}Schema
allocationsAllocation[]requiredShow child parameters
bucket_endintegerrequiredbucket_startintegerrequiredexperiment_idstringrequirednamespaceobjectrequiredShow child parameters
created_atstringrequiredidstringrequirednamestringrequiredparametersobjectrequiredLayer parameter defaults shared by the layer's experiments (LC-EXT-36).
total_bucketsintegerrequired404
DELETE
https://lucidace.com /v1/projects/{project_id}/namespaces/{id} Scope adminParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/namespaces/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
409
PUT
https://lucidace.com /v1/projects/{project_id}/namespaces/{id}/parameters Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
Parameter defaults {name: value}; experiments created or edited later resolve against them
{}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/namespaces/{id}/parameters" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/projects/{project_id}/tenant-experiments Scope experiment:readParameters
project_idstringpathrequiredtenant_idstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tenant-experiments"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of TenantExperiment, newest first
Example
{
"data": [
{
"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": [
{}
]
}
],
"next_cursor": "string"
}Schema
dataTenantExperiment[]requiredShow 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.next_cursorstring400
404
POST
https://lucidace.com /v1/projects/{project_id}/tenant-experiments Scope experiment:writeParameters
project_idstringpathrequiredRequest body
application/json
metricstringrequiredConversion event name, sent with
experiment_id and variant through the tenant lane.namestringrequiredtenant_idstringrequiredvariantsVariantIn[]required2 to 10 variants; the first is the control.
Show child parameters
keystringrequired1 to 64 characters, unique in the experiment.
namestringDisplay name (optional, 1 to 200 characters); change later with
PATCH .../variants/{key}.weightnumberRelative allocation (default 1).
{
"metric": "string",
"name": "string",
"tenant_id": "string",
"variants": [
{
"key": "string",
"name": "string",
"weight": 0
}
]
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/tenant-experiments" \
-H "Content-Type: application/json" \
-d '{"metric":"string","name":"string","tenant_id":"string","variants":[{"key":"string","name":"string","weight":0}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
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
GET
https://lucidace.com /v1/projects/{project_id}/tenant-experiments/{id} Scope experiment:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tenant-experiments/{id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/tenant-experiments/{id} Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/tenant-experiments/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
PATCH
https://lucidace.com /v1/projects/{project_id}/tenant-experiments/{id} Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
namestringstatusstringrunning | stopped: stop when the platform's test ends (results stay readable).{
"name": "string",
"status": "string"
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/tenant-experiments/{id}" \
-H "Content-Type: application/json" \
-d '{"name":"string","status":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Updated