Skip to content
SoulFire LogoSoulFire

Get server info

GET
/v1/server

Retrieves comprehensive server information including current configuration, all available settings definitions, settings page layouts, and registered plugins.

This method is typically called when initializing a settings UI to obtain:

  1. Current configuration values to populate form fields
  2. Settings definitions describing each setting's type, constraints, and metadata
  3. Page definitions for organizing settings into logical groups
  4. Plugin information for displaying registered plugins

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Response Body

Response message for GetServerInfo RPC containing comprehensive server information.

application/json
  1. response

Response message for GetServerInfo RPC containing comprehensive server information. This response provides everything needed to render a settings UI, including:

  • Current configuration values
  • All available setting definitions with their types and constraints
  • Page layouts for organizing settings in the UI
  • Information about registered plugins
config*

The current server configuration containing all persisted settings values. If no configuration has been saved yet, this will contain default/empty values.

settingsDefinitions*array<>

All available settings definitions that can be rendered by identifier. Each definition includes the setting's type (string, int, bool, etc.), UI metadata (display name, description), constraints (min/max, patterns), and scope (SERVER, INSTANCE, or BOT level). These definitions are referenced by their identifier (namespace + key).

serverSettings*array<>

Pages that group settings together for UI organization. Each page has an ID, display name, icon, and references settings by their identifiers. Pages may be associated with plugins and can have an "enabled" toggle setting.

plugins*array<>

List of registered plugins on the server. Each plugin includes metadata such as ID, version, description, author, license, and website URL. Plugins may own settings pages.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/server'
Example Response
{
  "config": {
    "settings": [
      {
        "namespace": "string",
        "entries": [
          {
            "key": "string",
            "value": null
          }
        ]
      }
    ]
  },
  "settingsDefinitions": [
    {
      "id": {
        "namespace": "string",
        "key": "string"
      },
      "scope": "SERVER",
      "string": {
        "uiName": "string",
        "description": "string",
        "def": "string",
        "inputType": "TEXT",
        "placeholder": "string",
        "minLength": 0,
        "maxLength": 0,
        "pattern": "string",
        "disabled": true
      },
      "int": {
        "uiName": "string",
        "description": "string",
        "def": 0,
        "min": 0,
        "max": 0,
        "step": 0,
        "placeholder": "string",
        "thousandSeparator": true,
        "disabled": true
      },
      "double": {
        "uiName": "string",
        "description": "string",
        "def": 0.1,
        "min": 0.1,
        "max": 0.1,
        "step": 0.1,
        "placeholder": "string",
        "thousandSeparator": true,
        "decimalScale": 0,
        "fixedDecimalScale": true,
        "disabled": true
      },
      "bool": {
        "uiName": "string",
        "description": "string",
        "def": true,
        "disabled": true
      },
      "combo": {
        "uiName": "string",
        "description": "string",
        "options": [
          {
            "id": "string",
            "displayName": "string",
            "iconId": "string",
            "keywords": [
              "string"
            ]
          }
        ],
        "def": "string",
        "disabled": true
      },
      "stringList": {
        "uiName": "string",
        "description": "string",
        "def": [
          "string"
        ],
        "disabled": true
      },
      "minMax": {
        "min": 0,
        "max": 0,
        "step": 0,
        "thousandSeparator": true,
        "minEntry": {
          "uiName": "string",
          "description": "string",
          "def": 0,
          "placeholder": "string"
        },
        "maxEntry": {
          "uiName": "string",
          "description": "string",
          "def": 0,
          "placeholder": "string"
        },
        "disabled": true
      }
    }
  ],
  "serverSettings": [
    {
      "id": "string",
      "owningPluginId": "string",
      "pageName": "string",
      "entries": [
        {
          "namespace": "string",
          "key": "string"
        }
      ],
      "iconId": "string",
      "enabledIdentifier": {
        "namespace": "string",
        "key": "string"
      }
    }
  ],
  "plugins": [
    {
      "id": "string",
      "version": "string",
      "description": "string",
      "author": "string",
      "license": "string",
      "website": "http://example.com"
    }
  ]
}

Was this page helpful?