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

# Get public server configuration

`GET /api/config`

Returns public configuration settings like OIDC providers, billing status, etc.

## Response `200`

Public server configuration

- ApiResponsePublicConfigResponse
  - `data` object
    - `billing_enabled` boolean, required
    - `deployment_type` 'cloud' | 'commercial' | 'community', required
    - `disable_password_login` boolean, required
    - `disable_registration` boolean, required
    - `has_email_opt_in` boolean, required
    - `has_email_service` boolean, required
    - `has_integrated_daemon` boolean, required
    - `license_expiry` string, nullable
    - `license_status` string, nullable
    - `needs_cookie_consent` boolean, required
    - `oidc_providers` OidcProviderMetadata[], required
      - `logo` string, nullable
      - `name` string, required
      - `slug` string, required
    - `posthog_key` string, nullable
    - `public_url` string, required
    - `server_port` integer, required
  - `error` string, nullable
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Changes

- **2026-04-20** `f04499e2280f` — 4 breaking, 3 warning
  - removed the required property `data/discount_save_offer_available` from the response with the `200` status
  - removed the required property `data/license_in_grace_period` from the response with the `200` status
  - removed the required property `data/org_limit_reached` from the response with the `200` status
  - removed the required property `data/server_admin_contact_email` from the response with the `200` status
  - …3 more

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/config/get.md)

---

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