Dokumentation
ReferenzSkills

Read a skill library.

GET
/skill-libraries/{libraryId}

One library with the names and descriptions of its skills and the paths of its files. The instruction texts are not part of this answer; the export delivers them as a ZIP. Libraries of the levels system and integration list no skills: their content is part of the platform, not of the tenant's maintenance.

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 skill library.

application/json
  1. response

One skill library with the names and descriptions of its skills and the paths of its files. Instruction texts are delivered by the export only.

id*string
Formatuuid
name*string

Display name of the library.

level*string

The level the library and all its skills belong to: system ships with the platform, integration comes with an integration the tenant uses, organization is prescribed by the tenant, shared is offered by a colleague, agent belongs to an assistant, user is the calling user's own.

Value in"system""integration""organization""shared""agent""user"
activated*boolean

Whether the library applies in the chats of the calling user right now. Switchable for shared and user; true and read-only on every other level.

numberOfSkills*integer
numberOfFiles*integer

Files of the library itself and of all its skills.

sizeInBytes*integer

Size of the library with all its skills and their files.

userPermissions*array<>

What the calling user may do with this library: skill.view read its skills and files, skill.edit change its skills and rename it (through a new import, in this API), skill.delete delete it, skill.manage share it with groups, skill.code_manage bring scripts under scripts/. The platform's libraries show their content to administrators only, so a row can come without skill.view.

lastModifiedAt?string
Formatdate-time
skills*array<>

The skills of this library; empty for the levels system and integration.

files*array<>

The files of the library level, reachable from every skill with ../.

createdAt*string
Formatdate-time
createdBy?
curl -X GET "https://example.com/skill-libraries/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "Vertriebsregeln",  "level": "system",  "activated": true,  "numberOfSkills": 0,  "numberOfFiles": 0,  "sizeInBytes": 0,  "userPermissions": [    "skill.view"  ],  "lastModifiedAt": "2019-08-24T14:15:22Z",  "skills": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "angebot-standard",      "description": "string",      "lastModifiedAt": "2019-08-24T14:15:22Z"    }  ],  "files": [    {      "path": "references/preisliste-2026.md",      "sizeInBytes": 0,      "contentType": "string"    }  ],  "createdAt": "2019-08-24T14:15:22Z",  "createdBy": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string"  }}