{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Missions API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Missions", "type": "folder" }, "items": [ { "info": { "name": "List missions", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions", "params": [ { "name": "page[number]", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" } ] }, "docs": "List all missions for the organization" }, { "info": { "name": "Create mission", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new mission definition" }, { "info": { "name": "List recent events", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/events", "params": [ { "name": "type", "value": "", "type": "query" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" } ] }, "docs": "List recent events across all missions" }, { "info": { "name": "List recent runs", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/runs", "params": [ { "name": "status", "value": "", "type": "query" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" } ] }, "docs": "List recent runs across all missions" }, { "info": { "name": "Get mission", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Get a mission by ID (includes tools, knowledge_bases, mcp_servers)" }, { "info": { "name": "Update mission", "type": "http" }, "http": { "method": "PUT", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id", "params": [ { "name": "mission_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a mission definition" }, { "info": { "name": "Delete mission", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Delete a mission" }, { "info": { "name": "Clone mission", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/clone", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Clone an existing mission" }, { "info": { "name": "List knowledge bases", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/knowledge-bases", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "List all knowledge bases for a mission" }, { "info": { "name": "Create knowledge base", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/knowledge-bases", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Create a new knowledge base for a mission" }, { "info": { "name": "Get knowledge base", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/knowledge-bases/:knowledge_base_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "knowledge_base_id", "value": "", "type": "path" } ] }, "docs": "Get a specific knowledge base by ID" }, { "info": { "name": "Update knowledge base", "type": "http" }, "http": { "method": "PUT", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/knowledge-bases/:knowledge_base_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "knowledge_base_id", "value": "", "type": "path" } ] }, "docs": "Update a knowledge base definition" }, { "info": { "name": "Delete knowledge base", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/knowledge-bases/:knowledge_base_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "knowledge_base_id", "value": "", "type": "path" } ] }, "docs": "Delete a knowledge base from a mission" }, { "info": { "name": "List MCP servers", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/mcp-servers", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "List all MCP servers for a mission" }, { "info": { "name": "Create MCP server", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/mcp-servers", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Create a new MCP server for a mission" }, { "info": { "name": "Get MCP server", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/mcp-servers/:mcp_server_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "mcp_server_id", "value": "", "type": "path" } ] }, "docs": "Get a specific MCP server by ID" }, { "info": { "name": "Update MCP server", "type": "http" }, "http": { "method": "PUT", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/mcp-servers/:mcp_server_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "mcp_server_id", "value": "", "type": "path" } ] }, "docs": "Update an MCP server definition" }, { "info": { "name": "Delete MCP server", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/mcp-servers/:mcp_server_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "mcp_server_id", "value": "", "type": "path" } ] }, "docs": "Delete an MCP server from a mission" }, { "info": { "name": "List runs for mission", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "status", "value": "", "type": "query" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" } ] }, "docs": "List all runs for a specific mission" }, { "info": { "name": "Start a run", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs", "params": [ { "name": "mission_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Start a new run for a mission" }, { "info": { "name": "Get run details", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "Get details of a specific run" }, { "info": { "name": "Update run", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update run status and/or result" }, { "info": { "name": "Cancel run", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/cancel", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "Cancel a running or paused run" }, { "info": { "name": "List events", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/events", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" }, { "name": "type", "value": "", "type": "query" }, { "name": "step_id", "value": "", "type": "query" }, { "name": "agent_id", "value": "", "type": "query" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" } ] }, "docs": "List events for a run (paginated)" }, { "info": { "name": "Log event", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/events", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Log an event for a run" }, { "info": { "name": "Get event details", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/events/:event_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" }, { "name": "event_id", "value": "", "type": "path" } ] }, "docs": "Get details of a specific event" }, { "info": { "name": "Pause run", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/pause", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "Pause a running run" }, { "info": { "name": "Get plan", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/plan", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "Get the plan (all steps) for a run" }, { "info": { "name": "Create initial plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/plan", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create the initial plan for a run" }, { "info": { "name": "Add step(s) to plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/plan/steps", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add one or more steps to an existing plan" }, { "info": { "name": "Get step details", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/plan/steps/:step_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" }, { "name": "step_id", "value": "", "type": "path" } ] }, "docs": "Get details of a specific plan step" }, { "info": { "name": "Update step status", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/plan/steps/:step_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" }, { "name": "step_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the status of a plan step" }, { "info": { "name": "Resume run", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/resume", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "Resume a paused run" }, { "info": { "name": "List linked Telnyx agents", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/telnyx-agents", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ] }, "docs": "List all Telnyx agents linked to a run" }, { "info": { "name": "Link Telnyx agent to run", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/telnyx-agents", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Link a Telnyx AI agent (voice/messaging) to a run" }, { "info": { "name": "Unlink Telnyx agent", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/runs/:run_id/telnyx-agents/:telnyx_agent_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "run_id", "value": "", "type": "path" }, { "name": "telnyx_agent_id", "value": "", "type": "path" } ] }, "docs": "Unlink a Telnyx agent from a run" }, { "info": { "name": "List tools", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/tools", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "List all tools for a mission" }, { "info": { "name": "Create tool", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/tools", "params": [ { "name": "mission_id", "value": "", "type": "path" } ] }, "docs": "Create a new tool for a mission" }, { "info": { "name": "Get tool", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/tools/:tool_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "tool_id", "value": "", "type": "path" } ] }, "docs": "Get a specific tool by ID" }, { "info": { "name": "Update tool", "type": "http" }, "http": { "method": "PUT", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/tools/:tool_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "tool_id", "value": "", "type": "path" } ] }, "docs": "Update a tool definition" }, { "info": { "name": "Delete tool", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/missions/:mission_id/tools/:tool_id", "params": [ { "name": "mission_id", "value": "", "type": "path" }, { "name": "tool_id", "value": "", "type": "path" } ] }, "docs": "Delete a tool from a mission" } ] } ], "bundled": true }