---
title: "GET /api/v1/server/config"
method: GET
path: "/api/v1/server/config"
---

# GET /api/v1/server/config

`GET /api/v1/server/config`

## Request

- The document declares no server URL.
- Auth: none declared

## Response `200`

- ServerConfig
  - `github` ServerConfigGithub
    - `api_base_url` string, required
    - `app_client_id` string, required
    - `app_url` string, required
    - `web_base_url` string, required
  - `gitlab` ServerConfigGitlab
    - `api_base_url` string, required
    - `app_id` string, required
    - `redirect_url` string, required
    - `web_base_url` string, required

## Changes

- **2025-06-30** `9c564eea694c`: 1 info
  - added the optional property `gitlab` to the response with the `200` status
- **2025-03-17** `0fce7846ed90`: 4 breaking, 1 info
  - removed the required property `github_api_base_url` from the response with the `200` status
  - removed the required property `github_app_client_id` from the response with the `200` status
  - removed the required property `github_app_url` from the response with the `200` status
  - removed the required property `github_web_base_url` from the response with the `200` status
  - …1 more
- **2024-10-03** `2089572474fe`: 2 warning, 4 info
  - removed the optional property `github` from the response with the `200` status
  - removed the optional property `gitlab` from the response with the `200` status
  - added the required property `github_api_base_url` to the response with the `200` status
  - added the required property `github_app_client_id` to the response with the `200` status
  - …2 more

[Operation history](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/changes/api/v1/server/config/get.md)

---

[API](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api.md) - [All operations](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/revisions/e690d2cffc49?raw)
