Restore a guide version
Create a new active guide version from the definition of an earlier version. Drops any working copy.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: skill_id.
uuidResource identifier: version.
1 <= valueHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response 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/guides/123e4567-e89b-42d3-a456-426614174000/versions/1/restore" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{}'{ "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": [], "audience": "AGENT", "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": {}}