Skip to main content
POST
Restore a version
Nothing is lost: the restore is itself a new version. Owner or workspace editor. Needs skills:write. MCP tool: restore_skill_version, with skill and version.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

slug
string
required
n
integer
required

Query Parameters

force
boolean
default:false

Response

Restored.

skill_slug
string
required
restored_from
integer
required
changed
boolean
required
recipe_version
integer | null