---
title: "Admin Credits"
method: GET
path: "/v1/admin/credits"
tags: ["admin-credits"]
---

# Admin Credits

`GET /v1/admin/credits`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/admin/credits`
- Auth: none declared

Per-publisher credits ledger + platform rollup + the gaps.

No ``Depends(get_db)``: a short-lived session is opened here and
released in the ``finally`` before the response shape is built, so no
pooled connection is held while the payload is assembled (the canonical
pattern from ``app/routes/publisher_shows.py``).

## Query parameters

- `days` integer, nullable: Trailing window in days. Omit for ALL TIME — credits extended is a lifetime number by nature.
- `segment` string
- `product` string
- `include_seeded` boolean
- `limit` integer
- `offset` integer

## Headers

- `x-storyflo-email-token` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
