---
title: "Controller Handle Edit Chart2"
method: POST
path: "/edit_chart/saved/{chart_id}"
tags: ["chart"]
---

# Controller Handle Edit Chart2

`POST /edit_chart/saved/{chart_id}`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/edit_chart/saved/{chart_id}`
- Auth: none declared

Edit a chart that has been copied outside of a chat history

## Path parameters

- `chart_id` string, required

## Request body

- ChartEditingPayloadStandalone: Payload for editing a chart that has been copied outside of a chat history.
  - `updates` ChartEditingUpdates, required
    - `title` string, nullable: The title of the chart.
    - `description` string, nullable: The subtitle of the chart.
    - `llm_instructions` string, nullable: Instructions for the LLM to follow when editing the chart.
    - `datasetId` string, nullable: The dataset ID of the chart.
    - `datasourceId` string, nullable: The datasource ID of the chart.
    - `source_type` 'dataset' | 'datasource', nullable: Type of source to use (dataset or datasource).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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