---
title: "Rollback Segment Asset Endpoint"
method: POST
path: "/segments/{segment_id}/assets/{asset_id}/rollback"
tags: ["segments"]
---

# Rollback Segment Asset Endpoint

`POST /segments/{segment_id}/assets/{asset_id}/rollback`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/segments/{segment_id}/assets/{asset_id}/rollback`
- Auth: HTTP bearer

Restore an archived render from the asset's config.history.

`index` picks the entry (0 = most recent). The current render is archived
in its place, so a rollback is itself reversible. Dependents restale
(rolling a frame back marks its clip out of date).

## Path parameters

- `segment_id` string, required
- `asset_id` string, required

## Request body

- RollbackAssetRequest
  - `index` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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