Skip to main content
POST
Create test

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
commands
string[]
required

Natural-language commands that make up the test case.

title
string
default:""

Human-readable title of the test.

tags
string[]

Tags used to group or filter tests.

preRequests
PreRequest · object[]

HTTP requests executed before the test runs (e.g. to seed state or fetch tokens).

launchParams
LaunchParam · object[]

Key/value pairs passed to the test at launch.

testInputs
TestInput · object[]

Named inputs referenced by the test commands, with default values.

teardownRequests
TearDownRequest · object[]

HTTP requests executed after the test finishes (e.g. to clean up state).

Response

200 - application/json

Successful response

testId
string

The unique identifier of the created test