Create Testcase

POST
Create a new Testcase

Path parameters

testset_idintegerRequired
The ID of the Testset to create the Testcase in.

Request

This endpoint expects an object.
user_querystringOptional
The user query to be executed.
contextstringOptional
The context to be used while generating the testcase.
idealstringOptional
The ideal response to the user query.
custom_inputsmap from strings to optional objects or strings or integers or doubles or booleansOptional
custom_labelsmap from strings to optional objects or strings or integers or doubles or booleansOptional

Response

This endpoint returns an object
testset_idinteger
The ID of the testset the testcase belongs to.
user_querystring
The user query for the testcase.
idintegerOptional
The ID of the testcase.
created_atdatetimeOptional
The creation date and time of the testcase.
contextstringOptional
The context for the testcase.
idealstringOptional
The ideal response for the testcase.
custom_inputsmap from strings to optional objects or strings or integers or doubles or booleansOptional
custom_labelsmap from strings to optional objects or strings or integers or doubles or booleansOptional

Errors