Delete a skill version
⚠️
Preview — this feature is being built; the design below is the spec.
DELETE https://app.syntic.ai/v1/skills/{skill_id}/versions/{version}Delete one version. Agents pinned to that exact version fail their next turn with skill_version_not_found, so move them first. You cannot delete the only remaining version; delete the skill instead.
For how this fits into a full workflow, see Agent skills.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | agents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
skill_id | string | The skill id, starting with skill_. |
version | string | An exact version number. latest is not accepted here. |
Response
200 OK, Content-Type: application/json
{
"skill_id": "skill_01JBXM4",
"version": "2",
"deleted": true
}Examples
curl -sS -X DELETE "https://app.syntic.ai/v1/skills/skill_01JBXM4/versions/4" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 409 | conflict_error | last_version | This is the skill’s only version. |
| 409 | conflict_error | version_in_use | An agent definition pins this version. The error lists up to 10 agent ids in details. |
| 404 | not_found_error | skill_version_not_found | The skill or version does not exist. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?