Skip to main content
GET
Get checkpoint files

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

checkpoint_id
string
required

ID of the checkpoint, as returned in id by List checkpoints.

app_id
string
required

ID of the app.

Response

The checkpoint's source files.

The source files saved in a checkpoint.

files
Files · object
required

The checkpoint's source files, keyed by path. Pages, components, backend functions, entities and agents are keyed by kind and name with no file extension, such as pages/Home or functions/sendWelcomeEmail. A few files use a fixed name, such as layout. Entity, agent and workflow definitions come back as JSON objects, and source files as text.

Example: