---
title: "Get a build health report"
method: GET
path: "/v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/health"
tags: ["Docs7 Sites"]
---

# Get a build health report

`GET /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/health`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/health`
- Auth: HTTP bearer

The issues one build found: page errors, broken links, unknown components and warnings. 404 when the build wrote no report. Any member. Only for GitHub sites: a CLI site (`source: "local"`) answers 404.

## Path parameters

- `teamspaceId` string, uuid, required
- `siteId` string, uuid, required
- `deploymentId` string, uuid, required

## Response `200`

The report

- object
  - `data` Docs7HealthReport, required
    - `deploymentId` string, uuid, required
    - `commitSha` string, nullable, required
    - `createdAt` string, date-time, required
    - `pages` integer, required
    - `issues` Docs7HealthIssue[], required
      - `id` string, required
      - `kind` 'page_error' | 'broken_link' | 'unknown_component' | 'source_warning' | 'build_warning' | 'deployment_failure', required
      - `severity` 'error' | 'warning', required
      - `fixable` boolean, required: Whether the Context7 Agent can fix it.
      - `message` string, required
      - `page` string
      - `href` string: `broken_link` only.
      - `component` string: `unknown_component` only.
      - `sourceFile` string: Repository file behind the issue, when known.

## Other responses

- `400`: Invalid teamspace or site id
- `401`: Missing or invalid bearer
- `403`: Not a member, missing role, or an API key of another teamspace
- `404`: No such site in this teamspace
- `500`: Internal error

## Changes

- **2026-10-22** `e17589fd8767`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/sites/:siteId/deployments/:deploymentId/health/get.md)

---

[API](https://skmtc.dev/context7/apis/context7-public-api.md) - [All operations](https://skmtc.dev/context7/apis/context7-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/context7/apis/context7-public-api/revisions/945f7834fa8c?raw)
