Request parameters
query
retentionobjectOptionalChoose temporary for expiring storage or saved to keep the file in Files.
Example
"saved"Default: "temporary"
Allowed values: saved temporary
Request body
Send a multipart form containing one file. Your HTTP client sets the multipart boundary.
filebinaryRequiredThe file to upload from your computer or server.
Example
"@./receipt.pdf"Returns
Returns HTTP 201.
idstringnamestringmime_typestringsizeintegerMinimum: 0
storagestringurlstringnullaccessstringexpires_atstringnullurl_expires_atstringnullcategorystringsourcestringcreated_atstringsource_run_idstringnullsource_namestringsavedbooleanretainedbooleanexpiredboolean