Change the default upload extraction settings.
PATCH/api/v1/company/settings/default-upload-extractionsettings:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
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.
| スコープ | settings:write (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | update_company_settings_default_upload_extraction |
| Portal の権限 | edit_default_extraction_config |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | DefaultUploadExtractionPatchInput |
application/merge-patch+json | DefaultUploadExtractionPatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json DefaultUploadExtraction または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
DefaultUploadExtraction
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
enable_image_embeddings | boolean または null | 必須 | |
enable_ocr_dispatch | boolean | 必須 | |
enabled_standard_fields | string の配列 | 必須 | |
field_prompts | object | 必須 | Each standard field's prompt text. |
graph | object または null | 必須 | 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. |
DefaultUploadExtractionPatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
enable_image_embeddings | boolean または null | 任意 | |
enable_ocr_dispatch | boolean または null | 任意 | |
enabled_standard_fields | string の配列 または null | 任意 | |
field_prompts | object または null | 任意 | |
graph | object または null | 任意 |