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

# Create Or Update Script Config

> Create or update script configuration.

Args:
    config_name: Name of the configuration file
    config: Configuration dictionary to save
    
Returns:
    Success message when configuration is saved
    
Raises:
    HTTPException: 400 if save error occurs



## OpenAPI

````yaml /api-reference/openapi.json post /scripts/configs/{config_name}
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /scripts/configs/{config_name}:
    post:
      tags:
        - Scripts
      summary: Create Or Update Script Config
      description: |-
        Create or update script configuration.

        Args:
            config_name: Name of the configuration file
            config: Configuration dictionary to save
            
        Returns:
            Success message when configuration is saved
            
        Raises:
            HTTPException: 400 if save error occurs
      operationId: create_or_update_script_config_scripts_configs__config_name__post
      parameters:
        - name: config_name
          in: path
          required: true
          schema:
            type: string
            title: Config Name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Config
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
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:
    HTTPBasic:
      type: http
      scheme: basic

````