---
title: "Delete multiple records from datasets"
method: POST
path: "/v1/observability/dataset-records/bulk-delete"
tags: ["beta.observability.datasets.records"]
---

# Delete multiple records from datasets

`POST /v1/observability/dataset-records/bulk-delete`

## Request

- Base URL: `https://api.mistral.ai`
- URL: `https://api.mistral.ai/v1/observability/dataset-records/bulk-delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/mistral/apis/mistral-ai-api/docs/v1/observability/dataset-records/bulk-delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Delete multiple records from datasets

## Request body

- DeleteDatasetRecordsRequest
  - `dataset_record_ids` string[], required

## Response `204`

Successful Response

## Other responses

- `400`: Bad Request - Invalid request parameters or data
- `404`: Not Found - Resource does not exist
- `408`: Request Timeout - Operation timed out
- `409`: Conflict - Resource conflict
- `422`: Unprocessable Entity - Validation error

## Changes

- **2026-10-12** `6c349f3bdef6`: 20 warning
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `400`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `404`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `408`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `409`
  - …16 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/observability/dataset-records/bulk-delete/post.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) - [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/08a585fb75bc?raw)
