Read sharing settings for an original Library file [read]

Changed on

Read-only: an unshared file returns id=null and revision=0. Membership and original source access are checked. All file kinds use the same link settings; bytes are never copied into a new artifact. Fixed-workspace credentials receive only their selected audience link, without cross-workspace artifact sharing metadata.

get/library/links

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/library/links
  • Auth
    HTTP bearer

Query parameters

refstring required

JSON LibraryFileRef.

workspacestring

The team audience for this link; omit for private/public-only sharing. The original file stays in place. A workspace-scoped key cannot select another audience.

Response

Current settings and real workspace members

Changes