---
title: "Mcp List Trashed Keys"
method: GET
path: "/v1/mcp/projects/{project_id}/keys/trashed"
tags: ["mcp"]
---

# Mcp List Trashed Keys

`GET /v1/mcp/projects/{project_id}/keys/trashed`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/keys/trashed`
- Auth: none declared

List keys currently in the recycle bin (newest first), so an agent can
pick uuids to restore.

## Path parameters

- `project_id` string, required

## Query parameters

- `cursor` string, nullable
- `limit` integer

## Response `200`

Successful Response

- ListTrashedKeysOut
  - `items` TrashedKeyItem[], required
    - `key_uuid` string, required
    - `namespace` string, nullable
    - `name` string, required
    - `deleted_at` string, date-time, required
  - `cursor_next` string, nullable

## Other responses

- `422`: Validation Error

---

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