Skip to Content
Eval suites

Archive an eval scenario

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

Soft-archives the scenario. If-Match is optional but protects against concurrent edits. Repeating the archive is a successful 204 no-op and preserves the current ETag.

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

Header Parameters

If-Match?string

Optional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.

Response Body

Scenario archived, or already archived; response body is empty.

Example Request
curl -X DELETE 'https://api.kejue.co/v1/eval-suites/497f6eca-6276-4993-bfeb-53cbbbba6f08/scenarios/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty