> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Note Restart • AI Agent SDK

> note_restart: Record a fleet restart at ``now`` and return whether the breaker is tripped.

# note\_restart

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**FleetSupervisionPolicy**](../classes/FleetSupervisionPolicy) class in the [**protocols**](../modules/protocols) module.

Record a fleet restart at `now` and return whether the breaker is tripped.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def note_restart(now: float) -> bool
```

## Parameters

<ParamField query="now" type="float" required={true}>
  A monotonic timestamp for this restart event.
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  `True` when the aggregate restart rate has reached
  `fleet_restarts_per_hour` within the trailing hour (or the breaker
  is still within its cooldown); `False` otherwise.
</ResponseField>

## Uses

* `tripped`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L4537">
  `praisonaiagents/gateway/protocols.py` at line 4537
</Card>
