Skip to main content

Change the document text extraction caps.

PATCH/api/v1/company/settings/document-text-capssettings:write

Changes the families the body names. pdf, spreadsheet and document take 100,000 to 50,000,000, model_export 65,536 to 1,000,000; a value outside its bounds is 422 out_of_range, never clamped. Text already extracted keeps its length; the cap applies to the next extraction. Needs Edit Document Text Caps.

Scopesettings:write (sensitive)
AsynchronousNo
MCP toolupdate_company_settings_document_text_caps
Portal permissionsedit_document_text_caps

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonDocumentTextCapsPatchInput
application/merge-patch+jsonDocumentTextCapsPatchInput

Responses​

StatusDescriptionBody
200Success.application/json DocumentTextCaps or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

DocumentTextCaps​

FieldTypeRequiredDescription
documentintegerRequiredEvery other document; 100,000 to 50,000,000. ≥ -2147483648; ≤ 2147483647
model_exportintegerRequired3D models, point clouds, BIM and GIS exports; 65,536 to 1,000,000. ≥ -2147483648; ≤ 2147483647
pdfintegerRequired100,000 to 50,000,000. ≥ -2147483648; ≤ 2147483647
spreadsheetintegerRequiredSpreadsheets and delimited data files; 100,000 to 50,000,000. ≥ -2147483648; ≤ 2147483647

DocumentTextCapsPatchInput​

FieldTypeRequiredDescription
documentinteger or nullOptional
model_exportinteger or nullOptional
pdfinteger or nullOptional
spreadsheetinteger or nullOptional