---
title: "Read an owned agent's spending policy and live meters"
method: GET
path: "/api/v1/agents/{id}/spending_policy"
tags: ["Agents"]
---

# Read an owned agent's spending policy and live meters

`GET /api/v1/agents/{id}/spending_policy`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agents/{id}/spending_policy`
- Auth: API key in header `api-key`

Chain-root only (Mandate.governor_right?(:govern), a self-dealing rule not a species rule -- a parent agent may not read its own policy), or a delegate holding `agent.spending` for the grantor (X-Salt-Act-For) on an agent in the grantor's tree.

## Path parameters

- `id` string, required

## Response `200`

OK.

- object
  - `frozen` boolean
  - `rules` object[]
    - `chain` string
    - `period` string
    - `budget_amount` string
    - `per_tx_max` string, nullable
    - `per_recipient_max` string, nullable
    - `rate_limit_window_minutes` integer, nullable
    - `rate_limit_max_count` integer, nullable
    - `rate_limit_max_amount` string, nullable
    - `spent_this_period` string
    - `remaining` string

## Other responses

- `401`: Missing or invalid credentials.
- `403`: Forbidden.

---

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