---
title: "The contract workbook as an Excel file"
method: GET
path: "/v1/price-baseline/models/{id}/workbook.xlsx"
tags: ["Contract Pricing"]
---

# The contract workbook as an Excel file

`GET /v1/price-baseline/models/{id}/workbook.xlsx`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/price-baseline/models/{id}/workbook.xlsx`
- Auth: HTTP bearer

The same workbook as `/sheets`, written as xlsx with live formulas. The period follows the same rules as `/sheets`. The file is sent as an attachment named after the contract.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string
- `to` string
- `comparison_id` string, uuid
- `year` integer

## Response `200`

The xlsx file.

## Other responses

- `400`: The request is invalid.
- `404`: The requested resource was not found.
- `422`: The request is well-formed but violates the declared task contract.

## Changes

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

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/price-baseline/models/:id/workbook.xlsx/get.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)
