---
title: "Get a budget's baseline value over time (step line + re-baseline markers) for the variance chart"
method: GET
path: "/v1/org/{orgId}/budget/{budgetId}/baseline-variance"
tags: ["budget"]
---

# Get a budget's baseline value over time (step line + re-baseline markers) for the variance chart

`GET /v1/org/{orgId}/budget/{budgetId}/baseline-variance`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/v1/org/{orgId}/budget/{budgetId}/baseline-variance`
- Auth: none declared
- TypeScript: <https://skmtc.dev/charthop/apis/charthop-api/docs/v1/org/:orgId/budget/:budgetId/baseline-variance/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `orgId` string, required
- `budgetId` string, required

## Query parameters

- `start` string, date
- `end` string, date
- `interval` 'DAY' | 'WEEK' | 'MONTH' | 'QUARTER' | 'FISCAL_QUARTER' | 'YEAR' | 'FISCAL_YEAR'

## Response `200`

ok

- BudgetBaselineVarianceResponse
  - `intervals` BaselineInterval[], required: per-interval baseline value for the reference line
    - `periodStart` string, date, required: start date of the interval
    - `baselineValue` Money
      - `amount` number, required
      - `currency` string, required
      - `places` integer
    - `effectiveSince` string, date: date the in-effect baseline value took effect (clipped to activation; null if before activation)
  - `baselineChanges` BaselineChange[], required: re-baseline step markers within the requested range
    - `date` string, date, required: effective date of the re-baseline
    - `from` Money
      - `amount` number, required
      - `currency` string, required
      - `places` integer
    - `to` Money
      - `amount` number, required
      - `currency` string, required
      - `places` integer
    - `userId` string, required: user who made the re-baseline

## Other responses

- `400`: bad request
- `401`: not authorized
- `404`: not found

## Changes

- **2026-08-05** `b1eb05de45cd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/charthop/apis/charthop-api/changes/v1/org/:orgId/budget/:budgetId/baseline-variance/get.md)

---

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