experiments
GET
https://lucidace.com /v1/projects/{project_id}/experiment-templates Scope experiment:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/experiment-templates"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"config": {},
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"description": "string",
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
configobjectrequiredReusable draft fields:
{kind, variants, audience, traffic_pct, metrics, stats_config, requires_approval}.created_atstringrequiredcreated_bystringdescriptionstringrequiredidstringrequirednamestringrequiredupdated_atstringrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/experiment-templates Scope experiment:writeParameters
project_idstringpathrequiredRequest body
application/json
configobjectDraft fields to keep; ignored when
from_experiment is given.descriptionstringfrom_experimentstringCopy the reusable settings of this experiment.
namestringrequired{
"config": {},
"description": "string",
"from_experiment": "string",
"name": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/experiment-templates" \
-H "Content-Type: application/json" \
-d '{"config":{},"description":"string","from_experiment":"string","name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"config": {},
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"description": "string",
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z"
}Schema
configobjectrequiredReusable draft fields:
{kind, variants, audience, traffic_pct, metrics, stats_config, requires_approval}.created_atstringrequiredcreated_bystringdescriptionstringrequiredidstringrequirednamestringrequiredupdated_atstringrequired400
403
404
409
GET
https://lucidace.com /v1/projects/{project_id}/experiment-templates/{id} Scope experiment:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/experiment-templates/{id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/experiment-templates/{id} Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/experiment-templates/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/experiment-triggers Scope experiment:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/experiment-triggers"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"definition": {},
"description": "string",
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
created_atstringrequiredcreated_bystringdefinitionobjectrequiredThe trigger group:
{op: "and" | "or", conditions: [...]}.descriptionstringrequiredidstringrequirednamestringrequiredupdated_atstringrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/experiment-triggers Scope experiment:writeParameters
project_idstringpathrequiredRequest body
application/json
definitionobjectrequired{op: "and" | "or", conditions: [...]} (see lc_trigger).descriptionstringnamestringrequired{
"definition": {},
"description": "string",
"name": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/experiment-triggers" \
-H "Content-Type: application/json" \
-d '{"definition":{},"description":"string","name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"definition": {},
"description": "string",
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z"
}Schema
created_atstringrequiredcreated_bystringdefinitionobjectrequiredThe trigger group:
{op: "and" | "or", conditions: [...]}.descriptionstringrequiredidstringrequirednamestringrequiredupdated_atstringrequired400
403
404
409
GET
https://lucidace.com /v1/projects/{project_id}/experiment-triggers/{id} Scope experiment:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/experiment-triggers/{id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/experiment-triggers/{id} Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/experiment-triggers/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
PATCH
https://lucidace.com /v1/projects/{project_id}/experiment-triggers/{id} Scope experiment:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
definitionobjectdescriptionstringnamestring{
"definition": {},
"description": "string",
"name": "string"
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/experiment-triggers/{id}" \
-H "Content-Type: application/json" \
-d '{"definition":{},"description":"string","name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Updated