health • AI Agent SDK

health: Get detailed health status of the running bot.

health

Async

Method

</div>

This is a method of the BotProtocol class in the protocols module.

Get detailed health status of the running bot.

Signature

python
async def health() -> HealthResult

Returns

ResponseField HealthResult

HealthResult with running state, uptime, probe, and session count.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1274