Monitoring & Reference · Section 11

CLI JSON Output Reference

This reference provides schemas for structured JSON responses emitted by Kubeletto CLI command options when --output json is set.

Standard Success Envelope

{
  "schema_version": "2026-07-01",
  "ok": true,
  "resource": {
    "type": "service",
    "id": "svc_7fb9a2e1",
    "name": "default"
  },
  "status": "ready",
  "url": "https://my-app.kubeletto.app"
}

Standard Error Envelope

{
  "code": "BUILD_USER_ERROR",
  "message": "npm install failed because package-lock.json is missing.",
  "request_id": "req_8c1b2f90",
  "details": [
    {
      "field": "package.json",
      "message": "Missing package-lock.json"
    }
  ]
}