Skip to Content
SPAPS is proprietary hosted SaaS. Paid access required; pre-1.0 contracts may change. Terms and access
ReferenceDomain Catalog

Domain Catalog

Domain ownership is the fastest way to avoid wrong-layer edits. Most domains follow router.py, service.py, repository.py, models.py, and schemas.py, with route registration happening in create_spaps_app.

This catalog is an ownership map, not a substitute for OpenAPI. Domain routers may share a mount prefix such as /api; that prefix identifies the namespace only. The complete exact route list lives in ../sweet-potato/docs/manifest.json and the running service’s /openapi.json.

Current Source Inventory

At Sweet Potato 5b09d3df1194577c5313c865fef1db98f694cdea, the active package contains 44 directories with a router.py:

affiliate_referralsagent_approvalsapp_linksapplications
auditauthbilling_accountscapability_graph
cfocfo_rolescontact_leadscors_contract
cryptodayratedevdev_portal
developerdevice_flowdocsemail
entitlementsissue_reporting_platformmarketing_eventsnotifications
passkey_recoverypoliciespurchase_journeysrealtime
registry_accesssecure_messagessecurityself_service
sessionsskill_evalsstripesupport_telemetry_platform
token_gatesusage_controluserswallets
webhookswhitelistworkload_identityx402

Verify the list rather than copying it into a plan:

find packages/python-server-quickstart/src/spaps_server_quickstart/domains \ -mindepth 2 -maxdepth 2 -type f -name router.py -printf '%h\n' \ | xargs -n1 basename | sort

Manifest Route Categories

The same snapshot has 448 exact method/path entries across 44 manifest categories. Counts below are discovery hints; inspect the manifest or OpenAPI before editing behavior.

CategoryRoutesCategoryRoutesCategoryRoutes
affiliate-referrals18agent-approvals14app-links3
audit5auth74authentication9
billing-accounts3capability-graph9cfo33
contact-leads2crypto-payments8dayrate14
dev5dev-portal5developer4
device-flow3docs10email14
entitlements17governance1health3
issue-reporting18marketing-events2notifications8
operations1other14payments8
policies7purchase-receipts7realtime1
registry-access5secure-messages2security2
self-service8sessions6skill-evals10
stripe39token-gates14usage5
users8webhooks11whitelist8
workload-identity1x4029

Regenerate those counts from source:

jq -r '.endpoints | group_by(.category)[] | [.[0].category, length] | @tsv' \ docs/manifest.json | sort

Core Ownership Map

These are the most common starting points; use the complete inventory above for newer or specialist surfaces.

DomainResponsibilityPrimary files
applicationsClient application rows, keys, origins, settingsrouter, service, repository, models, schemas
authEmail/password, magic-link, and auth flow orchestrationrouter, service, repository, schemas
sessionsJWTs, refresh tokens, session tracking, blacklistingrouter, service, repository, models, schemas
walletsSolana and Ethereum wallet auth and verificationrouter, service, repository, models, schemas, chains/
stripeProducts, checkout, subscriptions, portal, history, webhooksrouter, service, repository, models, schemas
entitlementsAccess grants and product/price mappingsrouter, service, repository, models, schemas
secure_messagesSecure message API and storagerouter, service, repository, models, schemas
webhooksGeneric and Mailgun webhook processingrouter, service, repository, models, schemas
emailTransactional email behaviorrouter, service, repository, models, schemas
auditAdmin and security audit recordsrouter, service, repository, models, schemas
securitySecurity alerts and monitoring surfacesrouter, service, repository, models, schemas
policiesAuthorization policy enginerouter, service, repository, models, schemas
device_flowDevice authorization flowrouter, service, repository, schemas
self_serviceOperator self-service workflowsrouter, service, schemas
dayrateBuildooor/dayrate integrationrouter, service, repository, models, schemas
issue_reporting_platformShared issue-reporting APIrouter, service, repository, models, schemas
support_telemetry_platformSupport telemetry ingest and queryrouter, service, repository, models, schemas
agent_approvalsConsent gateway and approval flowsrouter, service, repository, models, schemas
affiliate_referralsAffiliate, referral, and commission surfacesrouter, service, repository, models, schemas

Flow Owners

Common Mistakes

  • Editing router behavior without checking service tests.
  • Adding a model without confirming import_all_models() registration.
  • Changing endpoint shape without updating docs and manifest entries.
  • Treating a shared mount prefix as evidence for a concrete endpoint path.

See Also