← All tutorialsWeb

Topic news watcher

Every hour, hit web_search.news for your topics. Diff against last run. New items go to Slack.

Cost~$0.002 per topic per hour
Operations
web_search.newschat.send

Prerequisites

  • web_search.news + chat.send (Slack) enabled.

Walkthrough

1. Fetch news

web_search.news returns time-stamped results sorted by recency.

bash# Recency-sorted news search.
curl -X POST https://www.upivia.com/v1/service-requests \
  -H "Authorization: Bearer $AGENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service":"web_search",
    "operation":"news",
    "payload":{"q":"openai funding round","since":"1h"}
  }'

2. Diff + notify

Track seen URLs in your DB. New ones get a chat.send to your #intel channel.

Next steps

Audit every call at /audit-logs, watch spend at /usage, and tune budgets per service on the agent's page.

Create an account →