---
title: "Reinstate a discarded agent version"
method: POST
path: "/v1/admin/agent-versions/{agent_version_id}/reinstate"
tags: ["admin"]
---

# Reinstate a discarded agent version

`POST /v1/admin/agent-versions/{agent_version_id}/reinstate`

Reinstate a previously discarded agent version.

Also reopens the work item so validators can claim work again.

## Path parameters

- `agent_version_id` string, uuid, required — Agent version ID

## Request body

- ReinstateRequest
  - `suite_id` integer, nullable — Specific suite to reinstate for
  - `reason` string, nullable — Optional reason captured in the audit trail

## Response `200`

Successful Response

- DiscardResponse
  - `agent_version_id` string, uuid, required — Discarded agent version ID
  - `suite_id` integer, required — Suite the version was discarded from
  - `is_discarded` boolean, required — Current discard status

## Other responses

- `404` — Agent version not found
- `422` — Validation Error
- `503` — No active suite

---

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