> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/enterprise/datacenter-proxy-api.md).

# 数据中心代理 API

通过 API 管理企业版独享数据中心代理。添加或替换子网、检查离线 IP，并结合 OpenAPI 文档跟踪更改。

### 管理 IP

要通过 数据中心代理 API 管理您的代理，请参阅此文档中的 [**OpenAPI 格式**](https://dc-api-spec.oxylabs.io/?urls.primaryName=Proxy%20list)。该 API 允许您在代理列表中添加或替换代理子网。API 还可让您查看已启动的替换或添加流程的状态，以及包含新增和已替换代理的历史变更。 [**获取代理列表 UUID**](/products/cn/proxies/dedicated-datacenter-proxies/enterprise/whitelisting-ips/restful.md) 并可通过参考 API 随时修改您的代理列表。

### 检查离线 IP

[**子网端点**](https://dc-api-spec.oxylabs.io/?urls.primaryName=Subnet#/) 将返回一个因当前停机而离线的 IP 列表。该列表中的 IP 会自动纳入我们的恢复流程，并将尽快恢复上线。借助这一可见性，用户可以在抓取操作中排除离线 IP，以确保高成功率，或启动替换流程以尽量减少性能影响。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/enterprise/datacenter-proxy-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
