Skills

Diff two skill versions

Returns a unified diff of the instructions between two versions (from → to). Public for visible skills; PRIVATE/ORG skills require an authorized viewer. Public diffs are cached for one hour.

get/api/v1/skills/{slug}/versions/{from}/diff/{to}

Request

  • Base URL: https://api.skills-hub.ai
  • URL: https://api.skills-hub.ai/api/v1/skills/{slug}/versions/{from}/diff/{to}
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

slugstring required
fromstring required
tostring required

Response

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

fromVersionstring required
toVersionstring required
diffstring required

Unified diff of the instructions.

instructionsDiffstring
changelogstring nullable
hashChangedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.