---
title: "POST /Detect"
method: POST
path: "/Detect"
tags: ["Detect"]
---

# POST /Detect

`POST /Detect`

Identifies the language of a string of text.

## Query parameters

- `api-version` string, required

## Headers

- `X-ClientTraceId` string

## Request body

- DetectTextInput[]
  - `text` string

## Response `200`

Success

- object[] — Example of a successful detect request
  - `text` string

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-translatortext.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-translatortext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-translatortext/versions/70ce120aedb4/schema)
