AgentConnect
Artifacts

Get an artifact revision

One ready revision’s manifest: its entry path and every file’s relative path, SHA-256, size and media type. The caller must be an organization member in the artifact’s audience. Not found for a revision that is pending, was never published, or has been removed.

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

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
revision*integer
Range0 < value <= 9007199254740991

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/revisions/1"
{  "number": -9007199254740991,  "entry": "string",  "entryMediaType": "string",  "fileCount": -9007199254740991,  "totalBytes": -9007199254740991,  "producedBy": {    "agentId": "string",    "name": "string"  },  "producedInSessionId": "string",  "createdAt": "string",  "artifactId": "string",  "latestRevision": -9007199254740991,  "manifest": {    "entry": "string",    "files": [      {        "path": "string",        "sha256": "string",        "bytes": -9007199254740991,        "mediaType": "string"      }    ]  }}