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.
On this page: Over HTTP, Examples, Limits, Errors, What to tell the person
Plain words unless the person is a developer. Never invent a link, name or code. Rules Needs first: deploy.
An app deployed over HTTP without an Embarko key is deleted 24 hours after its first deploy (the exact time is app.expiresAt). Claiming makes it permanent at the same link. Apps deployed through the connector are already permanent: skip this.
Connector: Not needed: connector deploys are already in the person's account
Done when: The deploy reply says claimed: true.
Over HTTP
Example: Request the token
body.json:
{"email":"person@example.com"}
curl -sS -X POST 'https://ship.embarko.ai/api/public/deploy-tokens/request' -H 'Content-Type: application/json' --data @body.json
Reply 202:
{"message":"If this email address is valid, a deploy token for each of your workspaces has been sent to it. Check the inbox (and spam folder). Each request creates a new token; your existing tokens keep working."}
Example: Redeploy with it → claimed
curl -sS -X POST 'https://ship.embarko.ai/apps' --oauth2-bearer $DEPLOY_TOKEN -H 'X-App-Name: my-app' -H 'X-Agent-Name: codex' -F 'source=@/tmp/app.tar.gz'
Reply 202:
{"success":true,"status":"building","app":{"name":"my-app","kind":"service","claimed":true},"next":"Claimed, so the app is permanent now. Building: poll links.status every 10 seconds until it says \"live\" or \"failed\".","links":{"status":"https://ship.embarko.ai/apps/my-app/status","feedback":"https://ship.embarko.ai/apps/my-app/customer-query"}}
Limits
Errors
| Code | Status | Retry | What to do |
|---|---|---|---|
unauthorized | 401 | No | The pasted Embarko key is wrong or turned off. Ask the person to check they copied all of it. |
no_access | 403 | No | The token's person can't use the workspace named in the message any more. Ask them to get access there, or for an Embarko key from that workspace. |
app_moved | 409 | No | The app moved to a workspace this token can't reach. Ask for a personal Embarko key from someone in that workspace. Never redeploy under a new name. |
What to tell the person
Next: Tell the person when the app will be deleted, then offer to keep it.
Related: showcase · custom-domain · env-vars
Guide home · JSON: add .json