Update an edge case
Updates an edge case's title, persona, environment, brief, preceded-by link or expectations. Omitted fields are left alone; additionalExpectations replaces the set wholesale rather than appending. Promoting it to the happy path is a separate call, since that also demotes the incumbent.
Path parameters
Request body
Example request
{
"additionalExpectations": [
{
"prompt": "The agent confirmed the new appointment time back to the customer"
}
]
}Response
The updated edge case
Example response
{
"data": {
"personaOverride": {
"backstoryPrompt": "A busy professional calling during lunch break",
"properties": {
"age": 35,
"zipCode": "94105",
"occupation": "Software Engineer"
}
}
}
}Changes
Changed in 2 of the 105 revisions of this API.4
- ○
added the required property
data/oneOf[subschema #1: Scripted]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #2: Improv]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #3: Voicemail]/personaOverride/ageto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○