Biome Config Generator API
Generate a Biome configuration file (biome.json) — formatter settings (indent, line width, trailing commas), a linter rule preset (recommended, strict, or off), import organization, and per-language overrides for JavaScript/TypeScript, JSON, and CSS.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Include $schema — IDE autocomplete + validation
Schema version
Enable the formatter
indentStyle
tab, space indentWidth
1 <= x <= 8lineWidth
20 <= x <= 320lineEnding
lf, crlf, cr, auto Enable the linter
Rule preset
recommended, all, off Auto-organize imports on format
quoteStyle
double, single jsxQuoteStyle
double, single quoteProperties
asNeeded, preserve trailingCommas
all, es5, none semicolons
always, asNeeded arrowParentheses
always, asNeeded bracketSpacing — spaces inside object literals { foo }
bracketSameLine — keep > of multi-line elements on the last line
Format JSON files
Format CSS files (opt-in — off by default in Biome)
CSS quoteStyle
double, single Enable VCS integration
Use .gitignore to determine ignored files
Include header comment (biome.json supports JSONC-style comments)
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.