---
title: "Run diagnostic checks"
method: GET
path: "/diagnostics/run"
tags: ["Diagnostics"]
---

# Run diagnostic checks

`GET /diagnostics/run`

## Request

- Base URL: `https://api.flogpt.com/api/v1`
- URL: `https://api.flogpt.com/api/v1/diagnostics/run`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Runs the selected checks and returns findings with remediation. Naming
nothing runs the whole catalogue. Unknown ids are rejected rather than
skipped, so a stale selection fails loudly instead of reporting "all
clear" over checks that never ran.

`status` distinguishes `fail` (a finding about your workspace) from
`error` (our probe broke and knows nothing). `healthy` is false for
either, because an unknown is not a pass.

## Query parameters

- `checks` string
- `areas` string
- `flow` string

## Response `200`

Diagnostic run results

## Other responses

- `400`: Unknown check

---

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