---
title: "Get Api Key Status"
method: GET
path: "/api/auth/api-key"
tags: ["auth"]
---

# Get Api Key Status

`GET /api/auth/api-key`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/auth/api-key`
- Auth: HTTP bearer

查看 API Key 配置状态（不返回明文）。

## Response `200`

Successful Response

- ApiKeyStatus
  - `has_api_key` boolean, required
  - `provider` string, nullable
  - `model` string, nullable
  - `key_preview` string, nullable
  - `custom_url` string, nullable

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
