Health

sfp server API reference for Health: 4 endpoints.

GET/sfp/api

Returns detailed health information including database connectivity, version info, and system status. This endpoint is used by monitoring systems and load balancers. Returns 503 if critical systems (database, GitHub, Salesforce) are unhealthy.

Response Body

curl -X GET "https://example.com/sfp/api"
Empty
GET/health

Simple health check endpoint that bypasses the global prefix. Returns the same comprehensive health status as the root endpoint. Commonly used by Kubernetes and other orchestration systems. Returns 503 if critical systems (database, GitHub, Salesforce) are unhealthy.

Response Body

curl -X GET "https://example.com/health"
Empty
GET/sfp/api/ping

Simple ping endpoint that returns a static "pong" response. Useful for basic connectivity testing and latency measurements.

Response Body

curl -X GET "https://example.com/sfp/api/ping"
Empty
GET/sfp/api/config

Returns public configuration values for the web app including Supabase credentials, tenant info, and auth provider settings. These values are safe to expose publicly - security is enforced via Supabase RLS, not key secrecy.

Response Body

application/json

curl -X GET "https://example.com/sfp/api/config"
{  "supabaseUrl": "https://auth.flxbl.io",  "supabaseAnonKey": "eyJ...",  "serverUrl": "https://my-tenant.flxbl.io",  "tenantLabel": "my-tenant",  "authProvider": "github",  "webAppVersion": "v2.0.0",  "deploymentMode": "cloud",  "sso": {    "domain": "example.com",    "providerId": "provider-id"  },  "authMethods": {    "emailPassword": true,    "mfaRequiredForPassword": true  }}