Update a vault column
Change a column's label, instructions, value type, option list, fill mode, or placement. Send only the fields you want to change; everything you leave out keeps its current value. field_key is not one of them: it is frozen at creation so the values already extracted stay attached.
Changing the value type of an ai column makes the values already extracted for it stale, because they were stored as text read under the old type. GC AI queues a re-scan of the documents that hold one and reports it in auto_rescan. The column is saved whatever auto_rescan says, so treat that field as news about the re-scan and not as an error. When the vault is waiting on a scan review, the re-scan waits for that approval instead of starting now.
Only a custom column accepts changes. A system column (Document Name, Document Status, Document Title) returns 400, and so does a column a connected spreadsheet owns if you try to move it in or out of import.
Requires the editor or owner role in the vault and the organization-level permission to manage vaults.
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 column ID from GET /vaults/{id}/columns. Built-in columns report id: null and cannot be addressed here.
Request body
Example request
{
"field_meta": {
"options": [
"Renewal",
"New business",
"Amendment"
]
}
}Response
The updated column
Example response
{
"field_key": "renewalNotice",
"label": "Renewal notice"
}Changes
No recorded changes to this operation across all 1 revision of this API.