v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
LLM Observability

Delete annotations

Delete one or more annotations from an annotation queue.

post/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotations/delete

Path parameters

queue_idstring required

The ID of the LLM Observability annotation queue.

Request body

Example request

{
  "data": {
    "attributes": {
      "annotation_ids": [
        "00000000-0000-0000-0000-000000000000",
        "00000000-0000-0000-0000-000000000001"
      ]
    },
    "type": "annotations"
  }
}

Response

OK — annotations deleted. Errors for annotations that could not be deleted are listed in errors.

Example response

{
  "data": {
    "attributes": {
      "annotation_ids": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "errors": [
        {
          "annotation_id": "00000000-0000-0000-0000-000000000000",
          "error": "annotation not found"
        }
      ]
    },
    "id": "00000000-0000-0000-0000-000000000001",
    "type": "annotations"
  }
}