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

# Get Config

> Retrieves the current configuration settings.



## OpenAPI

````yaml /api/swagger.json get /config
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /config:
    get:
      tags:
        - Config
      summary: Get Config
      description: Retrieves the current configuration settings.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.getConfigResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.getConfigResponse:
      type: object
      properties:
        config:
          $ref: '#/components/schemas/models.Config'
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string
    models.Config:
      type: object
      properties:
        general:
          $ref: '#/components/schemas/models.GeneralConfig'
        polygon:
          $ref: '#/components/schemas/models.PolygonConfig'
        solana:
          $ref: '#/components/schemas/models.SolanaConfig'
    models.GeneralConfig:
      type: object
      properties:
        license_key:
          type: string
        notification:
          $ref: '#/components/schemas/models.NotificationConfig'
        run:
          $ref: '#/components/schemas/models.RunConfig'
    models.PolygonConfig:
      type: object
      properties:
        enabled:
          type: boolean
        rpc_url:
          type: string
        ws_urls:
          type: array
          items:
            type: string
    models.SolanaConfig:
      type: object
      properties:
        enabled:
          type: boolean
        geysers:
          type: array
          items:
            $ref: '#/components/schemas/models.SolanaGeyserConfig'
        no_auto_task_startup:
          type: boolean
        rpc_url:
          type: string
    models.NotificationConfig:
      type: object
      properties:
        discord_webhook_url:
          type: string
    models.RunConfig:
      type: object
      properties:
        backend:
          $ref: '#/components/schemas/models.BackendConfig'
        frontend:
          $ref: '#/components/schemas/models.FrontendConfig'
        mode:
          type: integer
    models.SolanaGeyserConfig:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/models.SolanaGeyserType'
        url:
          type: string
        x_token:
          type: string
    models.BackendConfig:
      type: object
      properties:
        api_key:
          type: string
        expose:
          type: boolean
        password:
          type: string
        username:
          type: string
        whitelisted_ips:
          type: array
          items:
            type: string
    models.FrontendConfig:
      type: object
      properties:
        api_key:
          type: string
        host:
          type: string
        password:
          type: string
        port:
          type: integer
        username:
          type: string
    models.SolanaGeyserType:
      type: string
      enum:
        - yellowstone
        - arpc
        - jito_shredstream
      x-enum-varnames:
        - SolanaGeyserTypeYellowstone
        - SolanaGeyserTypeARPC
        - SolanaGeyserTypeJitoShredstream

````