Apps - Download Query Logs
Lekéri az alkalmazás elmúlt havi végpontlekérdezésének naplóit.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/querylogs
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
Az alkalmazás azonosítója. |
Endpoint
|
path | True |
string |
Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com). |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
object |
Egy CSV-fájl, amely az elmúlt hónap lekérdezési naplóit tartalmazza. Media Types: "application/octet-stream" |
Other Status Codes |
Hibaválasz. Media Types: "application/octet-stream" |
Biztonság
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Példák
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\"\": []}\""
Definíciók
ErrorResponse
Hibaválasz egy művelet API-n való meghívásakor.
Name | Típus | Description |
---|---|---|
errorType |
string |