Assistants
Create a new assistant test
Creates a comprehensive test configuration for evaluating AI assistant performance
post/ai/assistants/tests
Request body
Example request
{
"destination": "+15551234567",
"instructions": "Act as a frustrated customer who received a damaged product. Ask for a refund and escalate if not satisfied with the initial response.",
"name": "Customer Support Bot Test",
"rubric": [
{
"criteria": "Assistant responds within 30 seconds",
"name": "Response Time"
},
{
"criteria": "Provides correct product information",
"name": "Accuracy"
}
]
}Response
Returns the created test configuration with assigned test ID
Example response
{
"created_at": "2024-01-16T09:00:00Z",
"name": "Customer Support Bot Test",
"rubric": [
{
"criteria": "Responds within 30 seconds",
"name": "Response Time"
}
],
"test_id": "123e4567-e89b-12d3-a456-426614174000"
}