---
title: BotDetectionResult
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/struct.BotDetectionResult/
---

**Kind:** Struct  
**Module:** [fsthttp](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/bot.go#L57

```go
type BotDetectionResult struct {
	Analyzed bool

	Detected bool

	Name string

	CategoryName string

	Category BotCategory

	Verified bool
}
```

## Fields

### Analyzed

**Type:** `bool`

Analyzed indicates if the request was analyzed by the bot detection framework.

### Detected

**Type:** `bool`

Detected indicates if a bot was detected.

### Name

**Type:** `string`

Name is string identifying the specific bot detected (e.g., `GoogleBot`, `GPTBot`, `Bingbot`).
Returns the empty string if bot detection was not executed or no bot was detected.

Note: String values may change over time. Use this for logging or informational purposes.
For conditional logic, use CategoryKind.

### CategoryName

**Type:** `string`

CategoryName is a string indicating the type of bot detected (e.g., `SEARCH-ENGINE-CRAWLER`, `AI-CRAWLER`,
`SUSPECTED-BOT`).

Note: String values may change over time. Use this for logging or informational purposes.
For conditional logic, use CategoryKind.

### Category

**Type:** `BotCategory`

An enum uniquely identifying the type of bot detected.

### Verified

**Type:** `bool`

Verified is whether the detected bot is a verified bot.
