HTTP Requests

The descriptions below detail the fields available for http_requests.

AISecurityCustomTopicCategories

Type: object

Customer-defined AI Security topic labels and their relevance scores. A score of 1 indicates the highest relevance, and 99 indicates the lowest relevance.

AISecurityInjectionScore

Type: int

The score indicating the likelihood of a prompt injection attack in the request, as determined by AI Security.

AISecurityPIICategories

Type: array[string]

List of PII categories detected in the request by AI Security.

AISecurityTokenCount

Type: int

The number of tokens in the request, as counted by AI Security.

AISecurityUnsafeTopicCategories

Type: array[string]

List of unsafe topic categories detected in the request by AI Security.

BotDetectionIDs

Type: array[int]

List of IDs that correlate to the Bot Management Heuristic detections made on a request. Available only for Bot Management customers. To enable this feature, contact your account team.

BotDetectionTags

Type: array[string]

List of tags that correlate to the Bot Management Heuristic detections made on a request. Available only for Bot Management customers. To enable this feature, contact your account team.

BotScore

Type: int

Cloudflare Bot Score. Scores below 30 are commonly associated with automated traffic. Available only for Bot Management customers. To enable this feature, contact your account team.

BotScoreSrc

Type: string

Detection engine responsible for generating the Bot Score.
Possible values are Not Computed | Heuristics | Machine Learning | Behavioral Analysis | Verified Bot | JS Fingerprinting | Cloudflare Service. Available only for Bot Management customers. To enable this feature, contact your account team.

BotTags

Type: array[string]

Type of bot traffic (if available). Refer to Bot Tags for the list of potential values. Available only for Bot Management customers. To enable this feature, contact your account team.

CacheCacheStatus

Type: string

Cache status.
Possible values are unknown | miss | expired | updating | stale | hit | ignored | bypass | revalidated | dynamic | stream_hit | deferred
"dynamic" means that a request is not eligible for cache. This can mean, for example that it was blocked by the firewall. Refer to Cloudflare cache responses for more details.

CacheLockWaitedMs

Type: int

Maximum time spent waiting on a cache lock across all cache tiers, in milliseconds.

CacheReserveUsed

Type: bool

Cache Reserve was used to serve this request.

CacheResponseBytes

Type: int

Number of bytes returned by the cache.

CacheResponseStatus (deprecated)

Type: int

HTTP status code returned by the cache to the edge. All requests (including non-cacheable ones) go through the cache. Refer also to CacheCacheStatus field.

CacheTieredFill

Type: bool

Tiered Cache was used to serve this request.

ClientASN

Type: int

Client AS number.

ClientCity

Type: string

Approximate city of the client.

ClientCountry

Type: string

2-letter ISO-3166 country code of the client IP address.

ClientDeviceType

Type: string

Client device type.

ClientIP

Type: string

IP address of the client.

ClientIPClass

Type: string

Client IP class.
Possible values are unknown | badHost | searchEngine | allowlist | monitoringService | noRecord | scan | tor.

ClientLatitude

Type: string

Approximate latitude of the client.

ClientLongitude

Type: string

Approximate longitude of the client.

ClientMTLSAuthCertFingerprint

Type: string

The SHA256 fingerprint of the certificate presented by the client during mTLS authentication. Only populated on the first request on an mTLS connection.

ClientMTLSAuthStatus

Type: string

The status of mTLS authentication. Only populated on the first request on an mTLS connection.
Possible values are unknown | ok | absent | untrusted | notyetvalid | expired.

ClientRegionCode

Type: string

The ISO-3166-2 region code of the client IP address.

ClientRequestBytes

Type: int

Number of bytes in the client request.

ClientRequestHost

Type: string

Host requested by the client.

ClientRequestMethod

Type: string

HTTP method of client request.

ClientRequestPath

Type: string

URI path requested by the client, which includes only the path portion of the requested URL, without the query string.

ClientRequestProtocol

Type: string

HTTP protocol of client request.

ClientRequestReferer

Type: string

HTTP request referrer.

ClientRequestScheme

Type: string

The URL scheme requested by the visitor.

ClientRequestSource

Type: string

Identifies requests as coming from an external source or another service within Cloudflare. Refer to ClientRequestSource field for the list of potential values.

ClientRequestURI

Type: string

URI requested by the client, which includes the full path and query string of the requested URL.

ClientRequestUserAgent

Type: string

User agent reported by the client.

ClientSSLCipher

Type: string

Client SSL cipher.

ClientSSLProtocol

Type: string

Client SSL (TLS) protocol. The value "none" means that SSL was not used.

ClientSrcPort

Type: int

Client source port.

ClientTCPRTTMs

Type: int

The smoothed average of TCP round-trip time (SRTT). For the initial request on a connection, this is measured only during connection setup. For a subsequent request on the same connection, it is measured over the entire connection lifetime up until the time that request is received.

ClientTLSKeyExchangeGroup

Type: string

TLS key exchange group between the client and Cloudflare (for example, 'X25519MLKEM768'). 'UNK' means it could not be determined. 'NONE' means either RSA key exchange was used or TLS was not used.

ClientXRequestedWith

Type: string

X-Requested-With HTTP header.

ContentScanObjResults

Type: array[string]

List of content scan results.

ContentScanObjSizes

Type: array[int]

List of content object sizes.

ContentScanObjTypes

Type: array[string]

List of content types.

Cookies

Type: object

String key-value pairs for cookies. This field is populated based on Logpush Custom fields, which need to be configured.

EdgeCFConnectingO2O

Type: bool

True if the request looped through multiple zones on the Cloudflare edge. This is considered an O2O request.

EdgeColoCode

Type: string

IATA airport code of the data center that received the request.

EdgeColoID

Type: int

Cloudflare edge data center ID.

EdgeEndTimestamp

Type: int or string

Timestamp at which the edge finished sending response to the client.

EdgePathingOp

Type: string

Indicates what type of response was issued for this request (unknown = no specific action).

EdgePathingSrc

Type: string

Details how the request was classified based on security checks (unknown = no specific classification).

EdgePathingStatus

Type: string

Indicates what data was used to determine the handling of this request (unknown = no data).

EdgeRequestHost

Type: string

Host header on the request from the edge to the origin.

EdgeResponseBodyBytes

Type: int

Size of the HTTP response body returned to clients.

EdgeResponseBytes

Type: int

Number of bytes returned by the edge to the client.

EdgeResponseCompressionRatio

Type: float

The edge response compression ratio is calculated as the ratio between the sizes of the original and compressed responses.

EdgeResponseContentType

Type: string

Edge response Content-Type header value.

EdgeResponseStatus

Type: int

HTTP status code returned by Cloudflare to the client.

EdgeServerIP

Type: string

IP of the edge server making a request to the origin. Possible responses are string in IPv4 or IPv6 format, or empty string. Empty string means that there was no request made to the origin server.

EdgeStartTimestamp

Type: int or string

Timestamp at which the edge received request from the client.

EdgeTimeToFirstByteMs

Type: int

Total view of Time To First Byte as measured at Cloudflare's edge. Starts after a TCP connection is established and ends when Cloudflare begins returning the first byte of a response to eyeballs. Includes TLS handshake time (for new connections) and origin response time.

FirewallForAIInjectionScore (deprecated)

Type: int

The score indicating the likelihood of a prompt injection attack in the request, as determined by Firewall for AI. Deprecated: Use AISecurityInjectionScore instead.

FirewallForAIPIICategories (deprecated)

Type: array[string]

List of PII categories detected in the request by Firewall for AI. Deprecated: Use AISecurityPIICategories instead.

FirewallForAITokenCount (deprecated)

Type: int

The number of tokens in the request, as counted by Firewall for AI. Deprecated: Use AISecurityTokenCount instead.

FirewallForAIUnsafeTopicCategories (deprecated)

Type: array[string]

List of unsafe topic categories detected in the request by Firewall for AI. Deprecated: Use AISecurityUnsafeTopicCategories instead.

FraudAttack

Type: string

The primary attack or use case detected in the request by Fraud detections.

FraudDetectionIDs

Type: array[int]

List of IDs that correlate to the Fraud detections made on a request.

FraudDetectionTags

Type: array[string]

List of tags that correlate to the Fraud detections made on a request.

FraudEmailRisk

Type: string

Risk of a specific email address.
Possible values are low | medium | high.

FraudUserID

Type: string

A unique identifier generated by the Fraud Detection system for each user, generated during any action determined by the fraud event type.

JA3Hash

Type: string

The MD5 hash of the JA3 fingerprint used to profile SSL/TLS clients. Available only for Bot Management customers. To enable this feature, contact your account team.

JA4

Type: string

The JA4 fingerprint used to profile SSL/TLS clients. Available only for Bot Management customers. To enable this feature, contact your account team.

JA4Signals

Type: object

Inter-request statistics computed for this JA4 fingerprint. JA4Signals field is organized in key:value pairs, where values are numbers. Available only for Bot Management customers. To enable this feature, contact your account team.

JSDetectionPassed

Type: string

Whether the request passed background JavaScript Detection.
Possible values are passed | failed | missing. Available only for Bot Management customers. To enable this feature, contact your account team.

LeakedCredentialCheckResult

Type: string

Result of the check for leaked credentials.
Possible results are: password_leaked | username_and_password_leaked | username_password_similar | username_leaked | clean.