Developers
Sila API reference
An API-first benefits platform. v1 exposes the public savings model; authenticated resources (members, claims, balances, webhooks) follow. Base URL: /api · machine spec: openapi.json
GET
/api/v1/healthHealth check — confirms the API is up.
Example
curl https://api.sila/api/v1/healthResponse
{ "status": "ok", "api": "v1" }GET
/api/v1/savings/estimateEstimate the surplus that could belong to an employer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| currentAnnualCost | number | required | What the employer pays for their plan today, per year (dollars). |
| size | enum(small|medium|large) | required | Employer size band. |
| employees | integer | optional | Headcount, for per-employee figures. |
Example
curl "https://api.sila/api/v1/savings/estimate?currentAnnualCost=120000&size=small&employees=30"Response
{
"input": { "currentAnnualCost": 120000, "size": "small", "employees": 30 },
"result": {
"surplusCents": 3600000,
"savingsPct": 30,
"claimsToBudgetPct": 70,
"status": "surplus",
"perEmployeeCents": 120000
}
}