API Reference: api.sofe.dev
Main evaluation API — handles scanning, history, connections, billing webhooks, and notifications.
Base URL
https://api.sofe.devAuthentication
X-API-Key: sk_sofe_xxx (from platform.sofe.dev/keys)Authorization: Bearer <firebase_id_token> (from platform login)Rate Limits
Only POST /evaluate is rate-limited. All GET endpoints are unlimited.
| Tier | POST /evaluate per day |
|---|---|
| Free | 10 |
| Pro | 1,000 |
| Enterprise | Unlimited |
Endpoints (18)
/evaluateRun policies against connected AWS account
Auth: API key or Bearer
/validateValidate policy YAML syntax
Auth: API key or Bearer
/evaluationsList evaluation history (paginated)
Auth: API key or Bearer
/evaluations/:idFull evaluation detail with findings + resources_by_type + insights + remediation_commands
Auth: API key or Bearer
/evaluations/:id/byamlGenerate BYaML v0.3 architecture file from evaluation (YAML or JSON)
Auth: API key or Bearer
/evaluations/:id/insightsArchitecture insights: relationships, SPOFs, blast radius, team costs
Auth: API key or Bearer
/evaluations/scheduleGet current schedule config
Auth: API key or Bearer
/evaluations/scheduleUpdate schedule (off/6h/daily/weekly)
Auth: API key or Bearer
/collectorsList all 17 collectors with metrics
Auth: API key or Bearer
/policiesList all policies with severity + scope
Auth: API key or Bearer
/policies/catalogFull catalog for platform display
Auth: API key or Bearer
/components/catalog58 BYaML component types with category, layer, hasCollector
Auth: None (public)
/connect/awsConnect AWS account (verify role ARN)
Auth: Bearer only
/connect/accountsList connected AWS accounts
Auth: Bearer only
/test-notifySend test notification (Slack/email)
Auth: Bearer only
/webhooks/lemonsqueezyBilling webhook (subscription events)
Auth: HMAC signature
/webhooks/taypiPayment webhook (Yape QR)
Auth: HMAC signature
/healthStatus check
Auth: None (public)