---
title: "Compare two parameter values"
method: GET
path: "/parameter/{parameterId}/value/{sourceValueId}/compare/{targetValueId}"
tags: ["Parameter"]
---

# Compare two parameter values

`GET /parameter/{parameterId}/value/{sourceValueId}/compare/{targetValueId}`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/parameter/{parameterId}/value/{sourceValueId}/compare/{targetValueId}`
- Auth: HTTP bearer

Compares two parameter values of a single parameter.

## Path parameters

- `parameterId` string, required
- `sourceValueId` string, required
- `targetValueId` string, required

## Response `200`

The operation was successful.

- object
  - `diff_type` 'changed' | 'unchanged' | 'not_comparable': The type of difference found.

## Other responses

- `4XX`: The request couldn't be processed. For example, a parameter is invalid, the resource doesn't exist, or you don't have permission. The body is a problem details object (RFC 9457).
- `5XX`: Something went wrong on nullplatform's side. The body is a problem details object (RFC 9457).

## Changes

- **2026-10-15** `728d4df70ca1`: 6 breaking, 15 info
  - the response property `message` became optional for the status `4XX`
  - the response property `message` became optional for the status `5XX`
  - removed the required property `error` from the response with the `4XX` status
  - removed the required property `error` from the response with the `5XX` status
  - …17 more
- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/parameter/:parameterId/value/:sourceValueId/compare/:targetValueId/get.md)

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) - [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nullplatform/apis/nullplatform-api/revisions/d3f66bc633d4?raw)
