> This page is for version v2025-04-21.
> For other versions, use one of these documentation indexes:
> - v2026-02-09 (default): https://docs.extend.ai/2026-02-09/llms.txt
> - v2025-04-21: https://docs.extend.ai/2025-04-21/llms.txt
> - v2024-12-23: https://docs.extend.ai/2024-12-23/llms.txt

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extend.ai/llms.txt
> Use this file to discover all available pages before exploring further.
>
> ## API version
> The current API version is `2026-02-09`, served at the site root (no version prefix in URLs).
> If this page URL contains `/2025-04-21/` or `/2024-12-23/`, you are reading an older API version.
> Prefer the current docs at https://docs.extend.ai/llms.txt unless the user explicitly needs that older version.
> Do not treat older-version pages as the source of truth for new integrations.

# Delete Evaluation Set Item

DELETE https://api.extend.ai/evaluation_set_items/{id}

Delete an evaluation set item from an evaluation set. This operation is permanent and cannot be undone.

This endpoint can be used to remove individual items from an evaluation set when they are no longer needed or if they were added in error.


Reference: https://docs.extend.ai/2025-04-21/developers/api-reference/evaluation-set-endpoints/delete-evaluation-set-item

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `id` (string, required) — The ID of the evaluation set item to delete. Example: `"evi_kR9mNP12Qw4yTv8BdR3H"`

### Headers

- `x-extend-api-version` ("2025-04-21", optional, default: 2025-04-21) — API version to use for the request. If you do not specify a version, you will either receive a `400 Bad Request` or be set to a previous legacy version. See [API Versioning](https://docs.extend.ai/2025-04-21/developers/api-versioning) for more details.
- `x-extend-workspace-id` (string, optional) — The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2025-04-21/developers/authentication) for details on API key scopes.

## Response

### 200

Successfully deleted evaluation set item

- `success` (boolean, required)
- `evaluationSetItemId` (string, required) — The ID of the deleted evaluation set item
- `message` (string, required) — Confirmation message

## Errors

### 404 Not Found Error

Evaluation set item not found

- `code` (string, required) — Error code identifying the type of error
- `message` (string, required) — Human-readable error message
- `requestId` (string, required) — Unique request identifier for support purposes
- `retryable` (boolean, required) — Whether the request can be retried

### 500 Internal Server Error

Internal server error

- `code` (string, required) — Error code identifying the type of error
- `message` (string, required) — Human-readable error message
- `requestId` (string, required) — Unique request identifier for support purposes
- `retryable` (boolean, required) — Whether the request can be retried

## Examples

**Response**

```json
{
  "success": true,
  "evaluationSetItemId": "evi_kR9mNP12Qw4yTv8BdR3H",
  "message": "Evaluation set item has been successfully deleted."
}
```