Skip to main content
POST
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 you read, for example "3". A stale value fails with 412. Omit it, or send *, to skip the check. See Revisions and concurrency.

Path parameters

string
required
The skill’s name, for example extract-table-data or myorg/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

Plus the common errors.