---
title: "Last Pipeline Run"
method: GET
path: "/api/newspulse/last-run"
tags: ["newspulse"]
---

# Last Pipeline Run

`GET /api/newspulse/last-run`

## Request

- Base URL: `https://api.sambodh-ias.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sambodh-ias.in/api/newspulse/last-run`
- Auth: none declared. Required headers: `x-cron-secret`

Return the most recent NewsPulse pipeline run for cron verification.

Cron-secret protected (same as /cron-trigger). The Render cron job
(scripts/cron/run_pipeline.py) polls this after triggering — since the
pipeline runs async, a 202 alone can't confirm cards were produced. The job
fails (and Render alerts) if the latest run is 'failed' or 'degraded', or
if no run is recorded after the trigger.

## Headers

- `x-cron-secret` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2.md) · [All operations](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/revisions/258843d1f806?raw)
