Javascript
import Runloop from '@runloop/api-client'; const client = new Runloop({ bearerToken: 'My Bearer Token', }); const benchmarkRunView = await client.benchmarks.runs.retrieve('id'); console.log(benchmarkRunView.id);
{ "id": "<string>", "benchmark_id": "<string>", "name": "<string>", "start_time_ms": 123, "duration_ms": 123, "state": "running", "score": 123, "metadata": {}, "purpose": "<string>", "environment_variables": {}, "secrets_provided": {} }
Get a BenchmarkRun given ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The BenchmarkRun ID.
OK
A BenchmarkRunView represents a run of a complete set of Scenarios, organized under a Benchmark.
Was this page helpful?