---
title: "GET /agentcc/spend-summary/"
method: GET
path: "/agentcc/spend-summary/"
tags: ["agentcc"]
---

# GET /agentcc/spend-summary/

`GET /agentcc/spend-summary/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agentcc/spend-summary/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Returns aggregated spend data so the gateway can seed budget counters
on startup.  Authenticated by admin token (not user JWT).

GET /agentcc/spend-summary/?period=monthly

## Query parameters

- `period` 'daily' | 'weekly' | 'monthly' | 'total'

## Response `200`

OK

- SpendSummaryResponse
  - `status` boolean, required
  - `result` SpendSummaryResult, required
    - `period` 'daily' | 'weekly' | 'monthly' | 'total', required
    - `period_start` string, date-time, required
    - `orgs` object, required

## Other responses

- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
