Legacy script upload (unsupported)
Legacy script upload (unsupported)
PUT /cloudflare/client/v4/accounts/{account_id}/workers/scripts/{script_name}
Not supported: answers 501. Use POST workers/workers and POST workers/workers/{worker_id}/versions?deploy=true.
Support: unsupported
Not supported: answers 501. Use POST workers/workers and POST workers/workers/{worker_id}/versions?deploy=true.
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. |
Response
This endpoint does not declare a successful response.
Upload assetsPartial
Upload assets
Agent API
The Agent API provides 13 native tools, including background tasks, Monitor and subagents, all enabled by default on new agents. Use configs to enable each tool and set its permission policy. Sessions created through the /anthropic compatibility API receive only the eight official tools; the console uses the full /agent/v1 API. Available endpoints are listed below; other paths return 404.