Javascript
import Runloop from '@runloop/api-client'; const client = new Runloop({ bearerToken: 'My Bearer Token', }); const benchmarkView = await client.benchmarks.retrieve('id'); console.log(benchmarkView.id);
{ "id": "<string>", "name": "<string>", "scenarioIds": [ "<string>" ], "metadata": {}, "required_environment_variables": [ "<string>" ], "is_public": true }
Get a previously created Benchmark.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Benchmark ID.
OK
A BenchmarkDefinitionView represents a grouped set of Scenarios that together form a Benchmark.
Was this page helpful?