Monitor Feeds
POST /api/agents/monitor/feeds
Monitor RSS/Atom feeds and return structured feed data.
Validates every feed URL through validate_outbound_url to block SSRF
into private/loopback/metadata hosts before handing off to Lagan’s
feedparser pipeline. Parses each feed and extracts title, entry count,
and last-updated timestamp within the requested timeout.
Args: request: FeedMonitorRequest with feed_urls and timeout_minutes.
Returns: FeedMonitorResponse with feeds_processed, total_entries, feed_data, errors.
Raises: HTTPException 400: Any feed URL rejected by the outbound URL validator. HTTPException 503: Lagan agent unavailable.
Request Body required
Section titled “Request Body required ”Request to monitor RSS/Atom feeds.
object
RSS/Atom feed URLs to monitor
Maximum processing time in minutes
Responses
Section titled “ Responses ”Successful Response
Response from RSS/Atom feed monitoring.
object
Number of feeds successfully processed
Total entries across all feeds
Errors encountered
Validation Error