> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Permanently delete examples from a dataset

> Permanently delete examples and all of their revisions from every version of the dataset. The experiment runs on these examples, their evaluations, their task and evaluator traces, and their experiment logs are deleted too. The dataset, its versions, its experiments, and its other examples are kept. This cannot be undone. Example IDs that are not in the dataset are skipped, so a repeated request succeeds. Wait for experiments on the dataset to finish first, because runs and traces that arrive after the request are kept.



## OpenAPI

````yaml delete /v1/datasets/{id}/examples
openapi: 3.1.0
info:
  title: Arize-Phoenix REST API
  description: Schema for Arize-Phoenix REST API
  version: '1.0'
servers: []
security: []
paths:
  /v1/datasets/{id}/examples:
    delete:
      tags:
        - datasets
      summary: Permanently delete examples from a dataset
      description: >-
        Permanently delete examples and all of their revisions from every
        version of the dataset. The experiment runs on these examples, their
        evaluations, their task and evaluator traces, and their experiment logs
        are deleted too. The dataset, its versions, its experiments, and its
        other examples are kept. This cannot be undone. Example IDs that are not
        in the dataset are skipped, so a repeated request succeeds. Wait for
        experiments on the dataset to finish first, because runs and traces that
        arrive after the request are kept.
      operationId: deleteDatasetExamples
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the dataset
            title: Id
          description: The ID of the dataset
        - name: example_ids
          in: query
          required: true
          schema:
            type: array
            items:
              type: string
            maxItems: 100
            description: >-
              Identifiers of the examples to delete: dataset example IDs
              (GlobalIDs) or user-provided IDs. To delete more examples, send
              more requests.
            title: Example Ids
          description: >-
            Identifiers of the examples to delete: dataset example IDs
            (GlobalIDs) or user-provided IDs. To delete more examples, send more
            requests.
      responses:
        '204':
          description: Successful Response
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Dataset not found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Invalid dataset ID, no example IDs, or too many example IDs

````