Health & Languages#

GET /api/health#

Platform health check. Returns current status and capacity information.

curl -s "https://api.rustbox.orkait.com/api/health" \
  -H "X-API-Key: rb_live_your_key_here" | jq
{
  "status": "ok",
  "enforcement_mode": "strict",
  "workers": 4,
  "queue_depth": 2
}
FieldWhat it tells you
statusok when the platform is healthy
enforcement_modestrict means full kernel isolation is active
workersNumber of available execution workers
queue_depthPending submissions - useful for client-side backoff

GET /api/health/ready#

Readiness probe. Returns 200 when the platform can accept and execute submissions with full isolation. Returns 503 when the platform is not ready.

Use this endpoint for health checks in your integration.

GET /api/languages#

curl -s "https://api.rustbox.orkait.com/api/languages" \
  -H "X-API-Key: rb_live_your_key_here" | jq
["python", "c", "cpp", "java", "javascript", "typescript", "go", "rust"]

Returns the list of languages currently available on the platform. Use this for validating input before submitting.