Skip to content
FeedbackDashboard

Diagnostics

Get diagnostics for a build
$ stl builds:diagnostics list
GET/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
build_diagnostic: object { code, ignored, level, 4 more }
code: string

The kind of diagnostic.

ignored: boolean

Whether the diagnostic is ignored in the Stainless config.

level: "fatal" or "error" or "warning" or "note"

The severity of the diagnostic.

"fatal"
"error"
"warning"
"note"
message: string

A description of the diagnostic.

more: object { markdown, type } or object { raw, type }
markdown: object { markdown, type }
markdown: string
type: "markdown"
"markdown"
raw: object { raw, type }
raw: string
type: "raw"
"raw"
config_ref: optional string

A JSON pointer to a relevant field in the Stainless config.

oas_ref: optional string

A JSON pointer to a relevant field in the OpenAPI spec.

build_diagnostic_more: object { markdown, type } or object { raw, type }
markdown: object { markdown, type }
markdown: string
type: "markdown"
"markdown"
raw: object { raw, type }
raw: string
type: "raw"
"raw"