Skip to main content

Schedule Endpoints

Create and manage automated, recurring scrapes via HTTP.

Create schedule

Create a new recurring schedule.

Request body (interval-based)

Request body (cron-based)

Provide either interval_seconds or cron_expression, not both. Provide either url or urls, not both.

Response

The webhook_secret is only returned in the create response. It is not included in subsequent GET responses.

List schedules

Get all schedules for the authenticated user.

Response

Array of schedule objects (same format as Create schedule response).

Example

Update schedule

Update an existing schedule.

Request body

All fields are optional. Include only fields to update:

Response

Updated schedule object.

Example

Delete schedule

Delete a schedule (stops future jobs).

Response

Example

Regenerate webhook secret

Generate a new webhook secret for a schedule. The old secret is immediately invalidated.

Response

The new secret is returned only once. Store it securely and update your webhook handler before the next delivery.

Example

Get schedule changes

Get unseen changes for a schedule (pull-based change detection).

Query parameters

Keyword filter syntax

The filter parameter uses Lucene-style syntax to filter individual result items:
The filter applies to individual items within results, not entire jobs. Jobs with zero matching items are excluded from the response.

Response

Example

Webhook payload

When a schedule has a webhook URL, Meter POSTs to it after each job:
delivery_reason is first_run for the first successful delivery for a given schedule + url, and content_changed for subsequent deliveries triggered by a content change. See Webhook payload formats for the full field reference, and the Webhooks Guide for implementation details.

Error responses

See REST API Errors for detailed error handling.

Next steps

Webhooks Guide

Implement webhook endpoints

Pull-Based Monitoring

Use the changes endpoint

Python SDK

Use the Python SDK

Schedules Concept

Learn about schedules

Need help?

Email me at mckinnon@meter.sh