Restore the extracted value of a cell
Take a hand edit off one cell and put the value the scan extracted back. This does not clear the cell: it restores the AI value, along with the source citations and reasoning the edit had been hiding.
A cell with no hand edit on it returns 404. So does a cell that was edited and already reverted, and a column that has no value on this document at all. The three are indistinguishable in the response, so treat the 404 as "there is nothing to put back" rather than as a missing document.
A manual column returns 400. Every value in a manual column was typed by a person, so there is no analyzed value to go back to.
A document that belongs to another vault returns 404, even when the caller can reach both vaults.
Requires the editor or owner role in the vault and the organization-level permission to manage vaults. An archived vault returns 409: restore it first. A document that was deleted, or auto-removed as a duplicate copy, also returns 409, and so does a document stored before GC AI split bundled uploads, which has no cells of its own to write.
Requires a user-scoped API key (u:gcai_...). A vault is shared with named people, so an organization-scoped key has no identity to resolve vault access with.
Request
- Base URLhttps://app.gc.ai/api/external/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The vault ID
The document_id of a row from GET /vaults/{id}/documents.
Column key, as the vault reports it for its columns. A key, not a label: governingLaw, not Governing law. Percent-encode it if it holds a character a URL path reserves.
Response
The restored cell
Example response
{
"cell": {
"value": "Delaware"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.