Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Body

application/json
test_case_definition_ids
string[]
required

Array of test case definition IDs to run

Required array length: 1 - 1000 elements
response_engine
object
required

Response engine to use for the test cases. Custom LLM is not supported.

Response

Test case batch job created successfully

test_case_batch_job_id
string
required

Unique identifier for the test case batch job

status
enum<string>
required

Status of the batch job

Available options:
in_progress,
complete
response_engine
object
required
pass_count
integer
required

Number of test cases that passed

Required range: x >= 0
fail_count
integer
required

Number of test cases that failed

Required range: x >= 0
error_count
integer
required

Number of test cases that encountered errors

Required range: x >= 0
total_count
integer
required

Total number of test cases in the batch

Required range: x >= 0
creation_timestamp
integer
required

Timestamp when the batch job was created (milliseconds since epoch)

user_modified_timestamp
integer
required

Timestamp when the batch job was last modified (milliseconds since epoch)