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/getModelsPipelineRequest Schema→
Request Payload Specification
Explore task configurations (ASR, Translation, TTS) with and without custom model overrides.
Response Schema→
Response Payload Specification
Inspect dynamic callbackUrl, pipelineInferenceApiKey, and task serviceId mappings.
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.
| Header | Type | Required | Description |
|---|---|---|---|
userID | string | Required | Uniquely identifies your developer account. Obtain from the My Profile portal section. |
ulcaApiKey | string | Required | Authentication API key associated with your userID. Obtain from My Profile portal section. |
Content-Type | string | Required | Must be set to application/json. |