Skip to main content
PUT
Pin a version
Body {"version": 3} pins version 3. {"version": null} unpins. What pinning does is in Versions. To run another version for one call only, pass version when you run the skill instead. Owner or workspace editor. Needs skills:write. MCP tool: pin_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

Body

application/json
version
integer | null

Version to pin; null unpins.

Required range: x >= 1

Response

The pin state.

skill_slug
string
required
pinned_recipe_version
integer | null
recipe_version
integer | null