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

# Get Configuration

> This endpoint retrieves the current configuration settings for the specified KVM VPS.  
Provide the `signature`, `kvm_id`, and `valid_until` parameters to fetch the configuration.




## OpenAPI

````yaml post /kvm/v2/get/config
openapi: 3.0.0
info:
  title: EDIS Global Management API
  description: >
    Use the API to access and manage your VPS services, including power control,
    rDNS, and VNC management.  

    **Authentication:** Enable API access on any KVM VPS you own. Then use the
    provided credentials to authenticate your requests.
  version: 1.0.0
servers:
  - url: https://{api_host}
    description: Dynamic API host returned from the AUTH session endpoint.
    variables:
      api_host:
        default: api_host.edisglobal.com
        description: >-
          Enter the full API host exactly as returned by /kvm/v2/get/auth (for
          example: 12345.edisglobal.com)
security: []
tags:
  - name: Authentication
    description: Create an AUTH Session
  - name: Power Management
    description: KVM Power Management
  - name: Installation
    description: ISO, Turnkey, Reinstall
  - name: Settings
    description: KVM System Settings
  - name: Collect Information
    description: KVM VPS Details.
  - name: VNC Management
    description: KVM VNC Access
  - name: PTR
    description: KVM Reverse DNS
  - name: Traffic Pool
    description: Traffic Pool Management
  - name: Hooks
    description: KVM Webhook Management
paths:
  /kvm/v2/get/config:
    post:
      tags:
        - Settings
      summary: Get configuration
      description: >
        This endpoint retrieves the current configuration settings for the
        specified KVM VPS.  

        Provide the `signature`, `kvm_id`, and `valid_until` parameters to fetch
        the configuration.
      operationId: getKvmVpsSettings
      requestBody:
        description: Required parameters to fetch the configuration for a VPS.
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/get_config_body'
        required: true
      responses:
        '200':
          description: Configuration retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_200_8'
        '400':
          description: Bad Request - Invalid parameters or missing fields.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_400_6'
        '401':
          description: Unauthorized - Invalid or expired session.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_401_6'
        '403':
          description: Forbidden - Access is not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_403_5'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_500_6'
components:
  schemas:
    get_config_body:
      type: object
      properties:
        signature:
          type: string
          description: The session signature obtained from the "Create AUTH-session" call.
          example: session_signature_12345
        kvm_id:
          type: string
          description: >
            The unique identifier of the KVM VPS whose configuration is being
            retrieved.  

            This value is specific to your VPS.
          example: kvm_xxxxx_yyyyy
        valid_until:
          type: string
          description: >
            The expiration timestamp for the session, as obtained from the
            "Create AUTH-session" call.  

            Ensure that the session is valid and has not expired.
          example: '1737476000'
    inline_response_200_8:
      type: object
      properties:
        status:
          type: string
          description: Operation status.
          example: success
        configuration:
          type: object
          description: A dictionary of the current configuration settings for the VPS.
          example:
            boot_timeout: '5000'
            vnc_keymap: en-us
            cpu_model: passthrough
            disk_driver: virtio
    inline_response_400_6:
      type: object
      properties:
        error:
          type: string
          example: Invalid parameters provided
    inline_response_401_6:
      type: object
      properties:
        error:
          type: string
          example: Invalid session
    inline_response_403_5:
      type: object
      properties:
        error:
          type: string
          example: Access denied
    inline_response_500_6:
      type: object
      properties:
        error:
          type: string
          example: Internal server error

````