AgentConnect
Artifacts

List a session’s artifacts

The artifacts with at least one ready revision published in this session, most recently updated first, each with getArtifact’s fields and its latest ready revision, which may have been published elsewhere. The caller must be able to view the session, else it is not found, and only artifacts whose audience includes the caller are listed, so a page can hold fewer than limit. Pass a page’s nextCursor back as cursor for older artifacts.

GET
/v1/orgs/{orgId}/sessions/{sessionId}/artifacts

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
sessionId*string
Length1 <= length <= 256

Query Parameters

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/sessions/string/artifacts"
{  "artifacts": [    {      "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",      "latest": {        "number": -9007199254740991,        "entry": "string",        "entryMediaType": "string",        "fileCount": -9007199254740991,        "totalBytes": -9007199254740991,        "producedBy": {          "agentId": "string",          "name": "string"        },        "producedInSessionId": "string",        "createdAt": "string"      }    }  ],  "nextCursor": "string"}