This endpoint is used to check the health of the API, given an API key.
Python
import requests url = "https://www.datalab.to/api/v1/user_health" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "status": "<string>" }
Successful Response
The status of the service. Should be 'ok' if the service is running correctly.
Was this page helpful?