---
title: "Autosave the Overview dashboard the caller is editing, as a private draft"
method: POST
path: "/overview/dashboard/autosaves"
---

# Autosave the Overview dashboard the caller is editing, as a private draft

`POST /overview/dashboard/autosaves`

Sent when a user leaves the Overview page in edit mode with unsaved changes (often with fetch keepalive). Creates a dashboard version with status preview and sourceType autosave, authored by the caller. It never changes which version is published: GET /dashboard/layouts/latest and /overview/dashboard-spec/latest are unaffected. In the same transaction the caller's autosaves in the organization beyond the newest 5 are deleted permanently (so are the caller's autosaves already deleted from history). Autosaves are visible only to their author in the dashboard history (list, detail, delete, apply); applying one publishes a copy as a new manual version, like applying any other non-AI version. An optional id naming the version the editor started from is stored as the draft's parent. Body limit 2 MiB. Not idempotent. Requires org.edit_dashboard; scoped by X-Greentally-Organization-Id like the other Overview routes.

## Request body

- DashboardLayoutSaveRequest
  - `id` string
  - `layoutJson` object, required

## Response `201`

Autosave stored as a private draft version

- OverviewDashboardAutosaveResponse
  - `data` object, required
    - `createdAt` string, date-time, required
    - `layoutId` string, required — Id of the autosave version (a dashboard history layoutId).

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `413` — Body larger than 2 MiB

## Changes

- **2026-10-01** `b4751fd15397` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/greentally/apis/esgai-api/changes/overview/dashboard/autosaves/post.md)

---

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