Skip to main content

Interface: RequestEntry

Defined in: types/entry.types.ts:58

Extends​

Properties​

createdAt?​

optional createdAt: string

Defined in: types/entry.types.ts:42

Inherited from​

BaseEntry.createdAt


familyHash?​

optional familyHash: string

Defined in: types/entry.types.ts:44

Inherited from​

BaseEntry.familyHash


id?​

optional id: number

Defined in: types/entry.types.ts:39

Inherited from​

BaseEntry.id


payload​

payload: object

Defined in: types/entry.types.ts:60

body?​

optional body: unknown

controllerAction?​

optional controllerAction: string

duration​

duration: number

handler?​

optional handler: string

headers​

headers: Record<string, string>

ip?​

optional ip: string

isGraphQL?​

optional isGraphQL: boolean

Indicates if this request is a GraphQL request. Detection based on:

  • POST method
  • Content-Type: application/json or application/graphql
  • Body contains 'query' field with GraphQL syntax

GraphQL requests are excluded from the Requests watcher and only shown in the GraphQL watcher.

memory?​

optional memory: number

Heap growth across the handler, when watchers.request.captureMemory is on. Absent otherwise, which is the default — see that option for why.

method​

method: string

params​

params: Record<string, unknown>

path​

path: string

query​

query: Record<string, unknown>

responseBody?​

optional responseBody: unknown

responseHeaders?​

optional responseHeaders: Record<string, string>

session?​

optional session: Record<string, unknown>

statusCode​

statusCode: number

tags?​

optional tags: string[]

url​

url: string

user?​

optional user: RequestUser

userAgent?​

optional userAgent: string


requestId?​

optional requestId: string

Defined in: types/entry.types.ts:41

Inherited from​

BaseEntry.requestId


resolvedAt?​

optional resolvedAt: string

Defined in: types/entry.types.ts:46

Inherited from​

BaseEntry.resolvedAt


tags?​

optional tags: string[]

Defined in: types/entry.types.ts:45

Inherited from​

BaseEntry.tags


type​

type: "request"

Defined in: types/entry.types.ts:59

Overrides​

BaseEntry.type