AgentConnect
Artifacts

Get an artifact

An artifact’s title, owner, audience and ready revisions, newest first, each with its entry file, size and the agent that produced it. The caller must be an organization member in the artifact’s audience; anything else, including an artifact whose first revision is not ready yet, is not found. Every artifact route answers 409 ARTIFACTS_NOT_ENABLED on a deployment without a transfer bucket and a content domain.

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

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"
{  "id": "string",  "title": "string",  "audience": {    "visibility": "private",    "externalProvider": "string",    "editorsAgentId": "string"  },  "owner": {    "userId": "string",    "displayName": "string",    "email": "string",    "platform": "string"  },  "viewerIsOwner": true,  "originSessionId": "string",  "latestRevision": -9007199254740991,  "createdAt": "string",  "updatedAt": "string",  "revisions": [    {      "number": -9007199254740991,      "entry": "string",      "entryMediaType": "string",      "fileCount": -9007199254740991,      "totalBytes": -9007199254740991,      "producedBy": {        "agentId": "string",        "name": "string"      },      "producedInSessionId": "string",      "createdAt": "string"    }  ]}