Cloudflare
List deployments
List deployments
GET /cloudflare/client/v4/accounts/{account_id}/workers/scripts/{script_name}/deployments
List deployments of a Worker, newest first.
Support: supported
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| account_id | path | string | true | Any value; your account comes from the API key. |
| script_name | path | string | true | Worker name. |
| page | query | integer | false | Page number, from 1. |
| per_page | query | integer | false | Items per page (default 20). |
Response
HTTP 200
Success
application/json
| Name | Type | Description |
|---|---|---|
| success | boolean | Always true on success. |
| errors | array<any> | Always empty on success. |
| messages | array<any> | Always empty on success. |
| result | object | |
| result.deployments | array<object> | Deployments. |
| 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. |