Get API Health
GEThttps://api.tengr.ai/health
Retrieve the current health status of the API.
Request
Responses
- 200
- 429
- 500
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
{
"status": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
statusCode numberrequired
error string
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
statusCode numberrequired
error string
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
- nodejs
- python
- curl
- csharp
- go
- ruby
- php
- java
- powershell
- AXIOS
- NATIVE
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.tengr.ai/health',
headers: {
'Accept': 'application/json'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
ResponseClear