v55

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-051,2852,0364.4 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

namestring

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

descriptionstring

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

telnyx_conversation_channel'phone_call' | 'web_call' | 'sms_chat' | 'web_chat'
destinationstring

Updated target destination for test conversations.

max_duration_secondsinteger

Updated maximum test duration in seconds.

test_suitestring

Updated test suite assignment for better organization.

instructionsstring

Updated test scenario instructions and objectives.

Response

Returns the updated test configuration with all changes applied

test_idstring uuid required

Unique identifier for the assistant test.

namestring required

Human-readable name of the test.

descriptionstring

Detailed description of the test's purpose and scope.

telnyx_conversation_channel'phone_call' | 'web_call' | 'sms_chat' | 'web_chat' required
destinationstring

Target destination for test conversations.

max_duration_secondsinteger

Maximum allowed duration for test execution in seconds.

test_suitestring

Test suite grouping for organizational purposes.

instructionsstring

Detailed test scenario instructions and objectives.

created_atstring date-time required

Timestamp when the test was created.

Example response

{
  "test_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Customer Support Bot Test",
  "rubric": [
    {
      "criteria": "Responds within 30 seconds",
      "name": "Response Time"
    }
  ],
  "created_at": "2024-01-16T09:00:00Z"
}