---
title: "Archive Items"
method: POST
path: "/api/items/archive"
tags: ["Items"]
---

# Archive Items

`POST /api/items/archive`

## Request

- Base URL: `https://keep.md`
- URL: `https://keep.md/api/items/archive`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `keep.session_token`

Archive Items.

## Headers

- `Keep-API-Version` string

## Request body

- IdsRequest
  - `ids` string[], required

## Response `200`

Archive Items result

- object
  - `requested` integer, required
  - `archived` integer, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: The credential lacks access or the plan does not include the feature
- `413`: Request or plan limit reached

---

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