Get field value history for a custom object record
object.field_history(strfield_key, ObjectFieldHistoryParams**kwargs) -> ObjectFieldHistoryResponse
GET/v1/objects/{entitySlug}/values/{id}/fields/{fieldKey}/history
Returns the value-change history for a single field on a record, newest first. Consecutive identical values are collapsed. History is cursor-paginated: pass nextCursor from the previous response as after to page through older values. Only attribute-backed fields (custom attributes and attribute-backed system fields) have history — column-backed system fields return an error.
Required scope: custom_objects:read
Rate limit category: Read
Get field value history for a custom object record
from lightfield import Lightfield
client = Lightfield(
api_key="My API Key",
)
object_field_history_response = client.object.field_history(
field_key="fieldKey",
entity_slug="entitySlug",
id="id",
)
print(object_field_history_response.data){
"data": [
{
"displayValue": "displayValue",
"isCreate": true,
"recordedAt": "recordedAt",
"value": "string",
"valueType": "ADDRESS"
}
],
"hasMore": true,
"nextCursor": "nextCursor"
}Returns Examples
{
"data": [
{
"displayValue": "displayValue",
"isCreate": true,
"recordedAt": "recordedAt",
"value": "string",
"valueType": "ADDRESS"
}
],
"hasMore": true,
"nextCursor": "nextCursor"
}