# An API to Track Database Schema Changes

DevFeed: [An API to Track Database Schema Changes](<https://devfeed.tech/articles/an-api-to-track-database-schema-changes-4977.md>)

Original publisher: [Read original article](<https://neon.com/blog/api-track-schema-changes>)

Author: Luis Tavares

Published: 2025-01-09T17:08:23Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [schema-evolution](<https://devfeed.tech/topics/schema-evolution.md>), [Database Migration](<https://devfeed.tech/topics/database-migration.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Repl.it](<https://devfeed.tech/topics/replit.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [api](<https://devfeed.tech/tags/api.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [database](<https://devfeed.tech/tags/database.md>), [github](<https://devfeed.tech/tags/github.md>), [github-action](<https://devfeed.tech/tags/github-action.md>), [llms](<https://devfeed.tech/tags/llms.md>), [migration](<https://devfeed.tech/tags/migration.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [product](<https://devfeed.tech/tags/product.md>), [schema-evolution](<https://devfeed.tech/tags/schema-evolution.md>)

## AI overview

The article introduces the compare_schema API endpoint for Neon's Schema Diff feature. It explains how the API compares schemas between Neon databases and supports CI/CD automation, agentic systems, database migrations, and schema evolution, including use cases involving Replit Agent and Postgres.

## Source excerpt

We keep expanding our Schema Diff feature, this time adding an API endpoint: compare_schema. You can use it in all your Neon projects, including the Free Plan. Schema Diff allows you to easily compare schemas between Neon databases. It was first made available via the Neon Consol...