# checkpoint_partial

Canonical URL: https://developers.iagenify.com/sdk/agent/events/checkpoint-partial/
Language: en

`{ type: "checkpoint_partial", n, skipped }`

The snapshot could not take everything, and says what it left out — before anything relies on it.

Status: only when something was skipped · named, not guessed · arrives with the point

## Fields {#fields}

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `n` | integer |  | The point this concerns. |
| `skipped` | array |  | `[{ path, reason }]` — what was not copied, and why. |

```javascript
{
  type: "checkpoint_partial",
  n: 3,
  skipped: [
    { path: "data/dump.sql",  reason: "over 25 MB: recorded, not copied" },
    { path: "tmp/locked.db",  reason: "unreadable" }
  ]
}
```

## The reasons {#reasons}

| Reason | Means |
| --- | --- |
| over 25 MB: recorded, not copied | Its size and date are kept; its content is not. A rewind cannot restore it. |
| unreadable | The file could not be read at snapshot time — locked, in use, gone. |

A workspace of more than 5 000 files is not reported here but marks the point `partial` in `checkpoints()`.

## Why it is said at the time {#why}

> **A partial snapshot must be known before it is trusted**
>
> Discovering at rewind time that a 40 MB file was never copied is too late — the decision to go back was already made. Saying it when the point is taken lets an interface mark it, and lets a person move the file out of the workspace.

## It is on the listing too {#later}

```javascript
const points = await agent.checkpoints();
// [{ n: 3, at, text, files, partial: true, outside: [] }, …]
```

`partial` is the same fact, available later. And `rewind()` returns its own `files.skipped` for what could not be put back, which is a different list — one is about taking, the other about restoring.

- [How snapshots work](/sdk/agent/checkpoints/snapshots): The bounds that produce this.
- [What a rewind cannot undo](/sdk/agent/checkpoints/limits): The other list.

```python
{
    "type": "checkpoint_partial",
    "n": 3,
    "skipped": [
        {"path": "data/dump.sql", "reason": "file was too large or could not be copied"},
        {"path": "tmp/locked.db", "reason": "file was too large or could not be copied"},
    ],
}
```

```python
points = agent.checkpoints()
# [{"n": 3, "at", "text", "files", "partial": True}, …]
```
