> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview dataset deletion

> Returns the authoritative dependency impact, safety blockers, operation status, and fingerprint required to confirm deletion.



## OpenAPI

````yaml /openapi/model-distillation/management.openapi.yaml get /tasks/{alias}/datasets/{datasetId}/deletion-plan
openapi: 3.1.0
info:
  title: CoreWeave Model Distillation Management API
  version: 1.0.0
  description: |
    Manage providers, projects (called tasks in API paths), routing versions,
    datasets, relabeling, fine-tunes, evaluations, and analytics. This is the
    same API used by Model Distillation.
servers:
  - url: https://distillation.training.wandb.ai/v1
    description: Production
security:
  - WandbCredential: []
tags:
  - name: Providers
    description: OpenAI-compatible endpoints, credentials, model catalogs, and pricing.
  - name: Tasks
    description: Stable task identity and task-level information.
  - name: Routing
    description: Versioned model targets, weights, and request parameters.
  - name: Datasets
    description: >-
      Reproducible data snapshots, entries, relabeling, and reusable model
      outputs.
  - name: Fine-tunes
    description: Supervised fine-tuning jobs and hosted model artifacts.
  - name: Evaluations
    description: Head-to-head, exact-match, and categorization evaluations.
  - name: Analytics
    description: Task traffic, token, error, and estimated-cost read models.
  - name: UI preferences
    description: Per-task display preferences used by the UI.
paths:
  /tasks/{alias}/datasets/{datasetId}/deletion-plan:
    parameters:
      - $ref: '#/components/parameters/WandbEntity'
      - $ref: '#/components/parameters/TaskAlias'
      - $ref: '#/components/parameters/DatasetId'
    get:
      tags:
        - Datasets
      summary: Preview dataset deletion
      description: >-
        Returns the authoritative dependency impact, safety blockers, operation
        status, and fingerprint required to confirm deletion.
      operationId: getDatasetDeletionPlan
      responses:
        '200':
          description: Current deletion plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletionPlan'
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    WandbEntity:
      name: Wandb-Entity
      in: header
      required: false
      description: >-
        Accessible personal or team entity. Omit to use the authenticated user's
        default entity.
      schema:
        type: string
    TaskAlias:
      name: alias
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-z0-9-]{1,64}$
    DatasetId:
      name: datasetId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    DeletionPlan:
      type: object
      additionalProperties: true
      required:
        - resource_type
        - resource_id
        - data_plane
        - fingerprint
        - cascade_required
        - fine_tunes
        - deleted_evaluations
        - updated_evaluations
        - blockers
        - operation
      properties:
        resource_type:
          type: string
          enum:
            - dataset
            - finetune
        resource_id:
          type: string
          format: uuid
        data_plane:
          type: string
          enum:
            - postgres
            - weave
        fingerprint:
          type: string
        cascade_required:
          type: boolean
        fine_tunes:
          type: array
          items:
            type: object
        deleted_evaluations:
          type: array
          items:
            type: object
        updated_evaluations:
          type: array
          items:
            type: object
        blockers:
          type: array
          items:
            type: object
        operation:
          oneOf:
            - $ref: '#/components/schemas/DeletionOperation'
            - type: 'null'
    DeletionOperation:
      type: object
      additionalProperties: false
      required:
        - id
        - resource_type
        - resource_id
        - plan_fingerprint
        - status
        - current_step
        - error
        - created_at
        - updated_at
        - completed_at
        - destructive_started_at
      properties:
        id:
          type: string
          format: uuid
        resource_type:
          type: string
          enum:
            - dataset
            - finetune
        resource_id:
          type: string
          format: uuid
        plan_fingerprint:
          type: string
        status:
          type: string
          enum:
            - queued
            - running
            - failed
            - completed
        current_step:
          type: string
        error:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
        destructive_started_at:
          type:
            - string
            - 'null'
          format: date-time
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
      example:
        error:
          message: Task 'missing' not found in entity 'your-team'
          type: not_found
  responses:
    Error:
      description: Request failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    WandbCredential:
      type: http
      scheme: bearer
      bearerFormat: W&B API key
      description: A W&B API key.

````

## Related topics

- [Datasets](/model-distillation/studio/datasets.md)
