---
schema_version: "1"
id: 73650ce85dc691a0e15f1ede1ff5fd31317e7b91c2fe292166375365aabec6d3
title: ConnectApi.RecencyCriteria
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_recency_criteria.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_recency_criteria.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5aec92c20600cdc92c73a0eac70ea2d636451ad428dd59ab0d947f28bfcc2666
description: Represents recency criteria of the object data for a data graph.
---
# ConnectApi.RecencyCriteria

Represents recency criteria of the object data for a data graph.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| fieldName | String | API name of the field to which recency criteria is applied. | 59.0 |
| value | String | Value of the recency criteria. | 59.0 |
| valueType | String | Type of value for the recency criteria. Valid values are time and record. | 59.0 |
| valueUnit | String | Unit of measure for the recency criteria. For a value of type time, the valid value is DAY. For a value of type record, the valid value is RECORD. | 59.0 |