Python
import requests url = "https://platform.reducto.ai/upload" files = { "file.0": ("example-file", open("example-file", "rb")) } payload = { "file": "<string>" } headers = {"Authorization": "Bearer <token>"} response = requests.post(url, data=payload, files=files, headers=headers) print(response.text)
{ "file_id": "<string>", "presigned_url": "<string>" }
Documentation IndexFetch the complete documentation index at: https://docs.reducto.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Was this page helpful?
Contact support