Upload a skill
Changed onCreates a private skill and installs it for your account. Send JSON with the manifest's text as skill_md and any other files of the skill as resources; this is the shape scripts and the SDK send. A multipart upload also works: one file (a .zip bundle or a lone SKILL.md), or a folder as repeated files with paths in the same order to preserve subdirectories. The skill is stored exactly as sent. Private skills are visible to your account only; they never enter the public catalog.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
The full SKILL.md text, frontmatter included, exactly as the skill's author wrote it.
Other files of the skill as text, keyed by path relative to the skill's folder (e.g. references/checklist.md).
Response
The skill, installed for your account
private is a skill this account uploaded: only this account sees it, and it is not in the public catalog.
The version this account installed. Null unless installed.
True when the catalog version is newer than installed_version: POST /skills/{slug}/update installs it.
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
2 more changes in this revision
- warning