Pipeline Config Call

The Pipeline Config Call initializes your pipeline session, querying Bhashini for available model services, configuration defaults, dynamic inference callback URLs, and task-specific authorization tokens.

Pipeline Configuration Endpoint:

POST https://meity-auth.ulcacontrib.org/ulca/apis/v0/model/getModelsPipeline

1-Minute Quick Call

Query pipeline configurations for ASR, Translation, and TTS tasks:

JavaScript (fetch)
const url = "https://meity-auth.ulcacontrib.org/ulca/apis/v0/model/getModelsPipeline";
const headers = {
  "Content-Type": "application/json",
  "userID": "<YOUR_USER_ID>",
  "ulcaApiKey": "<YOUR_ULCA_API_KEY>"
};
const payload = {
  pipelineTasks: [
    { taskType: "asr" },
    { taskType: "translation" },
    { taskType: "tts" }
  ],
  pipelineRequestConfig: {
    pipelineId: "<PIPELINE_ID>"
  }
};


const response = await fetch(url, {
  method: "POST",
  headers,
  body: JSON.stringify(payload)
});
const data = await response.json();
console.log(data);

Request Headers

These authentication headers identify your application and authorize requests to the Bhashini pipeline configuration gateway.

HeaderTypeRequiredDescription
userIDstringRequiredUniquely identifies your developer account. Obtain from the My Profile portal section.
ulcaApiKeystringRequiredAuthentication API key associated with your userID. Obtain from My Profile portal section.
Content-TypestringRequiredMust be set to application/json.
Postman screenshot showing userID and ulcaApiKey headers