curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/workers/scripts" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].id'

Category: Cloudflare

curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/workers/scripts" -H 'Authorization: Bearer $CF_API_TOKEN' | jq '.result[].id'

List Workers scripts via the API

Lists every Worker script in the account, which the wrangler CLI does not offer in one flat view. The script IDs are the Worker names. A token scoped only to zone DNS fails here with an auth error, since Workers are an account-level resource.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.