# \StatusApi
All URIs are relative to *http://localhost:4646/v1*
[**get_leader**](StatusApi.md#get_leader) | **get** /status/leader | returns the address of the current leader in the region
[**get_peers**](StatusApi.md#get_peers) | **get** /status/peers | returns the set of raft peers in the region
## get_leader
> String get_leader()
returns the address of the current leader in the region
### Parameters
This endpoint does not need any parameter.
### Return type
**String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_peers
> Vec<String> get_peers()
returns the set of raft peers in the region
### Parameters
This endpoint does not need any parameter.
### Return type
**Vec<String>**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)