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

# Stop a bulk delete

> Halt every id that hasn't gone yet. One being worked on right now halts before its next destructive step, or finishes if it is past that. A deployment already stopped stays stopped. Safe to repeat, and works with bulk delete turned off.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/bulk_deletes/{id}/stop
openapi: 3.1.0
info:
  title: Veri API
  description: >-
    REST API for the Veri RL post-training platform. All requests require a
    Bearer API key (`vk_` prefix).
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.veri.studio
    description: Production
security: []
tags:
  - name: Training jobs
    description: Create, monitor, and manage training jobs.
  - name: Datasets
    description: Upload and connect training datasets.
  - name: Deployments
    description: Serve trained models and run inference.
  - name: Volumes
    description: Persistent file storage mounted into jobs.
  - name: Models
    description: Custom model registry deployments serve from.
  - name: Regions
    description: Discover available launch regions.
  - name: GPU
    description: Live GPU availability by provider and region.
  - name: Code artifacts
    description: Upload custom training script bundles.
  - name: Billing
    description: Credit balance and transaction history.
  - name: API keys
    description: Create and revoke API keys.
  - name: Account
    description: The authenticated caller's identity.
  - name: Settings
    description: Account-level integrations (Weights & Biases).
  - name: Metrics
    description: Prometheus metrics export for your own observability stack.
  - name: Evaluators
    description: 'Evaluators: versioned scoring rules (LLM judge, code, human).'
  - name: Experiments
    description: >-
      Experiments: offline runs of a pinned dataset snapshot through a target,
      scored by pinned evaluators.
  - name: Annotation queues
    description: >-
      Human review: queue traces, threads and experiment items, reserve one at a
      time, score them and feed corrections back into datasets.
  - name: Monitors
    description: >-
      Monitors: evaluators scoring a sampled share of a deployment's live
      traffic.
  - name: Observability
    description: Agent conversations, agents and their traffic.
  - name: Ask AI
    description: 'The in-app helper agent: chat, ratings and versions.'
  - name: Public runs
    description: Unauthenticated reads of runs their owners published to Explore.
paths:
  /v1/bulk_deletes/{id}/stop:
    post:
      tags:
        - Deployments
      summary: Stop a bulk delete
      description: >-
        Halt every id that hasn't gone yet. One being worked on right now halts
        before its next destructive step, or finishes if it is past that. A
        deployment already stopped stays stopped. Safe to repeat, and works with
        bulk delete turned off.
      operationId: stop_batch
      parameters:
        - name: id
          in: path
          description: Bulk delete id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The batch after the stop
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkDeleteResponse'
        '404':
          description: Not found or not owned by the caller
      security:
        - bearerAuth: []
components:
  schemas:
    BulkDeleteResponse:
      type: object
      required:
        - object
        - resource
        - dry_run
        - status
        - counts
        - results
      properties:
        id:
          type:
            - string
            - 'null'
          description: The batch, to read or stop. Null on a dry run.
        object:
          type: string
        resource:
          type: string
          description: deployment, training_job, dataset or model.
        dry_run:
          type: boolean
        status:
          type: string
          description: running while any item is active, then completed.
        counts:
          $ref: '#/components/schemas/BulkDeleteCounts'
        results:
          type: array
          items:
            $ref: '#/components/schemas/BulkDeleteResult'
    BulkDeleteCounts:
      type: object
      required:
        - total
        - queued
        - deleting
        - deleted
        - failed
        - halted
        - not_found
        - already_queued
      properties:
        total:
          type: integer
          format: int64
        queued:
          type: integer
          format: int64
        deleting:
          type: integer
          format: int64
          description: >-
            A live deployment being stopped or waiting out its final bill reads
            as

            deleting too.
        deleted:
          type: integer
          format: int64
        failed:
          type: integer
          format: int64
        halted:
          type: integer
          format: int64
        not_found:
          type: integer
          format: int64
        already_queued:
          type: integer
          format: int64
          description: Ids another running batch already owns.
    BulkDeleteResult:
      type: object
      required:
        - id
        - status
      properties:
        id:
          type: string
        status:
          type: string
          description: >-
            Dry run: would_delete, would_stop_then_delete, blocked or not_found.
            Real

            run: queued, deleting, deleted, failed, halted, not_found or

            already_queued.
        code:
          type:
            - string
            - 'null'
          description: The stable reason of a failed or blocked id.
        message:
          type:
            - string
            - 'null'
          description: >-
            Failed or blocked: what the single DELETE route says.
            already_queued: the

            batch that owns the id. halted with the code `expired`: why it
            wasn't done.
        blockers:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/BulkDeleteBlocker'
          description: What stands in the way, up to five.
        blocker_total:
          type:
            - integer
            - 'null'
          format: int64
    BulkDeleteBlocker:
      type: object
      description: >-
        What stands in the way of a delete. `kind` is the blocker's resource
        type,

        which is `type` on the wire.
      required:
        - type
        - id
      properties:
        type:
          type: string
        id:
          type: string
        name:
          type:
            - string
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: API key with the `vk_` prefix. Create one from the dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.