Dokumentation
ReferenzSkills

Export a skill library as a ZIP.

GET
/skill-libraries/{libraryId}/export

Returns a presigned download URL for the library as a ZIP in the Agent Skills format: the files of the library level at the root, one folder per skill with its SKILL.md and its files. The archive can be imported again unchanged, here or in any environment that follows the standard.

The bytes do not travel through this API, because a library may hold up to 25 MB and the API answers with at most 10 MB. Files a malware scan flagged are left out. Libraries of the levels system and integration cannot be exported.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Path Parameters

libraryId*string

ID of the skill library.

Formatuuid

Response Body

The presigned download.

application/json
  1. response

A presigned download of a skill library as a ZIP.

downloadUrl*string

Presigned upload URL; fetch the archive with a single HTTP GET.

expiresIn*integer

Seconds until the URL expires.

filename*string
curl -X GET "https://example.com/skill-libraries/497f6eca-6276-4993-bfeb-53cbbbba6f08/export"
{  "downloadUrl": "https://download.example.com/exports/3adb7c10.zip?expires=900&signature=...",  "expiresIn": 900,  "filename": "vertriebsregeln.zip"}