Skills

Update skill by uploading a new revision

Changed on

Creates the skill's next revision from either a replacement archive or replacement SKILL.md content (which keeps every other file from the current revision). The SKILL.md frontmatter name must match the skill's existing name.

post/orgs/{orgID}/skills/{skillID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

skillID, string required

Skill ID (skl_...).

Request body multipart/form-data

union required
object required
OR
object required

Response

Skill updated with a new revision.

Skill required
id, string required
org_id, string required
owner, union required
name, string required

Machine-readable skill identifier consisting of lowercase ASCII segments separated by single hyphens.

revision_id, string required
revision, integer required

Latest revision number of the skill.

description, string required
skill_md, string
files, SkillFile[]

Files in the skill archive, including SKILL.md, with paths relative to the skill's top-level directory. Returned when fetching a single skill; omitted from list responses.

created_at, string date-time required
updated_at, string date-time required

Changes

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    15 more changes in this revision