# Summarize generations

URL: https://www.atmee.ai/docs/api/reference/generation/getGenerationSummary

`GET /v1/generation/summary`

Counts the account's generations by kind and its clips by mode
(`picture` or `avatar`; `unknown` for clips made before modes were
recorded), under the same `madeBy`, `status`, `since` and `q` filters as
`GET /v1/generation`, for filter chips such as "Clips · 14". `makers`
lists everyone who made any of the account's generations (whatever
the filters), latest first: members, former members (named "Former
member") and API keys, each with its user id or key id for
`madeBy`. Visibility and scopes are those of `GET /v1/generation`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `madeBy` | query | no | As on `GET /v1/generation`. |
| `status` | query | no | As on `GET /v1/generation`. |
| `since` | query | no |  |
| `q` | query | no |  |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | The counts and makers. | `GenerationSummaryResponse` |
| `400` | invalid_input -- an unknown `madeBy` or `status`, or `q` too long. | `ApiErrorResponse` |
| `401` | Missing or invalid API key, or a user token that is invalid, anonymous or of a user who may act for no account (`invalid_login`). | none |
| `403` | insufficient_scope (needs generation:write, avatars:read or avatars:write) \| account_not_allowed (`X-Account-Id` names an account the user may not act for) | `ApiErrorResponse` |
| `409` | account_ambiguous -- a user of several accounts sent no `X-Account-Id` and their Personal account cannot be told. `accounts` lists the choices. | `ApiErrorResponse` |
| `503` | generation_unavailable -- this instance does not offer generation. | `ApiErrorResponse` |

## `200` response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `counts` | object | yes | Generations by kind under the filters. |
| `total` | integer | yes |  |
| `clipModes` | object | yes | Clips by mode under the filters; `unknown` counts clips made before modes were recorded. |
| `makers` | array of object | yes | Everyone who made any of the account's generations, latest first (the filters do not apply). |
| `unknownGenerations` | integer | yes | Generations whose maker was not recorded (older calls). |
