Skip to content
FeedbackDashboard

Diagnostics

Get diagnostics for a build
builds.diagnostics.list(build_id, **kwargs) -> Page<BuildDiagnostic { code, ignored, level, 4 more } >
GET/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
class BuildDiagnostic { code, ignored, level, 4 more }
code: String

The kind of diagnostic.

ignored: bool

Whether the diagnostic is ignored in the Stainless config.

level: :fatal | :error | :warning | :note

The severity of the diagnostic.

One of the following:
:fatal
:error
:warning
:note
message: String

A description of the diagnostic.

One of the following:
class Markdown { markdown, type }
markdown: String
type: :markdown
class Raw { raw, type }
raw: String
type: :raw
config_ref: String

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

oas_ref: String

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

BuildDiagnosticMore = { markdown, type} | { raw, type}
One of the following:
class Markdown { markdown, type }
markdown: String
type: :markdown
class Raw { raw, type }
raw: String
type: :raw