ApexCalloutEventLog

Apex Callout event logs contain details about callouts (external requests) during Apex code execution. This object is available in API version 55.0 and later.

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see EventLogFile.

Note

Supported Calls

describeSObjects(), query()

Special Access Rules

To access this object, you must have the View Event Log Object Data user permission.

Fields

Field Details
BotIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID of the bot.
BotSessionIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The bot session ID.
ClientIp
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”. For example: 96.43.144.26.
CpuTime
Type
double
Properties
Filter, Nillable, Sort
Description
The CPU time in milliseconds used to complete the request. This field indicates the amount of activity taking place in the app server layer.
IsSuccess
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the callout request was successful.
LoginKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The string that ties together all events in a given user’s login session. It starts with a login event and ends with either a logout event or the user session expiring. For example: GeJCsym5eyvtEK2I.
Method
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The HTTP method of the callout. For example: GET, POST, PUT, and so on.
PlannerIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID of the agent planner.
RequestIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same RequestId. For example: 3nWgxWbDKWWDIk0FKfF5DV.
RequestSize
Type
double
Properties
Filter, Nillable, Sort
Description
The size of the callout request body, in bytes.
RequestTime
Type
double
Properties
Filter, Nillable, Sort
Description
The amount of time that the request took in milliseconds.
ResponseSize
Type
double
Properties
Filter, Nillable, Sort
Description
The size of the callout response, in bytes.
RunTime
Type
double
Properties
Filter, Nillable, Sort
Description
Not used for this event type. Use the RequestTime field instead.
SessionKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started. For example: d7DEq/ANa7nNZZVD.
StatusCode
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The returned status code of the request.
Timestamp
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The access time of Salesforce services in GMT. For example, 2020-01-20T19:12:26.965Z. Milliseconds are the most granular setting.
Type
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of Apex callout. For example: REST or AJAX.
Uri
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The URI of the page that’s receiving the request. For example: /home/home.jsp.
Url
Type
string
Properties
Filter, Nillable, Sort
Description
The callout endpoint URL. For example, www.salesforce.com.
UserIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID of the user who’s using Salesforce services through the UI or the API. For example: 00530000009M943.