Filebase MFS API

Mutable File System operations

Operations 4

POST /api/v0/files/ls List MFS directory contents #
POST /api/v0/files/mkdir Create MFS directory #
POST /api/v0/files/write Write to MFS file #
POST /api/v0/files/rm Remove MFS file or directory #

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/filebase-mfs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

filebase-mfs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Filebase IPFS RPC MFS API
  description: The Filebase IPFS RPC API exposes core IPFS daemon functionality through an HTTP interface. Bucket-specific Bearer tokens authenticate all POST requests. Capabilities span data management (add, get, CAR import), pinning (pin/unpin/list), Mutable File System (MFS) operations, keypair management, IPNS publishing and resolution, and daemon information. Enables fine-grained programmatic control over IPFS operations without running a local node.
  version: '1.0'
  contact:
    name: Filebase Support
    url: https://filebase.com/
    email: support@filebase.com
  termsOfService: https://filebase.com/terms/
  license:
    name: Proprietary
    url: https://filebase.com/terms/
servers:
- url: https://rpc.filebase.io
  description: Filebase IPFS RPC API
security:
- BearerAuth: []
tags:
- name: MFS
  description: Mutable File System operations
paths:
  /api/v0/files/ls:
    post:
      operationId: mfsList
      summary: List MFS directory contents
      description: List files and directories in the Mutable File System (MFS).
      tags:
      - MFS
      parameters:
      - name: arg
        in: query
        description: Path to show listing for (default /)
        schema:
          type: string
          default: /
      - name: long
        in: query
        description: Use long listing format
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Directory listing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MfsLsResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /api/v0/files/mkdir:
    post:
      operationId: mfsMkdir
      summary: Create MFS directory
      description: Make a directory in the Mutable File System (MFS).
      tags:
      - MFS
      parameters:
      - name: arg
        in: query
        required: true
        description: Path to directory to make
        schema:
          type: string
      - name: parents
        in: query
        description: Create parent directories as needed
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Directory created
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /api/v0/files/write:
    post:
      operationId: mfsWrite
      summary: Write to MFS file
      description: Write to a mutable file in MFS.
      tags:
      - MFS
      parameters:
      - name: arg
        in: query
        required: true
        description: Path to write to
        schema:
          type: string
      - name: create
        in: query
        description: Create the file if it does not exist
        schema:
          type: boolean
          default: false
      - name: truncate
        in: query
        description: Truncate the file to size zero before writing
        schema:
          type: boolean
          default: false
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: File written successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /api/v0/files/rm:
    post:
      operationId: mfsRemove
      summary: Remove MFS file or directory
      description: Remove a file or directory from MFS.
      tags:
      - MFS
      parameters:
      - name: arg
        in: query
        required: true
        description: File to remove
        schema:
          type: string
      - name: recursive
        in: query
        description: Recursively remove directories
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: File removed successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    MfsLsResponse:
      type: object
      properties:
        Entries:
          type: array
          items:
            type: object
            properties:
              Name:
                type: string
              Type:
                type: integer
              Size:
                type: integer
                format: int64
              Hash:
                type: string
    Error:
      type: object
      properties:
        Message:
          type: string
          description: Error message
        Code:
          type: integer
          description: Error code
        Type:
          type: string
          description: Error type
  responses:
    Unauthorized:
      description: Unauthorized; Bearer token missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bucket-specific Bearer token for authentication
externalDocs:
  description: Filebase IPFS RPC API Documentation
  url: https://filebase.com/docs/ipfs/rpc-api