Health check
GET /health - returns the current service status. No authentication required.
"healthy" when the service is fully operational. Use this for uptime monitoring and load balancer health probes.Always
"rail-score-engine".Key verification
POST /verify - verifies that an API key is valid and active. Returns the plan and remaining credits for the key.
true if the key/token is active and authorized."api_key" or "jwt", depending on how the request authenticated.The plan associated with this credential:
"free", "pro", "business", or "enterprise".Credit balance remaining in the current monthly period.
null (with a balance_error field)
if the credits service was unreachable when this call was made — valid is unaffected.Error responses
Health check in the SDKs
Both SDKs wrap/health:
/verify with a dedicated method — call it directly (as in the
curl example above) if you need a pre-flight credential/balance check.
What’s next
Authentication
How to generate and manage API keys.
Credits & Pricing
Credit costs for each endpoint and plan allocations.