---
title: "PUT /projects/{project_id}/environments/{environment_id}/runtime-health"
method: PUT
path: "/projects/{project_id}/environments/{environment_id}/runtime-health"
tags: ["Runtime health"]
---

# PUT /projects/{project_id}/environments/{environment_id}/runtime-health

`PUT /projects/{project_id}/environments/{environment_id}/runtime-health`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/environments/{environment_id}/runtime-health`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `environment_id` integer, required

## Request body

- RuntimeHealthPolicy
  - `enabled` boolean, required
  - `paused` boolean, required
  - `required_healthy` integer, nullable

## Response `204`

Monitoring policy saved

## Other responses

- `400`: Invalid monitoring policy
- `401`: Authentication required
- `403`: Environment write permission required
- `404`: Environment not found
- `500`: Storage unavailable

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-18** `b1faaa2f65bf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/environments/:environment_id/runtime-health/put.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
