Propose a redline on a draft document
Anchors a verbatim quote from the document text and proposes an insert/delete/replace. Auto-attaches {page, bbox} when the quote resolves against per-word geometry. Status stays pending until a human or agent accepts/rejects; the source document is never mutated — accepting materializes a derived counter-proposal draft.
/revisionsAuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
application/jsondocument_idstringrequiredkindstringrequiredinsertdeletereplaceanchor_quotestringrequiredVerbatim excerpt the edit attaches to
proposed_textstringReplacement (replace) or inserted text (insert)
rationalestringreview_cell_idstringPending revision created
idstringrequireddocument_idstringrequiredreview_cell_idstring | nullkindstringrequiredinsertdeletereplacestatusstringrequiredpendingacceptedrejectedanchor_quotestringrequiredanchor_pageinteger | nullanchor_bboxobject | nullShow propertiesHide properties
xnumberynumberwidthnumberheightnumberproposed_textstring | nullrationalestring | nullderived_document_idstring | nullcreated_bystringrequiredcreated_atstring<date-time>requiredresolved_atstring<date-time> | nullInvalid request parameters
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors
Missing or invalid API key
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors
Resource not found
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors