Skip to main content
POST
Edit Document

Authorizations

Authorization
string
header
required

API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.

Body

application/json
document_url
string
required

URL or aifano:// reference to the document to edit.

edit_instructions
string
required

Natural language instructions for editing the document.

Response

Successful edit

job_id
string
duration
number
usage
object
result
object