Skip to content

REST API Reference

Launchpad HQ exposes a REST API via the Fastify server. All endpoints are prefixed with /api.

Authentication

The server uses gh auth token for GitHub authentication. Ensure the GitHub CLI is installed and authenticated.

Endpoints

Projects

MethodPathDescription
GET/api/projectsList all registered projects
POST/api/projectsAdd a new project
DELETE/api/projects/:idRemove a project

Copilot Sessions

MethodPathDescription
GET/api/copilot/sessionsList active Copilot sessions

Returns { sessions: [...], count: number, adapter: string }.

Settings

MethodPathDescription
GET/api/settingsGet current settings
PUT/api/settingsUpdate settings

Attention Items

MethodPathDescription
GET/api/attentionList attention items
POST/api/attention/:id/dismissDismiss an attention item

Dev Tunnels

MethodPathDescription
GET/api/tunnel/statusGet tunnel status

Response Format

All endpoints return JSON. Error responses follow the format:

json
{
  "error": "Error message",
  "statusCode": 400
}

WebSocket

In addition to REST endpoints, real-time data is available via WebSocket:

  • /ws — Browser client pub/sub (channels: devcontainer, copilot, attention)
  • /ws/daemon — Daemon protocol connection

See Protocol Reference for WebSocket details.

INFO

API endpoints may evolve as features are added. This reference covers the current stable surface.

Built with VitePress