Skip to main content
POST

Behavior

History is never rewritten: the content of revision number becomes the skill’s next revision, with the message Restored from vN and restored_from set to N. Agents use it from their next session, except those pinned to another revision with name:N. Restoring content equal to the current one changes nothing. The restored content is checked like an update.

Headers

string
The ETag of the revision you based this rollback on, for example "2". If the skill has moved past it, the restore fails with 412. Omit it, or send *, to restore regardless.

Path parameters

string
required
The skill’s name, for example acme/excel or extract-table-data.
integer
required
The revision to restore, from List revisions.

Response

200 with the restored skill object, with its new revision in the ETag header.

Errors