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

# Compile and apply new config



## OpenAPI

````yaml openapi/arc-daemon-control-plane.openapi.yaml post /v1/config
openapi: 3.1.0
info:
  title: Arc Daemon Control Plane API
  version: 1.0.0
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  description: >
    OpenAPI for `arc-daemon` control-plane routes implemented in
    `crates/arc-daemon/src/main.rs`

    and shared structs in `crates/arc-core/src/control.rs`.


    This API is separate from the `arc-gateway` control-plane implementation.
servers:
  - url: http://127.0.0.1:22100
security:
  - {}
paths:
  /v1/config:
    post:
      summary: Compile and apply new config
      operationId: pushDaemonConfig
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DaemonConfigPushRequest'
      responses:
        '200':
          description: Applied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DaemonConfigPushResponse'
        '400':
          description: Invalid config
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DaemonConfigPushRequest:
      type: object
      required:
        - config
      additionalProperties: false
      properties:
        config:
          $ref: '#/components/schemas/ArcConfigDocument'
    DaemonConfigPushResponse:
      type: object
      required:
        - generation
      properties:
        generation:
          type: string
          format: uuid
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    ArcConfigDocument:
      type: object
      additionalProperties: true
      description: Raw Arc config JSON.

````