AsyncApexJob

Represents an individual Apex sharing recalculation job, a batch Apex job, a method with the future annotation, or a job that implements Queueable or Schedulable. Use this object to query Apex batch jobs in your organization.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see AsyncApexJob in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
ApexClassIdClass IDreference 18  
CompletedDateCompletion Datedatetime    
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CronTriggerIdScheduled Job IDreference 18  
ExtendedStatusStatus Detailstring 255  
IdApex Job IDid 18  
JobItemsProcessedBatches Processedint9   
JobTypeJob Typepicklist 40  
LastProcessedLast ID processed and committedstring 15  
LastProcessedOffsetOffset of last ID processed and committedint9   
MethodNameApex Methodstring 255  
NumberOfErrorsFailuresint9   
ParentJobIdApex Job IDreference 18  
StatusStatuspicklist 40  
TotalJobItemsTotal Batchesint9