---
title: "POST /archive/configure"
method: POST
path: "/archive/configure"
---

# POST /archive/configure

`POST /archive/configure`

POST /archive/configure — update retention or disable.

## Request body

- ArchiveConfigureRequest
  - `enabled` boolean, nullable, required
  - `retention_days` integer, nullable, required

## Response `200`

OK

- object

## Changes

- **2026-04-08** `1a63468a8d30` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/screenpipe/apis/screenpipe-api/changes/archive/configure/post.md)

---

[API](https://skmtc.dev/screenpipe/apis/screenpipe-api.md) · [All operations](https://skmtc.dev/screenpipe/apis/screenpipe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/screenpipe/screenpipe-api/revisions/1a63468a8d30/schema)
