---
title: "Restore a sample from Trash"
method: POST
path: "/samples/{id}/restore"
tags: ["Samples"]
---

# Restore a sample from Trash

`POST /samples/{id}/restore`

Available within the 7-day Trash window. Brings the sample back to the active list and extends its expiration so it isn't immediately re-trashed. Same permission gate as the expiration endpoints.

## Path parameters

- `id` string, uuid, required

## Response `200`

Restored sample

- object
  - `id` string, uuid, required
  - `archivedAt` unknown
  - `expiresAt` string, date-time, nullable

## Other responses

- `401` — Missing or invalid API key
- `403` — Not allowed for this sample
- `404` — Sample not found in this org
- `412` — Sample is not archived

---

[API](https://skmtc.dev/strandai/apis/strand-ai-platform-api.md) · [All operations](https://skmtc.dev/strandai/apis/strand-ai-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/strandai/strand-ai-platform-api/revisions/811cda19da65/schema)
