Skip to Content
API ReferenceOverview

API Reference

The LaunchGate REST API is available at https://api.launchgate.ai.

Base URL

https://api.launchgate.ai/v1

All endpoints are versioned under /v1/.

Authentication

Every request (except /health and /v1/templates) requires authentication via the Authorization header:

Authorization: Bearer lg_live_your_key_here

See Authentication for details on both API key and JWT auth modes.

Request format

  • Content type: application/json
  • All request bodies are JSON

Response format

Success responses

{ "data": { ... } }

Paginated responses

{ "data": [...], "pagination": { "page": 1, "pageSize": 20, "total": 42, "hasMore": true } }

Error responses

{ "error": { "code": "VALIDATION_ERROR", "message": "Suite slug is required", "details": { ... } } }

Common HTTP status codes

CodeMeaning
200Success
201Created
202Accepted (async run enqueued)
400Validation error
401Authentication failed
402Payment required (usage limit exceeded)
404Resource not found (or belongs to another org)
429Rate limited
500Internal server error

LaunchGate returns 404 (not 403) when a resource exists but belongs to another organisation. This prevents leaking resource existence to unauthorized users.

Rate limits

ScopeLimit
General API100 requests per minute per IP
Auth endpoints20 requests per 15 minutes per IP

When rate limited, the response includes a Retry-After header.

Health check

GET /health

No authentication required. Returns:

{ "status": "healthy", "version": "0.1.0", "timestamp": "2026-04-07T12:00:00.000Z", "services": { "database": "connected", "redis": "connected" } }
Last updated on