---
title: "Diagnose"
method: GET
path: "/api/v1/planner/diagnose"
tags: ["planner", "debug"]
---

# Diagnose

`GET /api/v1/planner/diagnose`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/planner/diagnose`
- Auth: none declared

Admin-only diagnostic endpoint — returns Anthropic key status and a live test call.

Requires the X-Admin-Key header to match settings.ADMIN_SECRET_KEY — see
app.api.deps.require_admin_key for the status codes and their rationale
(404 if unconfigured, 403 on key mismatch).

## Headers

- `X-Admin-Key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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