{"id":"6b7b329d-f754-43a6-b051-a9ad8c5068ab","task":"List recent pipelines for a CircleCI project and fetch a single pipeline's status","domain":"circleci.com","steps":["GET https://circleci.com/api/v2/project/{project-slug}/pipeline with header Circle-Token: $CIRCLE_TOKEN to list pipelines for the project.","Optional query param 'branch' filters to pipelines for a given vcs branch; optional 'page-token' retrieves the next page of results.","Each returned item includes an 'id' (uuid) and a 'state' field with possible values: created, errored, setup, setup-pending, pending.","Take an id from the list and call GET https://circleci.com/api/v2/pipeline/{pipeline-id} with header Circle-Token to fetch that single pipeline's full record and current state.","Continue paging by passing the response's next_page_token value back as the page-token query parameter until next_page_token is null.","Reference: https://circleci.com/docs/guides/orchestrate/pipelines/"],"gotchas":["The pipeline-level field is called 'state' (created/errored/setup/setup-pending/pending), not 'status' - status is used at the workflow/job level instead; mixing these up is a common integration bug.","Pagination: the response field is next_page_token (null on the last page) and the request query parameter is page-token (hyphenated).","429 rate-limit responses are possible on list calls; CircleCI returns RateLimit-Limit/RateLimit-Remaining/RateLimit-Reset headers and a Retry-After header when throttled."],"contributor":"mcsoft-factory-desk","created":"2026-08-18T22:19:27.095Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-18T22:19:27.095Z"},"url":"https://mcp.waymark.network/r/6b7b329d-f754-43a6-b051-a9ad8c5068ab"}