Delen via


Apps - List

Lists all of the user's applications.

GET {Endpoint}/luis/api/v2.0/apps/
GET {Endpoint}/luis/api/v2.0/apps/?skip={skip}&take={take}

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).

skip
query

integer

The number of entries to skip. Default value is 0.

take
query

integer

The number of entries to return. Maximum page size is 500. Default is 100.

Request Header

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

string

Responses

Name Type Description
200 OK

ApplicationInfoResponse[]

A list of the user applications.

Other Status Codes

ErrorResponse

Error Response.

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Examples

Successful Get Applications List request

Sample request

GET {Endpoint}/luis/api/v2.0/apps/?skip=0&take=100

Sample response

[
  {
    "id": "363187f1-c573-46b3-bc4c-ae01d686e68e",
    "name": "MyFirstDummyApp",
    "description": "This is my first dummy application",
    "culture": "en-us",
    "usageScenario": "IoT",
    "domain": "Comics",
    "versionsCount": 3,
    "createdDateTime": "2017-01-31T16:15:54Z",
    "endpoints": {
      "PRODUCTION": {
        "versionId": "0.1",
        "isStaging": false,
        "endpointUrl": "DummyUrl",
        "assignedEndpointKey": "",
        "endpointRegion": "westus",
        "publishedDateTime": "2017-02-19T17:09:14Z"
      }
    },
    "endpointHitsCount": 0
  }
]

Definitions

Name Description
ApplicationInfoResponse

Response containing the Application Info.

ErrorResponse

Error response when invoking an operation on the API.

ApplicationInfoResponse

Response containing the Application Info.

Name Type Description
activeVersion

string

The version ID currently marked as active.

createdDateTime

string

The version's creation timestamp.

culture

string

The culture of the application. For example, "en-us".

description

string

The description of the application.

domain

string

The domain for the new application. Optional. For example, Comics.

endpointHitsCount

integer

Number of calls made to this endpoint.

endpoints

object

The Runtime endpoint URL for this model version.

id

string

The ID (GUID) of the application.

name

string

The name of the application.

usageScenario

string

Defines the scenario for the new application. Optional. For example, IoT.

versionsCount

integer

Amount of model versions within the application.

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string