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

# Stop Alignment

> Stop an in-progress alignment training job.

**Path Parameters:**
- `id`: Alignment project identifier

**Returns:**
- `alignment_id`: ID of the stopped alignment project
- `status`: New status (`STOPPED`)
- `message`: Confirmation message

**Raises:**
- `400`: If the alignment is already in a terminal state or has no training job yet
- `404`: If the alignment project is not found or does not belong to the user
- `502`: If the training provider rejected the stop request
- `503`: If the training provider is unreachable



## OpenAPI

````yaml https://api.nugen.in/openapi-public.json post /api/v3/alignment-project/stop/{id}
openapi: 3.1.0
info:
  title: Nugen Intelligence API
  description: 'Nugen Intelligence : Powering Specialized Intelligence At Scale'
  version: 25.4.20
servers: []
security: []
paths:
  /api/v3/alignment-project/stop/{id}:
    post:
      tags:
        - Alignment Project
      summary: Stop Alignment
      description: >-
        Stop an in-progress alignment training job.


        **Path Parameters:**

        - `id`: Alignment project identifier


        **Returns:**

        - `alignment_id`: ID of the stopped alignment project

        - `status`: New status (`STOPPED`)

        - `message`: Confirmation message


        **Raises:**

        - `400`: If the alignment is already in a terminal state or has no
        training job yet

        - `404`: If the alignment project is not found or does not belong to the
        user

        - `502`: If the training provider rejected the stop request

        - `503`: If the training provider is unreachable
      operationId: stop_alignment
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
      responses:
        '200':
          description: >-
            Stops an in-progress alignment training job and marks the alignment
            project as STOPPED.
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````