# managed_snapshot_health

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/configuration/service/managed_snapshot_health)

Evaluate provider health and policy diagnostics for one snapshot.

## Signature

```python
managed_snapshot_health(
    snapshot: TomlSnapshot,
) -> ManagedHealth
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `snapshot` | `TomlSnapshot` | Yes | Managed provider generation to inspect. |

## Returns

`ManagedHealth`

Health, violations, and ignored rejections from exactly `snapshot`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/configuration/service.py#L1000)