Skip to main content
Return run status, item counts, and any error. Poll until status is succeeded or failed. A canceled run reports failed with Run canceled.

Signature

Method signature on client.runs:

Parameters

string
required
Pipeline run ID with prefix plr..

Returns

Promise<RunJob> A pipeline run job. Poll until status is succeeded or failed.
RunId
required
Pipeline run ID with prefix plr..
DatasetId
required
Dataset ID with prefix ds..
"pending" | "running" | "succeeded" | "failed"
required
Run state: pending before deployment, running while processing, succeeded when processing ends, or failed if deployment fails; individual item failures are counted in result.
string
required
Time the run was created, as an ISO 8601 timestamp.
string | null
required
Deployment failure message, or null when the run deployed successfully.
RunStats
required
Counts of items and their current outcomes.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: GET /runs/{runId}.