**版本：202601**

# 查询应用代理详情

**GET** `/openapi/2026-01/app-proxies/:id`

通过应用代理 ID 获取指定应用代理的详细信息。

## 请求

**Path参数**

- `id` int32 (required)

  应用代理 ID

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `app_proxy` object

    应用代理

    - `id` int32

      应用代理的唯一标识
    - `real_path` string

      访问应用代理时配置的 URL 路径。例如目标路径为 "apps/pay" 时填写 "pay"
    - `proxy_url` string

      开发者应用用于处理代理请求的 URL，例如 "[http://www.example.com/app](http://www.example.com/app)"
    - `change_origin` boolean

      是否将请求的 Host 头改写为代理目标地址
    - `created_at` string

      应用代理创建时间
    - `updated_at` string

      应用代理最后更新时间

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "app_proxy": {
      "id": 0,
      "real_path": "string",
      "proxy_url": "string",
      "change_origin": true,
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
