---
title: FastlyMeta
summary: FastlyMeta holds various Fastly-specific metadata for a request.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/struct.FastlyMeta/
---

**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/request.go#L1219

```go
type FastlyMeta struct {
	SandboxID string

	RequestID string

	H2 []byte

	OH []byte

	ComplianceRegion string

	DDOSDetected bool

	FastlyKeyIsValid bool

	SandboxRequests int

	RawHeaders []string
}
```

FastlyMeta holds various Fastly-specific metadata for a request.

## Fields

### SandboxID

**Type:** `string`

SandboxID is the unique identifier for the sandbox handling the request.

### RequestID

**Type:** `string`

RequestID is the unique identifier for the request.

### H2

**Type:** `[]byte`

H2 is the HTTP/2 fingerprint of a client request if available

### OH

**Type:** `[]byte`

OH is a fingerprint of the client request's original headers

### ComplianceRegion

**Type:** `string`

Compliance region is the compliance region in which this request is being processed.

### DDOSDetected

**Type:** `bool`

DDOSDetected is true if the request was determined to be part of a DDOS attack.

### FastlyKeyIsValid

**Type:** `bool`

FastlyKeyIsValid is true if the request contains a valid Fastly API token.
This is for services to restrict authenticating PURGE requests for the readthrough cache.

### SandboxRequests

**Type:** `int`

SandboxRequests is the number of requests handled by the sandbox so far.
For example, if this is were 3, it means that this is the 3rd request handled by the sandbox.
This will be zero if this is not a client request.

### RawHeaders

**Type:** `[]string`

RawHeaders is the client request's header names exactly as they were originally received.

This includes both the original header name characters' cases, as well as the original order of
the received headers.
