System Controllers¶
- async check_system_health(db_session: sqlalchemy.ext.asyncio.session.AsyncSession) MsgSpecJSONResponse[source]¶
Check the health of critical system components.
- Returns:
200 status code if all systems are online, otherwise 503.
- Return type:
- ping() PlainTextResponse[source]¶
Check the health status of the application.
- Returns:
A plain text response “OK” to confirm the server is reachable.
- Return type:
PlainTextResponse