Deprecated: use GET /plugins/skill:{skillId}/revisions/{revisionId}/content. Read a UTF-8 skill file [read]

Changed on

Deprecated: use GET /plugins/skill:{skillId}/revisions/{revisionId}/content. Still served exactly as before; every answer carries a Deprecation header. Reads only a file in the authorized immutable revision. Default JSON text mode returns 415 for binary files. raw=1 returns the original bytes as an attachment, including binaries. Absent files return 404. Responses are not cached.

get/skills/{skillId}/revisions/{revisionId}/content

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/skills/{skillId}/revisions/{revisionId}/content
  • Auth
    HTTP bearer

Path parameters

skillIdstring required

The skill id (skill_…)

revisionIdstring required

The skill revision id (skr_…)

Query parameters

pathstring required

Exact relative file path, such as SKILL.md

raw'1'

Return original file bytes as an attachment instead of the default JSON text response.

Response

OK

pathstring required
contentstring required

Changes