consul.api.status module¶ class consul.api.status.Status(agent)[source]¶ Bases: object The Status endpoints are used to get information about the statusof the Consul cluster. leader()[source]¶ This endpoint is used to get the Raft leader for the datacenter in which the agent is running. peers()[source]¶ This endpoint retrieves the Raft peers for the datacenter in which the the agent is running.