AI Tests
Run evaluator scenarios
Changed onRuns the selected evaluator scenarios against their test agents and creates a run batch. Returns the ID of the created batch, whose results can be listed with the test-run-results endpoints.
post/ai/tests/test_framework/v1/scenarios/run_scenarios
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/ai/tests/test_framework/v1/scenarios/run_scenarios
- Auth: HTTP bearer
Request body
Example request
{
"agent_id": 1259,
"scenarios": [
9512
],
"tags": [
"regression"
],
"mode": "same_number",
"concurrency_limit": 3
}Response
Run batch created.
Example response
{
"status": "in_queue",
"id": 10119
}Changes
- info
endpoint added
- info