---
title: "Details how many texts have been generated in the past minux,hour,day,month and total"
method: GET
path: "/v2/stats/text/totals"
tags: ["v2"]
---

# Details how many texts have been generated in the past minux,hour,day,month and total

`GET /v2/stats/text/totals`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v2/stats/text/totals`
- Auth: none declared
- TypeScript: <https://skmtc.dev/haidra-org/apis/ai-horde/docs/v2/stats/text/totals/get.ts> (a function with typed inputs; its response is checked against the schema)

Also shows the amount of pixelsteps for the same timeframe.

## Headers

- `Client-Agent` string
- `X-Fields` string, mask

## Response `200`

AI Horde generated text statistics

- StatsTxtTotals
  - `minute` SinglePeriodImgStat
    - `images` integer: The amount of images generated during this period.
    - `ps` integer: The amount of pixelsteps generated during this period.
  - `hour` SinglePeriodImgStat
    - `images` integer: The amount of images generated during this period.
    - `ps` integer: The amount of pixelsteps generated during this period.
  - `day` SinglePeriodImgStat
    - `images` integer: The amount of images generated during this period.
    - `ps` integer: The amount of pixelsteps generated during this period.
  - `month` SinglePeriodImgStat
    - `images` integer: The amount of images generated during this period.
    - `ps` integer: The amount of pixelsteps generated during this period.
  - `total` SinglePeriodImgStat
    - `images` integer: The amount of images generated during this period.
    - `ps` integer: The amount of pixelsteps generated during this period.

---

[API](https://skmtc.dev/haidra-org/apis/ai-horde.md) - [All operations](https://skmtc.dev/haidra-org/apis/ai-horde/llms.txt) - [OpenAPI document](https://skmtc.dev/haidra-org/apis/ai-horde/revisions/dfeb0bedd935?raw)
