你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Apps - Download Query Logs

Gets the logs of the past month's endpoint queries for the application.

GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/querylogs

URI Parameters

Name In Required Type Description
appId
path True

string

uuid

The application ID.

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

object

A CSV file containing the query logs for the past month.

Media Types: "application/octet-stream"

Other Status Codes

ErrorResponse

Error Response.

Media Types: "application/octet-stream"

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Examples

Successful Download Application Query logs request

Sample request

GET {Endpoint}/luis/authoring/v3.0-preview/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/querylogs

Sample response

Content-Type: application/octet-stream
"\"Query\",\"UTC DateTime\",\"Response\" \"hello, world!\",01/31/2017 17:17:41,\"{  \"\"query\"\": \"\"Hello, World!\"\",  \"\"topScoringIntent\"\": {    \"\"intent\"\": \"\"None\"\",    \"\"score\"\": 0.6277761  },  \"\"intents\"\": [    {      \"\"intent\"\": \"\"None\"\",      \"\"score\"\": 0.6277761    },    {      \"\"intent\"\": \"\"BookFlight\"\",      \"\"score\"\": 0.002136109    },    {      \"\"intent\"\": \"\"GetWeather\"\",      \"\"score\"\": 0.00142168161    }  ],  \"\"entities\"\": []}\""

Definitions

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string