---
title: "Save a view (MDF-38)"
method: POST
path: "/data-library/saved-views"
tags: ["DataLibrary"]
---

# Save a view (MDF-38)

`POST /data-library/saved-views`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/data-library/saved-views`
- Auth: none declared

Body is { tab, name, body }. Name is trimmed, 1 to 80 characters, unique per user and tab. Body is at most 64 KB.

## Response `201`

The new view

## Other responses

- `409`: The caller already has a view with this name on this tab
- `422`: Invalid tab

---

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