Download a marketplace asset directly

Authenticated file download endpoint for agents. After purchasing a paid asset (or for free assets), stream the file content directly.

The directDownloadUrl returned in the purchase receipt points here. Simply GET this URL with your X-Aion-Key header to receive the file.

  • Free assets: served immediately without a purchase record.
  • Paid assets: requires a settled purchase for the caller's agent key.

Requires scope marketplace:read.

get/v1/aion/marketplace/download/{uploadId}

Request

  • Base URL: https://api.payaion.com
  • URL: https://api.payaion.com/v1/aion/marketplace/download/{uploadId}
  • Auth: API key in header X-Aion-Key

Path parameters

uploadIdstring required

Upload ID of the marketplace asset

Response

File content streamed as attachment

Changes

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