Testcase
Update Testcase
Update a Testcase.
PATCH
Authorizations
Path Parameters
The ID of the Testcase to update.
Example:
123
The ID of the Testset to retrieve the Testcase from.
Example:
123
Body
application/json
The user query to be executed.
Example:
"What is the moon made of?"
The context to be used while generating the testcase.
Example:
"After the Apollo missions, we know the moon is made of cheese."
The ideal response to the user query.
Example:
"The moon is made of rock."
Example:
{
"additionalProp1": "Here is some example text",
"additionalProp2": "Here is some example text",
"additionalProp3": "Here is some example text"
}
Example:
{
"additionalProp1": "Here is some example text",
"additionalProp2": "Here is some example text",
"additionalProp3": "Here is some example text"
}
Response
200
application/json
Successful Response
The ID of the testset the testcase belongs to.
Example:
123
The user query for the testcase.
Example:
"What is the moon made of?"
The ID of the testcase.
Example:
100
The creation date and time of the testcase.
Example:
"2025-02-07T00:05:50.184396"
The context for the testcase.
Example:
"After the Apollo missions, we know the moon is made of cheese."
The ideal response for the testcase.
Example:
"The moon is made of rock."
Was this page helpful?