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

# Reload config

Reloads configuration from disk and returns the active resource names.


## OpenAPI

````yaml /api-reference/openapi.local.json POST /reload-config
openapi: 3.1.0
info:
  title: btca Local Server API
  version: 2.0.0
  description: Local HTTP API exposed by btca-server.
servers:
  - url: http://localhost:{port}
    variables:
      port:
        default: '8080'
security: []
paths:
  /reload-config:
    post:
      summary: Reload config from disk
      responses:
        '200':
          description: Reload result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReloadConfigResponse'
        '400':
          description: Config error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ReloadConfigResponse:
      type: object
      required:
        - ok
        - resources
      properties:
        ok:
          type: boolean
        resources:
          type: array
          items:
            type: string
    ErrorResponse:
      type: object
      required:
        - error
        - tag
      properties:
        error:
          type: string
        tag:
          type: string
        hint:
          type: string

````