---
title: "Statement for a period — usage by key/agent, chain, method class; .csv variant available"
method: GET
path: "/api/statements/{period}"
---

# Statement for a period — usage by key/agent, chain, method class; .csv variant available

`GET /api/statements/{period}`

## Request

- Base URL: `https://flexyield.io`
- URL: `https://flexyield.io/api/statements/{period}`
- Auth: HTTP bearer

## Path parameters

- `period` string, date, required

## Response `200`

OK

- object

## Other responses

- `401`: Invalid or missing API key (-32001)
- `403`: Service switched off for this account/key (-32012) or account suspended (-32009)
- `429`: Rate window, key budget, plan quota or service cap reached (-32005/-32006/-32007/-32014) — the body says what to do next

---

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