> ## 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

```go theme={null}
import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.StateEnumConnected

// Open enum: custom values can be created with a direct type cast
custom := components.StateEnum("custom_value")
```

## Values

| Name | Value |
| - | - |
| `StateEnumConnected` | connected |
| `StateEnumNeedsReconnect` | needs\_reconnect |
| `StateEnumNotTested` | not\_tested |
| `StateEnumError` | error |
