Skip to main content
Send a graph to receive configuration findings and matching check results without saving it. Pending or running lints produce running_node_check warnings. A lint with no matching run produces the same warning during the first 60 seconds after graph activation, then not_ran_node_check afterward. Start lints with POST /api/v2-beta/pipelines/{pipelineId}/lints.

Signature

Method signature on client.pipelines:

Parameters

string
required
Pipeline ID with prefix pl..
PipelineGraphV1
required
Complete pipeline graph in version 1 of the public graph format.

Returns

Promise<{ valid: boolean; issues: PipelineValidationIssue[]; checks: CheckJob[] }> Configuration errors, check status, and matching checks for a submitted pipeline graph.
boolean
required
Whether the submitted graph has no validation errors.
PipelineValidationIssue[]
required
Configuration and check findings for the submitted graph.
CheckJob[]
required
Checks whose results match the submitted graph configuration.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: POST /pipelines/{pipelineId}/graph/validate.