Conversational Analysis Authoring - Get Supported Languages
Lists the supported languages for the given project type.
GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?api-version=2023-04-01&projectKind={projectKind}
GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?api-version=2023-04-01&projectKind={projectKind}&top={top}&skip={skip}&maxpagesize={maxpagesize}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
|
api-version
|
query | True |
string |
The API version to use for this operation. |
project
|
query | True |
The project kind. |
|
maxpagesize
|
query |
integer int32 |
The maximum number of resources to include in a single response. |
|
skip
|
query |
integer int32 |
An offset into the collection of the first resource to be returned. |
|
top
|
query |
integer int32 |
The maximum number of resources to return from the collection. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
Other Status Codes |
An unexpected error response. |
Security
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
OAuth2Auth
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Token URL:
https://login.microsoftonline.com/common/oauth2/token
Scopes
Name | Description |
---|---|
https://cognitiveservices.azure.com/.default |
Examples
Successful Get Supported Languages
Sample request
GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?api-version=2023-04-01&projectKind=Conversation
Sample response
{
"value": [
{
"languageName": "English",
"languageCode": "en"
},
{
"languageName": "English",
"languageCode": "en-us"
},
{
"languageName": "English (UK)",
"languageCode": "en-gb"
},
{
"languageName": "French",
"languageCode": "fr"
},
{
"languageName": "Italian",
"languageCode": "it"
},
{
"languageName": "Spanish",
"languageCode": "es"
},
{
"languageName": "German",
"languageCode": "de"
},
{
"languageName": "Portuguese (Brazil)",
"languageCode": "pt-br"
},
{
"languageName": "Portuguese (Portugal)",
"languageCode": "pt-pt"
},
{
"languageName": "Chinese (Simplified)",
"languageCode": "zh-hans"
},
{
"languageName": "Japanese",
"languageCode": "ja"
},
{
"languageName": "Korean",
"languageCode": "ko"
},
{
"languageName": "Dutch",
"languageCode": "nl"
},
{
"languageName": "Hindi",
"languageCode": "hi"
},
{
"languageName": "Turkish",
"languageCode": "tr"
},
{
"languageName": "Gujarati",
"languageCode": "gu"
},
{
"languageName": "Marathi",
"languageCode": "mr"
},
{
"languageName": "Tamil",
"languageCode": "ta"
},
{
"languageName": "Telugu",
"languageCode": "te"
},
{
"languageName": "Zulu",
"languageCode": "zu"
},
{
"languageName": "Afrikaans",
"languageCode": "af"
},
{
"languageName": "Amharic",
"languageCode": "am"
},
{
"languageName": "Arabic",
"languageCode": "ar"
},
{
"languageName": "Assamese",
"languageCode": "as"
},
{
"languageName": "Azerbaijani",
"languageCode": "az"
},
{
"languageName": "Belarusian",
"languageCode": "be"
},
{
"languageName": "Bulgarian",
"languageCode": "bg"
},
{
"languageName": "Breton",
"languageCode": "br"
},
{
"languageName": "Bosnian",
"languageCode": "bs"
},
{
"languageName": "Catalan",
"languageCode": "ca"
},
{
"languageName": "Czech",
"languageCode": "cs"
},
{
"languageName": "Welsh",
"languageCode": "cy"
},
{
"languageName": "Danish",
"languageCode": "da"
},
{
"languageName": "Greek",
"languageCode": "el"
},
{
"languageName": "Esperanto",
"languageCode": "eo"
},
{
"languageName": "Estonian",
"languageCode": "et"
},
{
"languageName": "Basque",
"languageCode": "eu"
},
{
"languageName": "Persian",
"languageCode": "fa"
},
{
"languageName": "Finnish",
"languageCode": "fi"
},
{
"languageName": "Western Frisian",
"languageCode": "fy"
},
{
"languageName": "Irish",
"languageCode": "ga"
},
{
"languageName": "Scottish Gaelic",
"languageCode": "gd"
},
{
"languageName": "Galician",
"languageCode": "gl"
},
{
"languageName": "Hausa",
"languageCode": "ha"
},
{
"languageName": "Hebrew",
"languageCode": "he"
},
{
"languageName": "Croatian",
"languageCode": "hr"
},
{
"languageName": "Hungarian",
"languageCode": "hu"
},
{
"languageName": "Armenian",
"languageCode": "hy"
},
{
"languageName": "Indonesian",
"languageCode": "id"
},
{
"languageName": "Javanese",
"languageCode": "jv"
},
{
"languageName": "Georgian",
"languageCode": "ka"
},
{
"languageName": "Kazakh",
"languageCode": "kk"
},
{
"languageName": "Khmer",
"languageCode": "km"
},
{
"languageName": "Kannada",
"languageCode": "kn"
},
{
"languageName": "Kurdish (Kurmanji)",
"languageCode": "ku"
},
{
"languageName": "Kyrgyz",
"languageCode": "ky"
},
{
"languageName": "Latin",
"languageCode": "la"
},
{
"languageName": "Lao",
"languageCode": "lo"
},
{
"languageName": "Lithuanian",
"languageCode": "lt"
},
{
"languageName": "Latvian",
"languageCode": "lv"
},
{
"languageName": "Malagasy",
"languageCode": "mg"
},
{
"languageName": "Macedonian",
"languageCode": "mk"
},
{
"languageName": "Malayalam",
"languageCode": "ml"
},
{
"languageName": "Mongolian",
"languageCode": "mn"
},
{
"languageName": "Malay",
"languageCode": "ms"
},
{
"languageName": "Burmese",
"languageCode": "my"
},
{
"languageName": "Nepali",
"languageCode": "ne"
},
{
"languageName": "Norwegian (Bokmal)",
"languageCode": "nb"
},
{
"languageName": "Odia",
"languageCode": "or"
},
{
"languageName": "Punjabi",
"languageCode": "pa"
},
{
"languageName": "Polish",
"languageCode": "pl"
},
{
"languageName": "Pashto",
"languageCode": "ps"
},
{
"languageName": "Romanian",
"languageCode": "ro"
},
{
"languageName": "Russian",
"languageCode": "ru"
},
{
"languageName": "Sanskrit",
"languageCode": "sa"
},
{
"languageName": "Sindhi",
"languageCode": "sd"
},
{
"languageName": "Sinhala",
"languageCode": "si"
},
{
"languageName": "Slovak",
"languageCode": "sk"
},
{
"languageName": "Slovenian",
"languageCode": "sl"
},
{
"languageName": "Somali",
"languageCode": "so"
},
{
"languageName": "Albanian",
"languageCode": "sq"
},
{
"languageName": "Serbian",
"languageCode": "sr"
},
{
"languageName": "Sundanese",
"languageCode": "su"
},
{
"languageName": "Swedish",
"languageCode": "sv"
},
{
"languageName": "Swahili",
"languageCode": "sw"
},
{
"languageName": "Thai",
"languageCode": "th"
},
{
"languageName": "Filipino",
"languageCode": "tl"
},
{
"languageName": "Uyghur",
"languageCode": "ug"
},
{
"languageName": "Ukrainian",
"languageCode": "uk"
},
{
"languageName": "Urdu",
"languageCode": "ur"
},
{
"languageName": "Uzbek",
"languageCode": "uz"
},
{
"languageName": "Vietnamese",
"languageCode": "vi"
},
{
"languageName": "Xhosa",
"languageCode": "xh"
},
{
"languageName": "Yiddish",
"languageCode": "yi"
},
{
"languageName": "Chinese (Traditional)",
"languageCode": "zh-hant"
}
],
"nextLink": null
}
Definitions
Name | Description |
---|---|
Conversational |
Represents a supported language. |
Conversational |
Represents a list of retrieved languages. |
Error |
The error object. |
Error |
Human-readable error code. |
Error |
Error response. |
Inner |
Human-readable error code. |
Inner |
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. |
Project |
ConversationalAnalysisAuthoringSupportedLanguage
Represents a supported language.
Name | Type | Description |
---|---|---|
languageCode |
string |
The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc. |
languageName |
string |
The language name. |
ConversationalAnalysisAuthoringSupportedLanguages
Represents a list of retrieved languages.
Name | Type | Description |
---|---|---|
nextLink |
string |
The next page link. |
value |
The list of the languages. |
Error
The error object.
Name | Type | Description |
---|---|---|
code |
One of a server-defined set of error codes. |
|
details |
Error[] |
An array of details about specific errors that led to this reported error. |
innererror |
An object containing more specific information than the current object about the error. |
|
message |
string |
A human-readable representation of the error. |
target |
string |
The target of the error. |
ErrorCode
Human-readable error code.
Name | Type | Description |
---|---|---|
AzureCognitiveSearchIndexLimitReached |
string |
|
AzureCognitiveSearchIndexNotFound |
string |
|
AzureCognitiveSearchNotFound |
string |
|
AzureCognitiveSearchThrottling |
string |
|
Conflict |
string |
|
Forbidden |
string |
|
InternalServerError |
string |
|
InvalidArgument |
string |
|
InvalidRequest |
string |
|
NotFound |
string |
|
OperationNotFound |
string |
|
ProjectNotFound |
string |
|
QuotaExceeded |
string |
|
ServiceUnavailable |
string |
|
Timeout |
string |
|
TooManyRequests |
string |
|
Unauthorized |
string |
|
Warning |
string |
ErrorResponse
Error response.
Name | Type | Description |
---|---|---|
error |
The error object. |
InnerErrorCode
Human-readable error code.
Name | Type | Description |
---|---|---|
AzureCognitiveSearchNotFound |
string |
|
AzureCognitiveSearchThrottling |
string |
|
EmptyRequest |
string |
|
ExtractionFailure |
string |
|
InvalidCountryHint |
string |
|
InvalidDocument |
string |
|
InvalidDocumentBatch |
string |
|
InvalidParameterValue |
string |
|
InvalidRequest |
string |
|
InvalidRequestBodyFormat |
string |
|
KnowledgeBaseNotFound |
string |
|
MissingInputDocuments |
string |
|
ModelVersionIncorrect |
string |
|
UnsupportedLanguageCode |
string |
InnerErrorModel
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
Name | Type | Description |
---|---|---|
code |
One of a server-defined set of error codes. |
|
details |
object |
Error details. |
innererror |
An object containing more specific information than the current object about the error. |
|
message |
string |
Error message. |
target |
string |
Error target. |
ProjectKind
Name | Type | Description |
---|---|---|
Conversation |
string |
A project to build natural language into apps, bots, and IoT devices. |
Orchestration |
string |
A project to connect and orchestrate Conversation, Custom question answering and LUIS projects together in one single project. |