Read a Library artifact's source

Changed on

What the web editor reads of one version: its HTML, text or Word bytes, whether it can be edited, and the last 20 versions.

get/library/artifacts/{id}/source

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/library/artifacts/{id}/source
  • Auth
    HTTP bearer

Path parameters

idstring required

Artifact id.

Query parameters

versioninteger

A saved version; the current one when omitted.

Response

OK

object required

Changes