# CodePipelineProcessDiff

A code pipeline run's changes, file by file and line by line.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `diff` | [`CodeDiff`](https://docs.maitento.com/reference/types/code-diff.md) | The changes. |
| `fileCount` | `integer` | How many files changed. |
| `isTruncated` | `boolean` | Whether the diff was too large to keep whole, so the line-by-line changes were left out and only the changed files are listed. Says nothing about whether the raw diff was cut too. |
| `codePipelineProcessId` | `uuid` | The id of the code pipeline run it belongs to. |
| `rev` | `integer` | Its revision, which goes up each time it changes (a tool result arriving after its call, for example). Starts at 1. Compare it with the `rev` in the run's references to tell whether your copy is current. |
| `tenantId` | `uuid` | The id of the tenant it belongs to. |
| `id` | `uuid` | The unique id. Use it in `by-id` routes and wherever another object refers to this one. |
| `dateCreated` | `datetime` | When it was created, in UTC. |
| `dateUpdated` | `datetime` | When it was last changed, in UTC. |

## Example

```json
{
  "diff": {
    "files": [
      {}
    ]
  },
  "fileCount": 0,
  "isTruncated": false,
  "codePipelineProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "rev": 0,
  "tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "dateCreated": "2026-10-26T12:00:00.0000000Z",
  "dateUpdated": "2026-10-26T12:00:00.0000000Z"
}
```

## Where it's used

- [`pipelineRuns.diff`](https://docs.maitento.com/reference/api/pipeline-runs.md) (`GET /code-pipelines/processes/by-id/{id}/diff`)
