Create a test suite

View as Markdown

Set app_id to bind the suite to one app; omit it for a suite reusable across apps.

Path parameters

org_idstringRequired
Organization ID
workspace_idstringRequired
Workspace ID

Headers

X-API-KeystringRequired
Your workspace API key.

Request

This endpoint expects an object.
namestringRequired1-255 characters
descriptionstring or nullOptional<=20000 characters
app_idstring or nullOptional

Bind the suite to one app. Omit for a workspace-level suite reusable across apps.

variableslist of objectsOptionalDefaults to []
global_guardrailslist of stringsOptionalDefaults to []
Behaviors every test case in the suite is graded against. At most 20, each up to 500 characters.
test_caseslist of objectsOptionalDefaults to []

At most 200. Add more later through the test-case endpoint.

Response

Successful Response
test_suite_idstring

Errors

401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error