Publish a skill version from a document
Mints a new immutable version from a SKILL.md document and returns it, because an author who just published needs the version id to pin an agent to it. Sessions already running keep the version they froze. baseSkillVersionId must be the skill’s current latestSkillVersionId or the request is rejected with 409 revision_conflict, so the caller can re-read and retry rather than silently racing another writer. Every field is full content, there is no partial-update or omit-to-inherit semantics, so an omitted displayTitle or metadata is cleared rather than kept. Filing is not published here — a skill keeps the group it is in, and skillGroupId is rejected rather than ignored; move a skill between groups with managedAgentsUpdateSkillV2, which refiles without minting a version. Do not automatically retry an ambiguous transport failure: re-read the skill’s latest version first, because this operation does not replay a prior response.
Authorizations
Headers
Optional replay-protection key scoped to the verified tenant, principal, operation and decoded resource path. Equivalent JSON formatting and field order use the same fingerprint. Matching retries replay the original 201 result and Location; conflicting reuse returns 409 idempotency_conflict and an active request returns 409 idempotency_in_progress. Completed receipts last approximately 24 hours and pending claims may be reclaimed after approximately 1 hour. No deduplication is guaranteed after expiry.
1 - 256^[!-~]+$Path Parameters
Body
Response
Created