/v1/agent/bootstrap
Read account state, device requirements, and the next actions the agent should take through the localhost daemon.
http://127.0.0.1:18080/v1/agent/bootstrap
Workflow Note
Call this localhost path on the approved device with X-NodeProxy-Token (or Authorization: Bearer <local_api_token>). The daemon uses its synced account key internally and redacts account key material from the response.
Auth
Call through the approved device's localhost API with X-NodeProxy-Token: nplocal_... or Authorization: Bearer <local_api_token>. The daemon uses its synced account key internally.
Request Parameters
No path, query, or JSON body parameters. The method, URL, and auth shown above are enough to call this endpoint.
curl
curl -sS \ -H "X-NodeProxy-Token: nplocal_your_local_token" \ http://127.0.0.1:18080/v1/agent/bootstrap
Example Response
{
"status": "ok",
"next_step": "install_requested_services",
"services_url": "https://example.nodeproxy.ai/devices",
"settings_url": "https://example.nodeproxy.ai/settings",
"agent_api_url": "https://example.nodeproxy.ai/mcp-agent-api",
"bootstrap_url": "http://127.0.0.1:18100/v1/agent/bootstrap",
"agent_api_key_present": true,
"auth": { "type": "local_daemon" },
"devices": [
{
"device": {
"id": "dev_123",
"auth_status": "authorized",
"connector_status": "online",
"mail_service_status": "enabled",
"immich_status": "enabled",
"wordpress_status": "disabled"
},
"services_url": "https://example.nodeproxy.ai/devices?device_id=dev_123",
"service_requirements": {
"mail_required": true,
"mail_configured": true,
"managed_addresses": [
"alice.home-abc123@mail.test.nodeproxy.ai"
],
"immich_required": true,
"immich_configured": true,
"immich_url": "https://family-photos.test.nodeproxy.ai",
"wordpress_required": true,
"wordpress_configured": false,
"wordpress_route_id": "wroute_01JZ3W8KPXKQ2GMSY5P9J7Q2TM",
"wordpress_public_url": "https://home-abc123.test.nodeproxy.ai",
"wordpress_admin_url": "https://home-abc123.test.nodeproxy.ai/wp-admin"
}
}
]
}