Liveness probe
GET
/v1/health
const url = 'https://api.cotes.ai/v1/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.cotes.ai/v1/healthResponses
Section titled “Responses”Service is up
Media typeapplication/json
object
ok
required
boolean
db
string
version
Release of the service currently running.
string
commit
Short git commit of the running build; null when the deploy environment does not expose one.
string | null
model_version
Version tag of the model shipped in this service’s build. This service does not run the model; a signal’s own model_version is authoritative for what produced it, and the two can differ while a deploy is in flight.
string | null
Example
{ "db": "up", "version": "1.4.0", "commit": "a1b2c3d4e5f6", "model_version": "c5456da6"}