# List supported languages

Returns language capabilities filtered by dubbing, text, or all supported workflows.

URL: /reference/languages/listLanguages

## GET /v2/languages/{language_type}

```json
{
  "openapi": "3.2.0",
  "info": {
    "title": "List supported languages",
    "description": "Lingopal v2 public API for text translation, storage uploads, registered jobs, job workflows, and job outputs.",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://vod-api.lingopal-dev.com"
    }
  ],
  "security": [
    {
      "APIKeyHeader": []
    }
  ],
  "paths": {
    "/v2/languages/{language_type}": {
      "get": {
        "tags": [
          "Languages"
        ],
        "summary": "List supported languages",
        "description": "Returns language capabilities filtered by dubbing, text, or all supported workflows.",
        "operationId": "listLanguages",
        "parameters": [
          {
            "name": "language_type",
            "in": "path",
            "required": true,
            "schema": {
              "enum": [
                "dubbing",
                "text",
                "all"
              ],
              "type": "string",
              "description": "Language capability filter: `dubbing` for media translation, `text` for text/document/subtitle workflows, or `all` for every supported language.",
              "examples": [
                "dubbing",
                "text",
                "all"
              ],
              "title": "Language Type"
            },
            "description": "Language capability filter: `dubbing` for media translation, `text` for text/document/subtitle workflows, or `all` for every supported language."
          }
        ],
        "responses": {
          "200": {
            "description": "Supported language list with capability flags.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageInfoResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "500": {
            "description": "The server failed to complete the request."
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Languages",
      "description": "List supported language capabilities for dubbing, text, and other workflows."
    }
  ],
  "components": {
    "schemas": {
      "LanguageInfoResponse": {
        "properties": {
          "request_type": {
            "type": "string",
            "enum": [
              "dubbing",
              "text",
              "all"
            ],
            "title": "Request Type",
            "description": "Language capability filter used for the response."
          },
          "count": {
            "type": "integer",
            "title": "Count",
            "description": "Number of returned languages."
          },
          "languages": {
            "items": {
              "$ref": "#/components/schemas/LanguageInfo"
            },
            "type": "array",
            "title": "Languages",
            "description": "Supported languages and capability flags."
          }
        },
        "type": "object",
        "required": [
          "request_type",
          "count",
          "languages"
        ],
        "title": "LanguageInfoResponse",
        "examples": [
          {
            "count": 1,
            "languages": [
              {
                "dubbing_support": true,
                "language": "Spanish",
                "language_id": 1,
                "locale": "es",
                "text_support": true,
                "voice_cloning_support": true
              }
            ],
            "request_type": "text"
          }
        ]
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "LanguageInfo": {
        "properties": {
          "locale": {
            "type": "string",
            "title": "Locale",
            "description": "Locale code used in API requests.",
            "examples": [
              "es"
            ]
          },
          "language": {
            "type": "string",
            "title": "Language",
            "description": "Human-readable language name.",
            "examples": [
              "Spanish"
            ]
          },
          "dubbing_support": {
            "type": "boolean",
            "title": "Dubbing Support",
            "description": "Whether dubbing workflows support this language."
          },
          "voice_cloning_support": {
            "type": "boolean",
            "title": "Voice Cloning Support",
            "description": "Whether voice cloning is supported for this language."
          },
          "text_support": {
            "type": "boolean",
            "title": "Text Support",
            "description": "Whether text/document workflows support this language."
          },
          "language_id": {
            "type": "integer",
            "title": "Language Id",
            "description": "Internal Lingopal language identifier.",
            "examples": [
              1
            ]
          }
        },
        "type": "object",
        "required": [
          "locale",
          "language",
          "dubbing_support",
          "voice_cloning_support",
          "text_support",
          "language_id"
        ],
        "title": "LanguageInfo"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "in": "header",
        "name": "X-API-Key",
        "type": "apiKey"
      }
    }
  }
}
```
