Skip to main content
GET
/
health
Check the health of the service
curl --request GET \
  --url https://sandbox.{domain}/health \
  --header 'E2b-Sandbox-Id: <e2b-sandbox-id>' \
  --header 'E2b-Sandbox-Port: <e2b-sandbox-port>'
{
  "message": "<string>",
  "code": 123,
  "sandboxID": "<string>"
}

Headers

E2b-Sandbox-Id
string
required

Identifier of the target sandbox. Routes the request to that sandbox's envd over the shared sandbox host.

E2b-Sandbox-Port
integer
default:49983
required

Port envd listens on inside the sandbox (default 49983).

Response

The service is healthy