ScratchOrgInfo

Represents a scratch org and its audit log. Use this object to create a scratch org and keep a log of its creation and deletion. This object is available in API version 41.0 and later.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
AdminEmailRequested Admin Emailemail 80  
AuthCodeConnected App Authorization Codestring 120  
ConnectedAppCallbackUrlConnected App Callback URLtextarea 2000  
ConnectedAppConsumerKeyConnected App Consumer Keystring 120  
CountryRequested Countrystring 3  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DeletedByDeleted Bystring 15  
DeletedDateDeleted Datedate    
DescriptionDescriptiontextarea 2000  
DurationDaysRequested Duration In Daysint9   
EditionEditionpicklist 255  
ErrorCodeError Codestring 8  
ExpirationDateExpiration Datedate    
FeaturesFeaturestextarea 10000  
HasSampleDataHas Sample Databoolean    
IdScratch Org Info IDid 18  
IsDeletedDeletedboolean    
LanguageRequested Languagepicklist 255  
LastLoginDateLast Login Datedate    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LoginUrlLogin URLtextarea 2000  
NameNumberstring 255  
NamespaceNamespacestring 15  
OrgNameOrg Namestring 80  
OwnerIdOwner IDreference 18  
Package2AncestorIdsRequested Package2 Ancestor IDstextarea 2000  
ReleaseReleasepicklist 255  
ScratchOrgScratch Org IDstring 15  
SignupCountrySignup Countrystring 3  
SignupEmailSignup Emailemail 80  
SignupInstanceSignup Instancestring 15  
SignupLanguageSignup Languagepicklist 255  
SignupTrialDaysSignup Trial Daysint9   
SignupUsernameSignup Usernamestring 80  
SourceOrgShape Source Orgstring 18  
StatusStatuspicklist 255  
SystemModstampSystem Modstampdatetime    
UsernameRequested Usernamestring 80  

Feed tracking for ScratchOrgInfo.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  

History for tracked fields of ScratchOrgInfo.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdScratch Org Info History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
ScratchOrgInfoIdScratch Org Info IDreference 18  

Sharing for ScratchOrgInfo.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18