Skip to main content
POST
Upload skill

Restrictions

Usage

  • Request is multipart/form-data with a file part (the zip) and an optional team_id field, not JSON.
  • Duplicate skill names return InvalidParameter.
  • Every call is recorded in the account’s audit log.

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call.

Body

multipart/form-data
file
file
required

Skill zip package to upload.

team_id
integer<int64>

Owning team for the new skill; 0 for account scope.

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

An AI SRE skill — a packaged capability the agent can load at runtime.