Experiments API
Generated from servtuner commit 5b46cdad0e5c.
GET /compare
Section titled “GET /compare”Runs lined up by knob and stage, from run_metrics. Aligns; does not rank.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
runs |
query | string |
Yes | comma-separated run ids, in display order |
| Status | Meaning | Body |
|---|---|---|
200 |
Successful Response | ComparisonResource |
422 |
Validation Error | HTTPValidationError |
GET /experiments
Section titled “GET /experiments”Lists experiments.
| Status | Meaning | Body |
|---|---|---|
200 |
Successful Response | array of ExperimentResource |
DELETE /experiments/{name}
Section titled “DELETE /experiments/{name}”Delete an experiment with its runs, analyses and finished tuning sessions; only ever a user’s request. delete_scenarios also removes the saved scenarios built on its runs, which otherwise block. 409 with the blocks.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
Yes | |
delete_scenarios |
query | boolean |
No | Default: false. |
| Status | Meaning | Body |
|---|---|---|
200 |
Successful Response | ExperimentDeleteImpactResource |
422 |
Validation Error | HTTPValidationError |
GET /experiments/{name}
Section titled “GET /experiments/{name}”Returns one experiment with its runs, comparison and latest analysis.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
Yes |
| Status | Meaning | Body |
|---|---|---|
200 |
Successful Response | ExperimentDetail |
422 |
Validation Error | HTTPValidationError |
POST /experiments/{name}/analyze
Section titled “POST /experiments/{name}/analyze”Compare the experiment’s analysed runs with servtuner compare.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
Yes |
Request body: ExperimentAnalyze or null (application/json)
| Status | Meaning | Body |
|---|---|---|
201 |
Successful Response | ExperimentAnalysisResource |
422 |
Validation Error | HTTPValidationError |
GET /experiments/{name}/delete-impact
Section titled “GET /experiments/{name}/delete-impact”What deleting the experiment would remove, and what blocks it.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
Yes |
| Status | Meaning | Body |
|---|---|---|
200 |
Successful Response | ExperimentDeleteImpactResource |
422 |
Validation Error | HTTPValidationError |