Skip to content
FeedbackDashboard

Diagnostics

Get diagnostics for a build
get/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
BuildDiagnostic = 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.

Accepts one of the following:
"fatal"
"error"
"warning"
"note"
message: string

A description of the diagnostic.

Accepts one of the following:
Markdown = object { markdown, type }
markdown: string
type: "markdown"
Raw = object { raw, type }
raw: string
type: "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.

BuildDiagnosticMore = object { markdown, type } or object { raw, type }
Accepts one of the following:
Markdown = object { markdown, type }
markdown: string
type: "markdown"
Raw = object { raw, type }
raw: string
type: "raw"