---
title: "Get server configuration variable"
method: GET
path: "/v1/server-config/{name}"
tags: ["Server"]
---

# Get server configuration variable

`GET /v1/server-config/{name}`

Retrieve single visible server configuration variable. Requires SERVER_CONFIG access right.

## Response `200`

Configuration variable retrieved successfully

- ServerConfigVariable — Server configuration variable
  - `name` string — Variable name (up to 63 characters)
  - `value` string — Current value
  - `defaultValue` string — Default value, empty if not defined
  - `dataType` 'STRING' | 'BOOLEAN' | 'INTEGER' | 'CHOICE' | 'COLOR' | 'PASSWORD' — Type of the value. BOOLEAN values are stored as "0" and "1", COLOR values as CSS color strings, and CHOICE values must be one of possibleValues.
  - `description` string — Human readable description, empty if not defined
  - `units` string — Units of the value (for INTEGER variables), empty if not defined
  - `needServerRestart` boolean — True if server restart is required for a change to take effect
  - `possibleValues` ServerConfigPossibleValue[] — Value constraints. For CHOICE variables, the list of allowed values. For INTEGER variables, either empty (no limit) or a single entry holding the maximum allowed value. Empty for other types.
    - `value` string — Value as stored in the variable
    - `description` string — Human readable description of the value

## Other responses

- `400` — Invalid variable name
- `401` — Unauthorized
- `403` — User does not have SERVER_CONFIG access right
- `404` — Configuration variable does not exist or is not visible
- `500` — Database failure

## Changes

- **2026-09-15** `6eac6acac8bf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/server-config/:name/get.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/netxms/apis/netxms-api/revisions/2827204d68d9?raw)
