cURL
curl --request GET \
--url https://api.influship.com/healthimport Influship from 'influship';
const client = new Influship();
const response = await client.health.check();
console.log(response.ok);import requests
url = "https://api.influship.com/health"
response = requests.get(url)
print(response.text){
"ok": true,
"timestamp": "2024-01-15T14:30:00.000Z"
}{
"error": {
"code": "internal_error",
"message": "An unexpected error occurred. Please try again later.",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}Health
Health Check
Check API health status. No authentication required.
GET
/
health
cURL
curl --request GET \
--url https://api.influship.com/healthimport Influship from 'influship';
const client = new Influship();
const response = await client.health.check();
console.log(response.ok);import requests
url = "https://api.influship.com/health"
response = requests.get(url)
print(response.text){
"ok": true,
"timestamp": "2024-01-15T14:30:00.000Z"
}{
"error": {
"code": "internal_error",
"message": "An unexpected error occurred. Please try again later.",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}Response
Health check response
Health check response
Service health status
Example:
true
Current server timestamp
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Example:
"2024-01-15T14:30:00.000Z"