Computers

Create a computer file upload

Starts a file upload to a computer. Returns a time-limited upload URL and form fields; upload the file there, then call complete-upload to place it in the computer's workspace.

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

Request

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

Path parameters

computerIdstring required

Computer ID

fileNamestring required

Workspace file name

Request body

sizeBytesinteger required
contentTypestring required

Response

Response for status 200

transferIdstring uuid required
expiresAtnumber required
uploadUrlstring required
uploadFormFieldsobject required

Changes

No recorded changes to this operation across all 44 revisions of this API.