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

# Delete Dedicated Run

> Delete a dedicated run: helm uninstall + namespace delete + DB cleanup.

Idempotent. Safe to call repeatedly. Cleans up the linked Job row too
(which uninstalls the helm release on the customer cluster). Soft-
deletes the RFTRun row (matches the existing run-delete UX — Billing
refs are preserved).



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json delete /api/v1/training/runs/{run_id}
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/training/runs/{run_id}:
    delete:
      tags:
        - training
      summary: Delete Dedicated Run
      description: |-
        Delete a dedicated run: helm uninstall + namespace delete + DB cleanup.

        Idempotent. Safe to call repeatedly. Cleans up the linked Job row too
        (which uninstalls the helm release on the customer cluster). Soft-
        deletes the RFTRun row (matches the existing run-delete UX — Billing
        refs are preserved).
      operationId: delete_dedicated_run_api_v1_training_runs__run_id__delete
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteRunResponse'
        '401':
          description: Authorization failed
        '422':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    DeleteRunResponse:
      properties:
        runId:
          type: string
          title: Runid
        deleted:
          type: boolean
          title: Deleted
      type: object
      required:
        - runId
        - deleted
      title: DeleteRunResponse
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````