Show setup again
const url = 'http://127.0.0.1:7700/api/setup/reopen';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:7700/api/setup/reopen \ --header 'Authorization: Bearer <token>'Owner only. Marks setup not done, so the box’s own screen shows the setup steps again.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The setup state.
object
Whether tasks can run: the vault holds a model key. via is factory with FACTORY_API_KEY, anthropic with only ANTHROPIC_API_KEY, or null with neither.
object
Where the Droid download stands. A task that needs Droid waits, queued, until ready.
object
False until the vault holds a model key. Without one no Droid task can start.
The box already ran tasks when setup arrived
object
object
The usual step ids, in order. Server’s screen skips folders, and Personal’s skips network, name and updates. The box accepts any id.
The setup port for setting up from another computer.
object
When the port closes by itself.
The addresses another computer can use.
The box’s remote access address
object
Example
{ "model": { "via": "factory" }, "droid": { "state": "ready" }, "suggested": [ "welcome", "network", "name", "phone", "models", "folders", "safety", "updates" ]}The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.
object
What went wrong
Example
{ "error": "only this computer's own screen or the owner's paired device can do this"}