---
title: "Save the chart of an answer to my own dashboard (Explore level)"
method: POST
path: "/agents/access/saved-charts"
tags: ["AI", "Agent access"]
---

# Save the chart of an answer to my own dashboard (Explore level)

`POST /agents/access/saved-charts`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/agents/access/saved-charts`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

The chart is drawn by the dashboard builder from the intent alone, in the background. With no `dashboard_id` a new dashboard of the person's own is made; with one, it must be a dashboard they saved before.

## Request body

- SaveChartRequest
  - `session_id` string, required
  - `turn_id` string, required
  - `dashboard_id` integer, nullable
  - `new_dashboard_name` string

## Response `201`

Document created, URL follows

- SaveChartResponse
  - `dashboard_id` integer, required

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
