Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request model for creating a new assistant test.
This model defines all the required and optional parameters needed to create a comprehensive test for an AI assistant, including test configuration, evaluation criteria, and scheduling options.
A descriptive name for the assistant test. This will be used to identify the test in the UI and reports.
1 - 255"Customer Support Bot Test"
The target destination for the test conversation. Format depends on the channel: phone number for SMS/voice, webhook URL for web chat, etc.
1"+15551234567"
Detailed instructions that define the test scenario and what the assistant should accomplish. This guides the test execution and evaluation.
1 - 5000"Act as a frustrated customer who received a damaged product. Ask for a refund and escalate if not satisfied with the initial response."
Evaluation criteria used to assess the assistant's performance. Each rubric item contains a name and specific criteria for evaluation.
1[
{
"criteria": "Assistant responds within 30 seconds",
"name": "Response Time"
},
{
"criteria": "Provides correct product information",
"name": "Accuracy"
}
]Optional detailed description of what this test evaluates and its purpose. Helps team members understand the test's objectives.
1000The communication channel through which the test will be conducted. Determines how the assistant will receive and respond to test messages.
phone_call, web_call, sms_chat, web_chat "web_chat"
Maximum duration in seconds that the test conversation should run before timing out. If not specified, uses system default timeout.
1 <= x <= 3600Optional test suite name to group related tests together. Useful for organizing tests by feature, team, or release cycle.
100Response
Returns the created test configuration with assigned test ID
Response model containing complete assistant test information.
Returns all test configuration details including evaluation criteria, scheduling, and metadata. Used when retrieving individual tests or after creating/updating tests.
Unique identifier for the assistant test.
"123e4567-e89b-12d3-a456-426614174000"
Human-readable name of the test.
"Customer Support Bot Test"
Communication channel used for test execution.
phone_call, web_call, sms_chat, web_chat "web_chat"
Evaluation criteria used to assess test performance.
[
{
"criteria": "Responds within 30 seconds",
"name": "Response Time"
}
]Timestamp when the test was created.
"2024-01-15T09:00:00Z"
Detailed description of the test's purpose and scope.
Target destination for test conversations.
Maximum allowed duration for test execution in seconds.
Test suite grouping for organizational purposes.
Detailed test scenario instructions and objectives.