Skip to main content
POST
Create test set

Authorizations

X-API-Key
string
header
required

Organization API key for authentication

Body

application/json

Request body for creating a test set

display_name
string
required

Human-readable test set name

Required string length: 1 - 100
Example:

"Customer Support Scenarios"

slug
string

URL-friendly identifier (auto-generated from display_name if not provided)

Maximum string length: 100
Example:

"customer-support-scenarios"

description
string | null

Test set description

Example:

"Test cases for customer support agent"

test_set_type
string

Test set type (e.g., DEFAULT, SCENARIO, TRANSCRIPT, WORKFLOW)

Maximum string length: 50
Example:

"SCENARIO"

test_set_metadata
object

Additional test set configuration (JSON)

Example:
parameters
object

Test case parameterization

Example:
tags
string[] | null

Tags to associate with this test set. Null or omitted creates the test set with no tags. Pass [] for an empty tag list.

Example:

Response

Test set created successfully

test_set
object

Test set resource representation.