đ Introducing MARS8 Series â Four Powerful Variants | Available on All Major Clouds | Learn about the model here
đ Introducing MARS8 Series â Four Powerful Variants | Available on All Major Clouds | Learn about the model here
Adds a new term and its translations to an existing dictionary, enabling you to expand your multilingual terminology database with precise linguistic mappings.
curl --request POST \
--url https://client.camb.ai/apis/dictionaries/{dictionary_id}/add-term \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"translations": [
{
"translation": "<string>",
"language": 1
}
]
}
'{
"message": "<string>",
"status": "<string>"
}This endpoint serves as your gateway to enriching dictionaries with new linguistic content. When you need to expand a dictionaryâs vocabulary, whether youâre building a comprehensive translation resource or maintaining specialized terminology for your domain, this endpoint provides the mechanism to seamlessly add term-translation pairs that enhance your multilingual capabilities. Think of this process as carefully placing a new entry into a physical dictionary, but with the added power of digital precision and immediate availability across all your applications. Each term you add becomes instantly searchable and usable through other dictionary endpoints, creating a growing repository of linguistic knowledge that serves your usersâ translation and terminology needs.Documentation Index
Fetch the complete documentation index at: https://docs.camb.ai/llms.txt
Use this file to discover all available pages before exploring further.
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
This parameter tells the API exactly which dictionary you're interested in. Each dictionary in the system has a unique numerical ID that serves as its primary identifier.
Represents the payload used to add one or more translations for a given term. This object contains an array of entries, each specifying a translated text and its target language. When submitted, the existing set of translations for the term will be replaced or augmented according to the provided list.
Hide child attributes
The translated text of the term in the specified target language. This should be the most accurate and contextually appropriate translation of the original term.
255The target language for this translation. This determines the linguistic and cultural context in which the translation should be interpreted.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150 Successful Response
Human-readable feedback that communicates the outcome of the dictionary operation with actionable context for your application users. This message provides essential information about operation success, partial completion scenarios, or guidance for addressing any issues that occurred during processing.
Standardized operation outcome indicator that enables programmatic response handling across all dictionary management workflows. This status field provides consistent, machine-readable confirmation of operation results, allowing your application logic to branch appropriately between success scenarios, partial completion cases, and error conditions.
curl --request POST \
--url https://client.camb.ai/apis/dictionaries/{dictionary_id}/add-term \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"translations": [
{
"translation": "<string>",
"language": 1
}
]
}
'{
"message": "<string>",
"status": "<string>"
}