Skills
Restore a skill version
Create a new active version from the definition of an earlier version. Drops any working copy.
Authorization
bearerApiKey AuthorizationBearer <token>
Create a scoped API key in the Adlass settings.
In: header
Path Parameters
skill_id*string
Resource identifier: skill_id.
Format
uuidversion*integer
Resource identifier: version.
Range
1 <= valueHeader Parameters
X-Request-Id?string
Optional correlation identifier.
Length
length <= 128Idempotency-Key*string
A unique key for this intended write. Reuse it only for an identical retry.
Length
1 <= length <= 200Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/skills/123e4567-e89b-42d3-a456-426614174000/versions/1/restore" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000"{ "id": "123e4567-e89b-42d3-a456-426614174000", "slug": "customer-documents", "kind": "PLATFORM", "name": "Customer documents", "summary": "Extracts totals and due dates from supplier invoices.", "status": "ACTIVE", "visibility": "PRIVATE", "categories": [], "tags": [], "is_template": false, "current_version": 0, "has_draft": false, "draft_revision": 0, "draft_updated_at": "2026-09-04T12:00:00Z", "created_by_id": "123e4567-e89b-42d3-a456-426614174000", "created_by": { "id": "123e4567-e89b-42d3-a456-426614174000", "email": "ada@example.com", "name": "Customer documents", "image_url": "example" }, "access_mode": "example", "share_count": 0, "access": { "share_role": "example", "is_creator": false, "access_mode": "example", "can_view": false, "can_run": false, "can_edit": false, "can_share": false, "can_archive": false }, "updated_at": "2026-09-04T12:00:00Z", "version": { "id": "123e4567-e89b-42d3-a456-426614174000", "version": 0, "definition": {}, "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b", "change_note": "Initial version", "created_at": "2026-09-04T12:00:00Z" }, "draft": {}}