---
title: "Edit a chart using a natural language prompt"
method: POST
path: "/api/mpp/v1/charts/edit"
---

# Edit a chart using a natural language prompt

`POST /api/mpp/v1/charts/edit`

## Request body

- object
  - `pub_id` string, required — Public id of the chart to edit.
  - `prompt` string, required — Natural language edit instruction.

## Response `200`

Successful response

## Other responses

- `402` — Payment Required

---

[API](https://skmtc.dev/tako/apis/tako-api.md) · [All operations](https://skmtc.dev/tako/apis/tako-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tako/tako-api/revisions/212ef2954a14/schema)
