GraphQL Query Event Type

GraphQL Query events contain information about executed queries, including total execution time, the number of invocations, and any reported errors.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.

  • Type: Number
  • Description: The actual cost of the GraphQL query execution, calculated after the query runs. Cost is a relative, unitless value based on the query’s complexity, such as the number of fields and records it resolves. It doesn’t represent a monetary amount or CPU time.
  • Type: String
  • Description: The name of the application that the user accessed.
  • Type: String
  • 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”.
  • Example: 96.43.144.26
  • Type: Number
  • 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.
  • Type: Number
  • Description: The time, in milliseconds, that it took for the GraphQL query to complete.
  • Type: Number
  • Description: The estimated upper-bound cost of the GraphQL query, calculated before the query runs. Cost is a relative, unitless value. Compare it with ACTUAL_COST.
  • Type: String
  • Description: The type of event.
  • Type: String
  • Description: Exception message if the request encountered an error. Empty indicates successful execution.
  • Type: Boolean
  • Description: Indicates whether the “Block GraphQL API access for guest users” org preference was enabled (true) and guest user access to GraphQL was blocked when the request was logged. The false value means the preference was off and is the default value. Empty if the preference value couldn’t be determined.
  • Type: String
  • 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.
  • Example: GeJCsym5eyvtEK2I
  • Type: String
  • Description: The name of the GraphQL query. If the query was anonymous (i.e., no name was provided in the query string), this field will usually be empty or null in the logs.
  • Type: Id
  • Description: The 15-character ID of the organization.
  • Example: 00D000000000123
  • Type: String
  • Description: The GraphQL JSON query.
  • Type: Number
  • Description: The length of the GraphQL JSON query in characters.
  • Type: Number
  • Description: The response size, in bytes, of the raw SOQL records retrieved to resolve the GraphQL query.
  • Type: String
  • 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 REQUEST_ID.
  • Example: TID:000000000000c00fff
  • Type: Number
  • Description: The amount of time that the request took in milliseconds.
  • Type: String
  • 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.
  • Example: d7DEq/ANa7nNZZVD
  • Type: String
  • Description: The time that the flow was executed in GMT.
  • Example: 20210606032436.520
  • Type: CHECK
  • Description: The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ) The timezone is GMT.
  • Example: 2015-07-27T11:32:59.555Z
  • Type: Number
  • Description: The total number of records returned by the GraphQL query. The value is the sum of the record counts of all record connections in the response, including parent, child, nested, and analytics queries.
  • Type: Number
  • Description: The response size, in bytes, of the data returned by tracked expensive data fetchers, such as record queries, record aggregates, and setup queries. Includes GraphQL connection metadata, such as edges and pageInfo.
  • Type: String
  • Description: The URI of the page that’s receiving the request.
  • Example: /home/home.jsp
  • Type: String
  • Description: The 18-character case-insensitive ID of the URI of the page that’s receiving the request.
  • Type: Id
  • Description: The 15-character ID of the user who executed the flow through the UI or the API.
  • Example: 00530000009M943
  • Type: String
  • Description: The 18-character case-insensitive ID of the user who’s using Salesforce services through the UI or the API.
  • Example: 00590000000I1SNIA0
  • Type: String

  • Description: The category of user license.

  • Possible values:

    • CsnOnly - Users whose access to the application is limited to Chatter. This user type includes Chatter Free and Chatter moderator users.
    • CspLitePortal - CSP Lite Portal license. Users whose access is limited because they’re organization customers and access the application through a customer portal or an Experience Cloud site.
    • CustomerSuccess - Customer Success license. Users whose access is limited because they’re organization customers and access the application through a customer portal.
    • Guest - Users whose access is limited so that your customers can view and interact with your site without logging in.
    • PowerCustomerSuccess - Power Customer Success license. Users whose access is limited because they’re organization customers and access the application through a customer portal. Users with this license type can view and edit data they directly own or data owned by or shared with users below them in the customer portal role hierarchy.
    • PowerPartner - Power Partner license. Users whose access is limited because they’re partners and typically access the application through a partner portal or site.
    • SelfService - Users whose access is limited because they’re organization customers and access the application through a self-service portal.
    • Standard - Standard user license. This user type also includes Salesforce Platform and Salesforce Platform One user licenses, and admins for this org.
  • Type: String
  • Description: A JSON string containing the name-value pairs of the variables used in the GraphQL operation.