--- title: "イベント履歴の照会" slug: "apigateway-dashboardevent-events" updated: 2026-09-17T09:57:24Z published: 2026-09-17T09:57:24Z canonical: "api.ncloud-docs.com/apigateway-dashboardevent-events" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # イベント履歴の照会 Classic/VPC環境で利用できます。 APIのイベント履歴を照会します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | POST | /api/v1/dashboards/events/search | ### リクエストヘッダ API Gatewayで共通して使用されるヘッダの詳細は、[API Gatewayのリクエストヘッダ](/docs/ja/ai-application-service-apigateway#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエスト構文 リクエスト構文は次の通りです。 ``` { "offset" : 0, "level" : [ "level" ], "limit" : 0, "timeZone" : "timeZone", "from" : "from", "to" : "to", "type" : [ "type" ] } ``` ### リクエストボディ リクエストボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `offset` | Long | Optional | 照会対象のデータリストからスタートする位置 - 0~9,223,372,036,854,775,807 | | `level` | List[String] | Optional | 発生イベントのレベル - `EVENT` \| `ALARM` \| `ALERT` - `EVENT`: イベント - `ALARM`: アラーム - `ALERT`: 警告 - コレクションのアイテムは nullであってはいけない | | `limit` | Long | Optional | 一度に照会するデータ数 - 1~9,223,372,036,854,775,807 | | `timeZone` | String | Required | タイムゾーン(+09:00) | | `from` | String | Required | 照会開始日(yyyy-MM-dd) | | `to` | String | Required | 照会終了日(yyyy-MM-dd) | | `type` | List[String] | Optional | 発生イベントタイプ - `ES010` \| `ES020` \| `EU400` \| `EU410` \| `EU420` - `ES010`: サブスクリプションリクエスト(Subscription Request) - `ES020`: サブスクリプション状態変更(Change Subscription's Status) - `EU400`: 使用量超過(Exceeded Quota) - `EU410`: 1秒当たりのリクエスト数超過(Exceeded Throttle) - `EU420`: 1秒当たりの使用量超過(Exceeded Rate) - コレクションのアイテムは nullであってはいけない | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl -X POST 'https://apigateway.apigw.ntruss.com/api/v1/dashboards/events/search \ --header 'Content-Type: application/json' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' --data '{ "offset" : 6, "level" : [ "EVENT" ], "limit" : 1, "timeZone" : "timeZone", "from" : "from", "to" : "to", "type" : [ "ES020" ] } ``` ## レスポンス レスポンス形式を説明します。 ### レスポンス構文 レスポンス構文は次の通りです。 ``` { "events": { "content": [ { "time": "2024-05-08 13:45:58", "level": "level", "type": "type", "message": "message" } ], "total": 0 } } ``` ### レスポンスステータスコード API Gatewayで共通して使用されるレスポンスステータスコードの詳細は、[API Gatewayのレスポンスステータスコード](/docs/ja/ai-application-service-apigateway#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "events": { "content": [ { "time": "2024-05-08 13:45:58", "level": "EVENT", "type": "ES020", "message": "The status of subscription request for [test-***] requested by [apiKey-***] has been changed to [Accepted]." } ], "total": 1 } } ```