# CodePipelineProcessContextEntry

One entry of an agent's transcript in a code pipeline run: something it wrote, or its thinking. Together with the run's tool calls, in `sequence` order, it gives the agent's whole transcript.

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

## Fields

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

| Field | Type | Description |
|---|---|---|
| `stepExecutionId` | `uuid` | The `id` of the step (in the run's `phases`) the entry belongs to. |
| `phaseName` | `string` | The name of the phase the entry belongs to. |
| `agentName` | `string` | The name of the agent that wrote the entry. |
| `stepName` | `string` | The name of the step the entry belongs to. |
| `sequence` | `integer` | The entry's position in the step's transcript. Tool calls and transcript entries share one numbering, so sorting both by it gives the order things happened in. |
| `timestamp` | `datetime` | When the agent wrote it, in UTC. |
| `kind` | [`CodePipelineProcessContextEntryKind`](https://docs.maitento.com/reference/types/code-pipeline-process-context-entry-kind.md) | Whether the entry is text the agent wrote or its thinking. |
| `body` | `string` | The entry's text. |
| `originalBytes` | `integer` | The size of the text as the agent wrote it, in UTF-8 bytes, before any shortening. |
| `isTruncated` | `boolean` | Whether `body` was shortened because it was very large. |
| `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
{
  "stepExecutionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "phaseName": "...",
  "agentName": "...",
  "stepName": "...",
  "sequence": 0,
  "timestamp": "2026-10-26T12:00:00.0000000Z",
  "kind": "Text",
  "body": "...",
  "originalBytes": 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

- Inside [`CodePipelineProcessPayloadsResponse`](https://docs.maitento.com/reference/types/code-pipeline-process-payloads-response.md)
