Skip to Content
Eval suites

Replace a suite's checks

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

Replaces the whole attachment set atomically. Omitting a check detaches it. weight defaults to 100 and blocking to false. Editing a check takes effect on the next run. At most 100 checks.

Authorization

bearerAuth
headerAuthorizationBearer <token>

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

Path Parameters

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/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": {}    }  ]}