List skill libraries.
List the skill libraries the calling user can see: the libraries of the platform and of the integrations the tenant uses, those the organization prescribes, those colleagues shared with the user, the user's own, and those of the assistants the user may use.
A library is the unit this API works with. Skills and files inside it are read here and
changed only by importing a new library (POST /skill-library-imports). Which libraries
apply in a chat is decided by activated: libraries of the levels shared and user are
switched by the user, every other level applies by itself.
The answer is a paginated envelope, the same as the user list: count says how many
libraries match, and next and previous lead through the pages.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
level?stringOnly libraries of this level.
"system""integration""organization""shared""agent""user"activated?booleanOnly libraries that currently apply (true) or do not apply (false) for the calling user.
limit?integerNumber of libraries per page.
1 <= value20offset?integerIndex of the first library of the page.
0 <= value0The visible skill libraries, one page of them.
application/json- response
count*integerTotal number of libraries matching the filter.
next?|URL of the next page, or null on the last one.
previous?|URL of the previous page, or null on the first one.
results*array<>curl -X GET "https://example.com/skill-libraries"{ "count": 0, "next": "string", "previous": "string", "results": [ { "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" } ]}