Skip to main content
POST
Download skill package

Restrictions

Usage

  • The success body is the zip file itself, not a JSON envelope (Content-Type: application/zip); errors still use the standard JSON envelope.
  • The archive holds one directory named after the skill, with SKILL.md and the skill’s other files inside it; Content-Disposition uses the same name, for example k8s-triage.zip.
  • Account-scoped skills and skills of the caller’s own teams can be downloaded; a skill of another team, or an unknown or deleted skill_id, returns ResourceNotFound.
  • Every call is recorded in the account audit log.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Skill lookup by ID.

skill_id
string
required

Target skill ID, from the list returned by POST /safari/skill/list.

Response

Zip archive of the skill. Content-Disposition is attachment with the file name <skill name>.zip.

The response is of type file.