Uploads

Presign a file upload

Presign a .csv, .txt, .md or .markdown upload. PUT the bytes to upload_url with no auth headers, then POST /validate-upload.

post/upload-url

Request

  • Base URL
    https://api.autumn.ai
  • URL
    https://api.autumn.ai/upload-url
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key
    • or HTTP bearer

Request body

task_idstring required

The task the file belongs to.

filenamestring required

A .csv, .txt, .md or .markdown file name.

Example request

{
  "filename": "accounts.csv"
}

Response

Presigned upload target.

upload_urlstring required

PUT the file bytes here with no Autumn auth headers.

keystring required
filenamestring required

Changes

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