Skip to navigation

Get a skill file

Returns the content of a file in a skill version, as UTF-8 text or base64. Returns the current version unless another is requested. Requires read access to the skill.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

skillIdstringRequired>=1 character

Skill id (UUID).

Query parameters

pathstringOptional

Path of the file as listed in the resources of getSkill, e.g. “references/guide.md”. Required; matched exactly.

versionintegerOptional>=1

Version the file belongs to; the current version when omitted.

includeDeletedenumOptionalDefaults to false

When “true”, a file of a deleted Skill is returned too, to callers who could read the Skill before it was deleted; others get 403. “false” is the same as omitting it.

Allowed values:

Response

The file, with its content and how the content is encoded.
messagestring
dataobject

Errors

500
Internal Server Error