OpenAPI 3.0
API reference
HTTP API for schedule pack generation, organization administration, and SSO discovery. In production, authentication is typically required for these endpoints. In local development with `REQUIRE_AUTH_IN_PROD=false`, some routes may be callable without a session.
Baseline Brief API, v0.1.0
Endpoint index
Generated from the repository OpenAPI contract. Authentication uses a session cookie or operator admin token.
| Method | Path | Summary | Tag |
|---|---|---|---|
POST | /api/leads/free-risk-audit | Capture a free schedule risk audit lead | Leads |
POST | /api/packs | Generate a schedule pack | Packs |
GET | /api/packs/{id} | Download a generated pack artifact | Packs |
GET | /api/orgs | List organizations | Organizations |
POST | /api/orgs | Create organization | Organizations |
GET | /api/orgs/{orgId}/sso | Get SSO settings for an organization | SSO |
POST | /api/orgs/{orgId}/sso | Upsert organization SSO provider | SSO |
POST | /api/orgs/{orgId}/domains | Add a verified-domain candidate to an organization | SSO |
POST | /api/orgs/{orgId}/domains/{domainId}/verify | Mark a domain as verified | SSO |
GET | /api/sso/resolve | Resolve SSO provider from email (query string) | SSO |
POST | /api/sso/resolve | Resolve SSO provider from email (JSON body) | SSO |