API v2, is it possible to get pipeline status?

The current API provides a pipeline state. Is there a way to get a pipeline status or do we have to compute an aggregated status from the workflows ?

Hi Gempain,

Thanks for your query. I will check about pipeline status and let you know soon.

Though you can get workflow status using https://circleci.com/docs/api/v2/#get-a-workflow

Regards,
Pawan Bahuguna

Hi Gempain,

Pipelines has no status per se. Pipelines are grouping of workflows that are kicked off by a webhook in CircleCI. Workflows, jobs and steps have a status.

Pipelines can fail when the config is wrong which in turn does not run workflows or jobs.

Regards,
Pawan Bahuguna

Hey there,

In my understanding, pipelines are groupings of workflows. When I trigger a pipeline, I’m interested in knowing what the global status of my pipeline is, not what the individual status of each workflow is, because if one of them fails, IMO it means that my pipeline failed.

Thanks for your reply. I will pass your feedback to pipelines team. You can also add this to our ideas board.