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

# Delete Trace

`DELETE /traces/{trace_id}`

## Path parameters

- `trace_id` string, required

## Response `202`

Successful Response

- TraceIdResponse
  - `count` integer — `1` if a `trace_id` was returned, `0` otherwise.
  - `trace_id` string, nullable — 32-char hex UUID identifying the trace that was created or edited.

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `a7f9a6823230` — 2 warning
  - removed the optional property `support_id` from the response with the `202` status
  - removed the optional property `support_ts` from the response with the `202` status
- **2026-05-08** `0c9cde2f95f3` — 1 info
  - endpoint added
- **2025-06-27** `e3e84db47198` — 1 breaking
  - api path removed without deprecation

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

---

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