experiment
Create Experiment
Overview
Getting Started
SDK/API
- Python SDK Reference
- TypeScript SDK Reference
How-to Guides
- Overview
- Conversational AI
- Retrieval-Augmented Generation
- Agentic AI
Cookbooks
- Use Cases
- Features
Integrations
Concepts
- Metrics
- Projects
- Logging
- Datasets
- Annotations
- Experiments
- Playground
API Reference
- health
- auth
- evaluate
- observe
- protect
- trace
- log_stream
- experiment
- feedback
- API Reference
References
experiment
Create Experiment
Create a new experiment for a project.
POST
/
v2
/
projects
/
{project_id}
/
experiments
curl --request POST \
--url https://api.galileo.ai/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": {},
"aggregate_feedback": {},
"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
.
curl --request POST \
--url https://api.galileo.ai/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": {},
"aggregate_feedback": {},
"ranking_score": 123,
"rank": 123,
"winner": true
}