ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/experiments \
--header 'Galileo-API-Key: <api-key>'
[
{
"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,
"playground_id": "<string>",
"playground": {
"playground_id": "<string>",
"name": "<string>"
},
"prompt_run_settings": {
"logprobs": true,
"top_logprobs": 5,
"echo": false,
"n": 1,
"deployment_name": "<string>",
"model_alias": "gpt-4.1-mini",
"temperature": 1,
"max_tokens": 1024,
"stop_sequences": [
"<string>"
],
"top_p": 1,
"top_k": 40,
"frequency_penalty": 0,
"presence_penalty": 0,
"tools": "<string>",
"tool_choice": "<string>",
"response_format": {}
},
"prompt_model": "<string>",
"prompt": {
"prompt_template_id": "<string>",
"version_index": 123,
"name": "<string>",
"content": "<string>"
},
"tags": [
{
"key": "<string>",
"value": "<string>",
"tag_type": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"created_by": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
]
Retrieve all experiments for a project.
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/experiments \
--header 'Galileo-API-Key: <api-key>'
[
{
"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,
"playground_id": "<string>",
"playground": {
"playground_id": "<string>",
"name": "<string>"
},
"prompt_run_settings": {
"logprobs": true,
"top_logprobs": 5,
"echo": false,
"n": 1,
"deployment_name": "<string>",
"model_alias": "gpt-4.1-mini",
"temperature": 1,
"max_tokens": 1024,
"stop_sequences": [
"<string>"
],
"top_p": 1,
"top_k": 40,
"frequency_penalty": 0,
"presence_penalty": 0,
"tools": "<string>",
"tool_choice": "<string>",
"response_format": {}
},
"prompt_model": "<string>",
"prompt": {
"prompt_template_id": "<string>",
"version_index": 123,
"name": "<string>",
"content": "<string>"
},
"tags": [
{
"key": "<string>",
"value": "<string>",
"tag_type": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"created_by": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
]
Successful Response
The response is of type ExperimentResponse · object[]
.
Was this page helpful?