v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Assistants

Update an assistant test

Updates an existing assistant test configuration with new settings

put/ai/assistants/tests/{test_id}

Path parameters

test_idstring required

Unique identifier of the test.

Request body

descriptionstring

Updated description of the test's purpose and evaluation criteria.

destinationstring

Updated target destination for test conversations.

instructionsstring

Updated test scenario instructions and objectives.

max_duration_secondsinteger

Updated maximum test duration in seconds.

namestring

Updated name for the assistant test. Must be unique and descriptive.

telnyx_conversation_channel'phone_call' | 'web_call' | 'sms_chat' | 'web_chat'
test_suitestring

Updated test suite assignment for better organization.

Response

Returns the updated test configuration with all changes applied

created_atstring date-time required

Timestamp when the test was created.

descriptionstring

Detailed description of the test's purpose and scope.

destinationstring

Target destination for test conversations.

instructionsstring

Detailed test scenario instructions and objectives.

max_duration_secondsinteger

Maximum allowed duration for test execution in seconds.

namestring required

Human-readable name of the test.

telnyx_conversation_channel'phone_call' | 'web_call' | 'sms_chat' | 'web_chat' required
test_idstring uuid required

Unique identifier for the assistant test.

test_suitestring

Test suite grouping for organizational purposes.

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"
}