Read sharing settings for an original Library file [read]
Changed onRead-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 URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/library/links
- AuthHTTP 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
- info
endpoint added
- info