> For the complete documentation index, see [llms.txt](https://dibd-bhashini.gitbook.io/bhashini-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dibd-bhashini.gitbook.io/bhashini-apis/text-language-detection-compute-call/request-payload.md).

# Request payload

This sub-page helps the integrator to understand various different types of request payload based on the individual task or combination of tasks in that sequence that integrator wants to do.

{% tabs %}
{% tab title="Text Language Detection payload" %}
{% code lineNumbers="true" %}

```json
{
    "pipelineTasks": [
        {
            "taskType": "txt-lang-detection",
            "config": {
                "serviceId": "{{tld_service_id}}"
            }
        }
    ],
    "inputData": {
        "input": [
            {
                "source": "INSERT_TEXT_HERE"
            }
        ]
    }
}

```

{% endcode %}
{% endtab %}
{% endtabs %}

This request contains 2 major parameters listed below and detailed further down the section:

1. pipelineTasks
2. inputData

### Parameter: `pipelineTasks`

**Type:** Array\
\
This parameter takes an array of tasks, in the form of dictionary of **`taskType`** and **`config`**, that are to be done by the integrator. \
In the above example, **`pipelineTasks`** takes only one dictionary (line 2-9) because integrator wants to do only text language detection.\
\
**`taskType`** parameter takes `String` that takes the value **txt-lang-detection**

**`config`** is a single key parameter which maps to another object called serviceId.

{% tabs %}
{% tab title="Service ID" %}
serviceId parameter identifies the specific service/trained model you want to use.

For serviceId as "**bhashini/indic-lang-detection-all**", below are the supported languages-

• Assamese&#x20;

• Bengali&#x20;

• Bodo&#x20;

• Dogri&#x20;

• English&#x20;

• Gujarati&#x20;

• Hindi&#x20;

• Kannada&#x20;

• Kashmiri&#x20;

• Konkani&#x20;

• Maithili&#x20;

• Malayalam&#x20;

• Manipuri&#x20;

• Marathi&#x20;

• Nepali&#x20;

• Oriya&#x20;

• Punjabi&#x20;

• Sanskrit&#x20;

• Santali&#x20;

• Sindhi&#x20;

• Tamil&#x20;

• Telugu&#x20;

• Urdu

For serviceId as "**bhashini/iiiith/indic-lang-detection-all**", below are the supported languages-

• Assamese&#x20;

• Bengali&#x20;

• English&#x20;

• Gujarati&#x20;

• Hindi&#x20;

• Kannada&#x20;

• Malayalam&#x20;

• Manipuri&#x20;

• Marathi&#x20;

• Oriya&#x20;

• Punjabi&#x20;

• Tamil&#x20;

• Telugu&#x20;

• Urdu
{% endtab %}
{% endtabs %}

### Parameter: `inputData`

inputData Parameter takes the actual input from the integrator on which the individual task has to be done. It can take the input via **source** parameter .<br>

{% hint style="info" %}
input text content can be added as a value for **source** paramater under **inputData** complex tag
{% endhint %}
