Repository navigation
docs: add the customizations object to POST /v2/translate - #438
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
One JSON object carries glossaries, a style rule list, custom instructions, a translation memory with its threshold, and example documents. Documents which parameters it excludes, the JSON-only restriction, and the error responses for conflicts, thresholds outside 50 to 100, and unknown example documents.
- style_profile_id and customizations cannot be combined; both descriptions now say so. - glossary_ids no longer requires source_lang, matching the flat parameter since source language detection with glossaries. - Drop the access notes: the object and example documents are available to all accounts. - State that a form-encoded request ignores the object, and link example_document_ids to the example documents guide. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
healqq
force-pushed
the
docs/translate-customizations-object
branch
from
November 26, 2026 12:06
2fb292c to
820d265
Compare
The reference renders line breaks inside a description as hard breaks, so the wrapped paragraphs of customizations and style_profile_id showed broken lines. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
healqq
enabled auto-merge (squash)
November 26, 2026 12:31
pkarolyi
approved these changes
Nov 26, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the
customizationsobject onPOST /v2/translate:glossary_ids,style_rule_id,custom_instructions,translation_memories[].id/threshold, andexample_document_ids, each corresponding to an existing customization parameter. Covers the exclusivity with the individual parameters and withstyle_profile_id(400), the JSON-only restriction (a form-encoded request ignores the object), the threshold range (400 outside 50 to 100), and unknown example documents (404). Adds one sentence to the customize overview pointing at the object.Response body is unchanged.
openapi.jsonregenerated from the YAML.Rebased onto
main. The second commit brings the object up to date:glossary_idsno longer requiressource_lang,style_profile_idandcustomizationsexclude each other, and the access notes are dropped because the object and example documents are available to all accounts.