Skip to main content
PATCH
Update project setting
This endpoint accepts an optional Idempotency-Key request header so a retry cannot apply the change twice. See Idempotent requests.

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Idempotency-Key
string

Optional opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true.

Body

application/json
ocrModel
enum<string>

OCR model

Available options:
Beethoven_ENG_O5.1,
Beethoven_ENG_G5.0,
Beethoven_ENG_O5.1,
Beethoven_ENG_O5.2,
Beethoven_ENG_O5.3,
Beethoven_ENG_O5.4,
Beethoven_ENG_O5.5,
Beethoven_ENG_O5.6,
Beethoven_CUS_O5.1,
Beethoven_ZH_O5.9,
Beethoven_ENG_G5.2,
Beethoven_ENG_G5.3,
Beethoven_ENG_G5.4,
Beethoven_ENG_G5.5,
Beethoven_ENG_GP25.1,
Unified (google-document-ai-ocr-gemini-v10),
Beethoven_CUS_O5.2,
Beethoven_ENG_GP25,
Beethoven_ENG_GP25.2,
Aegis (google-document-ai-ocr-gemini-aegis-v1),
Beethoven_TH_O5.0,
Beethoven_TH_O5.1,
Beethoven_TH_G5.1,
Beethoven_JP_O5.1,
Beethoven_JP_O5.2,
Beethoven_JP_O5.3,
Beethoven_JP_G5.1,
Beethoven_JP_G5.2,
Beethoven_JP_G5.3,
Beethoven_JP_G5.4,
Beethoven_CUS_GP25.1,
Beethoven_ENG_GP3,
Beethoven_Direct_Form_Filling (GP2.5)
Example:

"Beethoven_ENG_O5.1"

formTargetLanguage
enum<string>

Form target language

Available options:
English,
Afrikaans,
Albanian,
Amharic,
Arabic,
Armenian,
Assamese,
Azerbaijani,
Basque,
Belarusian,
Bengali,
Bosnian,
Bulgarian,
Burmese,
Catalan,
Cebuano,
Chinese,
Corsican,
Croatian,
Czech,
Danish,
Dutch,
Esperanto,
Estonian,
Finnish,
French,
Frisian,
Galician,
Georgian,
German,
Greek,
Gujarati,
Haitian Creole,
Hausa,
Hawaiian,
Hebrew,
Hindi,
Hmong,
Hungarian,
Icelandic,
Igbo,
Indonesian,
Irish,
Italian,
Japanese,
Javanese,
Kannada,
Kazakh,
Khmer,
Kinyarwanda,
Korean,
Kurdish,
Kyrgyz,
Laothian,
Latin,
Latvian,
Lithuanian,
Luxembourgish,
Macedonian,
Malagasy,
Malay,
Malayalam,
Maltese,
Maori,
Marathi,
Mongolian,
Nepali,
Norwegian,
Nyanja,
Oriya,
Persian,
Polish,
Portuguese,
Punjabi,
Romanian,
Russian,
Samoan,
Scots Gaelic,
Serbian,
Sesotho,
Shona,
Sinhalese,
Slovak,
Slovenian,
Somali,
Spanish,
Sundanese,
Swahili,
Swedish,
Tajik,
Tamil,
Tatar,
Telugu,
Thai,
Tibetan,
Tagalog,
Turkish,
Turkmen,
Uighur,
Ukrainian,
Urdu,
Uzbek,
Vietnamese,
Welsh,
Wolof,
Xhosa,
Yiddish,
Yoruba,
Zulu
Example:

"English"

isSplit
boolean

Is split

Example:

false

Response

The project setting is updated

success
boolean