Cloudflare

Get Worker

Get Worker

GET /cloudflare/client/v4/accounts/{account_id}/workers/workers/{worker_id}

Get a Worker by ID or name.

Support: supported

Parameters

NameLocationTypeRequiredDescription
account_idpathstringtrueAny value; your account comes from the API key.
worker_idpathstringtrueWorker ID or name.

Response

HTTP 200

Success

application/json

NameTypeDescription
successbooleanAlways true on success.
errorsarray<any>Always empty on success.
messagesarray<any>Always empty on success.
resultobject
result.idstringWorker ID, prefixed wkr_.
result.namestringUnique per account; lowercase letters, digits and single hyphens.
result.subdomainobjectPublic address of the Worker.
result.tagsarray<string>Up to 8 tags.
result.observabilityobjectObservability settings.
result.logpushbooleanAlways false: unlike Cloudflare, Logpush is not offered.
result.created_onstringWhen the Worker was created.
result.updated_onstringWhen the Worker last changed.
result.deployed_onstring | nullWhen the current deployment became active; null before the first deployment.
result.praxisobjectPlatform fields: lifecycle status, labels, and soft-delete timestamps.
result_infoobjectPresent on list responses.
result_info.pageintegerPage number.
result_info.per_pageintegerPage size.
result_info.countintegerItems on this page.
Export

On this page