Get status of the database, key value store, event stream, job queue, indexer as a JSON object.
GET
/status/influx
curl
curl -X GET "http://api.example.com/status/influx" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/status/influx"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
curl \
--request GET 'http://api.example.com/status/influx' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"database-up": 1,
"key-value-store-up": 1,
"event-stream-up": 1,
"job-queue-up": 1,
"indexer-up": 1,
"time": 1701948600.123
}