---
title: "Get public server configuration"
method: GET
path: "/api/server-config"
tags: ["Health"]
---

# Get public server configuration

`GET /api/server-config`

Get public server configuration. Returns the requested resource or collection for the authenticated caller.

## Response `200`

Server configuration

- ServerConfig — Public server configuration values needed by clients.
  - `ssh_port` integer, required — ssh port value for the server Config object.
  - `http_port` integer, required — http port value for the server Config object.
  - `https_port` integer — https port value for the server Config object.
  - `https_tls_mode` string — https tls mode value for the server Config object.
  - `public_base_url` string, required — public base url value for the server Config object.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
