POST
/
v1
/
benchmarks
/
{id}
curl --request POST \
  --url https://api.runloop.ai/v1/benchmarks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "scenario_ids": [
    "<string>"
  ],
  "metadata": {},
  "is_public": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "scenarioIds": [
    "<string>"
  ],
  "metadata": {},
  "is_public": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The Benchmark ID.

Body

application/json

BenchmarkCreateParameters contain the set of paramters to create a Benchmark.

Response

200 - application/json
OK

A BenchmarkDefinitionView represents a grouped set of Scenarios that together form a Benchmark.