Skip to content

Runs API

Generated from servtuner commit 5b46cdad0e5c.

Lists and filters runs.

Parameter In Type Required Description
experiment query string or null No
target_type query string or null No
status query RunStatus or null No
label query string or null No key=value
limit query integer No ≥ 1; ≤ 500 Default: 100.
Status Meaning Body
200 Successful Response array of RunResource
422 Validation Error HTTPValidationError

Creates and launches a run from a RunSpec.

Request body: RunSpec (application/json)

Status Meaning Body
201 Successful Response RunResource

Delete a run, its bundle and the analyses that included it; only ever a user’s request . 409 with the blocks while something needs it.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response DeleteImpactResource
422 Validation Error HTTPValidationError

Returns one run.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response RunDetail
422 Validation Error HTTPValidationError

Returns the run analysis.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response AnalysisResult
422 Validation Error HTTPValidationError

Stop a run; a finished run is returned unchanged.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response RunResource
422 Validation Error HTTPValidationError

Returns the capacity table.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response CapacityTable
422 Validation Error HTTPValidationError

GET /runs/{run_id}/charts/client_timeseries

Section titled “GET /runs/{run_id}/charts/client_timeseries”

Returns chart-ready client time series.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response ClientTimeseries
422 Validation Error HTTPValidationError

Returns chart-ready latency histograms.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response LatencyHistograms
422 Validation Error HTTPValidationError

Returns requests in flight over time.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response InFlightChart
422 Validation Error HTTPValidationError

Returns chart-ready server series.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response ServerChart
422 Validation Error HTTPValidationError

The change this follow-up run tests is applied: launch it.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response RunResource
422 Validation Error HTTPValidationError

bench’s copy of the price book’s uploaded datasheet for its run: run token only. 404 when the price book has no upload.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response None
422 Validation Error HTTPValidationError

What deleting the run would remove, and what blocks it; deletes nothing.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response DeleteImpactResource
422 Validation Error HTTPValidationError

What ran the benchmark: bench, engine, transport per hop, captured knobs.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response Environment
422 Validation Error HTTPValidationError

Returns the status timeline.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response array of Event
422 Validation Error HTTPValidationError

Accepts a status event from bench. Requires the run token.

Parameter In Type Required Description
run_id path string Yes

Request body: Event (application/json)

Status Meaning Body
202 Successful Response any
422 Validation Error HTTPValidationError

Lists the files in the run bundle.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response array of BundleFileResource
422 Validation Error HTTPValidationError

A bundle file: proxied in chunks, or a redirect to a presigned URL.

Parameter In Type Required Description
run_id path string Yes
path path string Yes
Status Meaning Body
200 Successful Response None
307 Redirect to a presigned download (storage.s3.presign) None
422 Validation Error HTTPValidationError

Creates a follow-up run that tests a recommendation.

Parameter In Type Required Description
run_id path string Yes

Request body: FollowupCreate (application/json)

Status Meaning Body
201 Successful Response FollowupResource
422 Validation Error HTTPValidationError

Returns the run recommendations.

Parameter In Type Required Description
run_id path string Yes
Status Meaning Body
200 Successful Response Recommendations
422 Validation Error HTTPValidationError

The target as captured before (pre) or after (post) the load.

Parameter In Type Required Description
run_id path string Yes
phase query string No pattern ^(pre|post)$ Default: "pre".
Status Meaning Body
200 Successful Response TargetSnapshot
422 Validation Error HTTPValidationError