> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatWebSearchShorthandType - Go SDK

> ChatWebSearchShorthandType type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Example Usage

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

value := components.ChatWebSearchShorthandTypeWebSearch

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

## Values

| Name                                                 | Value                              |
| ---------------------------------------------------- | ---------------------------------- |
| `ChatWebSearchShorthandTypeWebSearch`                | web\_search                        |
| `ChatWebSearchShorthandTypeWebSearchPreview`         | web\_search\_preview               |
| `ChatWebSearchShorthandTypeWebSearchPreview20250311` | web\_search\_preview\_2025\_03\_11 |
| `ChatWebSearchShorthandTypeWebSearch20250826`        | web\_search\_2025\_08\_26          |
