Headers
Your unique subscription key for authenticating requests to the Sarvam AI APIs. Here are the steps to get your api key
Body
application/json
The text input for language and script identification.
Response
Successful Response
The detected language code of the input text.
Available languages:
en-IN: Englishhi-IN: Hindibn-IN: Bengaligu-IN: Gujaratikn-IN: Kannadaml-IN: Malayalammr-IN: Marathiod-IN: Odiapa-IN: Punjabita-IN: Tamilte-IN: Telugu
The detected script code of the input text.
Available scripts:
Latn: Latin (Romanized script)Deva: Devanagari (Hindi, Marathi)Beng: BengaliGujr: GujaratiKnda: KannadaMlym: MalayalamOrya: OdiaGuru: GurmukhiTaml: TamilTelu: Telugu