Update an eval suite
Replaces only supplied mutable fields. The complete encoded request body is limited to 1114112 bytes. If-Match is optional but strongly recommended; stale tags return 412 with the current ETag. Semantic no-ops return the unchanged version.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
application/json- body
1 <= propertiesname?stringLimited to 200 UTF-8 encoded bytes; maxLength is a generator hint.
1 <= length <= 200description?|Limited to 2000 UTF-8 encoded bytes; maxLength is a generator hint.
length <= 2000definition?Replaces the stored legacy definition; same keys as EvalSuiteCreateRequest.definition. Newly listed personas are mirrored into scenarios; existing scenarios are never removed by this field. The encoded value must be at most 1048576 bytes.
Updated or unchanged suite.
application/json- response
id*stringuuidslug*string^[a-z0-9][a-z0-9_-]{1,63}$2 <= length <= 64name*string1 <= length <= 200description*|length <= 2000version*integerint641 <= valuearchived_at*|date-timecreated_at*stringdate-timeupdated_at*stringdate-timedefinition*Open JSON object; the encoded value must be at most 1048576 bytes.
curl -X PATCH 'https://api.kejue.co/v1/eval-suites/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "description": "string", "version": 1, "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "definition": {}}