galena
ReferenceAPI

Workspace

Health, first-run setup and the signed-in member.

Liveness

GET/health

Answers without touching the database, so health checks never wake Aurora.

Response Body

application/json

curl -X GET "https://example.com/health"
{  "status": "ok"}

First-run setup

POST/v1/setup

Creates the workspace and its owner, then signs the owner in. Works once per deployment.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/setup" \  -H "Content-Type: application/json" \  -d '{    "workspaceName": "string",    "name": "string",    "email": "user@example.com",    "password": "stringstring"  }'
{  "workspaceId": "string",  "userId": "string"}

The signed-in member

GET/v1/me

Response Body

application/json

curl -X GET "https://example.com/v1/me"
{  "userId": "string",  "email": "string",  "role": "string",  "workspaceId": "string"}