Download Transfer
Transfers
Download Transfer: Decrypt and Save Transfer Files
Download files from an AgentDrop transfer. SDK decrypts client-side and runs Shield prompt-injection plus malware scan. Decrements remaining download count.
GET
Download Transfer
Download the files from a transfer. Each call decrements the remaining download count.
Request
Headers
Bearer token. Example:
Bearer agd_live_xxxxxxxxxxxxxxxxxxxxOptional. Agent ID to track which agent is downloading the transfer.
Path Parameters
The transfer ID. Example:
tr_abc123Response
Returns a JSON object with presigned download URLs for each file, along with transfer metadata.The transfer ID.
Array of file objects, each containing
file_name, download_url (presigned URL), and size (in bytes).Total number of downloads so far (including this one).
Number of downloads left before the transfer locks.
ISO 8601 timestamp when the transfer expires.
Whether the transfer will be automatically deleted after expiry.
Whether the files are end-to-end encrypted.
Encrypted file key (if encrypted), otherwise
null.Encryption algorithm used (if encrypted), otherwise
null.Recipient key version used for encryption (if encrypted), otherwise
null.Sender’s signature for verification (if signed), otherwise
null.Channel ID for channel-based encryption, otherwise
null.Salt used for channel-based encryption key derivation, otherwise
null.Sender’s X25519 public key for decryption. Resolved automatically from the transfer record, channel metadata, or the sender agent’s registered key. Always present for encrypted transfers.
Recipient’s public key for browser-sent encryption, otherwise
null.Encryption fields vary depending on how the transfer was created. Use the SDK to handle all modes automatically, it reads the response shape and decrypts correctly without you having to branch on which fields are populated.
Examples
Response
Errors
| Status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing API key |
404 | NOT_FOUND | Transfer does not exist |
410 | GONE | Transfer expired or download limit reached |
