---
title: "Clear a DAG's browser replay cache"
method: DELETE
path: "/dags/{fileName}/browser-cache"
tags: ["dags"]
---

# Clear a DAG's browser replay cache

`DELETE /dags/{fileName}/browser-cache`

Removes the recorded act operations that the DAG's browser steps replay on later runs, so the next run asks the model again. Only the cache on the node that serves the request is cleared; in distributed mode it is kept on the worker that ran the step. Operator or above.

## Path parameters

- `fileName` string, regex, required — Name of the DAG file

## Query parameters

- `remoteNode` string
- `step` string

## Response `200`

Replay cache cleared

- DAGBrowserCacheClearResult — Browser steps whose replay cache was removed
  - `steps` string[], required — Keys of the steps whose recorded act operations were removed: the requested step, or every cleared step with step names in their file-safe form. Empty when there was nothing to clear.

## Other responses

- `403` — Forbidden - insufficient permissions
- `404` — DAG not found
- `default` — Generic error response

## Changes

- **2026-09-25** (v1) `89bb31cb9b30` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/dags/:fileName/browser-cache/delete.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/f2d1c9884f74?raw)
