---
title: "Generate Cards"
method: POST
path: "/api/newspulse/generate"
tags: ["newspulse"]
---

# Generate Cards

`POST /api/newspulse/generate`

## 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/generate`
- Auth: none declared

Trigger the NewsPulse pipeline (admin only).

## Headers

- `authorization` string, nullable

## Request body

- GenerateRequest
  - `max_articles` integer
  - `sources` string[], nullable
  - `target_date` string, nullable

## 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)
