---
title: "Update mission"
method: PUT
path: "/ai/missions/{mission_id}"
tags: ["Missions"]
---

# Update mission

`PUT /ai/missions/{mission_id}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/ai/missions/{mission_id}`
- Auth: HTTP bearer

Replaces the specified mission's definition with the provided configuration and returns the updated mission.

## Path parameters

- `mission_id` string, uuid, required

## Request body

- UpdateMissionRequest
  - `name` string
  - `description` string
  - `model` string
  - `instructions` string
  - `execution_mode` 'external' | 'managed'
  - `metadata` object

## Response `200`

Successful Response

- MissionResponse
  - `data` MissionData, required
    - `mission_id` string, uuid, required
    - `name` string, required
    - `description` string
    - `model` string
    - `instructions` string
    - `execution_mode` 'external' | 'managed', required
    - `metadata` object
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

> 1727 revisions in range; 27 not diffed.

- **2026-02-11** `6663b63b33c3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/ai/missions/:mission_id/put.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/fc59cb60a25c?raw)
