ApiEvent

Tracks these user-initiated read-only API calls: query(), queryMore(), and count(). Captures API requests through SOAP API and Bulk API for the Enterprise and Partner WSDLs. Tooling API calls and API calls originating from a Salesforce mobile app aren’t captured. You can use ApiEvent in a transaction security policy. ApiEvent is a big object that stores the event data of ApiEventStream. This object is available in API version 46.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ApiEvent in the Platform Events Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
ActionNameAction Namestring 255  
AdditionalInfoAdditional Informationstring 10000  
ApiTypeAPI Typestring 80  
ApiVersionAPI Versiondouble  180
ApplicationApplicationstring 255  
BotSessionIdentifierBot Session Identifierstring 255  
ClientClientstring 512  
ConnectedAppIdConnected App IDreference 18  
CreatedDateCreated Datedatetime    
ElapsedTimeElapsed Timeint9   
EvaluationTimeEvaluation Timedouble  180
EventDateEvent Datedatetime    
EventIdentifierEvent Identifierstring 80  
IdAPI Event IDid 18  
LoginHistoryIdLogin History IDreference 18  
LoginKeyLogin Keystring 24  
OperationOperationpicklist 255  
OperationStatusOperation Statusstring 255  
PlatformPlatformstring 255  
PolicyIdTransaction Security Policy IDreference 18  
PolicyOutcomePolicy Outcomepicklist 255  
ProfileIdProfile IDreference 18  
QueriedEntitiesQueried Entitiesstring 1000  
QueryQuerystring 10000  
RecordsRecordsjson 250000  
RelatedEventIdentifierRelated Event Identifierstring 80  
RequestIdentifierRequest Identifierstring 80  
RoleIdRole IDreference 18  
RowsProcessedRows Processeddouble  180
RowsReturnedRows Returneddouble  180
SessionKeySession Keystring 24  
SessionLevelSession Levelpicklist 255  
SourceIpSource IPstring 255  
UserAgentUser Agentstring 1000  
UserIdUser IDreference 18  
UsernameUsernamestring 255