---
schema_version: "1"
id: 2718759696aa3971e1be3774d6ec753a798f5e7b62334de3a7a772b4ea6b1966
title: LiveAgentSessionHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_liveagentsessionhistory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_liveagentsessionhistory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2550a3dfaedd78093cb3c44e8d2c41c550c018e6c91c005ad28ccaaaf4bc711b
description: This object is automatically created for each Chat session and stores information about changes made to the session. This object is available in API versions 28.0 and later.
---
# LiveAgentSessionHistory

This object is automatically created for each Chat session and stores information about changes made to the session. This object is available in API versions 28.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Standard fields for the LiveAgentSession object can only be modified if your administrator has given you editing permissions for these records.

## Supported Calls

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

You can also enable delete() in API version 42.0 and later. See [Enable delete of Field History and Field History Archive](https://help.salesforce.com/articleView?id=000321814&type=1&mode=1&language=en_US "HTML (New Window)").

## Fields

| Field Name | Details |
| --- | --- |
| DataType | 
Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Data type of the field that was changed.



 |
| Field | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The name of the field that was changed in a session record.



 |
| LiveAgentSessionId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the session record that was changed.



 |
| NewValue | 

Type

anyType

Properties

Nillable, Sort

Description

The new value of the field that was changed.



 |
| OldValue | 

Type

anyType

Properties

Nillable, Sort

Description

The original value of the field that was changed.



 |

## Usage

Use this object to identify changes to chat session records.