Before you start
For access requirements, see Authorization.Working with predictions
Detect language ranks predictions by probability. A probability indicates how likely the submitted text matches a language; it does not indicate how much of the text uses that language. Usemax_predictions to return alternative matches and threshold to exclude low-confidence results.
See the supported language codes and names.