---
title: "Get Schema Changes Dashboard"
method: GET
path: "/api/v1/schema-drift/assets/{asset_id}/schema-changes-dashboard"
tags: ["schema-drift", "schema-drift"]
---

# Get Schema Changes Dashboard

`GET /api/v1/schema-drift/assets/{asset_id}/schema-changes-dashboard`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/schema-drift/assets/{asset_id}/schema-changes-dashboard`
- Auth: none declared

Optimized single-call endpoint for schema changes dashboard.

Returns everything needed to render the page in one request:
- Asset metadata
- Change events with pagination
- Table list with change counts (single JOIN query)
- Schema list
- Summary statistics

This eliminates the waterfall of 4-5 sequential API calls, reducing
load time from 800-1500ms to 150-300ms (70-80% improvement).

Query Parameters:
    - limit: Maximum number of change events (1-500, default 50)
    - offset: Pagination offset for changes (default 0)
    - days_back: Filter changes and stats from last N days (1-365, default 7)
    - include_inactive: Include deleted/inactive tables (default false)

## Path parameters

- `asset_id` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer
- `days_back` integer
- `include_inactive` boolean

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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