Change the default upload extraction settings.
Merges the fields the body names onto the stored setting; the others, the graph block included, keep their value. graph (format default_upload_graph) replaces the whole graph block after the Portal's own check, a refusal is 422 on /graph with its reason, and null removes the block. When the check cannot run the answer is unavailable or timeout and nothing changes. A change that starts or stops extraction also requires Enable Default Extraction or Disable Default Extraction, respectively.
| |
|---|
| Scope | settings:write (sensitive) |
| Asynchronous | No |
| MCP tool | update_company_settings_default_upload_extraction |
| Portal permissions | edit_default_extraction_config |
Parameters
| Name | In | Type | Required | Description |
|---|
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional | |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
| Field | Type | Required | Description |
|---|
enable_image_embeddings | boolean or null | Required | |
enable_ocr_dispatch | boolean | Required | |
enabled_standard_fields | array of string | Required | |
field_prompts | object | Required | Each standard field's prompt text. |
graph | object or null | Required | format default_upload_graph: the company's graph ontology settings for uploads (entity mentions, document references, register templates, per-field roles) as the Portal stores them; null when none. |
| Field | Type | Required | Description |
|---|
enable_image_embeddings | boolean or null | Optional | |
enable_ocr_dispatch | boolean or null | Optional | |
enabled_standard_fields | array of string or null | Optional | |
field_prompts | object or null | Optional | |
graph | object or null | Optional | |