# Flux **Flux Network Operations** Core network endpoints for interacting with the broader Flux decentralized network. These APIs provide access to network statistics, node information, consensus data, and network-wide operations that facilitate the decentralized cloud infrastructure. **Network Services:** - Node discovery and registry - Network consensus information - Global network statistics - Peer-to-peer communication - Distributed coordination ## Starts Flux daemon - [GET /flux/startdaemon](https://docs.runonflux.io/fluxapi/flux/startdaemon.md): Tries to start Flux daemon running on the Flux node the call is run against without any extra parameters. Admin ## Restarts Flux daemon - [GET /flux/restartdaemon](https://docs.runonflux.io/fluxapi/flux/restartdaemon.md): Tries to restart Flux daemon running on the Flux node the call is run against. Flux daemon is firstly stopped and then started without any extra parameters. Admin ## Switch to master branch of FluxOS - [GET /flux/entermaster](https://docs.runonflux.io/fluxapi/flux/fluxentermaster.md): Tries to switch to master branch of FluxOS. Admin ## Switch to development branch of FluxOS - [GET /flux/enterdevelopment](https://docs.runonflux.io/fluxapi/flux/fluxenterdevelopment.md): Tries to switch to development branch of FluxOS. Admin ## Reindexes Flux daemon - [GET /flux/reindexdaemon](https://docs.runonflux.io/fluxapi/flux/reindexfluxb.md): Tries to reindex Flux daemon running on the Flux node the call is run against. Flux daemon is firstly stopped and then started with reindex flag. Admin ## Updates Flux to the latest version - [GET /flux/updateflux](https://docs.runonflux.io/fluxapi/flux/updateflux.md): Updates Flux to the latest version available according to github master branch. Flux will restart its services after the update. AdminAndFluxTeam ## Perform hard update to the latest version - [GET /flux/hardupdateflux](https://docs.runonflux.io/fluxapi/flux/hardupdateflux.md): Hard updates to latest version by removing node_modules and package-lock.json before executing git reset --hard and git pull. This may resolve any issues that may arise from Flux not being able to update using the GET /flux/updateflux call. Flux will restart its services after the update. AdminAndFluxTeam ## Rebuild UI - Home of Flux - [GET /flux/rebuildhome](https://docs.runonflux.io/fluxapi/flux/rebuildzelfront.md): Rebuilds Home part of Flux. May help resolving frontend issues. AdminAndFluxTeam ## Updates Flux daemon - [GET /flux/updatedaemon](https://docs.runonflux.io/fluxapi/flux/updatedaemon.md): Updates the Flux daemon of Flux node to the latest available version according to official Flux APT repository. Flux daemon is restarted with no extra parameters during this update. AdminAndFluxTeam ## Updates Benchmark daemon - [GET /flux/updatebenchmark](https://docs.runonflux.io/fluxapi/flux/updatebenchmark.md): Updates the Benchmark daemon of Flux node to the latest available version according to official Flux APT repository. Benchmark daemon is restarted with no extra parameters during this update. AdminAndFluxTeam ## Returns with the Flux debug log - [GET /flux/daemondebug](https://docs.runonflux.io/fluxapi/flux/fluxdebug.md): Returns with the debug log located in Flux data directory. AdminAndFluxTeam ## Returns with the Benchmark debug log - [GET /flux/benchmarkdebug](https://docs.runonflux.io/fluxapi/flux/benchmarkdebuf.md): Returns with the debug log located in fluxbenchmark directory. AdminAndFluxTeam ## Returns last lines of Flux debug log - [GET /flux/taildaemondebug](https://docs.runonflux.io/fluxapi/flux/tailfluxdebug.md): Returns last 100 lines known in the Flux debug log. AdminAndFluxTeam ## Returns last lines of Benchmark debug log - [GET /flux/tailbenchmarkdebug](https://docs.runonflux.io/fluxapi/flux/tailbenchmarkdebug.md): Returns last 100 lines known in the Benchmark debug log. AdminAndFluxTeam ## Returns with the Flux error log - [GET /flux/errorlog](https://docs.runonflux.io/fluxapi/flux/fluxerrorlog.md): Returns with the error log located in flux directory. AdminAndFluxTeam ## Returns last lines of Flux error log - [GET /flux/tailerrorlog](https://docs.runonflux.io/fluxapi/flux/tailfluxerrorlog.md): Returns last 100 lines known in the Flux error log. AdminAndFluxTeam ## Node Tier - [GET /flux/nodetier](https://docs.runonflux.io/fluxapi/flux/getnodetier.md): This call will display the tier of the node. Public ## Combined info - [GET /flux/info](https://docs.runonflux.io/fluxapi/flux/getfluxinfo.md): Combined info of statuses. Public ## Flux timezone - [GET /flux/timezone](https://docs.runonflux.io/fluxapi/flux/getfluxtimezone.md): This will return with the timezone of the server. Public ## Gets version of Flux - [GET /flux/version](https://docs.runonflux.io/fluxapi/flux/getfluxversion.md): Gets version of Flux running on the Flux node the call is run against as it is in package.json. Public ## Flux IP - [GET /flux/ip](https://docs.runonflux.io/fluxapi/flux/getfluxip.md): This will return with the IP address of the server that Flux is on. Public ## Flux static IP status - [GET /flux/staticip](https://docs.runonflux.io/fluxapi/flux/getfluxstaticip.md): This will return true if FluxNode is running under a known static ip ISP/Org. Public ## Geolocation info - [GET /flux/geolocation](https://docs.runonflux.io/fluxapi/flux/getfluxgeolocation.md): This will return geolocation info. Public ## Admin's ZelID - [GET /flux/id](https://docs.runonflux.io/fluxapi/flux/getfluxid.md): This will return with the admin's ZelID. Public ## PGP identity - [GET /flux/pgp](https://docs.runonflux.io/fluxapi/flux/getpgp.md): This will return node pgp public key. Public ## Kadena Info - [GET /flux/kadena](https://docs.runonflux.io/fluxapi/flux/getfluxkadena.md): This call will display the user's Kadena address and chain ID. Public ## Admin's CruxID - [GET /flux/cruxid](https://docs.runonflux.io/fluxapi/flux/getfluxcruxid.md): This will return with the admin's CruxID. Public ## DOS state - [GET /flux/dosstate](https://docs.runonflux.io/fluxapi/flux/getdosstate.md): This will return with the DOS state that Flux is in from 0 to infinity and if it reaches 10 it gets banned. Public ## Gets IP's of connected peers - [GET /flux/connectedpeers](https://docs.runonflux.io/fluxapi/flux/connectedpeers.md): Gets list of IP addresses of outgoing connected peers. Public ## Gets info of connected peers - [GET /flux/connectedpeersinfo](https://docs.runonflux.io/fluxapi/flux/connectedpeersinfo.md): Gets list of ip addresses and rtt of the outgoing connected peers. Public ## List of incoming connections - [GET /flux/incomingconnections](https://docs.runonflux.io/fluxapi/flux/incomingconnections.md): Gets list of IP addresses of incoming connected peers. Public ## Gets info of incoming connections - [GET /flux/incomingconnectionsinfo](https://docs.runonflux.io/fluxapi/flux/incomingconnectionsinfo.md): Gets list of ip addresses and rtt of incoming connections. Public ## Check availability of Flux - [GET /flux/checkfluxavailability](https://docs.runonflux.io/fluxapi/flux/checkfluxavailability.md): Check if Flux is reachable and available using IP of the Flux's server. Public ## Check incoming/outgoing peers - [GET /flux/checkcommunication](https://docs.runonflux.io/fluxapi/flux/iscommunicationestablished.md): Check if there is enough incoming/outgoing peers. Public ## FluxOS uptime - [GET /flux/uptime](https://docs.runonflux.io/fluxapi/flux/fluxuptime.md): Return FluxOS uptime in seconds. Public ## Broadcast message to peers - [POST /flux/broadcastmessage](https://docs.runonflux.io/fluxapi/flux/broadcastmessagefromuserpost.md): Broadcast data message to peers that are connected. AdminAndFluxTeam ## Broadcast message to peers - [GET /flux/broadcastmessage](https://docs.runonflux.io/fluxapi/flux/broadcastmessagefromuser.md): Broadcast data message to peers that are connected. AdminAndFluxTeam ## Broadcast message to outgoing peers - [POST /flux/broadcastmessagetooutgoing](https://docs.runonflux.io/fluxapi/flux/broadcastmessagetooutgoingfromuserpost.md): Broadcast data message to peers on outgoing connections. AdminAndFluxTeam ## Broadcast message to outgoing peers - [GET /flux/broadcastmessagetooutgoing](https://docs.runonflux.io/fluxapi/flux/broadcastmessagetooutgoingfromuser.md): Broadcast data message to peers on outgoing connections. AdminAndFluxTeam ## Broadcast message to incoming peers - [POST /flux/broadcastmessagetoincoming](https://docs.runonflux.io/fluxapi/flux/broadcastmessagetoincomingfromuserpost.md): Broadcast data message to peers on incoming connections. AdminAndFluxTeam ## Broadcast message to incoming peers - [GET /flux/broadcastmessagetoincoming](https://docs.runonflux.io/fluxapi/flux/broadcastmessagetoincomingfromuser.md): Broadcast data message to peers on incoming connections. AdminAndFluxTeam ## Add peer option - [GET /flux/addpeer](https://docs.runonflux.io/fluxapi/flux/addpeer.md): This call gives option to add peers to outgoing connections. AdminAndFluxTeam ## Remove peer option - [GET /flux/removepeer](https://docs.runonflux.io/fluxapi/flux/removepeer.md): This call does exact opposite of add and removes/drops a outgoing connected peer. AdminAndFluxTeam ## Remove incoming peer - [GET /flux/removeincomingpeer](https://docs.runonflux.io/fluxapi/flux/removeincomingpeer.md): Remove a incoming connected peer. AdminAndFluxTeam ## Open port on server - [GET /flux/allowport](https://docs.runonflux.io/fluxapi/flux/allowportapi.md): This will open a port on the server and adding it to the firewall rules. AdminAndFluxTeam ## Adjust CruxID - [GET /flux/adjustcruxid](https://docs.runonflux.io/fluxapi/flux/adjustcruxid.md): This will add/update your CruxID. Admin ## Adjust Kadena Account - [GET /flux/adjustkadena](https://docs.runonflux.io/fluxapi/flux/adjustkadenaaccount.md): Essentially rebuilds flux - use with caution! Admin ## Start Benchmark - [GET /flux/startbenchmark](https://docs.runonflux.io/fluxapi/flux/fluxstartbenchmark.md): This call will start the benchmark which tests the hardware specifications and performance. AdminAndFluxTeam ## Restart Benchmark - [GET /flux/restartbenchmark](https://docs.runonflux.io/fluxapi/flux/fluxrestartbenchmark.md): This call will restart the benchmark which tests the hardware specifications and performance. AdminAndFluxTeam ## Soft Update Flux - [GET /flux/softupdateflux](https://docs.runonflux.io/fluxapi/flux/softupdateflux.md): This call will perform a soft update of Flux. AdminAndFluxTeam ## Install Flux - [GET /flux/softupdatefluxinstall](https://docs.runonflux.io/fluxapi/flux/softupdatefluxinstall.md): This call will install Flux. AdminAndFluxTeam ## Warning Log - [GET /flux/warnlog](https://docs.runonflux.io/fluxapi/flux/fluxwarnlog.md): This call returns the Flux warning log. AdminAndFluxTeam ## Debug Log - [GET /flux/debuglog](https://docs.runonflux.io/fluxapi/flux/fluxdebuglog.md): This call returns the Flux debug log. AdminAndFluxTeam ## Info Log - [GET /flux/infolog](https://docs.runonflux.io/fluxapi/flux/fluxinfolog.md): This call returns the Flux info log. AdminAndFluxTeam ## Tail Warn Log - [GET /flux/tailwarnlog](https://docs.runonflux.io/fluxapi/flux/tailfluxwarnlog.md): This call returns the Flux tail warn log. AdminAndFluxTeam ## Tail Debug Log - [GET /flux/taildebuglog](https://docs.runonflux.io/fluxapi/flux/tailfluxdebuglog.md): This call returns the Flux tail debug log. AdminAndFluxTeam ## Tail Info Log - [GET /flux/tailinfolog](https://docs.runonflux.io/fluxapi/flux/tailfluxinfolog.md): This call returns the Flux tail info log. AdminAndFluxTeam ## Local Folder Location - [GET /flux/backendfolder](https://docs.runonflux.io/fluxapi/flux/fluxbackendfolder.md): This call returns the local folder location for Flux. AdminAndFluxTeam ## Map a specified port (UPnP) - [GET /flux/mapport](https://docs.runonflux.io/fluxapi/flux/fluxmapport.md): This call map a specified port (UPnP). AdminAndFluxTeam ## Unmap a specified port (UPnP) - [GET /flux/unmapport](https://docs.runonflux.io/fluxapi/flux/fluxunmapport.md): This call unmap a specified port (UPnP). AdminAndFluxTeam ## Show list with mappings (UPnP) - [GET /flux/getmap](https://docs.runonflux.io/fluxapi/flux/fluxgetmap.md): This call show message with mappings (UPnP). AdminAndFluxTeam ## Show public IP address (UPnP) - [GET /flux/getip](https://docs.runonflux.io/fluxapi/flux/fluxgetip.md): This call show public IP address (UPnP). AdminAndFluxTeam ## Show gateway address (UPnP) - [GET /flux/getgateway](https://docs.runonflux.io/fluxapi/flux/fluxgetgateway.md): This call show a message with gateway address (UPnP). AdminAndFluxTeam ## To show the current user's Router IP setup. - [GET /flux/routerip](https://docs.runonflux.io/fluxapi/flux/fluxrouterip.md): To show the current user's Router IP setup in configuration file that is being used with FluxO. PUBLIC ## Update the current routerIP. - [GET /flux/adjustrouterip](https://docs.runonflux.io/fluxapi/flux/fluxadjustrouterip.md): Update the current routerIP that is being used with FluxOS. Admin ## Show the current user's blocked ports list. - [GET /flux/blockedports](https://docs.runonflux.io/fluxapi/flux/fluxblockedports.md): Show the current user's blocked ports list. PUBLIC ## Update blocked port list. - [POST /flux/adjustblockedports](https://docs.runonflux.io/fluxapi/flux/fluxadjustblockedports.md): Update the current blocked port list that is being used by FluxOS. Admin ## Show the current user's blocked repositories list. - [GET /flux/blockedrepositories](https://docs.runonflux.io/fluxapi/flux/fluxblockedrepositories.md): Show the current user's blocked repositories list. PUBLIC ## Update blocked repositories list. - [POST /flux/adjustblockedrepositories](https://docs.runonflux.io/fluxapi/flux/fluxadjustblockedrepositories.md): Update the current blocked repositories list that is being used by FluxOS. Admin ## Show the current user's Api Port setup in configuration file that is being used by FluxOS. - [GET /flux/apiport](https://docs.runonflux.io/fluxapi/flux/fluxapiport.md): Show the current user's Api Port. PUBLIC ## Update Api Port setup in configuration file that is being used by FluxOS. - [GET /flux/adjustapiport](https://docs.runonflux.io/fluxapi/flux/fluxadjustapiport.md): Update Api Port. PUBLIC ## Show marketplace URL. - [GET /flux/marketplaceurl](https://docs.runonflux.io/fluxapi/flux/fluxmarketplaceurl.md): Show marketplace URL based on current development flag setup in configuration file that is being used with FluxOS. PUBLIC ## Restart FluxOS. - [GET /flux/restart](https://docs.runonflux.io/fluxapi/flux/fluxrestart.md): Restart FluxOS. Admin ## Show system uptime. - [GET /flux/systemuptime](https://docs.runonflux.io/fluxapi/flux/fluxsystemuptime.md): Show system uptime in ms. Public ## Show nodejs entire versions object. - [GET /flux/nodejsversions](https://docs.runonflux.io/fluxapi/flux/fluxnodejsversions.md): Show nodejs entire versions object. Public ## Get all Flux IDs - [GET /flux/fluxids](https://docs.runonflux.io/fluxapi/flux/getfluxids.md): Get list of all Flux IDs associated with this node. Public ## Check if running on ArcaneOS - [GET /flux/isarcaneos](https://docs.runonflux.io/fluxapi/flux/isarcaneos.md): Check if the node is running on ArcaneOS (specialized Flux operating system). Public ## Stream chain preparation - [GET /flux/streamchainpreparation](https://docs.runonflux.io/fluxapi/flux/streamchainpreparation.md): Prepare for blockchain streaming operation. AdminAndFluxTeam ## Stream blockchain data - [POST /flux/streamchain](https://docs.runonflux.io/fluxapi/flux/streamchain.md): Stream blockchain data to another node. AdminAndFluxTeam ## Check application availability - [POST /flux/checkappavailability](https://docs.runonflux.io/fluxapi/flux/checkappavailability.md): Check if a specific application is available and accessible. Public ## Keep UPnP ports open - [POST /flux/keepupnpportsopen](https://docs.runonflux.io/fluxapi/flux/keepupnpportsopen.md): Maintain UPnP port mappings to keep them open. AdminAndFluxTeam