---
title: "Get Conditions Health"
method: GET
path: "/internal/conditions/health"
tags: ["internal"]
---

# Get Conditions Health

`GET /internal/conditions/health`

Return all conditions (code blocks) for active companies with Monty
type-check results.

Blocks are grouped by company and sorted: errored blocks first, then
alphabetically by name within each company.  Companies with errors appear
before companies without.

## Response `200`

Successful Response

- ConditionsHealthResponse
  - `items` ConditionHealthItem[], required
    - `block_id` string, uuid, required
    - `company_id` string, uuid, required
    - `company_name` string, required
    - `name` string, required
    - `code` string, required
    - `soft_logic` string, required
    - `selection_ref_count` integer, required
    - `type_error` string, nullable, required

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/816d6dca5096/schema)
