artifacts

Turn the artifact's public link on or off [write]

Changed on

Private execution-generated notes do not support this public-sharing operation. For task artifacts, the link needs no credentials and always serves the current revision. Published pages are served sandboxed: their scripts cannot read the platform's cookies or call its API as the visitor. Turning sharing off makes the link stop working; turning it on again gives a new link.

post/artifacts/{id}/share

Request

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

Path parameters

idstring required

The artifact id

Request body

enabledboolean required

Response

OK

share_urlstring nullable required

Changes