Update an existing test case
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | The UUID of the test case to update |
Field | Type | Description |
---|---|---|
title | string | Title of the test case |
messages | array | Array of message objects with role and content |
variables | object | Key-value pairs of variables used in the test case |
variablesRichContent | object | Key-value pairs of rich content variables |
files | array | Array of file objects to attach to the test case |
promptId | string | UUID of the prompt this test case belongs to |
expectedOutput | string | Expected output for evaluation purposes |
answers | object | Evaluation answers with good/bad results and evals |
promptApplicationId | string | UUID of the prompt application if applicable |
metadata | object | Metadata about the test case including source |
Test case updated successfully