POST
/
beta
/
edit
import requests

url = "https://platform.reducto.ai/beta/edit"

payload = {
    "document_url": "<string>",
    "edit_instructions": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)
{
  "document_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
document_url
required

The URL of the document to be processed.

edit_instructions
string
required

The instructions for the edit.

Response

200
application/json
Successful Response
document_url
string
required

Presigned URL to download the edited document.