codefmt · OpenAPI Overlay 1.0.0

API Evangelist agent-surface overlay for the codefmt format API

6 actions 6 updates documentation extends ../openapi/_original/codefmt-dev-openapi.yml
Derived by API Evangelist Built from the contracts codefmt publishes. codefmt did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

tagsx-mcp-toolsecurityx-rate-limitx-idempotency

Targets 5

$
$.paths["/api/format"].post
$.paths["/ask"].get
$.paths["/ask"].post
$.paths["/api/health"].get

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist agent-surface overlay for the codefmt format API
  version: 1.0.0
extends: ../openapi/_original/codefmt-dev-openapi.yml
x-generated: '2026-11-04'
x-method: derived
x-source:
- https://codefmt.dev/api/llms.txt
- https://codefmt.dev/.well-known/mcp.json
x-rationale: 'The published spec declares no tags, no top-level security and no link to the MCP tools. These actions record what the provider
  documents elsewhere: anonymous access, the per-IP rate limit, and the MCP tool backing each operation.'
actions:
- target: $
  description: 'Provider documents anonymous access: "no accounts, api keys, or oauth; do not send authorization headers" (api/llms.txt).'
  update:
    security: []
- target: $
  description: Tags grouping the four operations.
  update:
    tags:
    - name: Formatting
      description: Format and lint code for automation-platform code steps.
    - name: Ask
      description: Grounded, cited answers about codefmt.
    - name: Health
      description: Service liveness.
- target: $.paths["/api/format"].post
  update:
    tags:
    - Formatting
    x-mcp-tool: format_code
    x-rate-limit:
      max: 60
      window: 1 minute
      scope: per IP
      source: https://codefmt.dev/api/llms.txt
    x-idempotency:
      header: Idempotency-Key
      note: Accepted and echoed back; formatting is a pure transformation so retries are safe (api/llms.txt).
- target: $.paths["/ask"].get
  update:
    tags:
    - Ask
    x-mcp-tool: ask_codefmt
- target: $.paths["/ask"].post
  update:
    tags:
    - Ask
    x-mcp-tool: ask_codefmt
- target: $.paths["/api/health"].get
  update:
    tags:
    - Health

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/codefmt-dev-agent-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.