Hey team
What is the equivalent of the /forest/healthcheck route in the new agent? Monitor your Forest's status | Developer Guide
Hey team
What is the equivalent of the /forest/healthcheck route in the new agent? Monitor your Forest's status | Developer Guide
Hello @Antonio_Marino !
In the new Node.js agent, you can check the health status via the /forest
endpoint.
Here’s an example with curl:
curl -s -i -X GET http://<your-instance>/forest
The response:
HTTP/1.1 200 OK
X-Powered-By: Express
Vary: Origin
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
Content-Type: application/json; charset=utf-8
Content-Length: 43
Date: Wed, 20 Nov 2024 14:15:12 GMT
Connection: keep-alive
Keep-Alive: timeout=5
{"error":null,"message":"Agent is running"}
Best regards,
Anthony