Skip to main content
POST
Create a Skill

Headers

kimi-api-version
enum<string>

API version for this request, in YYYY-MM-DD form. Send 2026-09-01-beta for the version documented here. Required outside /v1/files*: a missing header there is rejected with 400 invalid_request_error; on /v1/files* its absence selects the compatibility behavior. An unknown value is rejected with 400 invalid_request_error on every endpoint. API versions served by the platform. New dated versions are added as they ship; a version is removed after its announced Sunset date.

Available options:
2026-09-01-beta
X-Language
string

Optional BCP 47 language tag (such as en-US or zh-CN) for localized display names and descriptions. When omitted or unsupported, the API defaults to zh-CN and falls back to base text when that locale has no override.

Idempotency-Key
string

Optional idempotency key. Reusing the same key with the same request target, API version, and body replays the first response for 24 hours. Reusing it with a different target, API version, or body, or while the first request is still being processed, returns 409.

Body

multipart/form-data

Archive containing the Skill's SKILL.md and supporting files.

file
any
required

The skill package archive.

Response

The new Skill and its first immutable version.

Skill and first version returned after creation.

skill
object
required

Newly created skill.

Example:
version
object
required

First immutable version created from the submitted package.

Example: