---
title: "Delete Trace"
method: DELETE
path: "/api/v1/monitor/traces/{trace_id}"
tags: ["Traces"]
---

# Delete Trace

`DELETE /api/v1/monitor/traces/{trace_id}`

Delete a trace and all its spans.

Args:
    trace_id: The ID of the trace to delete.
    current_user: The authenticated user (required for authorization).

## Path parameters

- `trace_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-12** `830c31118215` — 1 info
  - endpoint added
- **2025-10-16** `9bd3e81318d7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/monitor/traces/:trace_id/delete.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
