ray.serve.status#

ray.serve.status() ServeStatus[source]#

Get the status of Serve on the cluster.

Includes status of all HTTP Proxies, all active applications, and their deployments.

@serve.deployment(num_replicas=2)
class MyDeployment:
    pass

serve.run(MyDeployment.bind())
status = serve.status()
assert status.applications["default"].status == "RUNNING"

PublicAPI (alpha): This API is in alpha and may change before becoming stable.