---
schema_version: "1"
id: e1fe012651d230dba65563a336adc9a178358f5eb7814434d20ba16b29ad5cfb
title: StandardObjectNameHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_associated_objects_history_einstein.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_history_einstein.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 50976bb26b84668d3bd7eeffe39a68060ca2bc35448d6c1dd883a08a22e8f0c0
description: StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.
---
# StandardObjectNameHistory

StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.

The object name is variable and uses StandardObjectNameHistory syntax. For example, AccountHistory represents the history of changes to the values of an account record’s fields. We list the available associated history objects at the end of this topic. For specific version information, see the documentation for the standard object.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

For specific special access rules, if any, see the documentation for the standard object. For example, for AccountHistory, see the special access rules for Account.

## Fields

### StandardObjectNameId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: ID of the standard object.

### DataType

- **Type**: picklist
- **Properties**: Filter, Group, Nilable, Restricted picklist, Sort
- **Description**: Data type of the field that was changed.

### Field

- **Type**: picklist
- **Properties**: Filter, Group, Restricted picklist, Sort
- **Description**: Name of the field that was changed.

### NewValue

- **Type**: anyType
- **Properties**: Nillable, Sort
- **Description**: New value of the field that was changed.

### OldValue

- **Type**: anyType
- **Properties**: Nillable, Sort
- **Description**: Old value of the field that was changed.

## Objects That Follow This Model

These objects follow the standard pattern for associated feed objects.

- AiVisitRecommendationHistory
- AiVisitRecommendRequestHistory