Skip to main content
PATCH
/
benchmarks
/
{id}
Update benchmark
curl --request PATCH \
  --url https://api.verial.ai/benchmarks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "timeout": 123,
  "concurrency": 123,
  "overrides": {},
  "thresholds": {}
}
'
{
  "id": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "timeout": 123,
  "concurrency": 123,
  "created_at": "2023-11-07T05:31:56Z"
}
Update the name, description, tasks, or environment reference of a benchmark.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token.

Path Parameters

id
string
required

Benchmark ID

Body

application/json
name
string
Required string length: 1 - 200
description
string | null
Maximum string length: 1000
timeout
integer
Required range: x <= 9007199254740991
concurrency
integer
Required range: x <= 9007199254740991
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