First-run setup state
const url = 'http://127.0.0.1:7700/api/setup';const options = {method: 'GET', 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 GET \ --url http://127.0.0.1:7700/api/setup \ --header 'Authorization: Bearer <token>'Until done is true, the box’s own screen shows the setup steps. A box that already ran tasks when setup arrived is migrated and counts as done. modelKey is false until the vault holds a model key; without one no Droid task can start. suggested lists the usual step ids in order. The box accepts any id.
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" ]}