Telnyx Assistants API

Configure AI assistant specifications

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 50

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ai/assistants List my AI assistants · List assistants #
Ask an LLM
“Which AI assistants have I configured?”
“Can I see all my assistants in one list?”
Tell an agent
List all my AI assistants.
Show every assistant I've set up.
POST /ai/assistants Create an AI assistant · Create an assistant #
Ask an LLM
“How do I create an assistant that answers customer questions?”
“Can an assistant use tools and a greeting message?”
Tell an agent
Create an assistant named {name} with instructions {instructions}.
Create assistant {name} on model {model} with tools {tools}.
GET /ai/assistants/deleted List recently deleted assistants · List deleted assistants #
Ask an LLM
“Which assistants were deleted recently?”
“How long do deleted assistants stay in the Recently Deleted list?”
Tell an agent
List my recently deleted assistants.
Show the assistants I deleted in the last 30 days.
POST /ai/assistants/import Import assistants from another provider · Import assistants from external provider #
Ask an LLM
“How do I import assistants from a different AI provider?”
“Can I overwrite an assistant I already imported?”
Tell an agent
Import assistants from {provider} using API key {api_key_ref}.
Import only assistants {import_ids} from {provider} with key {api_key_ref}.
GET /ai/assistants/tags List tags on my assistants · Get All Tags #
Ask an LLM
“What tags have been applied to my assistants?”
“Can I see every tag used across my assistants?”
Tell an agent
List all tags on my AI assistants.
Show every assistant tag I've used.
GET /ai/assistants/tests List AI assistant tests · List assistant tests with pagination #
Ask an LLM
“Which assistant tests are available for debugging?”
“Can I filter assistant tests by test suite or channel?”
Tell an agent
List assistant tests for suite {suite}.
Show assistant tests for {channel} going to {destination}.
POST /ai/assistants/tests Create an assistant test · Create a new assistant test #
Ask an LLM
“How do I create a test to evaluate an assistant's performance?”
“Can a test have a rubric and a maximum duration?”
Tell an agent
Create an assistant test named {name} with instructions {instructions} and rubric {rubric}.
Create test {name} for destination {destination} on channel {telnyx_conversation_channel}.
GET /ai/assistants/tests/test-suites List assistant test suite names · Get all test suite names #
Ask an LLM
“What test suites exist for my assistants?”
“Which test suite names can I group assistant tests under?”
Tell an agent
List all assistant test suite names.
Show the test suite names available to me.
GET /ai/assistants/tests/test-suites/{suite_name}/runs List runs of a test suite · Get test suite run history #
Ask an LLM
“Which runs have been executed for a test suite?”
“Can I filter a test suite's run history by status?”
Tell an agent
List runs of test suite {suite_name}.
Show {status} runs for test suite {suite_name}.
POST /ai/assistants/tests/test-suites/{suite_name}/runs Run all tests in a suite · Trigger test suite execution #
Ask an LLM
“How do I run every test in a test suite at once?”
“Can I run a test suite against a specific assistant version?”
Tell an agent
Run all tests in test suite {suite_name}.
Run test suite {suite_name} using assistant version {destination_version_id}.
DELETE /ai/assistants/tests/{test_id} Delete an assistant test · Delete an assistant test #
Ask an LLM
“How do I permanently remove an assistant test?”
“Is deleting an assistant test immediate or does it go to Recently Deleted?”
Tell an agent destructive · confirm first
Delete assistant test {test_id}.
Permanently remove the assistant test {test_id}.
GET /ai/assistants/tests/{test_id} Get an assistant test · Get assistant test by ID #
Ask an LLM
“What instructions and rubric does a specific assistant test use?”
“Can I look up one assistant test by its ID?”
Tell an agent
Get assistant test {test_id}.
Show the instructions and rubric of test {test_id}.
PUT /ai/assistants/tests/{test_id} Update an assistant test · Update an assistant test #
Ask an LLM
“How do I change the instructions of an existing assistant test?”
“Can I move an assistant test to a different test suite?”
Tell an agent
Update assistant test {test_id} with instructions {instructions}.
Move assistant test {test_id} to test suite {test_suite}.
GET /ai/assistants/tests/{test_id}/runs List runs of one assistant test · Get test run history for a specific test #
Ask an LLM
“Which runs have been executed for a single assistant test?”
“Can I filter one assistant test's runs by status?”
Tell an agent
List runs of assistant test {test_id}.
Show {status} runs for assistant test {test_id}.
POST /ai/assistants/tests/{test_id}/runs Run an assistant test manually · Trigger a manual test run #
Ask an LLM
“How do I run one assistant test right now?”
“Can I run an assistant test against a specific version?”
Tell an agent
Run assistant test {test_id} now.
Run assistant test {test_id} using version {destination_version_id}.
GET /ai/assistants/tests/{test_id}/runs/{run_id} Get a single assistant test run · Get specific test run details #
Ask an LLM
“What happened in one specific run of an assistant test?”
“Can I see the result of a single assistant test run?”
Tell an agent
Get run {run_id} of assistant test {test_id}.
Show the outcome of test run {run_id} for {test_id}.
DELETE /ai/assistants/{assistant_id} Delete an AI assistant · Delete an assistant #
Ask an LLM
“How do I permanently delete an assistant instead of soft-deleting it?”
“What happens to an assistant's versions when I hard-delete it?”
Tell an agent destructive · confirm first
Delete assistant {assistant_id}.
Hard-delete assistant {assistant_id} with hard_delete {hard_delete}.
GET /ai/assistants/{assistant_id} Get an AI assistant · Get an assistant #
Ask an LLM
“What model and tools does a specific assistant use?”
“Can I fetch an assistant's dynamic variables from a webhook?”
Tell an agent
Get assistant {assistant_id}.
Show the model and tools of assistant {assistant_id}.
POST /ai/assistants/{assistant_id} Update an AI assistant · Update an assistant #
Ask an LLM
“How do I rename or change an AI assistant's model?”
“Can I set an external LLM API key on an assistant?”
Tell an agent
Rename assistant {assistant} to {name}.
Set assistant {assistant} to use model {model} with key {key}.
DELETE /ai/assistants/{assistant_id}/canary-deploys Delete an assistant's canary deploy · Delete Canary Deploy #
Ask an LLM
“How do I remove all canary deploy rules from an assistant?”
“Can I clear an assistant's canary configuration?”
Tell an agent destructive · confirm first
Delete the canary deploy for assistant {assistant_id}.
Clear all canary rules from assistant {assistant_id}.
GET /ai/assistants/{assistant_id}/canary-deploys Get an assistant's canary deploy · Get Canary Deploy #
Ask an LLM
“What traffic split does a canary deploy use for an assistant?”
“Can I see the canary configuration for one assistant?”
Tell an agent
Get the canary deploy for assistant {assistant_id}.
Show the traffic percentages of assistant {assistant_id}'s canary.
POST /ai/assistants/{assistant_id}/canary-deploys Create an assistant canary deploy · Create Canary Deploy #
Ask an LLM
“How do I set up A/B testing for an assistant by version?”
“Can I create a canary deploy with several version percentages?”
Tell an agent
Create a canary deploy for assistant {assistant_id} with {rules}.
Set up A/B testing for assistant {assistant_id} using {rules}.
PUT /ai/assistants/{assistant_id}/canary-deploys Replace an assistant's canary deploy rules · Update Canary Deploy #
Ask an LLM
“How do I swap the version IDs and percentages in an assistant's canary deploy?”
“Does updating a canary deploy overwrite the existing rules?”
Tell an agent
Replace the canary deploy rules for assistant {assistant_id} with {rules}.
Swap the version percentages on assistant {assistant_id} using {rules}.
POST /ai/assistants/{assistant_id}/chat Send a chat message to an assistant · Assistant Chat #
Ask an LLM
“How do I send a message to an AI assistant and get its reply?”
“Can I chat with an assistant in an existing conversation thread?”
Tell an agent
Send {content} to assistant {assistant_id} in conversation {conversation_id}.
Ask assistant {assistant_id} in conversation {conversation_id}: {content}.
POST /ai/assistants/{assistant_id}/chat/sms Send an SMS to an assistant · Assistant Sms Chat #
Ask an LLM
“How do I send an SMS message to a customer through an assistant?”
“Can an assistant reply to an SMS I send it?”
Tell an agent
Send an SMS from {from} to {to} via assistant {assistant_id}: {text}.
Text {text} to {to} from {from} using assistant {assistant_id}.
POST /ai/assistants/{assistant_id}/chat/whatsapp Start a WhatsApp chat with a customer · Assistant WhatsApp Chat #
Ask an LLM
“How do I start a WhatsApp conversation with a customer from my business number?”
“Can an assistant pick a WhatsApp template to send to a customer?”
Tell an agent
Start a WhatsApp chat with {to} from {from} using assistant {assistant_id} with {content}.
Send WhatsApp template {content} from {from} to {to} via assistant {assistant_id}.
POST /ai/assistants/{assistant_id}/clone Clone an AI assistant · Clone Assistant #
Ask an LLM
“How do I copy an existing assistant without its telephony and messaging settings?”
“Can I duplicate an assistant to test new instructions?”
Tell an agent
Clone assistant {assistant_id}.
Copy assistant {assistant_id} excluding telephony and messaging settings.
GET /ai/assistants/{assistant_id}/deleted Get a soft-deleted assistant · Get a deleted assistant #
Ask an LLM
“How do I see when an assistant was deleted and if it was permanently deleted?”
“Can I look up a soft-deleted assistant by ID?”
Tell an agent
Show the soft-deleted assistant {assistant_id}.
Check the deleted_at and permanently_deleted_at timestamps for assistant {assistant_id}.
POST /ai/assistants/{assistant_id}/instructions/enhance Improve an assistant's instructions · Enhance Assistant Instructions #
Ask an LLM
“How do I make an assistant's instructions clearer and more reliable?”
“Can I rewrite an assistant's instructions with an enhancement prompt?”
Tell an agent
Enhance the instructions of assistant {assistant_id}.
Rewrite assistant {assistant_id}'s instructions with the prompt {enhancement_prompt}.
POST /ai/assistants/{assistant_id}/restore Restore a soft-deleted assistant · Restore an assistant #
Ask an LLM
“How do I bring back an assistant I deleted by mistake?”
“Does restoring an assistant bring back its versions and TeXML app?”
Tell an agent
Restore the soft-deleted assistant {assistant_id}.
Bring assistant {assistant_id} back from the Recently Deleted list.
GET /ai/assistants/{assistant_id}/scheduled_events List an assistant's scheduled events · List scheduled events #
Ask an LLM
“What events are scheduled for an assistant?”
“Can I filter an assistant's scheduled events by channel and date?”
Tell an agent
List scheduled events for assistant {assistant_id}.
Show assistant {assistant_id}'s scheduled events on channel {conversation_channel} between {from_date} and {to_date}.
POST /ai/assistants/{assistant_id}/scheduled_events Schedule a phone or SMS event for an assistant · Create a scheduled event #
Ask an LLM
“How do I schedule a phone call or text for an assistant to send later?”
“Can I set dynamic variables on a scheduled assistant event?”
Tell an agent
Schedule an event on assistant {assistant_id} from {agent} to {end_user} at {scheduled_at}.
Send {text} from {agent} to {end_user} on assistant {assistant_id} at {scheduled_at}.
DELETE /ai/assistants/{assistant_id}/scheduled_events/{event_id} Cancel or remove a scheduled event · Delete a scheduled event #
Ask an LLM
“How do I cancel a scheduled assistant event that hasn't happened yet?”
“Can I remove the record of an assistant event that already ran?”
Tell an agent destructive · confirm first
Delete scheduled event {event_id} from assistant {assistant_id}.
Cancel assistant {assistant_id}'s event {event_id}.
GET /ai/assistants/{assistant_id}/scheduled_events/{event_id} Get a scheduled event · Get a scheduled event #
Ask an LLM
“What are the details of one scheduled event for an assistant?”
“Can I look up a single assistant scheduled event by ID?”
Tell an agent
Show scheduled event {event_id} for assistant {assistant_id}.
Get the details of assistant {assistant_id}'s event {event_id}.
POST /ai/assistants/{assistant_id}/tags Tag an AI assistant · Add Assistant Tag #
Ask an LLM
“How do I add a tag to an AI assistant to organize it?”
“Can I label an assistant with a custom tag?”
Tell an agent
Add tag {tag} to assistant {assistant_id}.
Label assistant {assistant_id} with {tag}.
DELETE /ai/assistants/{assistant_id}/tags/{tag} Remove a tag from an AI assistant · Remove Assistant Tag #
Ask an LLM
“How do I remove a tag from an AI assistant?”
“Can I get the assistant's tag list after removing one tag?”
Tell an agent destructive · confirm first
Remove tag {tag} from assistant {assistant_id}.
Delete tag {tag} on assistant {assistant_id} and return the updated tags.
GET /ai/assistants/{assistant_id}/texml Get an assistant's TeXML · Get assistant texml #
Ask an LLM
“How do I download the TeXML for an AI assistant?”
“Where can I see the TeXML app behind an assistant?”
Tell an agent
Get the TeXML for assistant {assistant_id}.
Download assistant {assistant_id}'s TeXML app.
DELETE /ai/assistants/{assistant_id}/tools/{tool_id} Detach a tool from an AI assistant · Remove Assistant Tool #
Ask an LLM
“How do I stop an AI assistant from using a tool?”
“Can I detach a webhook tool from an assistant?”
Tell an agent destructive · confirm first
Detach tool {tool_id} from assistant {assistant_id}.
Stop assistant {assistant_id} from invoking tool {tool_id}.
PUT /ai/assistants/{assistant_id}/tools/{tool_id} Attach a tool to an AI assistant · Add Assistant Tool #
Ask an LLM
“How do I let an AI assistant use an existing tool?”
“Can I attach a webhook tool to an assistant?”
Tell an agent
Attach tool {tool_id} to assistant {assistant_id}.
Let assistant {assistant_id} invoke tool {tool_id}.
POST /ai/assistants/{assistant_id}/tools/{tool_id}/test Test a webhook tool for an assistant · Test Assistant Tool #
Ask an LLM
“How do I test a webhook tool an assistant uses before relying on it?”
“Can I pass dynamic variables when testing an assistant's webhook tool?”
Tell an agent
Test webhook tool {tool_id} on assistant {assistant_id}.
Run a test of assistant {assistant_id}'s webhook tool {tool_id} with {arguments}.
GET /ai/assistants/{assistant_id}/versions List all versions of an assistant · Get all versions of an assistant #
Ask an LLM
“What versions exist for my AI assistant?”
“Can I see the full configuration of every assistant version?”
Tell an agent
List all versions of assistant {assistant_id}.
Show every configuration version of assistant {assistant_id}.
DELETE /ai/assistants/{assistant_id}/versions/{version_id} Delete an assistant version · Delete a specific assistant version #
Ask an LLM
“How do I permanently remove an old assistant version?”
“Can I delete a version without touching the main one?”
Tell an agent destructive · confirm first
Delete version {version_id} of assistant {assistant_id}.
Permanently remove assistant {assistant_id} version {version_id}.
GET /ai/assistants/{assistant_id}/versions/{version_id} Get one version of an assistant · Get a specific assistant version #
Ask an LLM
“How do I fetch a specific version of an assistant?”
“Can I include MCP servers when retrieving an assistant version?”
Tell an agent
Get version {version_id} of assistant {assistant_id}.
Fetch assistant {assistant_id} version {version_id} with MCP servers {include_mcp_servers}.
POST /ai/assistants/{assistant_id}/versions/{version_id} Update an assistant version · Update a specific assistant version #
Ask an LLM
“How do I change the model or instructions on an assistant version?”
“Can I update the tools or voice settings of an assistant version?”
Tell an agent
Update assistant {assistant_id} version {version_id} to use model {model}.
Set the instructions of assistant {assistant_id} version {version_id} to {instructions}.
POST /ai/assistants/{assistant_id}/versions/{version_id}/promote Promote an assistant version to main · Promote an assistant version to main #
Ask an LLM
“How do I make a test assistant version the main one?”
“Does promoting a version delete the canary configuration?”
Tell an agent
Promote version {version_id} of assistant {assistant_id} to main.
Make assistant {assistant_id} version {version_id} the current version.
GET /ai/tools List custom AI tools · List Tools #
Ask an LLM
“Which custom AI tools have I created?”
“Can I filter my AI tools by type or name?”
Tell an agent
List all my custom AI tools.
Show AI tools of type {type}.
POST /ai/tools Create a custom AI tool · Create Tool #
Ask an LLM
“How do I create a custom tool my assistants can use?”
“Can I set a timeout on a new AI tool?”
Tell an agent
Create a {type} tool named {display_name}.
Create AI tool {display_name} of type {type} with a {timeout_ms} ms timeout.
DELETE /ai/tools/{tool_id} Delete an AI tool · Delete Tool #
Ask an LLM
“How do I permanently delete a custom AI tool?”
“Can I remove an assistant tool I no longer use?”
Tell an agent destructive · confirm first
Delete AI tool {tool_id}.
Permanently remove custom tool {tool_id}.
GET /ai/tools/{tool_id} Get an AI tool · Get Tool #
Ask an LLM
“What configuration does a specific custom AI tool have?”
“Can I look up one assistant tool by its ID?”
Tell an agent
Get AI tool {tool_id}.
Show the details of custom tool {tool_id}.
PATCH /ai/tools/{tool_id} Update an AI tool · Update Tool #
Ask an LLM
“How do I change the function of an existing custom AI tool?”
“Can I rename a tool I already created?”
Tell an agent
Rename existing tool {tool_id} to {display_name}.
Update the function of tool {tool_id} to {function}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/telnyx:telnyx-assistants-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

telnyx-assistants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telnyx Assistants API
  version: 2.0.0
  contact:
    email: support@telnyx.com
  x-endpoint-cost: light
  x-refined-note:
  - x-latency-category differs across the merged source definitions and was not carried
  description: 'Operations tagged Assistants across 2 of this provider''s published API definitions: telnyx-openapi.json, telnyx-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.telnyx.com/v2
  description: Version 2.0.0 of the Telnyx API
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (366 KB total) ---
# Full source: https://artifacts.apis.io/telnyx/openapi/telnyx-assistants-api-openapi.yml