x_client_trace_id(Optional[String[1]])
— A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.
text(Optional[String[1]])
— # Request BodyThe body of the request is a JSON array. Each array element is a JSON object with a string property named Text. Language detection is applied to the value of the Text property.The following limitations apply:* The array can have at most 100 elements.* The text value of an array element cannot exceed 10,000 characters including spaces.* The entire text included in the request cannot exceed 50,000 characters including spaces.# Response BodyA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:* language- Code of the detected language.* score- A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.* isTranslationSupported- A boolean value which is true if the detected language is one of the languages supported for text translation. Not all detected languages can be translated by the API.* isTransliterationSupported- A boolean value which is true if the detected language is one of the languages supported for transliteration.* alternatives- An array of other possible languages. Each element of the array is another object with the same properties listed above- language, score, isTranslationSupported and isTransliterationSupported.# Response HeaderX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes.
error(Optional[String[1]])
—
api_version(Optional[String[1]])
— Version of the API requested by the client. Value must be **3.0**.