Cloudflare Worker integration (Developer Tools). Imported from open-connector.
https://api.cloudflare.com/client/v4/accounts
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
/accounts/{accountId}/workers/workers
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
| order | string | optional | The sort direction. |
| orderBy | string | optional | The field to order by. |
/accounts/{accountId}/workers/workers/{workerId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| workerId | string | required | The Cloudflare Worker ID. |
/accounts/{accountId}/workers/workers
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| name | string | required | The Worker name. |
| logpush | boolean | optional | Whether logpush should be enabled for the Worker. |
| observability | object | optional | A free-form object accepted by the Cloudflare API. |
| subdomain | object | optional | A free-form object accepted by the Cloudflare API. |
| tags | array | optional | Tags to set on the Worker. |
| tailConsumers | array | optional | Tail consumer definitions to set on the Worker. |
/accounts/{accountId}/workers/workers/{workerId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| workerId | string | required | The Cloudflare Worker ID. |
| name | string | required | The Worker name. |
| logpush | boolean | optional | Whether logpush should be enabled for the Worker. |
| observability | object | optional | A free-form object accepted by the Cloudflare API. |
| subdomain | object | optional | A free-form object accepted by the Cloudflare API. |
| tags | array | optional | Tags to set on the Worker. |
| tailConsumers | array | optional | Tail consumer definitions to set on the Worker. |
/accounts/{accountId}/workers/workers/{workerId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| workerId | string | required | The Cloudflare Worker ID. |
| name | string | optional | The Worker name. |
| logpush | boolean | optional | Whether logpush should be enabled for the Worker. |
| observability | object | optional | A free-form object accepted by the Cloudflare API. |
| subdomain | object | optional | A free-form object accepted by the Cloudflare API. |
| tags | array | optional | Tags to set on the Worker. |
| tailConsumers | array | optional | Tail consumer definitions to set on the Worker. |
/accounts/{accountId}/workers/workers/{workerId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| workerId | string | required | The Cloudflare Worker ID. |
/accounts/{accountId}/workers/scripts
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
/accounts/{accountId}/workers/scripts-search
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| id | string | optional | Search by exact Worker script tag. |
| name | string | optional | Search by Worker script name. |
| orderBy | string | optional | The search sort field. |
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
/accounts/{accountId}/workers/scripts/{scriptName}/content
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| mainModuleName | string | optional | The multipart part name and file name for the Worker entry module. |
| content | string | required | The raw Worker script content. |
| contentType | string | optional | The MIME type for the Worker entry module part. |
/accounts/{accountId}/workers/scripts/{scriptName}/content/v2
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
/accounts/{accountId}/workers/scripts/{scriptName}/settings
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
/accounts/{accountId}/workers/scripts/{scriptName}/settings
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| bindings | array | optional | The full bindings array to set on the script. |
| compatibilityDate | string | optional | The compatibility date. |
| compatibilityFlags | array | optional | The compatibility flags. |
| logpush | boolean | optional | Whether logpush should be enabled. |
| observability | object | optional | A free-form object accepted by the Cloudflare API. |
| placementMode | string | optional | The placement mode. |
| tags | array | optional | The script tags. |
| tailConsumers | array | optional | Tail consumer definitions. |
| usageModel | string | optional | The usage model. |
| limits | object | optional | A free-form object accepted by the Cloudflare API. |
| migrations | object | optional | A free-form object accepted by the Cloudflare API. |
/accounts/{accountId}/workers/scripts/{scriptName}/secrets
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
/accounts/{accountId}/workers/scripts/{scriptName}/secrets/{secretName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| secretName | string | required | The Cloudflare Worker secret name. |
/accounts/{accountId}/workers/scripts/{scriptName}/secrets
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| name | string | required | The Cloudflare Worker secret name. |
| text | string | required | The secret text value. |
| type | string | optional | The Worker secret binding type. |
/accounts/{accountId}/workers/scripts/{scriptName}/secrets/{secretName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| secretName | string | required | The Cloudflare Worker secret name. |
/accounts/{accountId}/workers/scripts/{scriptName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| scriptName | string | required | The Cloudflare Worker script name. |
| force | boolean | optional | Whether to force deletion of associated service bindings, Durable Objects, or o… |