---
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`

## Request

- Base URL: `https://api.streamkap.com`
- URL: `https://api.streamkap.com/sources/{source_id}/config-history/compare-to-original`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/streamkap/apis/streamkap-rest-api/docs/sources/:source_id/config-history/compare-to-original/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Changes

- **2026-08-04** `2a3df099f4a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/streamkap/apis/streamkap-rest-api/changes/sources/:source_id/config-history/compare-to-original/get.md)

---

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