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.

Change the web address

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

Plain words unless the person is a developer. Never invent a link, name or code. Rules Needs first: claim (over HTTP only).

Changes the app's address. The old address stops working and does not redirect. The old name stays the app's: nobody else can take it, and a deploy under it reaches the renamed app. Custom domains keep working. Changing only the display name is a different, harmless call.

Connector: app_danger_zone · rename_app

Done when: The new address opens the app, and you use the new name from now on.

With the connector

  1. Confirm with the person. Call app_danger_zone { action: "rename_app", appName, newName }. If terminal is false, the move takes a few minutes: read the reply's links.status (a GET with the same key, through call_any_read_api_of_embarko) until state is succeeded. The old address keeps working until then, and stops after.
  2. Use the new name in every call from now on.

Over HTTP

  1. Confirm with the person. POST https://ship.embarko.ai/api/apps/{app-name}/slug-change with {"newName": "..."} and the token.
  2. A live app replies 202 with projectId: poll GET https://ship.embarko.ai/api/slug-changes/{project-id} until state is succeeded or failed. It takes minutes. From then on use the name in the reply's deployWith.
  3. Display name only: PATCH https://ship.embarko.ai/api/apps/{app-name} with {"name": "My App"}. The address does not change.

Errors

CodeStatusRetryWhat to do
app_name_taken / app_name_reserved409NoPick another name.
deploy_in_progress / rename_in_progress409LaterWait for it to finish.
slug_change_cooldown429LaterOne change per app per week; retryAfterMs says when.
app_state_unknown503OnceRetry once after 2 seconds.
rename_failed502OnceNothing changed. Try once more.
rename_desynced500NoNeeds the Embarko team: report it.
permission_denied403NoThe person who made this token is not allowed to do this. The reply names the permission and their access to the app (or their role). Nothing changed. Tell the person (say_to_user.no_permission); do not try another way round it.

What to tell the person

  • confirm: "Your app will move to {new}.embarko.app. The old link stops working right away with no redirect. Your custom domain and Showcase listing move with it. You can change the address only once a week. Go ahead?"
  • done: "Done: your app is now at {link}."

Next: Ask first, then rename.

Related: showcase · custom-domain


Guide home · JSON: add .json