Flux IO Utils API

**File System Operations & Utilities** Low-level file system operation endpoints providing essential I/O utilities for application development and system administration. These APIs offer direct file manipulation, directory management, and system utilities required for advanced application deployment and management on Flux nodes. **I/O Operations:** - File and directory management - Permission and ownership control - Data transfer utilities - System resource monitoring - Batch operation support

GitHub OpenAPI

Operations 1

POST /ioutils/fileupload Upload file #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/runonflux-com:runonflux-com-ioutils-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

runonflux-com-ioutils-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 8.20.0
  title: Flux Decentralized Cloud IO Utils API
  termsOfService: https://cdn.runonflux.io/Flux_Terms_of_Service.pdf
  contact:
    name: InFlux Technologies USA LLC — Flux Development Team
    email: development@runonflux.com
    url: https://docs.runonflux.com
  license:
    name: GNU AGPLv3
    url: https://www.gnu.org/licenses/agpl-3.0.en.html
  description: '# Flux API Documentation


    Welcome to the comprehensive API reference for **Flux**, the world''s leading decentralized Web3 cloud computing platform. This documentation covers all available API endpoints for interacting with the Flux network, nodes, and decentralized applications. ## About Flux


    **Flux** is a decentralized Web3 cloud infrastructure powered by globally distributed, user-operated nodes. Built for scalability and censorship resistance, Flux eliminates single points of failure while providing enterprise-grade computing resources for deploying and managing applications. ### Key Features


    - **🌐 Decentralized Infrastructure**: ~6,400 confirmed FluxNodes worldwide providing 52,000+ CPU cores, 170TB+ RAM and 3PB+ SSD storage across three tiers (Cumulus, Nimbus, Stratus)

    - **⚡ High Performance**: Enterprise-grade computing with automatic placement, fault-domain spreading and high availability

    - **🔐 Secure by Design**: Multiple authentication methods, enterprise app encryption and runtime tampering detection

    - **💰 Cost Effective**: Competitive pricing compared to traditional cloud providers

    - **🚀 Developer Friendly**: Docker-based deployments with comprehensive API support

    - **🛡️ ArcaneOS**: Hardened, attested node operating system with hardware-backed key custody


    *Network figures are a live snapshot; query `GET /daemon/getfluxnodecount` or

    stats.runonflux.io for current totals.*


    ## API Architecture


    The Flux API uses a **seven-level permission model** to ensure secure and controlled access. Every endpoint in this document ends its description with the level it requires:


    | Permission Level | Description | Authentication Required |

    |------------------|-------------|-------------------------|

    | **Public** | Open access endpoints | ❌ No |

    | **User** (`user`) | Any FluxID with a valid signature and a live session | ✅ Yes |

    | **FluxTeam** (`fluxteam`) | Flux Team and Flux Support identities | ✅ Yes |

    | **Admin** (`admin`) | The operator of *this* node (`initial.zelid` in its config) | ✅ Yes |

    | **AdminAndFluxTeam** (`adminandfluxteam`) | Node operator **or** Flux Team | ✅ Yes |

    | **AppOwner** (`appowner`) | The FluxID that registered the application | ✅ Yes |

    | **AppOwnerAbove** (`appownerorfluxteam`) | Application owner **or** Flux Team | ✅ Yes |


    Every privilege is a set of identities and asks whether the caller is one of

    them — the compounds read **OR**, never AND. `admin` is a hardware role: the

    node operator administers the machine and is *not* a party to a customer''s

    application, so app verbs (`appstart`, `appremove`, `appkill`, `redeploy`, …)

    require **AppOwnerAbove** rather than Admin.'
servers:
- url: https://api.runonflux.io
  description: Production API Gateway - global load-balanced endpoint. Requests are served by whichever confirmed FluxNode the gateway routes to, so node-scoped endpoints (anything that reports or changes the state of one machine) should be called against a specific node instead.
- url: https://{nodeip}:16127
  description: Direct Flux Node Connection - Connect directly to specific node
  variables:
    nodeip:
      description: Flux node IP address or hostname
      default: localhost
- url: http://localhost:16127
  description: Local Development Node - For local testing
- url: https://explorer.runonflux.io
  description: Explorer API - Blockchain data and statistics
- url: https://stats.runonflux.io
  description: Network Statistics API - Real-time network metrics
tags:
- name: IOUtils
  description: '**File System Operations & Utilities**

    Low-level file system operation endpoints providing essential I/O utilities for application development and system administration. These APIs offer direct file manipulation, directory management, and system utilities required for advanced application deployment and management on Flux nodes.

    **I/O Operations:** - File and directory management - Permission and ownership control - Data transfer utilities - System resource monitoring - Batch operation support'
paths:
  /ioutils/fileupload:
    post:
      tags:
      - IOUtils
      summary: Upload file
      description: Uploads a file to the specified location. **AppOwnerAbove**
      operationId: fileUpload
      security:
      - FluxID: []
      parameters:
      - in: query
        name: type
        required: false
        schema:
          type: string
        description: '`backup` stores the upload in the component volume''s backup/upload folder (where appendrestoretask with type upload reads backup_<component>.tar.gz) and ignores `folder`; any other value, or none, stores it in `folder`.'
        example: backup
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Name of the application
        example: FoldingAtRunOnFlux11
      - in: query
        name: component
        required: true
        schema:
          type: string
        description: Component of application
        example: FoldingAtHome
      - in: query
        name: folder
        required: false
        schema:
          type: string
        description: Folder relative to the volume root (created if missing); the volume root when omitted.
        example: ddd/ccc
      - in: query
        name: filename
        required: false
        schema:
          type: string
        description: Name to store the upload under. When omitted, each file is stored under its multipart field name (not the file's original name), so a client appends each file under the name it should have.
        example: FoldingAtHome.gzip
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: 'A stream rather than one JSON document: `[bytesReceived,bytesExpected]` pairs as the body arrives, then each stored file''s name as it lands. A failure after the stream has started is written into it as the error envelope.'
          content:
            text/plain:
              schema:
                type: string
              example: '[65536,1048576][1048576,1048576]backup_foldingathome.tar.gz'
        '503':
          description: 'Refused before any work starts: another file operation is running for this application, the node is at its concurrent-operation limit, the file-operation image is still being fetched, or the node is still reconciling its applications after boot. `Retry-After` says when to retry; `data.operation` (jobId, kind, statusUrl) names the operation being waited behind, when there is one.'
          headers:
            Retry-After:
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableError'
components:
  schemas:
    ServiceUnavailableError:
      type: object
      description: Service temporarily unavailable
      properties:
        status:
          type: string
          enum:
          - error
        data:
          type: object
          properties:
            name:
              type: string
              example: ServiceUnavailable
            message:
              type: string
              example: Service is temporarily unavailable
            code:
              type: string
              example: SERVICE_UNAVAILABLE
  securitySchemes:
    FluxID:
      description: 'FluxID (formerly ZelID) is an authentication system based on Bitcoin message signing and Ethereum personal sign. The header keeps its original name, `zelidauth`: a query string of zelid, signature and loginPhrase (see Authentication Workflows for how to obtain one). An example of a header is `zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&signature=%2BZB3oSrsw6XkBxxlbwk33LEBJYvqtbMIm2kL9JzuoXMC6pSZd0lBHdnhJYzMTXv81zZQ7G%2FpkK1NvYN7cNF0GE%3D&loginPhrase=1574991374806spbcvsuwerl52tppx9dw5khuz8rew13mkq86gg8r2c`'
      type: apiKey
      in: header
      name: zelidauth
externalDocs:
  description: Flux Documentation & Resources Hub
  url: https://docs.runonflux.com
x-tagGroups:
- name: Getting Started
  tags:
  - Authentication
  - ID
- name: Applications
  tags:
  - Apps
  - Volume Browser
  - IOUtils
- name: Node Operations
  tags:
  - Flux
  - Benchmark
  - ArcaneOS
- name: Blockchain
  tags:
  - Daemon
  - Explorer
- name: Storage & Sync
  tags:
  - Syncthing
  - Fluxshare
  - Backup/Restore
- name: Commerce
  tags:
  - Payments