Embarko is inBeta

Embarko is the cloud for small apps built by AI. The AI builds the app; Embarko gets it online, keeps it running, and helps the AI take the next useful step.

Agents start with the Markdown quickstart. Every page is also available as Markdown and JSON.

Where an app stands, in one call

On this page: Over HTTP, Examples, Errors, What to tell the person

Plain words unless the person is a developer. Never invent a link, name or code. Rules

One GET returns the app's summary, its last change, whether it is live, paused, private or in the Trash, its recent deploys, outages, schedules, previews and domains, the limits that could block the next deploy, and needsPerson: the things only a person can do or should be told. Read it first when you pick up an app, and again before you tell the person it is done. It is built fresh on every call from the app's real state, so it cannot be out of date. Coming later: a written brief for each app (decisions, instructions, how to run it) in the same reply.

Connector: Not yet: use the HTTP call with the Embarko key

Done when: You can tell the person what the app is, what was done last, what needs them, and what you will do next.

Over HTTP

  1. GET https://ship.embarko.ai/api/apps/{app-name}/context with Authorization: Bearer {token}. A temporary app has none (404): use status.
  2. Read status first: live, needs_attention, paused, in_trash, building or not_deployed. Then next, which says the one thing to do now.
  3. Read needsPerson and tell the person each item in plain words. kind "action" means they must do something, "notice" means they should know, "limit" means Embarko cannot do it. Do not try to do an item yourself.
  4. app.summary is one line on what the app does. If it is null, send X-App-Summary (one short line, plain words) on the next deploy.
  5. lastChange and deployments say what was done last, by which agent, how it ended and, in changeNote, why (the deploy's own X-Deploy-Note; send one on every deploy). limits says whether today's deploys or the workspace's server apps are used up; say "upgrade" only if canUpgrade is true.
  6. It does not say whether the app is up this second: read links.status for that. Never put a secret in a summary or a note.

Example: A kept app with a failed deploy and a preview waiting

curl -sS 'https://ship.embarko.ai/api/apps/my-shop/context' --oauth2-bearer "$DEPLOY_TOKEN"

Reply 200:

{"status":"needs_attention","app":{"id":"cmh1q2w3e0001abcdmyapp","name":"my-shop","kind":"service","summary":"Order tracker for a packing team.","workspace":{"id":"77528"},"yourAccess":{"level":"edit","label":"Can contribute","canPutLive":false,"canMakeChanges":true}},"live":{"locked":true,"paused":null,"inTrash":null,"currentDeployment":{"id":"cmh1q2w3e0010abcddeploy","version":"v12","finishedAt":"2026-12-02T08:00:00.000Z"}},"lastChange":{"deployment":"v13","status":"failed","when":"2026-12-03T09:40:00.000Z","by":{"source":"agent","agentName":"cursor"},"note":null,"changeNote":"Added a CSV export of the orders list.","errorDetail":"build failed: missing module csv-stringify"},"deployments":["…the last 5, same fields as the deployments list…"],"incidents":{"open":[],"recent":[]},"schedules":[],"previews":["…same fields as the previews list…"],"domains":[],"limits":{"deploysToday":{"used":3,"limit":5,"reached":false,"resetsAt":"2026-12-04T00:00:00.000Z","canUpgrade":true},"workspaceDeploysToday":{"used":6,"limit":10,"reached":false,"resetsAt":"2026-12-04T00:00:00.000Z","canUpgrade":true},"serverApps":{"used":2,"limit":2,"reached":true,"canUpgrade":true}},"needsPerson":[{"code":"preview_waiting","kind":"action","what":"The preview \"new-look\" is waiting for review.","who":"someone with Full access","how":"Open this item's links.review in Embarko and choose Ship it or Not yet; its links.preview is the running preview.","links":{"review":"https://embarko.ai/app?open=cmh1q2w3e0001abcdmyapp&preview=cmh1q2w3e0009abcdpreview","preview":"https://my-shop--new-look.embarko.app"}},{"code":"server_app_limit_reached","kind":"notice","what":"The workspace runs 2 server apps, as many as it can. Apps already running keep running; a new server app is refused (static sites do not count).","who":"the person who owns the workspace","how":"Upgrade, or remove an app that is no longer needed.","links":{"billing":"https://embarko.ai/app/billing"}}],"next":"The last deploy (v13) failed and live still runs v12: read links.logs, fix, deploy again to \"my-shop\", then tell the person. 2 things need the person: see needsPerson.","links":{"app":"https://my-shop.embarko.app","status":"https://ship.embarko.ai/apps/my-shop/status","logs":"https://ship.embarko.ai/apps/my-shop/logs?stream=stderr","deployments":"https://ship.embarko.ai/api/apps/my-shop/deployments","incidents":"https://ship.embarko.ai/api/apps/my-shop/incidents","schedules":"https://ship.embarko.ai/api/apps/my-shop/schedules","previews":"https://ship.embarko.ai/api/apps/my-shop/previews","domains":"https://ship.embarko.ai/api/apps/my-shop/domains","help":"https://embarko.ai/docs/context"}}

Errors

CodeStatusRetryWhat to do
app_not_found404NoNo such app that this key can reach, or it is a temporary app (those have status only). Check the name and the key.
unauthorized401NoThe key was rejected.

What to tell the person

  • needs_person: "Tell them each needsPerson item in plain words, then what you will do about the rest."

Next: Do what next says, and tell the person whatever needsPerson lists.

Related: resume · status · logs · previews


Guide home · JSON: add .json