Patch Platform Defaults
PATCH
/v1/platform/defaults
const url = 'http://localhost:8080/v1/platform/defaults';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"review_agreement_floor":1,"review_confidence_floor":1,"review_warn_count_threshold":1,"rate_limit_per_minute":1,"pdf_max_pages":1,"pptx_notes_mode":"margin","characterisation_enabled":true,"generic_entities_enabled":true,"judge_mode_enabled":true,"table_aware_extraction_enabled":true,"draft_on_miss_enabled":true,"extraction_postprocessing_enabled":true,"extraction_evidence_planning_enabled":true,"extraction_chunk_merge_strategy":"field_aware","tax_id_country_prefix_mode":"infer","forge_monthly_token_quota":1,"forge_monthly_dollar_quota":1,"forge_per_job_max_iterations":1,"forge_per_job_max_dollars":1,"forge_per_job_max_wall_seconds":1,"ocr_selection_mode":"paddle_priority","ocr_priority_margin":1,"layout_policy":{},"glm_risk_policy":{},"prompt_budget_policy":{},"language_policy":{},"preprocessing_policy":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8080/v1/platform/defaults \ --header 'Content-Type: application/json' \ --data '{ "review_agreement_floor": 1, "review_confidence_floor": 1, "review_warn_count_threshold": 1, "rate_limit_per_minute": 1, "pdf_max_pages": 1, "pptx_notes_mode": "margin", "characterisation_enabled": true, "generic_entities_enabled": true, "judge_mode_enabled": true, "table_aware_extraction_enabled": true, "draft_on_miss_enabled": true, "extraction_postprocessing_enabled": true, "extraction_evidence_planning_enabled": true, "extraction_chunk_merge_strategy": "field_aware", "tax_id_country_prefix_mode": "infer", "forge_monthly_token_quota": 1, "forge_monthly_dollar_quota": 1, "forge_per_job_max_iterations": 1, "forge_per_job_max_dollars": 1, "forge_per_job_max_wall_seconds": 1, "ocr_selection_mode": "paddle_priority", "ocr_priority_margin": 1, "layout_policy": {}, "glm_risk_policy": {}, "prompt_budget_policy": {}, "language_policy": {}, "preprocessing_policy": {} }'Request Body required
Section titled “Request Body required ” Media type application/json
PlatformDefaultsUpdate
object
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Patch Platform Defaults V1 Platform Defaults Patch
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}