Update a test case.
Organization API key for authentication
Test case ID
22Update request. Only provided fields will be updated.
Input for the test case
1"What is the weather today?"
Test set ID (can move to different test set)
8"newset12"
Expected behaviors (list of strings). This is the preferred field.
["The weather is sunny."]
DEPRECATED: Use expected_behaviors instead. If provided and expected_behaviors is not, this value will be wrapped in a list and used as expected_behaviors.
"The weather is sunny."
Expected output as JSON object
Human-readable description
"Updated description"
Type of input for the test case. When set to SCRIPT, the simulation_metadata_input should contain a script_turns field with ordered persona turn texts.
SCENARIO, TRANSCRIPT, IVR, AUDIO, MANUAL, SCRIPT "SCRIPT"
Metadata for simulation. Contents vary by input_type. When input_type is SCRIPT, include a script_turns field (array of strings) with the ordered lines for the persona to deliver.
Input for metrics
User notes
"Updated notes"
Test case updated successfully
Test case resource.