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

# Interrupt run

> Interrupts a running or queued run. If the run is queued, it will be cleared from the queue. If the run is running, it will be interrupted.



## OpenAPI

````yaml run-api/run-api.yaml post /run/{session_id}/interrupt
openapi: 3.1.0
info:
  title: CloudCruise Run API
  version: 0.1.0
  description: >-
    Endpoints for managing workflow executions, user interactions, and
    retrieving execution results.
servers:
  - url: https://api.cloudcruise.com
    description: CloudCruise Platform Production API Server
security:
  - AuthScheme: []
paths:
  /run/{session_id}/interrupt:
    post:
      summary: Interrupt run
      description: >-
        Interrupts a running or queued run. If the run is queued, it will be
        cleared from the queue. If the run is running, it will be interrupted.
      operationId: interrupt_run
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            description: The unique identifier for the workflow execution session
      responses:
        '200':
          description: Run successfully interrupted or cleared from queue
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Whether the interrupt was successful
                  message:
                    type: string
                    description: Details about the interrupt action taken
                    example: Run interrupt triggered
        '400':
          description: Run is not currently running or queued
components:
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````