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

# StateEnum

## Example Usage

```python theme={null}
from openrouter.components import StateEnum

# Open enum: unrecognized values are captured as UnrecognizedStr
value: StateEnum = "connected"
```

## Values

This is an open enum. Unrecognized values will not fail type checks.

* `"connected"`
* `"needs_reconnect"`
* `"not_tested"`
* `"error"`
