# 列出事件 (/docs/api/native/application/listEvents)



`GET /application/v1/workers/{worker_id}/events`

List lifecycle events of a Worker in sequence order.

**支持状态: supported**

## 参数 [#参数]

| 名称         | 位置    | 类型      | 必填    | 说明                                        |
| ---------- | ----- | ------- | ----- | ----------------------------------------- |
| worker\_id | path  | string  | true  | Worker ID (wkr\_…).                       |
| after\_seq | query | integer | false | Return events after this sequence number. |
| limit      | query | integer | false | Items per page.                           |

## 响应 [#响应]

### HTTP 200 [#http-200]

Success

**application/json**

| 名称 | 类型 | 说明 |
| --- | --- | --- |
| data | array&lt;object&gt; | Events in sequence order. |
| data[].seq | integer | Monotonic sequence within the Worker. |
| data[].id | string | Event ID. |
| data[].type | string | Event type, e.g. deployment.status_active. |
| data[].processed_at | string | When the event was recorded. |
| data[].worker_id | string | Worker the event belongs to. |
| data[].version_id | string | Related version. |
| data[].deployment_id | string | Related deployment. |
| data[].component_id | string | Related component. |
| data[].detail | object | Event-specific detail. |
| next_cursor | string &#124; null | Cursor for the next page; null on the last page. |
