Apps - Download Query Logs
アプリケーションに対する過去 1 か月のエンドポイント クエリのログを取得します。
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/querylogs
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
app
|
path | True |
string uuid |
アプリケーション ID。 |
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など)。 https://westus.api.cognitive.microsoft.com |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
object |
過去 1 か月間のクエリ ログを含む CSV ファイル。 Media Types: "application/octet-stream" |
Other Status Codes |
エラー応答。 Media Types: "application/octet-stream" |
セキュリティ
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
例
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\"\": []}\""
定義
ErrorResponse
API で操作を呼び出すときのエラー応答。
名前 | 型 | 説明 |
---|---|---|
errorType |
string |