# 列出 Worker (/docs/api/compatible/cloudflare/listWorkers)



`GET /cloudflare/client/v4/accounts/{account_id}/workers/workers`

List Workers. order and order\_by are accepted and ignored.

**支持状态: partial**

List Workers. order and order\_by are accepted and ignored.

## 参数 [#参数]

| 名称          | 位置    | 类型      | 必填    | 说明                                              |
| ----------- | ----- | ------- | ----- | ----------------------------------------------- |
| account\_id | path  | string  | true  | Any value; your account comes from the API key. |
| page        | query | integer | false | Page number, from 1.                            |
| per\_page   | query | integer | false | Items per page (default 20).                    |

## 响应 [#响应]

### HTTP 200 [#http-200]

Success

**application/json**

| 名称 | 类型 | 说明 |
| --- | --- | --- |
| success | boolean | Always true on success. |
| errors | array&lt;any&gt; | Always empty on success. |
| messages | array&lt;any&gt; | Always empty on success. |
| result | array&lt;object&gt; | Workers. |
| result[].id | string | Worker ID, prefixed wkr_. |
| result[].name | string | Unique per account; lowercase letters, digits and single hyphens. |
| result[].subdomain | object | Public address of the Worker. |
| result[].tags | array&lt;string&gt; | Up to 8 tags. |
| result[].observability | object | Observability settings. |
| result[].logpush | boolean | Always false: unlike Cloudflare, Logpush is not offered. |
| result[].created_on | string | When the Worker was created. |
| result[].updated_on | string | When the Worker last changed. |
| result[].deployed_on | string &#124; null | When the current deployment became active; null before the first deployment. |
| result[].praxis | object | Platform fields: lifecycle status, labels, and soft-delete timestamps. |
| result_info | object | Present on list responses. |
| result_info.page | integer | Page number. |
| result_info.per_page | integer | Page size. |
| result_info.count | integer | Items on this page. |
