---
title: "Delete Annotation"
method: DELETE
path: "/preview/annotations/{trace_id}/{span_id}"
tags: ["Evals"]
---

# Delete Annotation

`DELETE /preview/annotations/{trace_id}/{span_id}`

## Path parameters

- `trace_id` string, required
- `span_id` string, required

## Response `200`

Successful Response

- AnnotationLinkResponse
  - `annotation` AnnotationLinkOutput, required
    - `span_id` string, required
    - `trace_id` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-06-27** `e3e84db47198` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/preview/annotations/:trace_id/:span_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/e3e84db47198/schema)
