--- title: "EventSearchRequestById" slug: "common-vapidatatype-cieventsearchrequestbyid" tags: ["Classic"] updated: 2026-09-17T09:25:09Z published: 2026-09-17T09:25:09Z canonical: "api.ncloud-docs.com/common-vapidatatype-cieventsearchrequestbyid" --- > ## 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. # EventSearchRequestById Available in Classic and VPC This is the requested information required to search for an event by ID. ## Syntax The syntax is as follows: ``` private long ruleId; private String eventId; private String query; private long startTime; private long endTime; private int pageSize; private int pageNum; private boolean onlyFetchUnCloseEvent; ``` ## Field The following describes the fields: | Field | Type | Required | Description | | --- | --- | --- | --- | | `ruleId` | long | Required | ID of event rule to query | | `eventId` | String | Required | ID of event to query | | `query` | String | Optional | Searchable by rule name, metric name, or resource name | | `startTime` | long | Required | Query start time (milliseconds) | | `endTime` | long | Required | Query end time (milliseconds) | | `pageSize` | Integer | Optional | Page size - 20 (default) | | `pageNum` | Integer | Optional | Page number - 1 (default) | | `onlyFetchUnCloseEvent` | Boolean | Optional | - `true` \| `false` (default) |