---
title: "Read uploaded-media retention policy"
method: GET
path: "/v1/media/policy"
tags: ["Media"]
---

# Read uploaded-media retention policy

`GET /v1/media/policy`

## Request

- Base URL: `https://api.postlake.dev`
- URL: `https://api.postlake.dev/v1/media/policy`
- Auth: `bearerAuth` (a scheme the document does not define)

Applies to PostLake uploads on every plan while the account remains open, not external URLs. Minimum dates are not expiry dates. Source URLs are public; cancelling a post does not delete media. This is publishing storage, not a backup service. See https://postlake.dev/terms#media-retention.

## Response `200`

Versioned minimum retention, scheduled protection and exceptions

- object
  - `version` string, required
  - `minimumDays` integer, required
  - `scheduledProtection` string, required
  - `automaticExpiry` boolean, required
  - `exceptions` string[], required
  - `scope` string
  - `accountRequirement` string
  - `publicUrls` boolean
  - `postRemovalDeletesMedia` boolean
  - `backupService` boolean

---

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