> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Affinity: V2 Field Value Changes Get

> List field value change history across your Affinity workspace: who changed which field and when. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

List field value change history across your Affinity workspace: who changed which field and when.

> [!NOTE]
>
> Tool ID: `affinity_v2_field_value_changes_get`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe affinity_v2_field_value_changes_get --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe affinity_v2_field_value_changes_get --json` for the complete live contract.

## Input reference

Retrieve field value changes across all entities and fields in your Affinity workspace. For an overview of field value changes, including which fields support change tracking and how the action types behave, see [Field Value Changes](https://deepline.com/docs/pages/data-model/working-with-field-data#field-value-changes). This endpoint is built for delta-sync. Within a single sync, follow `pagination.nextUrl` to page through results until it becomes `null`, which means you have reached the most recent change. To run the next incremental sync, record the `changedAt` of the last change you processed and, on your next sync, filter for changes newer than that timestamp (for example, `filter=changedAt&gt;2024-06-01T12:00:00Z`). Do not persist `nextUrl` between syncs, since it is `null` once you are caught up. Changes are returned in ascending order of `changedAt`, then by internal change ID. Only fields with change See the live schema below for the complete notes.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.filter` | `string` | No | — | Filter options |
| `payload.orderBy` | `array` | No | — | Properties to sort by. Defaults to `changedAt`. Prefix with `-` for descending order. |
| `payload.cursor` | `string` | No | — | Cursor for the next or previous page |
| `payload.limit` | `integer` | No | `100` | Number of items to include in the page Format: `int32`. Minimum: 1. Maximum: 100. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieve field value changes across all entities and fields in your Affinity workspace. For an overview of field value changes, including which fields support change tracking and how the action types behave, see [Field Value Changes](/pages/data-model/working-with-field-data#field-value-changes). This endpoint is built for delta-sync. Within a single sync, follow `pagination.nextUrl` to page through results until it becomes `null`, which means you have reached the most recent change. To run the next incremental sync, record the `changedAt` of the last change you processed and, on your next sync, filter for changes newer than that timestamp (for example, `filter=changedAt>2024-06-01T12:00:00Z`). Do not persist `nextUrl` between syncs, since it is `null` once you are caught up. Changes are returned in ascending order of `changedAt`, then by internal change ID. Only fields with change tracking enabled are included. You can filter results using the `filter` query parameter. | **Property Name** | **Type** | **Description** | **Allowed Operators** | **Examples** | |---|---|---|---|---| | `field.id` | `text` | | `=` | `field.id=field-1234` | | `listEntry.id` | `int64` | | `=` | `listEntry.id=5678` | | `changer.id` | `int64` | The person who made the change. | `=` | `changer.id=9012` | | `changedAt` | `datetime` | When the change was made. | `>`, ` =`, ` =2025-01-01T00:00:00Z` | | `actionType` | `text` | The type of change (`add`, `update`, `delete`) | `=` | `actionType=add` | Filters can be combined: - `|` (OR) to match any of multiple values: `field.id=field-1 | field.id=field-2` - `&` (AND) to require all conditions: `changedAt>=2025-01-01T00:00:00Z & changedAt<=2025-12-31T23:59:59Z`",
    "properties": {
      "filter": {
        "type": "string",
        "description": "Filter options"
      },
      "orderBy": {
        "type": "array",
        "description": "Properties to sort by. Defaults to `changedAt`. Prefix with `-` for descending order.",
        "items": {
          "type": "string",
          "default": [
            "changedAt"
          ],
          "enum": [
            "changedAt",
            "-changedAt"
          ]
        }
      },
      "cursor": {
        "type": "string",
        "description": "Cursor for the next or previous page"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to include in the page",
        "default": 100,
        "minimum": 1,
        "maximum": 100,
        "format": "int32"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.data` | `array` | Yes | — | Maximum items: 100. |
| `result.data.data[].id` | `integer` | Yes | — | Format: `int64`. Minimum: 1. Maximum: 9007199254740991. |
| `result.data.data[].field` | `object` | Yes | — | — |
| `result.data.data[].field.id` | `string` | Yes | — | — |
| `result.data.data[].field.entityType` | `"person" \| "company" \| "opportunity"` | Yes | — | Allowed: `person`, `company`, `opportunity`. |
| `result.data.data[].field.name` | `string` | Yes | — | — |
| `result.data.data[].field.type` | `"global" \| "list"` | Yes | — | Allowed: `global`, `list`. |
| `result.data.data[].entity` | `object` | Yes | — | — |
| `result.data.data[].entity.id` | `integer` | Yes | — | Format: `int64`. Minimum: 1. Maximum: 9007199254740991. |
| `result.data.data[].listEntry` | `record` | Yes | — | — |
| `result.data.data[].changer` | `record` | Yes | — | — |
| `result.data.data[].changedAt` | `string` | Yes | — | Format: `date-time`. |
| `result.data.data[].actionType` | `"add" \| "update" \| "delete"` | Yes | — | Allowed: `add`, `update`, `delete`. |
| `result.data.data[].type` | `"company" \| "company-multi" \| "datetime" \| "dropdown" \| "dropdown-multi" \| "filterable-text" \| "filterable-text-multi" \| "location" \| "location-multi" \| "number" \| "number-multi" \| "person" \| "person-multi" \| "ranked-dropdown" \| "text"` | Yes | — | — |
| `result.data.data[].value` | `object \| string \| number` | Yes | — | — |
| `result.data.data[].value.referenceType` | `"entity"` | Yes | — | — |
| `result.data.data[].value.id` | `integer` | Yes | — | — |
| `result.data.data[].value.name` | `string` | Yes | — | — |
| `result.data.data[].value.domain` | `string \| null` | Yes | — | — |
| `result.data.data[].value.displayValue` | `string` | Yes | — | — |
| `result.data.data[].value.dropdownOptionId` | `integer` | Yes | — | — |
| `result.data.data[].value.text` | `string` | Yes | — | — |
| `result.data.data[].value.streetAddress` | `string \| null` | Yes | — | — |
| `result.data.data[].value.city` | `string \| null` | Yes | — | — |
| `result.data.data[].value.state` | `string \| null` | Yes | — | — |
| `result.data.data[].value.country` | `string \| null` | Yes | — | — |
| `result.data.data[].value.continent` | `string \| null` | Yes | — | — |
| `result.data.data[].value.firstName` | `string \| null` | Yes | — | — |
| `result.data.data[].value.lastName` | `string \| null` | Yes | — | — |
| `result.data.data[].value.primaryEmailAddress` | `string \| null` | Yes | — | — |
| `result.data.data[].value.type` | `"internal" \| "collaborator" \| "external"` | Yes | — | — |
| `result.data.data[].value.rank` | `integer` | Yes | — | — |
| `result.data.data[].value.color` | `string \| null` | Yes | — | — |
| `result.data.pagination` | `object` | Yes | — | — |
| `result.data.pagination.prevUrl` | `string \| null` | No | — | Format: `uri`. |
| `result.data.pagination.nextUrl` | `string \| null` | No | — | Format: `uri`. |
| `result.meta` | `object` | No | — | — |

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe affinity_v2_field_value_changes_get --json`.

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Affinity provider guide](https://deepline.com/docs/providers/affinity/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.