AgentConnect
Artifacts

List the organization’s public shares

For organization owners, who moderate public links: every active public share in the organization, newest first, with its revision, creator and creation time and its artifact’s id, title and owner, including artifacts the caller cannot view. It never carries a manifest, a file or a token; artifact.viewerCanView says whether the caller may open the artifact. Revoke one through revokeArtifactShare, which an organization owner may do without viewing the artifact. 403 ARTIFACT_MODERATION_FORBIDDEN for anyone who is not an organization owner. Pass a page’s nextCursor back as cursor for older shares.

GET
/v1/orgs/{orgId}/artifact-shares

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Query Parameters

audience?"public"
Default"public"

Value in

  • "public"
limit?integer
Range1 <= value <= 50
Default25
cursor?string
Length1 <= length <= 200

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/artifact-shares"
{  "shares": [    {      "id": "string",      "artifactId": "string",      "revision": -9007199254740991,      "audience": "public",      "displayTail": "string",      "createdBy": {        "userId": "string",        "displayName": "string",        "email": "string",        "platform": "string"      },      "createdAt": "string",      "updatedAt": "string",      "revokedAt": "string",      "artifact": {        "id": "string",        "title": "string",        "owner": {          "userId": "string",          "displayName": "string",          "email": "string",          "platform": "string"        },        "viewerCanView": true      }    }  ],  "nextCursor": "string"}