Skip to Content
Eval suites

Replace a scenario's checks

Permissioneval-suites:updateAdd-onEvaluationsAuthentication
PUT
/eval-suites/{id}/scenarios/{scenario_id}/checks

Replaces this scenario's attachment set atomically. These are additions and overrides on top of the suite's checks, not a replacement for them.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid
scenario_id*string
Formatuuid

Request Body

application/json
  1. body
checks*array<>

The complete attachment set. An empty array detaches everything.

Itemsitems <= 100

Response Body

The attachments as they now stand.

application/json
  1. response
data*array<>
Example Request
curl -X PUT 'https://api.kejue.co/v1/eval-suites/497f6eca-6276-4993-bfeb-53cbbbba6f08/scenarios/497f6eca-6276-4993-bfeb-53cbbbba6f08/checks' \  -H 'Content-Type: application/json' \  -d '{  "checks": [    {      "check_id": "051490c8-9abf-480a-9348-72c146208cd5"    }  ]}'
Example Response
{  "data": [    {      "check_id": "051490c8-9abf-480a-9348-72c146208cd5",      "slug": "string",      "name": "string",      "kind": "judge",      "weight": 0,      "blocking": true,      "position": 0,      "config": {}    }  ]}