Add a test case

View as Markdown

Path parameters

org_idstringRequired
Organization ID
workspace_idstringRequired
Workspace ID
test_suite_idstringRequired

Headers

X-API-KeystringRequired
Your workspace API key.

Request

This endpoint expects an object.
namestringRequired1-255 characters
categorystringRequired1-255 characters
user_scenariostringRequired1-20000 characters
What the simulated user is trying to do.
expected_behaviorslist of objectsOptionalDefaults to []
Behaviors the agent is graded against.
variable_overrideslist of objectsOptionalDefaults to []
Suite variables overridden for this test case only.
max_turnsintegerOptional1-200Defaults to 50

Response

Successful Response
test_case_idstring
test_suite_idstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error