Computers

Create a computer file download

Changed on

Creates a download for a file in the computer's workspace and returns a time-limited download URL.

post/api/v0/computers/{computerId}/files/{fileName}/create-download

Request

  • Base URL: https://api.factory.ai
  • URL: https://api.factory.ai/api/v0/computers/{computerId}/files/{fileName}/create-download
  • Auth: HTTP bearer

Path parameters

computerIdstring required

Computer ID

fileNamestring required

Workspace file name

Request body

sessionIdstring required
cwdstring
filePathstring
contentTypestring

Response

Response for status 200

transferIdstring uuid required
expiresAtnumber required
downloadUrlstring required
byteLengthinteger required

Changes