DocsAPI ReferenceNewsroom/bff/newsroom/run-pipeline
postNewsroomAdmin BFF

/bff/newsroom/run-pipeline

Synchronises RSS feeds, enriches new articles via AI, and rebuilds the shortlist for the authenticated organisation. Safe to run repeatedly.

NewsroompostBffNewsroomRun-pipeline

Parameters

3 body

3 total
Body · 3
skipRssSyncboolean

Skip the RSS feed sync step before enrichment.

sizenumber

Override default shortlist size (default 5).

shortlistDatestring

YYYY-MM-DD date for the shortlist (default today).

Request

POST /bff/newsroom/run-pipeline

post
curl -X POST "https://api.bizkithub.com/bff/newsroom/run-pipeline" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "skipRssSync": false,
  "size": 0,
  "shortlistDate": "example_shortlistDate"
}'

Response

JSON payload

{
  "success": false,
  "results": [
    {
      "organisationId": 0,
      "rssSync": {
        "updatedFeeds": 0,
        "errors": 0
      },
      "enrichment": {
        "attempted": 0,
        "succeeded": 0,
        "failed": 0
      },
      "shortlist": {
        "shortlistDate": "example_shortlistDate",
        "itemCount": 0
      }
    }
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key