Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
includeSchema
boolean

Include $schema — IDE autocomplete + validation

schemaVersion
string

Schema version

formatterEnabled
boolean

Enable the formatter

indentStyle
enum<string>

indentStyle

Available options:
tab,
space
indentWidth
number

indentWidth

Required range: 1 <= x <= 8
lineWidth
number

lineWidth

Required range: 20 <= x <= 320
lineEnding
enum<string>

lineEnding

Available options:
lf,
crlf,
cr,
auto
linterEnabled
boolean

Enable the linter

linterPreset
enum<string>

Rule preset

Available options:
recommended,
all,
off
organizeImports
boolean

Auto-organize imports on format

quoteStyle
enum<string>

quoteStyle

Available options:
double,
single
jsxQuoteStyle
enum<string>

jsxQuoteStyle

Available options:
double,
single
quoteProperties
enum<string>

quoteProperties

Available options:
asNeeded,
preserve
trailingCommas
enum<string>

trailingCommas

Available options:
all,
es5,
none
semicolons
enum<string>

semicolons

Available options:
always,
asNeeded
arrowParentheses
enum<string>

arrowParentheses

Available options:
always,
asNeeded
bracketSpacing
boolean

bracketSpacing — spaces inside object literals { foo }

bracketSameLine
boolean

bracketSameLine — keep > of multi-line elements on the last line

jsonFormatterEnabled
boolean

Format JSON files

cssFormatterEnabled
boolean

Format CSS files (opt-in — off by default in Biome)

cssQuoteStyle
enum<string>

CSS quoteStyle

Available options:
double,
single
vcsEnabled
boolean

Enable VCS integration

vcsUseIgnoreFile
boolean

Use .gitignore to determine ignored files

includeHeader
boolean

Include header comment (biome.json supports JSONC-style comments)

Response

Tool output

outputs
object
required
tool
string
required

The tool's slug, echoing the {slug} in the request path.

tool_version
string
required

Output-contract version for this tool.

credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

credits_remaining
integer | null
required

Credits left in the current monthly allowance, or null when metering is disabled.

request_id
string

Correlation id, also sent as x-request-id.