# 获取部署 (/docs/api/compatible/cloudflare/getDeployment)



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

Get one deployment.

**支持状态: supported**

## 参数 [#参数]

| 名称             | 位置   | 类型     | 必填   | 说明                                              |
| -------------- | ---- | ------ | ---- | ----------------------------------------------- |
| account\_id    | path | string | true | Any value; your account comes from the API key. |
| script\_name   | path | string | true | Worker name.                                    |
| deployment\_id | path | string | true | Deployment ID.                                  |

## 响应 [#响应]

### HTTP 200 [#http-200]

Success

**application/json**

| 名称 | 类型 | 说明 |
| --- | --- | --- |
| success | boolean | Always true on success. |
| errors | array&lt;any&gt; | Always empty on success. |
| messages | array&lt;any&gt; | Always empty on success. |
| result | object |  |
| result.id | string | Deployment ID, prefixed dep_. |
| result.created_on | string | When the deployment was created. |
| result.source | string | Origin: api, sdk, console or rollback. |
| result.strategy | string | Rollout strategy. |
| result.versions | array&lt;object&gt; | Exactly one version at 100 percent. |
| result.annotations | object | Free-form annotations. |
| result.author_email | string &#124; null | Who created the deployment. |
| result.praxis | object | Platform fields: deployments run asynchronously, so track status, progress and error here. |
| result_info | object | Present on list responses. |
| result_info.page | integer | Page number. |
| result_info.per_page | integer | Page size. |
| result_info.count | integer | Items on this page. |
