Skip to main content
POST
/
benchmarks
Create benchmark
curl --request POST \
  --url https://api.verial.ai/benchmarks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "timeout": 300,
  "concurrency": 1,
  "description": "<string>",
  "overrides": {},
  "thresholds": {}
}
'
{
  "id": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "timeout": 123,
  "concurrency": 123,
  "created_at": "2023-11-07T05:31:56Z"
}
Create a benchmark that groups tasks for repeated execution against an environment.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token.

Body

application/json
name
string
required
Required string length: 1 - 200
timeout
integer
default:300
required
Required range: x <= 9007199254740991
concurrency
integer
default:1
required
Required range: x <= 9007199254740991
description
string
Maximum string length: 1000
overrides
object
thresholds
object

Response

Successful response

id
string<date-time>
required
name
string
required
description
string | null
required
timeout
number
required
concurrency
number
required
created_at
string<date-time>
required