Telnyx · Schema

CreateAssistantTestRequest

Request model for creating a new assistant test. This model defines all the required and optional parameters needed to create a comprehensive test for an AI assistant, including test configuration, evaluation criteria, and scheduling options.

CommunicationsCPaaSVoiceSMSIoTTelecommunicationsMessagingArtificial IntelligenceMCPVoice AIPhone NumbersInference

Properties

Name Type Description
description string Optional detailed description of what this test evaluates and its purpose. Helps team members understand the test's objectives.
destination string The target destination for the test conversation. Format depends on the channel: phone number for SMS/voice, webhook URL for web chat, etc.
instructions string Detailed instructions that define the test scenario and what the assistant should accomplish. This guides the test execution and evaluation.
max_duration_seconds integer Maximum duration in seconds that the test conversation should run before timing out. If not specified, uses system default timeout.
name string A descriptive name for the assistant test. This will be used to identify the test in the UI and reports.
rubric array Evaluation criteria used to assess the assistant's performance. Each rubric item contains a name and specific criteria for evaluation.
telnyx_conversation_channel object The communication channel through which the test will be conducted. Determines how the assistant will receive and respond to test messages.
test_suite string Optional test suite name to group related tests together. Useful for organizing tests by feature, team, or release cycle.
View JSON Schema on GitHub

JSON Schema

telnyx-create-assistant-test-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-create-assistant-test-request-schema.json",
  "title": "CreateAssistantTestRequest",
  "description": "Request model for creating a new assistant test.\n\nThis model defines all the required and optional parameters needed to create\na comprehensive test for an AI assistant, including test configuration,\nevaluation criteria, and scheduling options.",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-assistants-api-openapi.yml#/components/schemas/CreateAssistantTestRequest",
  "properties": {
    "description": {
      "description": "Optional detailed description of what this test evaluates and its purpose. Helps team members understand the test's objectives.",
      "maxLength": 1000,
      "title": "Description",
      "type": "string"
    },
    "destination": {
      "description": "The target destination for the test conversation. Format depends on the channel: phone number for SMS/voice, webhook URL for web chat, etc.",
      "minLength": 1,
      "title": "Destination",
      "type": "string"
    },
    "instructions": {
      "description": "Detailed instructions that define the test scenario and what the assistant should accomplish. This guides the test execution and evaluation.",
      "maxLength": 5000,
      "minLength": 1,
      "title": "Instructions",
      "type": "string"
    },
    "max_duration_seconds": {
      "description": "Maximum duration in seconds that the test conversation should run before timing out. If not specified, uses system default timeout.",
      "maximum": 3600.0,
      "minimum": 1.0,
      "title": "Max Duration Seconds",
      "type": "integer"
    },
    "name": {
      "description": "A descriptive name for the assistant test. This will be used to identify the test in the UI and reports.",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "type": "string"
    },
    "rubric": {
      "description": "Evaluation criteria used to assess the assistant's performance. Each rubric item contains a name and specific criteria for evaluation.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "criteria": {
            "description": "Specific guidance on how to assess the assistant’s performance for this rubric item.",
            "type": "string"
          },
          "name": {
            "description": "Label for the evaluation criterion, e.g., Empathy, Accuracy, Clarity.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "criteria"
        ],
        "type": "object"
      },
      "minItems": 1,
      "title": "Rubric",
      "type": "array"
    },
    "telnyx_conversation_channel": {
      "allOf": [
        {
          "$ref": "#/$defs/TelnyxConversationChannel"
        }
      ],
      "default": "web_chat",
      "description": "The communication channel through which the test will be conducted. Determines how the assistant will receive and respond to test messages."
    },
    "test_suite": {
      "description": "Optional test suite name to group related tests together. Useful for organizing tests by feature, team, or release cycle.",
      "maxLength": 100,
      "title": "Test Suite",
      "type": "string"
    }
  },
  "required": [
    "name",
    "destination",
    "instructions",
    "rubric"
  ],
  "type": "object",
  "$defs": {
    "TelnyxConversationChannel": {
      "enum": [
        "phone_call",
        "web_call",
        "sms_chat",
        "web_chat"
      ],
      "title": "TelnyxConversationChannel",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/telnyx-create-assistant-test-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.