---
title: "Credits Diagnostics"
method: GET
path: "/admin/credits/diagnostics"
tags: ["Admin"]
---

# Credits Diagnostics

`GET /admin/credits/diagnostics`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/admin/credits/diagnostics`
- Auth: none declared

Reports the current Supabase config + a live reachability probe.

Returns the env-var shape (URL host, key length, JWT-shape check),
plus the actual HTTP status from a real GET against Supabase.

## Headers

- `x-admin-secret` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
