---
title: "Get Config Diff"
method: GET
path: "/api/configs/diff"
tags: ["Config API"]
---

# Get Config Diff

`GET /api/configs/diff`

## Request

- The document declares no server URL.
- Auth: none declared

Reject the retired database-backed configuration diff API.

## Query parameters

- `config_type` 'DATASET' | 'SERVICE' | 'WORKFLOW' | 'BACKEND' | 'POOL' | 'POD_TEMPLATE' | 'GROUP_TEMPLATE' | 'RESOURCE_VALIDATION' | 'BACKEND_TEST' | 'ROLE', required: Type of configs supported by config history
- `first_revision` integer, required: First revision to compare
- `second_revision` integer, required: Second revision to compare

## Response `200`

Successful Response

- ConfigDiffResponse: Response body for config diff endpoint.
  - `first_data` unknown
  - `second_data` unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-03** `b9d312a13f5d`: 3 info
  - added the new enum value `DATASET` to the `query` request parameter `config_type`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-06-24** `d3e1ce0d4036`: 1 breaking
  - removed the enum value `DATASET` from the `query` request parameter `config_type`
- **2026-04-08** `a8157dc3279d`: 1 info
  - for the `query` request parameter `config_type`, the type was generalized from no type to `string`
- **2026-03-31** `639e39b0d1eb`: 1 breaking, 2 info
  - the response's body type changed from `string` to `object` for status `200`
  - added the optional property `first_data` to the response with the `200` status
  - added the optional property `second_data` to the response with the `200` status
- **2026-02-27** `3b4b243276b5`: 1 info
  - added the new enum value `GROUP_TEMPLATE` to the `query` request parameter `config_type`

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/configs/diff/get.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
