Runner Specs REST API
List specs for a runner
⚠️ Breaking Changes: The Bencher API is in beta and under active development. We may introduce breaking changes in future releases. We will announce any breaking changes in the release notes.
➕ Bencher Plus: List all hardware specs associated with a runner. The user must be an admin to use this endpoint.
Headers
Content-Type string
Set to application/json.
Authorization string
Set to Bearer BENCHER_API_TOKEN, where BENCHER_API_TOKEN is a vaild Bencher API token.
Path Parameters
runnerThe slug or UUID for a runner.
/v0/runners/{runner}/specs | Bencher Cloud | https://api.bencher.dev |
| Bencher Self-Hosted | http://localhost:61016 |
Bencher CLI
bencher runner spec list RUNNER View OpenAPI Spec
Add a spec to a runner
⚠️ Breaking Changes: The Bencher API is in beta and under active development. We may introduce breaking changes in future releases. We will announce any breaking changes in the release notes.
➕ Bencher Plus: Associate a hardware spec with a runner. The user must be an admin to use this endpoint.
Headers
Content-Type string
Set to application/json.
Authorization string
Set to Bearer BENCHER_API_TOKEN, where BENCHER_API_TOKEN is a vaild Bencher API token.
Path Parameters
runnerThe slug or UUID for a runner.
Body Parameters
specThe UUID or slug of the spec to associate with the runner.
/v0/runners/{runner}/specs | Bencher Cloud | https://api.bencher.dev |
| Bencher Self-Hosted | http://localhost:61016 |
Bencher CLI
bencher runner spec add RUNNER View OpenAPI Spec
Remove a spec from a runner
⚠️ Breaking Changes: The Bencher API is in beta and under active development. We may introduce breaking changes in future releases. We will announce any breaking changes in the release notes.
➕ Bencher Plus: Remove the association between a hardware spec and a runner. The user must be an admin to use this endpoint.
Headers
Content-Type string
Set to application/json.
Authorization string
Set to Bearer BENCHER_API_TOKEN, where BENCHER_API_TOKEN is a vaild Bencher API token.
Path Parameters
runnerThe slug or UUID for a runner.
specThe UUID or slug for a spec.
/v0/runners/{runner}/specs/{spec} | Bencher Cloud | https://api.bencher.dev |
| Bencher Self-Hosted | http://localhost:61016 |
Bencher CLI
bencher runner spec remove RUNNER SPEC View OpenAPI Spec