# List generation history

- **Method:** `GET`
- **Path:** `/api/v1/history`
- **Operation ID:** `list_history_api_v1_history_get`
- **Tags:** History

Return all past generation results with metadata, newest first.

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Responses

### 200 Successful Response

**Content type:** `application/json`

schema: `HistoryListResponse`

- **`items` (required)**: `array`

  Generation history items, newest first

  **Items:**

  schema: `HistoryItem`
  - **`created_at` (required)**: `string`

    ISO 8601 creation timestamp
  - **`duration_seconds` (required)**: `number`

    Audio duration in seconds
  - **`file_size` (required)**: `integer`

    Audio file size in bytes
  - **`full_text` (required)**: `string`

    Full generated text
  - **`id` (required)**: `string`

    Unique history item identifier
  - **`mode` (required)**: `string`

    Generation mode used (clone, design, tts)
  - **`text` (required)**: `string`

    Truncated generated text (for display)
  - **`design_id`**: `string | null`

    Design voice ID (design mode)
  - **`design_name`**: `string | null`

    Design voice name (design mode)
  - **`instruct_text`**: `string | null`

    Voice description (design mode)
  - **`ref_text`**: `string | null`

    Reference text (clone mode)
  - **`speaker`**: `string | null`

    Speaker ID (tts mode)
  - **`speaker_name`**: `string | null`

    Speaker name (tts mode)
  - **`voice_id`**: `string | null`

    Voice ID used (clone mode)
  - **`voice_name`**: `string | null`

    Voice name used (clone mode)

**Example:**

```json
{
  "items": [
    {
      "id": "h1b2c3d4",
      "text": "Welcome to our...",
      "full_text": "Welcome to our application.",
      "mode": "clone",
      "created_at": "2026-01-15T10:30:00Z",
      "duration_seconds": 3.2,
      "file_size": 102400,
      "ref_text": "",
      "voice_id": "",
      "voice_name": "",
      "instruct_text": "",
      "design_id": "",
      "design_name": "",
      "speaker": "",
      "speaker_name": "",
      "additionalProperty": "anything"
    }
  ]
}
```

## Schemas

- `HistoryItem` — shown above.
- `HistoryListResponse` — shown above.
