---
title: "查询配置最新状态的前一次变更历史"
method: GET
path: "/v3/console/cs/history/previous"
tags: ["Nacos控制台配置历史相关API"]
---

# 查询配置最新状态的前一次变更历史

`GET /v3/console/cs/history/previous`

通过该接口，可以查询配置最新状态的前一次变更历史。

## Response `200`

OK

- ResultConfigHistoryDetailInfo
  - `code` integer
  - `message` string
  - `data` ConfigHistoryDetailInfo
    - `id` integer
    - `namespaceId` string
    - `groupName` string
    - `dataId` string
    - `md5` string
    - `type` string
    - `appName` string
    - `createTime` integer
    - `modifyTime` integer
    - `srcIp` string
    - `srcUser` string
    - `opType` string
    - `publishType` string
    - `content` string
    - `encryptedDataKey` string
    - `grayName` string
    - `extInfo` string

---

[API](https://skmtc.net/nacos/apis/nacos-api.md) · [All operations](https://skmtc.net/nacos/apis/nacos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nacos/nacos-api/revisions/215ef0377c96/schema)
