Update a skill
⚠️
Preview — this feature is being built; the design below is the spec.
PATCH https://app.syntic.ai/v1/skills/{skill_id}Change a skill’s display title or which version latest points at. Pinning latest to an older version is how you roll back without deleting the newer one; agents and requests that reference latest pick it up on their next turn.
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. |
Content-Type | Yes | application/json |
Path parameters
| Parameter | Type | Description |
|---|---|---|
skill_id | string | The skill id, starting with skill_. |
Body parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
display_title | string | No | Up to 120 characters. |
latest_version | string | No | An existing version number to serve as latest. null restores the default (the highest version). |
Response
200 OK, Content-Type: application/json
{
"id": "skill_01JBXM4",
"type": "skill",
"display_title": "Invoice reconciler",
"latest_version": "3",
"pinned": true,
"source": "custom",
"created_at": 1790000000,
"updated_at": 1792600000
}| Field | Type | Description |
|---|---|---|
latest_version | string | The version latest resolves to now. |
pinned | boolean | true when latest was set by hand rather than following the newest version. |
Examples
curl -sS -X PATCH "https://app.syntic.ai/v1/skills/skill_01JBXM4" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01" \
-H "Content-Type: application/json" \
-d '{
"latest_version": "3"
}'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. |
| 400 | invalid_request_error | version_not_found | latest_version names a version that does not exist. |
| 403 | permission_error | builtin_skill | Syntic-provided skills cannot be changed. |
| 404 | not_found_error | skill_not_found | No skill with this id in the key’s workspace. |
| 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?