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

# Checkpoints

> Save, list, and restore versions of an app with the Base44 Apps API

> [!NOTE]
>
> The Apps API is in beta. Its endpoints and responses may change.

A checkpoint is a saved version of an app, captured as you build. These endpoints list an app's checkpoints, create new ones, return the app to an earlier one, and read the files a checkpoint holds. See [Apps API concepts](https://docs.base44.com/developers/references/apps-api/get-started/concepts.md#checkpoints) for how checkpoints relate to turns and branches.

## What a checkpoint holds

A checkpoint records the app's committed code, its entity schemas, and its backend functions. [Restore checkpoint](https://docs.base44.com/api-reference/restore-checkpoint.md) rolls the code back to the checkpoint's commit, redeploys the backend functions from that code, and restores the entity schemas the checkpoint saved.

## Deploy a checkpoint

To publish a specific checkpoint, pass its `id` as `checkpoint_id` to [Deploy an app](https://docs.base44.com/api-reference/deploy-an-app.md). If a checkpoint's `preview_status` in [List checkpoints](https://docs.base44.com/api-reference/list-checkpoints.md) is `failed`, use [Retry checkpoint build](https://docs.base44.com/api-reference/retry-checkpoint-build.md) to start its preview build again.

## Endpoints

* [List checkpoints](https://docs.base44.com/api-reference/list-checkpoints.md): List the app's checkpoints, newest first.
* [Create checkpoint](https://docs.base44.com/api-reference/create-checkpoint.md): Save the app's current state as a new checkpoint.
* [Restore checkpoint](https://docs.base44.com/api-reference/restore-checkpoint.md): Return the app to a saved checkpoint.
* [Retry checkpoint build](https://docs.base44.com/api-reference/retry-checkpoint-build.md): Start a new preview build for a checkpoint.
* [Get checkpoint files](https://docs.base44.com/api-reference/get-checkpoint-files.md): Read the source files saved in a checkpoint.


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