Backup API
Create, restore, and manage configuration backups.
Endpoints
List Backups
http
GET /api/v1/backup/listCreate Backup
http
POST /api/v1/backup/createjson
{
"name": "pre-migration",
"scope": "full",
"description": "Backup before major config change",
"project_path": "/path/to/project"
}Get Backup
http
GET /api/v1/backup/{backup_id}Get Contents
http
GET /api/v1/backup/{backup_id}/contentsReturns list of files in the backup archive.
Get Manifest
http
GET /api/v1/backup/{backup_id}/manifestReturns full metadata including dependencies and component lists.
Get Restore Plan
http
GET /api/v1/backup/{backup_id}/plan?project_path={path}Analyzes what will be restored and identifies missing dependencies.
Validate Backup
http
POST /api/v1/backup/{backup_id}/validateDownload
http
GET /api/v1/backup/{backup_id}/downloadReturns the ZIP archive file.
Restore
http
POST /api/v1/backup/{backup_id}/restore?project_path={path}Install Dependencies
http
POST /api/v1/backup/{backup_id}/install-dependenciesjson
{ "npm": true, "pip": true, "plugins": true }Delete
http
DELETE /api/v1/backup/{backup_id}Export Config
http
POST /api/v1/backup/exportjson
{
"paths": ["~/.claude/settings.json", "~/.claude/agents/"],
"name": "settings-export"
}