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

# Soft-restart the process from its manifest

> Soft-restart: refresh env from the config manager, reset every settings cache,
and re-initialize from the manifest — in-process, no pod restart. Applied on this
worker (when it is a target) and broadcast to the fleet (all workers, or only
``targets``); the response embeds the per-origin fleet report.

Heavy (a full re-init); meant for env/config saves, not tool edits. A convergence
op: its whole purpose is aligning siblings to persisted state, so a failed local
reload still broadcasts and then re-raises with the fleet report attached.



## OpenAPI

````yaml /openapi.json post /api/config/reload
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.1.1
servers: []
security: []
paths:
  /api/config/reload:
    post:
      tags:
        - config
      summary: Soft-restart the process from its manifest
      description: >-
        Soft-restart: refresh env from the config manager, reset every settings
        cache,

        and re-initialize from the manifest — in-process, no pod restart.
        Applied on this

        worker (when it is a target) and broadcast to the fleet (all workers, or
        only

        ``targets``); the response embeds the per-origin fleet report.


        Heavy (a full re-init); meant for env/config saves, not tool edits. A
        convergence

        op: its whole purpose is aligning siblings to persisted state, so a
        failed local

        reload still broadcasts and then re-raises with the fleet report
        attached.
      operationId: post_api_config_reload
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReloadConfigRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReloadingError'
          description: The server is applying a config reload; retry shortly.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ReloadConfigRequest:
      description: >-
        A local reload-config request — an optional ``targets`` list restricting
        the

        fan-out of the soft-restart to named workers (all workers when omitted).
      properties:
        targets:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          title: Targets
      title: ReloadConfigRequest
      type: object
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
    ReloadingError:
      properties:
        error:
          const: reloading — the server is applying a config reload; retry shortly
          type: string
        reloading:
          const: true
          type: boolean
      required:
        - error
        - reloading
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````