Edit an extracted document of a run

View as Markdown
Overwrites extracted field values on one document of a terminal extract run. Body: `{ fields: { <fieldKey>: <value> } }`. A field whose value changes LOSES its source citation (the evidence no longer backs a human-supplied value); untouched fields keep theirs. Requires `space:contribute` (denied → 403). 404 when the run's editable state has expired (results stay readable via `getRunResult`), 409 `rows_edit_bulk_only` for a table-rows run.

Authentication

AuthorizationBearer

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

Path parameters

spaceIdstringRequired
runIdstringRequired
docIdstringRequired

Request

This endpoint expects an object.
fieldsmap from strings to anyRequired

Field key → new value. A field whose value changes loses its source citation; untouched fields keep theirs.

Response

The edited document.
savedboolean
syncedboolean
False when the edit persisted but the durable result could not be refreshed.
changedboolean
False when nothing in the patch differed.
datamap from strings to any
evidencemap from strings to lists of maps from strings to any

Errors

404
Not Found Error
409
Conflict Error