AI Tests
Improve evaluator scenarios
Changed onStarts an interactive session that improves selected evaluator scenarios from a natural-language instruction. Returns a progress ID to poll with the improve-scenarios-progress endpoint.
post/ai/tests/test_framework/v1/scenarios/scenario-agent
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/ai/tests/test_framework/v1/scenarios/scenario-agent
- Auth: HTTP bearer
Request body
Example request
{
"user_message": "Make the callers ask about damaged packaging too.",
"scenarios": "all",
"agent_id": 1259,
"apply_changes": true
}Response
Improvement session initiated.
Example response
{
"progress_id": "c8f5d2b3-4e5f-6a7b-9c0d-1f2a3b4c5d6e",
"session_id": 417
}Changes
- info
endpoint added
- info