# codefmt Format API

**Canonical:** https://apis.io/apis/codefmt-dev/codefmt-dev-format-api/  
**Provider:** codefmt — https://apis.io/providers/codefmt-dev/  
**Base URL:** https://codefmt.dev  
**Documentation:** https://codefmt.dev/api/llms.txt

codefmt Format API is one of 3 APIs that [codefmt](https://apis.io/providers/codefmt-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Format. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 2 JSON Schemas.

The Format API from codefmt — 1 operation(s) for format.

## Operations (1)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/format` | Format and lint code for a target automation platform |

## Machine-readable artifacts (6)

- **OpenAPI** — https://artifacts.apis.io/codefmt-dev/openapi/codefmt-dev-format-api-openapi.yml
- **Documentation** — https://codefmt.dev/llms.txt
- **APICatalog** — https://codefmt.dev/.well-known/api-catalog
- **HealthCheck** — https://codefmt.dev/api/health
- **JSONSchema** — https://artifacts.apis.io/codefmt-dev/json-schema/codefmt-dev-format-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/codefmt-dev/json-schema/codefmt-dev-format-response-schema.json

## Other codefmt APIs (2)

- [codefmt Ask API](https://apis.io/apis/codefmt-dev/codefmt-dev-ask-api/)
- [codefmt Health API](https://apis.io/apis/codefmt-dev/codefmt-dev-health-api/)

## Tags

Format

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/codefmt-dev` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/codefmt-dev/codefmt-dev-format-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/codefmt-dev/.
