Request a file upload
Request with name, content_type and exact byte size, e.g. {"name":"photo.png","content_type":"image/png","size":12345}. Any type of file, up to 20 MiB each. PUT raw bytes (not JSON or base64) to the returned url with every returned header within 15 minutes; browsers set content-length from the body. Uploads are write-once; repeating the PUT returns 412. Pass the returned id in input_files when creating a run. Files in the landing zone expire after 24 hours and are deleted asynchronously. Files attached to a run are retained permanently and their references can be reused by your organization.
Authorizations
An API key of your organization, starting with trk_, sent as Authorization: Bearer <key>.
Body
Filename, without directories; up to 128 ASCII letters, digits, spaces, dots, hyphens or underscores, starting with a letter or digit.
MIME type, without parameters; application/octet-stream when unknown.
Exact size in bytes, from 1 to 20 MiB.
1 <= x <= 20971520