AgentConnect
Artifacts

List an artifact’s shares

The artifact’s active share links, newest first, each with its revision, audience, the tail of its token and who created it; never the token itself. Open to whoever can view the artifact, and to its owner and organization owners, who can revoke a share without viewing the artifact. Anyone else gets 404.

GET
/v1/orgs/{orgId}/artifacts/{artifactId}/shares

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
artifactId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/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"    }  ]}