Delen via


Apps - List Usage Scenarios

Gets the application available usage scenarios.

GET {Endpoint}/luis/api/v2.0/apps/usagescenarios

URI Parameters

Name In Required Type Description
Endpoint
path True

string

Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).

Request Header

Name Required Type Description
Ocp-Apim-Subscription-Key True

string

Responses

Name Type Description
200 OK

string[]

A list object containing the available application usage scenarios.

Other Status Codes

ErrorResponse

Error Response.

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Examples

Successful Get Application Usage Scenarios request

Sample request

GET {Endpoint}/luis/api/v2.0/apps/usagescenarios

Sample response

[
  "IoT",
  "Bot",
  "Mobile Application",
  "Other"
]

Definitions

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string