Skip to main content
PUT
Update Experiment

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

experiment_id
string<uuid4>
required
project_id
string<uuid4>
required

Body

application/json
name
string
required
Minimum string length: 1
task_type
default:16
experiment_group_id
string<uuid4> | null
experiment_group_name
string | null
Required string length: 1 - 255

Response

Successful Response

id
string<uuid4>
required

Galileo ID of the experiment

project_id
string<uuid4>
required

Galileo ID of the project associated with this experiment

task_type
enum<integer>
required

Valid task types for modeling.

We store these as ints instead of strings because we will be looking this up in the database frequently.

Available options:
7,
9,
12,
13,
15,
16,
17,
18
created_at
string<date-time>

Timestamp of the experiment's creation

updated_at
string<date-time> | null

Timestamp of the trace or span's last update

name
string
default:""

Name of the experiment

created_by
string<uuid4> | null
created_by_user
UserInfo · object | null

A user's basic information, used for display purposes.

num_spans
integer | null
num_traces
integer | null
num_sessions
integer | null
dataset
ExperimentDataset · object | null
aggregate_metrics
Aggregate Metrics · object
structured_aggregate_metrics
Structured Aggregate Metrics · object | null

Structured aggregate metrics with full statistical aggregates (avg, min, max, sum, count). Keys are scorer UUIDs for scorer-backed metrics (matching available_columns column IDs after stripping the 'metrics/' prefix) and raw strings for system metrics (e.g. 'duration_ns', 'cost'). Present only when use_clickhouse_run_aggregates flag is enabled.

aggregate_feedback
Aggregate Feedback · object
deprecated

Aggregate feedback information related to the experiment (traces only)

rating_aggregates
Rating Aggregates · object

Annotation aggregates keyed by template ID and root type

ranking_score
number | null
rank
integer | null
winner
boolean | null
playground_id
string<uuid4> | null
playground
ExperimentPlayground · object | null
prompt_run_settings
PromptRunSettings · object | null

Prompt run settings.

prompt_model
string | null
prompt
ExperimentPrompt · object | null
tags
Tags · object
status
ExperimentStatus · object
experiment_group_id
string<uuid4> | null
experiment_group_name
string | null
experiment_group_is_system
boolean | null