---
title: "Fetch published index values on demand"
method: POST
path: "/v1/price-baseline/indices/refresh"
tags: ["Contract Pricing"]
---

# Fetch published index values on demand

`POST /v1/price-baseline/indices/refresh`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/price-baseline/indices/refresh`
- Auth: HTTP bearer

Fetches the named series from their publishers for the given year range in the request and stores the values as published values shared by every workspace. A series that cannot be fetched is reported with its error and the other series are still stored. A long range of a slow publisher can approach the HTTP timeout.

## Request body

- object
  - `series` string[], required
  - `from_year` integer, required
  - `to_year` integer, required

## Response `201`

One sync result per series.

- object
  - `data` PriceBaselineSyncResult[]
    - `series` string
    - `stored` integer
    - `error` string, nullable
    - `status` 'ok' | 'error' | 'pending' | 'need': Absent for library series. `pending` waits on a publisher job; `need` needs a person.

## Other responses

- `400`: The request is invalid.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/price-baseline/indices/refresh/post.md)

---

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