---
title: "Diagnose campaign health"
method: GET
path: "/contacts/campaigns/{campaignId}/health"
tags: ["campaigns"]
---

# Diagnose campaign health

`GET /contacts/campaigns/{campaignId}/health`

Returns real-time health status for a campaign: 13 blocker checks (status, ICP, credentials, interval, limits, business hours, circuit breaker), pipeline stats, success rate, and recent dispatch log.

## Path parameters

- `campaignId` string, required

## Response `200`

Campaign health diagnostics

- object
  - `campaign` object, required
    - `id` string, required
    - `name` string, required
    - `status` string, required
    - `schedule` string, required — Business hours window (e.g. '09:00-18:00')
    - `timezone` string, required
    - `runDays` string[], required
    - `dailyTarget` integer, nullable, required
    - `totalTarget` integer, nullable, required
  - `blockers` object[], required
    - `check` string, required — Check name (e.g. campaign_status, icp_context, credential_valid, business_hours)
    - `blocking` boolean, required — True if this check is currently blocking dispatch
    - `details` string, required — Human-readable details about the check result
  - `pipeline` object, required
    - `lastTask` object, nullable, required
      - `type` string, required
      - `status` string, required
      - `completedAt` string, nullable, required
      - `createdAt` string, required
    - `todayCount` object, required
    - `successRate24h` integer, nullable, required — Success rate % over last 24h (null if no data)
  - `recentSkips` unknown[], required — Recent task skip reasons that prevented dispatch to contacts
    - unknown

## Other responses

- `400` — The server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue. NOTE: 401 is also returned with code "linkedin_not_connected" when the caller IS authenticated but has no connected LinkedIn account — connect LinkedIn (not re-authenticate) to continue.
- `403` — The client does not have access rights to the content.
- `404` — The server cannot find the requested resource.
- `409` — The request conflicts with the current state of the server.
- `410` — The requested content has been permanently deleted from the server.
- `422` — The request was well-formed but was unable to be followed due to semantic errors.
- `429` — Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
- `500` — The server encountered a situation it does not know how to handle.
- `502` — LinkedIn returned a server error or the proxy connection failed. Retry after a few seconds.
- `503` — Proxy capacity temporarily exceeded. Retry after a few seconds.

---

[API](https://skmtc.net/berea/apis/bereach-api.md) · [All operations](https://skmtc.net/berea/apis/bereach-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/berea/bereach-api/revisions/32391e7c6322/schema)
