Get a Worker's code content
One step with Cloudflare. We can help you get access.
Look something up
Get a Worker's code content
with Cloudflare
Use Cloudflare: its Cloudflare Accounts API lets you get a Worker's code content in a single step (GET /accounts/{account_id}/workers/scripts/{script_name}/content/v2). capabilities.work can help you get signed up and connected.
- Can I fetch only the code of a Worker, without its settings?
- Where do I read the script content of an account Worker?
Say it to your AI assistant
- Get the script content of Worker {script_name} in account {account_id}.
- Show the code only for Worker {script_name}.
For your developer
GET /accounts/{account_id}/workers/scripts/{script_name}/content/v2 in Cloudflare Accounts API. Full spec on APIs.io.