---
title: "Get Source Config Comparison"
method: GET
path: "/sources/{source_id}/config-history/compare-to-original"
tags: ["Sources"]
---

# Get Source Config Comparison

`GET /sources/{source_id}/config-history/compare-to-original`

Compare a source's current config against its original recorded config (secret-masked diff).

## Path parameters

- `source_id` string, required

## Response `200`

Successful Response

- KCConfigChangeComparisonRes — Comparison of the current connector config against the original recorded config.
  - `has_changes` boolean — Whether the current config differs from the original
  - `oldest_timestamp` string, date-time, nullable — Timestamp of the original recorded config
  - `latest_timestamp` string, date-time, nullable — Timestamp of the latest recorded config
  - `masked_diff` string — Unified diff (secret-masked) of original vs current config

## Other responses

- `422` — Validation Error

---

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