# Clear all history

- **Method:** `DELETE`
- **Path:** `/api/v1/history`
- **Operation ID:** `clear_history_api_v1_history_delete`
- **Tags:** History

Delete all history items, optionally filtered by generation mode.

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Query parameters

- **`mode`**: `string | null`

  Filter by generation mode: 'clone', 'design', or 'tts'

## Responses

### 200 Successful Response

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

schema: `SuccessMessageResponse`

- **`success` (required)**: `boolean`

  Whether the operation succeeded
- **`message`**: `string`, default: `""`

  Human-readable result message

**Example:**

```json
{
  "success": true,
  "message": ""
}
```

### 422 Validation Error

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

schema: `HTTPValidationError`

- **`detail`**: `array`

  **Items:**

  schema: `ValidationError`
  - **`loc` (required)**: `array of (string | integer)`
  - **`msg` (required)**: `string`
  - **`type` (required)**: `string`
  - **`ctx`**: `object`
  - **`input`**: `any`

**Example:**

```json
{
  "detail": [
    {
      "loc": [
        ""
      ],
      "msg": "",
      "type": "",
      "input": null,
      "ctx": {}
    }
  ]
}
```

## Schemas

- `HTTPValidationError` — shown above.
- `SuccessMessageResponse` — shown above.
- `ValidationError` — shown above.
