Download an artifact

Retrieve a temporary 15-minute presigned S3 URL for a specific artifact from an agent created within the last 6 months. The response includes both the URL and its expiration time.

get/v0/agents/{id}/artifacts/download

Request

  • Base URL
    https://api.cursor.com
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:bc-00000000-0000-0000-0000-000000000001

Unique identifier for the cloud agent

Query parameters

pathstring required
Example:/opt/cursor/artifacts/screenshot.png

Absolute artifact path from the list artifacts response

Response

Artifact URL retrieved successfully

urlstring uri required

Temporary 15-minute presigned S3 URL for downloading the artifact

expiresAtstring date-time required

When the presigned download URL expires

Example response

{
  "url": "https://cloud-agent-artifacts.s3.us-east-1.amazonaws.com/...",
  "expiresAt": "2026-03-04T22:30:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.