Flox API

Flox API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-02); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET / GET / #
GET /flox/flox-direnv/v1.1.0/direnv.rc GET /flox/flox-direnv/v1.1.0/direnv.rc #
GET /planetary/apod GET /planetary/apod #
GET /repositories GET /repositories #
GET /tasks GET /tasks #
POST /tasks POST /tasks #

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/flox:flox-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

flox-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Flox API
  version: '2026-12-02'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-02: 6 operation(s) read from 7 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Flox has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 6
    documentation: 0
    pages-with-code: 7
    pages-read: 7
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-02'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://flox.dev/docs/tutorials/installing-from-repo
  - https://flox.dev/docs/man/manifest.toml
  - https://flox.dev/docs/man/flox-run
  - https://flox.dev/popular-packages/get-containers-on-macos-and-windows-with-colima-and-flox
  - https://flox.dev/popular-packages/auto-environment-activation-with-direnv-flox
  - https://flox.dev/popular-packages/get-secure-github-cli-auth-you-can-take-with-you-anywhere
  - https://flox.dev/popular-packages/using-flox-and-jless-to-automate-all-kinds-of-tasks
servers:
- url: https://get.flox.dev
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://flox.dev/docs/tutorials/installing-from-repo
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -fsSL https://get.flox.dev | sh )\nautomates the download as well.\nBut you can easily script the steps below to automate\
          \ this process. \n These instructions cover the process of installing from Flox’s repository\non modern Debian- and Red Hat-based Linux\
          \ distributions,\nsuch as Ubuntu and Linux Mint (Debian),\nor Fedora, RHEL, and Rocky Linux (Red Hat).\nThey also include an alternate\
          \ method for in"
  /flox/flox-direnv/v1.1.0/direnv.rc:
    get:
      operationId: get_flox_flox_direnv_v1_1_0_direnv_rc
      tags:
      - Flox
      summary: GET /flox/flox-direnv/v1.1.0/direnv.rc
      x-source: https://flox.dev/popular-packages/auto-environment-activation-with-direnv-flox
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -o \"${HOME} /.config/direnv/lib/flox-direnv.sh \" \" https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc\
          \ \" \n Optionally, you can ask Flox to suppress mention of your default environment in your shell prompt. Sometimes, especially when\
          \ layering multiple environments, it’s nice to reclaim that space when you know your default environment will always be loaded. To do\
          \ this, add the "
  /planetary/apod:
    get:
      operationId: get_planetary_apod
      tags:
      - Planetary
      summary: GET /planetary/apod
      x-source: https://flox.dev/popular-packages/using-flox-and-jless-to-automate-all-kinds-of-tasks
      parameters:
      - name: api_key
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s \"https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY\" | tee response.json | jless \n read -p \"Download the image\
          \ and embed Exif metadata? (y/n): \" choice \n if [ \"$choice\" == \"y\" ]; then \n jq -r '.hdurl' response.json | xargs curl -O \n\
          \ jq -r '.title, .explanation' response.json > metadata.txt \n exiftool -overwrite_original -title=\"$(sed -n '1p' metadata.txt)\" -description=\"\
          $(sed -n '2p' met"
  /repositories:
    get:
      operationId: get_repositories
      tags:
      - Repositories
      summary: GET /repositories
      x-source: https://flox.dev/popular-packages/using-flox-and-jless-to-automate-all-kinds-of-tasks
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.github.com/repositories | jless \n As you can see, the view with jless is just much more intuitive and easier\
          \ to navigate than with the raw JSON. Plus, jless lets you interact with the JSON data structures, scrolling through them and optionally\
          \ expanding or collapsing nested objects. \n In the above screenshot, I’ve highlighted the downloads_url of the Thin project , so jless\
          \ shows "
  /tasks:
    get:
      operationId: get_tasks
      tags:
      - Tasks
      summary: GET /tasks
      x-source: https://flox.dev/popular-packages/get-containers-on-macos-and-windows-with-colima-and-flox
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl http://localhost:5000/tasks \n [[1,\"Cured Global Warming\",false],[2,\"Cured Global Warming\",false]] \n Even though I\
          \ can't change that task's status to true , I’m going to go ahead and call this a successful q.e.d.! \n Summary \n So that’s Colima.\
          \ It gives you a simple, lighter-weight VM for running containers on macOS and Windows with WSL. (Colima runs just fine on Linux, too—witness\
          \ this walk-th"
    post:
      operationId: post_tasks
      tags:
      - Tasks
      summary: POST /tasks
      x-source: https://flox.dev/popular-packages/get-containers-on-macos-and-windows-with-colima-and-flox
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTasksRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST -H \"Content-Type: application/json\"  -d '{\"title\": \"Cured Global Warming\"}' http://localhost:5000/tasks \n\
          \ {\"message\":\"Task created\"} "
components:
  schemas:
    PostTasksRequest:
      type: object
      properties:
        title:
          type: string
tags:
- name: Api
- name: Flox
- name: Planetary
- name: Repositories
- name: Tasks