{
  "topic": "status",
  "section": {
    "n": 5,
    "name": "Manage"
  },
  "title": "Is it live?",
  "covers": "Checking whether an app is live, what each status means, and how long to wait",
  "summary": "One call tells you where the app stands. Only \"live\" means live: a 202 from the deploy does not.",
  "done_when": "The status is final: live, failed, crashed or not_deployed.",
  "available": true,
  "who": {
    "connector": "read_app · action \"status\"",
    "api": "GET https://ship.embarko.ai/apps/{app-name}/status",
    "dashboard": "https://embarko.ai/app",
    "needs_human": null
  },
  "statuses": {
    "building": "Being built. Keep waiting. To stop it (a wrong upload, or no progress for 20+ minutes), POST links.cancel: it ends failed and the live version keeps serving.",
    "publishing": "A static site being published. Keep waiting.",
    "starting": "Built, starting up. Keep waiting.",
    "live": "Final. Serving: open the link to confirm, then tell the person.",
    "failed": "Final. The build failed: read logs, fix, redeploy.",
    "crashed": "Final. It built but stopped running: read logs with stream=stderr, fix, redeploy. To see whether the app or Embarko caused it, read the app's incidents (see alerts).",
    "not_deployed": "Final. Nothing deployed under that name.",
    "unknown": "Not final. Keep polling; report it if it lasts 2 minutes."
  },
  "polling": {
    "url": "https://ship.embarko.ai/apps/{app-name}/status",
    "every_seconds": {
      "server_app": 10,
      "static_site": 2
    },
    "keep_waiting_on": [
      "building",
      "publishing",
      "starting"
    ],
    "final": {
      "live": "Done. Open the link, then tell the person.",
      "failed": "Read the logs, fix, redeploy.",
      "crashed": "Read the logs with stream=stderr, fix, redeploy.",
      "not_deployed": "Nothing under that name. Check the name, or deploy."
    },
    "unknown": "Not final. Keep polling; if it stays unknown for 2 minutes, report it with the feedback topic.",
    "give_up_after_minutes": 15,
    "on_give_up": "Stop polling, read the logs, tell the person it is taking unusually long, and report it.",
    "note": "Embarko sets no build timeout; the 15-minute limit is yours, so you do not wait forever. Older replies may name only live and failed: crashed and not_deployed are final too.",
    "auth": "Send the same Authorization header you deployed with. A claimed app answers 404 without it."
  },
  "steps": {
    "connector": [
      "Call read_app { action: \"status\", appName }. Add deploymentId to check one deploy."
    ],
    "http_api": [
      "GET https://ship.embarko.ai/apps/{app-name}/status, with Authorization: Bearer {token} once the app is claimed."
    ],
    "cancel": [
      "To stop a deploy that is building: POST https://ship.embarko.ai/apps/{app-name}/cancel, same Authorization (the key must be allowed to deploy the app). 200 cancelled: true when it stopped; 409 deploy_already_live when it already went live (roll back instead); 409 no_deploy_in_progress when nothing is building. A deploy left \"in progress\" for over 45 minutes is ended as failed on its own."
    ]
  },
  "examples": [
    {
      "title": "Live",
      "command": "curl -sS 'https://ship.embarko.ai/apps/my-app/status'",
      "response_status": 200,
      "response": {
        "status": "live",
        "app": {
          "name": "my-app",
          "kind": "service",
          "claimed": false,
          "expiresAt": "2026-10-10T06:50:46.326Z"
        },
        "next": "Live: give the user links.app and tell them it will be deleted at 2026-10-10T06:50:46.326Z unless claimed. To claim it, follow links.help.",
        "links": {
          "app": "https://my-app.embarko.app",
          "feedback": "https://ship.embarko.ai/apps/my-app/customer-query",
          "help": "https://embarko.ai/docs/claim"
        }
      }
    },
    {
      "title": "Failed",
      "response_status": 200,
      "response": {
        "status": "failed",
        "app": {
          "name": "my-app",
          "kind": "service",
          "claimed": true
        },
        "error": "Exit code 127 means a command in the build script was not found while building your app.",
        "next": "Build failed: read links.logs, fix the cause, and redeploy with the same name.",
        "links": {
          "logs": "https://ship.embarko.ai/apps/my-app/logs?stream=stderr",
          "feedback": "https://ship.embarko.ai/apps/my-app/customer-query",
          "help": "https://embarko.ai/docs/feedback"
        }
      }
    }
  ],
  "errors": [
    {
      "code": "not_found",
      "status": 404,
      "retry": "No",
      "do": "No such app, or it is claimed and you sent no token. Check the name and the token."
    },
    {
      "code": "app_renamed",
      "status": 404,
      "retry": "No",
      "do": "The app has a new name. Use newName from the reply from now on."
    },
    {
      "code": "app_moved / no_access",
      "status": "409 / 403",
      "retry": "No",
      "do": "The app moved to another workspace, or the token's person lost access to its workspace. See the deploy errors: ask the person, never redeploy under a new name."
    },
    {
      "code": "unauthorized",
      "status": 401,
      "retry": "No",
      "do": "The token was rejected."
    }
  ],
  "say_to_user": {
    "still_building": "Still building. Nothing needed from you.",
    "live": "Your app is live: {link}."
  },
  "prerequisites": {
    "read_first": "https://embarko.ai/docs/prerequisites",
    "user": "The person is usually not a developer. They want to know if the app is live, not how.",
    "talk": "Reply in 1-3 short plain sentences: what happened, and what the person needs to do only if something is needed. Do not show commands, API names, tokens, headers or logs, or describe the steps you took, unless the person asks for technical details. If the person is clearly a developer (uses technical terms, asks what you ran), talk to them that way for the rest of the conversation. Never show a token. Never invent a link, name or code: use only what Embarko's replies, this guide or the person give you.",
    "route": "Connector first if it is in your tools, then the HTTP API, then the upload page as a last resort.",
    "domains": "ship.embarko.ai (API), embarko.ai (website), {app-name}.embarko.app (apps): all Embarko.",
    "requires": [
      {
        "topic": "deploy",
        "why": "There must be a deploy to check",
        "url": "https://embarko.ai/docs/deploy"
      }
    ]
  },
  "next": "Poll until the status is final.",
  "related": [
    {
      "topic": "logs",
      "why": "When it failed or crashed",
      "url": "https://embarko.ai/docs/logs"
    },
    {
      "topic": "alerts",
      "why": "Past outages, and whether the app or Embarko caused them",
      "url": "https://embarko.ai/docs/alerts"
    },
    {
      "topic": "rollback",
      "why": "When the new version is broken",
      "url": "https://embarko.ai/docs/rollback"
    }
  ],
  "links": {
    "status": "https://ship.embarko.ai/apps/{app-name}/status",
    "incidents": "https://ship.embarko.ai/api/apps/{app-name}/incidents"
  },
  "url": "https://embarko.ai/docs/status",
  "contents": "https://embarko.ai/docs",
  "version": "2026-11-24"
}