AgentConnect
Artifacts

Get a signed download for a shared artifact file

A short-lived signed URL for one file of the shared revision, named by its manifest path, served by the object store as an application/octet-stream attachment exactly as getArtifactFileUrl. Admission and status codes are those of readSharedArtifact; 404 ARTIFACT_SHARE_NOT_FOUND also when the path is not in the manifest.

POST
/v1/artifact-shares/file

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/artifact-shares/file" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "path": "string"  }'
{  "path": "string",  "sha256": "string",  "bytes": -9007199254740991,  "mediaType": "string",  "url": "string",  "expiresAt": "string"}