{ "sections": [ "title", "description", "supported_soap_calls", "supported_rest_api_http_methods", "fields", "wsdl_segment" ], "title": "ApexLog - Tooling API", "description": "Represents a debug log.", "supported_soap_calls": "`delete()`, `describeSObjects()`, `query()`, `retrieve()`", "supported_rest_api_http_methods": "`Query`, `GET`, `DELETE`", "fields_columns": [ "type", "properties", "description" ], "fields": { "Application": { "type": "textarea", "properties": "Filter, Group, Sort", "description": "This value depends on the client type that triggered the log or heap dump. For API clients, this value is the client ID. For browser clients, this value is Browser. This field is required." }, "DurationMilliseconds": { "type": "int", "properties": "Filter, Group, Sort", "description": "The duration of the transaction in milliseconds. This field is required." }, "Location": { "type": "picklist", "properties": "Filter, Group, Sort, Nillable, Restricted picklist", "description": "Specifies the location of the origin of the log or heap dump. Values are: Monitoring—Generated as part of debug log monitoring, and visible to all administrators. These types of logs are maintained for seven days or until a user deletes them. SystemLog—Generated as part of system log monitoring, and visible only to you. These types of logs are maintained for 24 hours or until the user clears them." }, "LogLength": { "type": "int", "properties": "Filter, Group, Sort", "description": "Length of the log or heap dump in bytes. This field is required." }, "LogUserId": { "type": "reference", "properties": "Filter, Group, Sort, Nillable", "description": "ID of the user whose actions triggered the debug log or heap dump." }, "Operation": { "type": "string", "properties": "Filter, Group, Sort", "description": "Name of the operation that triggered the debug log or heap dump, such as APEXSOAP, Apex Sharing Recalculation, and so on. This field is required." }, "Request": { "type": "string", "properties": "Filter, Group, Sort", "description": "Request type. Values are: API—Request came from an API. Application—Request came from the Salesforce user interface. This field is required." }, "RequestIdentifier": { "type": "string", "properties": "Filter, Group, Sort", "description": "The unique identifier of the request that triggered the debug log. Use this request identifier to correlate multiple debug logs triggered by the same request." }, "StartTime": { "type": "dateTime", "properties": "Filter, Sort", "description": "Start time of the transaction. This field is required." }, "Status": { "type": "string", "properties": "Filter, Group, Sort", "description": "Status of the transaction. This value is either Success, or the text of an unhandled Apex exception. This field is required." } }, "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n```" }