experiment
Create Experiment
API Reference
- Api reference
- Getting Started
- Schemas
protect
trace
log_stream
experiment
feedback
API Reference
experiment
Create Experiment
Create a new experiment for a project.
POST
/
v2
/
projects
/
{project_id}
/
experiments
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/experiments \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"name": "my_first_experiment"
}'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "",
"project_id": "<string>",
"created_by": "<string>",
"task_type": 0,
"dataset": {
"dataset_id": "<string>",
"version_index": 123,
"name": "<string>"
},
"aggregate_metrics": {},
"ranking_score": 123,
"rank": 123,
"winner": true
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/experiments \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"name": "my_first_experiment"
}'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "",
"project_id": "<string>",
"created_by": "<string>",
"task_type": 0,
"dataset": {
"dataset_id": "<string>",
"version_index": 123,
"name": "<string>"
},
"aggregate_metrics": {},
"ranking_score": 123,
"rank": 123,
"winner": true
}