---
title: "Manage execution history"
method: POST
path: "/api/history"
tags: ["job"]
---

# Manage execution history

`POST /api/history`

Clear all history for the authenticated user or delete specific job IDs.
Supports clearing all history or deleting specific job IDs.

## Request body

- HistoryManageRequest — Request to manage history operations
  - `delete` string[] — Array of job IDs to delete from history
  - `clear` boolean — If true, clear all history for the authenticated user

## Response `200`

Success - History management operation completed

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized - Authentication required
- `500` — Internal server error

---

[API](https://skmtc.dev/ac/apis/comfy-api.md) · [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ac/comfy-api/revisions/c1893dffe250/schema)
