This endpoint is used to check the health of the API. Returns a JSON object with the key “status” set to “ok”.
import requests
url = "https://www.datalab.to/api/v1/health"
response = requests.get(url)
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?
import requests
url = "https://www.datalab.to/api/v1/health"
response = requests.get(url)
print(response.text){
"status": "<string>"
}