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

# Reset Campaign Run

> Disabled. Re-running a finished campaign in place used to hard-delete its
recipients (cascading to attempts) and reset it to ``published`` — a one-click,
irreversible data-loss path. To run a finished campaign again, clone it
(``POST /campaigns/{id}/clone``), which preserves the original and its results.

The store method ``reset_campaign_for_new_run`` is intentionally retained
(unused) for the future first-class campaign-runs work — see ARCH-09 in
``SECURITY_ARCHITECTURE_TODO.md``.



## OpenAPI

````yaml /api-reference/openapi.json post /campaigns/{campaign_id}/runs
openapi: 3.1.0
info:
  title: Lehar API
  version: v0
  description: >-
    Customer-facing REST API for the Lehar voice-AI platform. Platform-admin
    endpoints are intentionally excluded from this reference. Regenerate with
    `npm run sync:openapi`.
servers:
  - url: https://api.lehar.ai/ca/api/v0
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /campaigns/{campaign_id}/runs:
    post:
      tags:
        - Campaigns
      summary: Reset Campaign Run
      description: >-
        Disabled. Re-running a finished campaign in place used to hard-delete
        its

        recipients (cascading to attempts) and reset it to ``published`` — a
        one-click,

        irreversible data-loss path. To run a finished campaign again, clone it

        (``POST /campaigns/{id}/clone``), which preserves the original and its
        results.


        The store method ``reset_campaign_for_new_run`` is intentionally
        retained

        (unused) for the future first-class campaign-runs work — see ARCH-09 in

        ``SECURITY_ARCHITECTURE_TODO.md``.
      operationId: reset_campaign_run_ca_api_v0_campaigns__campaign_id__runs_post
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            title: Campaign Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
    BearerAuth:
      type: http
      scheme: bearer

````