---
title: "Get the treasury"
method: GET
path: "/api/v1/treasury"
tags: ["Treasury"]
---

# Get the treasury

`GET /api/v1/treasury`

## Request

- Base URL: `https://www.vestiarion.xyz`
- URL: `https://www.vestiarion.xyz/api/v1/treasury`
- Auth: HTTP bearer

The workspace's accounts and reserve position, its obligations from the latest cycle snapshot, the latest liquidity forecast, and up to 20 recent treasury moves. Obligations stay `null` before any snapshot exists; the API does not invent zeroes.

## Response `200`

OK

- GetTreasuryResponse
  - `data` object, required: The workspace's accounts, reserve, obligations, latest forecast and recent treasury moves.
    - `accounts` object[], required
      - `id` string, required
      - `name` string, required
      - `kind` 'operating' | 'reserve' | 'chain', required
      - `chain` string, required
      - `token` string, required
      - `address` string, nullable, required
      - `balance` number, required
      - `apy` number, required
    - `reservePosition` number, required: The sum of the reserve accounts' balances.
    - `obligations` object, required: From the latest cycle snapshot; null before any snapshot exists, never an invented zero.
      - `asOf` string, nullable, required
      - `dueWithin7Days` number, nullable, required
      - `dueWithin14Days` number, nullable, required
    - `latestForecast` object, nullable, required
      - `id` string, required
      - `asOf` string, required
      - `horizonDays` number, required
      - `projectedInflow` number, required
      - `projectedOutflow` number, required
      - `liquidBalance` number, required
      - `recommendation` string, nullable, required
    - `recentActions` object[], required: Up to 20 treasury moves, newest first.
      - `id` string, required
      - `action` 'sweep_to_usyc' | 'redeem_from_usyc' | 'rebalance', required
      - `amount` number, required
      - `fromAccountId` string, nullable, required
      - `toAccountId` string, nullable, required
      - `reasoning` string, nullable, required
      - `createdAt` string, required

## Other responses

- `401`: unauthorized
- `403`: forbidden
- `500`: internal

---

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