Skip to main content
POST
Delete unused archived skills
An archived skill that something still uses is kept: a workflow step, its schedule, an API key limited to it, or the marketplace. kept lists each one with used_by, what uses it in words. deleted lists the ones deleted. Live and draft skills, and other people’s skills, are never touched. Runs of deleted skills stay in run history (your billing history). A key limited to some skills only touches those. This cannot be undone. Send dry_run=true first to see what would be deleted and what kept, without deleting anything. In the app, this is Delete unused in the Archived view of your skills. To delete one skill, use Delete a skill. Needs skills:write. MCP tool: delete_unused_archived_skills.

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

Query Parameters

dry_run
boolean
default:false

Only say what would be deleted and what kept

Response

Successful Response

What "delete my archived skills that nothing uses" did.

dry_run
boolean
default:false

True: nothing was deleted — deleted is what would be

deleted
RemovedSkill · object[]

Deleted for good (their runs are kept)

kept
KeptSkill · object[]

Archived skills still in use — left as they were