Skip to main content

Overview

These endpoints manage project databases (operations, checkpoints, SQL backups) and dev container access.

Trigger AI Indexing

/builder/ai/index-trigger
Trigger re-indexing of project files for AI context.
Request Body

Database Operations

/builder/database/{projectId}/operations
List active database operations for a project.
Path Parameters

Database Checkpoints

List Checkpoints

/builder/database/{projectId}/checkpoints
List all database checkpoints for a project.

Restore Checkpoint

/builder/database/{projectId}/checkpoints/{hash}/restore
Restore a database to a specific checkpoint.
Path Parameters

SQL Backups

List Backups

/builder/database/{projectId}/sql-backups
List all SQL backups for a project.

Download Backup

/builder/database/{projectId}/sql-backups/{s3Key}/download
Download a specific SQL backup file.
Path Parameters

Terminal

/builder/dev-container/{projectId}/terminal
WebSocket connection to the project’s dev container terminal.
This endpoint upgrades to a WebSocket connection for real-time terminal I/O.