Cloudflare

Get deployment

Get deployment

GET /cloudflare/client/v4/accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}

Get one deployment.

Support: supported

Parameters

NameLocationTypeRequiredDescription
account_idpathstringtrueAny value; your account comes from the API key.
script_namepathstringtrueWorker name.
deployment_idpathstringtrueDeployment ID.

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.idstringDeployment ID, prefixed dep_.
result.created_onstringWhen the deployment was created.
result.sourcestringOrigin: api, sdk, console or rollback.
result.strategystringRollout strategy.
result.versionsarray<object>Exactly one version at 100 percent.
result.annotationsobjectFree-form annotations.
result.author_emailstring | nullWho created the deployment.
result.praxisobjectPlatform fields: deployments run asynchronously, so track status, progress and error here.
result_infoobjectPresent on list responses.
result_info.pageintegerPage number.
result_info.per_pageintegerPage size.
result_info.countintegerItems on this page.
Export

On this page