---
schema_version: "1"
id: 3b085c4e163c56252fd92df309be6125f733b42b55c8c462f39701f1ee9ab604
title: UnifiedActivity
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_unifiedactivity.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_unifiedactivity.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 431823e8c6c13d66c7cd779d584fdf9efc98bceac229a0e077e21fd4293e22ab
description: Represents an activity that is automatically captured from Einstein Activity Capture (EAC) or other activity data, such as calls, manually logged tasks, and emails. This object consists of fields common to all types of activity-related objects such as Event, Task, EmailMessage, VoiceCall, VideoCall, and so on. Available for reports and dashboards in API version 59.0 and later.
---
# UnifiedActivity

Represents an activity that is automatically captured from Einstein Activity Capture (EAC) or other activity data, such as calls, manually logged tasks, and emails. This object consists of fields common to all types of activity-related objects such as Event, Task, EmailMessage, VoiceCall, VideoCall, and so on. Available for reports and dashboards in API version 59.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

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

#### Note

This object is available only for reporting. It isn’t supported for SOQL queries and APIs.

## Special Access Rules

We’re retiring Einstein Activity Capture Activity 360 Reporting. Starting in Summer ’25, this object isn’t available with Einstein Activity Capture unless Activity 360 Reporting was enabled in your org in Spring ’25 or earlier. See Knowledge Article: [Einstein Activity Capture Activity 360 Reporting, Activity Metrics, Activities Dashboard Upcoming Retirement](https://help.salesforce.com/s/articleView?id=004633781&type=1&language=en_US)

## Fields

| Field | Details |
| --- | --- |
| ActivityDateTime | 
Type

dateTime

Properties

Filter, Sort

Description

The date and time of the activity in the Coordinated Universal Time (UTC) time zone.



 |
| ActivitySubType | 

Type

picklist

Properties

Filter, Nillable, Restricted picklist

Description

Provides standard subtypes to facilitate creating and searching for specific activity subtypes.

Possible values are:

- Captured
- LegacyCall
- Streamed
- VoiceCall





 |
| ActivityType | 

Type

picklist

Properties

Filter, Nillable, Restricted picklist

Description

The type of activity.

Possible values are:

- UnifiedActivity
- UnifiedEmail
- UnifiedMeeting
- UnifiedTask
- UnifiedVideoCall
- UnifiedVoiceCall





 |
| DetailId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the object that contains detailed activity-specific information. The object depends on the activity type. For example, the detail for a Task activity is a Task object. The detail for an Event activity is an Event object.

This field is a polymorphic relationship field.

Relationship Name

Detail

Relationship Type

Lookup

Refers To

EmailMessage, Event, Task, VideoCall, VoiceCall



 |
| InternalEventKey | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Reserved for internal use.



 |
| IsInsightAvailable | 

Type

boolean

Properties

Defaulted on create, Filter

Description

Indicates whether the activity has an insight associated with it (true) or not (false).

The default value is false.



 |
| Snippet | 

Type

string

Properties

Nillable

Description

An abbreviation of the activity body or description. This field has a maximum length of 255 characters.



 |
| Subject | 

Type

string

Properties

None

Description

Contains the subject of the task or event.



 |