> ## 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.

# データセットを削除する

> 1 回のリクエストで削除します。プレビューは不要です。サーバーは現在の依存関係の範囲を記録します。依存するファインチューン、そのトレーニングアーティファクト、影響を受ける評価も削除するには、`cascade=true` を設定します。実行中のファインチューンや評価、ルーティング対象のモデルがある場合は、引き続き削除できません。インポートと再ラベル付けは、バッチまたはリクエストの境界で停止します。削除開始後に到着した結果は破棄されます。DELETE を繰り返すと、既存の操作が返されるか、クリーンアップがすでに開始されている場合は、記録された範囲内で失敗したクリーンアップが再試行されます。任意で使用できる削除計画エンドポイントには、リソースが存在する間、操作のステータスが含まれます。削除後にリソースに対して GET を実行すると、404 が返されます。



## OpenAPI

````yaml ja/openapi/model-distillation/management.openapi.yaml DELETE /projects/{alias}/datasets/{datasetId}
openapi: 3.1.0
info:
  title: CoreWeave Model Distillation Management API
  version: 1.0.0
  description: |
    プロバイダー、project、ルーティングバージョン、データセット、再ラベル付け、
    ファインチューン、評価、Analyticsを管理します。これは
    Model Distillationでも使用されるAPIです。
servers:
  - url: https://forge.coreweave.com/api/distillation/v1
    description: 本番
security:
  - WandbCredential: []
tags:
  - name: Providers
    description: OpenAI互換エンドポイント、認証情報、モデルカタログ、料金。
  - name: Projects
    description: 安定したprojectアイデンティティとprojectレベルの情報。
  - name: Routing
    description: バージョン管理されたモデルターゲット、重み、リクエストパラメーター。
  - name: Datasets
    description: 再現可能なデータスナップショット、エントリ、再ラベル付け、再利用可能なモデル出力。
  - name: Fine-tunes
    description: 教師ありファインチューニングジョブとホスト型モデル アーティファクト。
  - name: Evaluations
    description: ヘッドツーヘッド、完全一致、分類の評価。
  - name: Analytics
    description: project トラフィック、トークン、エラー、推定コストの読み取りモデル。
  - name: UI preferences
    description: UIで使用されるprojectごとの表示設定。
paths:
  /projects/{alias}/datasets/{datasetId}:
    parameters:
      - $ref: '#/components/parameters/ForgeEntity'
      - $ref: '#/components/parameters/ProjectAlias'
      - $ref: '#/components/parameters/DatasetId'
    delete:
      tags:
        - Datasets
      summary: データセットを削除
      description: >-
        1
        回のリクエストで削除します。プレビューは不要です。サーバーは現在の依存関係の範囲を記録します。依存するファインチューン、そのトレーニングアーティファクト、影響を受ける評価も削除するには、`cascade=true`
        を設定します。実行中のファインチューンや評価、ルーティング対象のモデルがある場合は、引き続き削除できません。インポートと再ラベル付けは、バッチまたはリクエストの境界で停止します。削除開始後に到着した結果は破棄されます。DELETE
        を繰り返すと、既存の操作が返されるか、クリーンアップがすでに開始されている場合は、記録された範囲内で失敗したクリーンアップが再試行されます。任意で使用できる削除計画エンドポイントには、リソースが存在する間、操作のステータスが含まれます。削除後にリソースに対して
        GET を実行すると、404 が返されます。
      operationId: deleteDataset
      parameters:
        - name: cascade
          in: query
          description: このデータセットに依存するファインチューンと評価も完全に削除します。
          required: false
          schema:
            type: boolean
            default: false
      responses:
        '202':
          description: 削除がキューに追加されたか、完了済みの操作を含む既存の操作が返されました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletionOperation'
        '204':
          description: データセットはすでに存在せず、削除操作もありません。
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    ForgeEntity:
      name: Forge-Entity
      in: header
      required: false
      description: >-
        アクセス可能な個人またはチームの entity。`GET /projects` と `GET /projects/summaries`
        でアクセス可能なすべての entity を一覧表示するには、省略します。他のエンドポイントでは、認証済みユーザーのデフォルトの entity
        を使用します。
      schema:
        type: string
    ProjectAlias:
      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:
    DeletionOperation:
      type: object
      additionalProperties: false
      required:
        - id
        - resource_type
        - resource_id
        - 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
        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: Project 'missing' not found in entity 'your-team'
          type: not_found
  responses:
    Error:
      description: リクエストが失敗しました。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    WandbCredential:
      type: http
      scheme: bearer
      bearerFormat: wandb API key or JWT
      description: >-
        wandb APIキーまたは wandb JWT。ブラウザーセッションの交換は、Model Distillation
        ウェブアプリのバックエンドで行われます。ジョブのケイパビリティは内部専用です。

````