Skip to main content

Watch Endpoint

Set up URL monitoring in a single API call. The watch endpoint combines strategy generation and schedule creation, eliminating the need for multi-step orchestration.

Create watch

Create a new watch to monitor a URL for changes.

Request body

Response

Example

What happens internally

The watch endpoint performs two operations in a single transaction:
  1. Generates a strategy - Analyzes the page and creates extraction selectors using AI
  2. Creates a schedule - Sets up recurring scrapes with your specified interval
This is equivalent to calling:

Managing your watch

After creation, use the standard endpoints to manage your watch:
  • Update schedule: PATCH /api/schedules/{schedule_id}
  • Pause/resume: PATCH /api/schedules/{schedule_id} with {"enabled": false}
  • Get changes: GET /api/schedules/{schedule_id}/changes
  • Delete: DELETE /api/schedules/{schedule_id}
  • Refine strategy: POST /api/strategies/{strategy_id}/refine

Error responses

See REST API Errors for detailed error handling.

Next steps

Webhooks Guide

Receive change notifications

Pull-Based Monitoring

Poll for changes instead of webhooks

Schedule Endpoints

Manage your schedules

Strategy Endpoints

Refine extraction strategies

Need help?

Email me at mckinnon@meter.sh