Skip to content
FeedbackDashboard

Diagnostics

Get diagnostics for a build
DiagnosticListPageResponse Builds.Diagnostics.List(DiagnosticListParamsparameters, CancellationTokencancellationToken = default)
GET/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
class BuildDiagnostic:
required string Code

The kind of diagnostic.

required Boolean Ignored

Whether the diagnostic is ignored in the Stainless config.

required Level Level

The severity of the diagnostic.

One of the following:
"fatal"Fatal
"error"Error
"warning"Warning
"note"Note
required string Message

A description of the diagnostic.

required BuildDiagnosticMore? More
One of the following:
Markdown
required string Markdown
JsonElement Type "markdown"constant
Raw
required string Raw
JsonElement Type "raw"constant
string ConfigRef

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

string OasRef

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

class BuildDiagnosticMore: A class that can be one of several variants.union
Markdown
required string Markdown
JsonElement Type "markdown"constant
Raw
required string Raw
JsonElement Type "raw"constant