Skip to main content
PATCH
Update a case name, local criteria, shared groups or test setup. name is required even when changing only setup or criteria. Omitted optional fields are preserved. A captured conversation cannot be changed into a scenario. Saving does not change previous run snapshots.

Headers

string
required
Bearer token containing your workspace API key. The key needs write scope.

Path parameters

string
required
Case UUID.

Body parameters

string
required
Nonblank name, up to 200 characters.
array
Local criterion definitions, up to 50. Omit to preserve criteria on update; an empty array removes local criteria.
array
Shared group UUIDs, up to 50. Overrides criteriaGroupId; an empty array detaches all groups.
string
Single-group compatibility field. On update, null detaches all groups if criteriaGroupIds is omitted.
object
Attribute values for this test only, up to 100 KB. Reserved top-level names __proto__, constructor and prototype are rejected.
object
Scripted scenario input. See Case input. Only scripted cases can update this field.
array
Captured-conversation response overrides, up to 200. See Recorded Action overrides.
array
Up to 100 manual references: kind is rule or article, and id is a UUID. Rules must be assigned to the agent; articles must be live workspace articles.

Response

Returns the updated case detail. The example intentionally shows empty arrays for Action-response overrides and run history.