---
title: "Public (unauthenticated) endpoint returning platform config. Used by the frontend to decide whether to show region UI."
method: GET
path: "/accounts/config/"
tags: ["accounts"]
---

# Public (unauthenticated) endpoint returning platform config. Used by the frontend to decide whether to show region UI.

`GET /accounts/config/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/config/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Self-hosted returns cloud=false with no region info.
Cloud returns the current region and available regions list.

## Response `200`

OK

- PublicConfigResponse
  - `status` boolean, required
  - `result` PublicConfigResult, required
    - `cloud` boolean, required
    - `region` string, nullable, required
    - `available_regions` PublicRegionConfig[], required
      - `code` string, required
      - `label` string, required
      - `app_url` string, uri, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
