Skip to main content
Parallel is a real-time web search and content extraction platform built for LLMs and AI applications.
ParallelMonitor calls Parallel’s Monitor API to schedule a query on a recurring cadence (1 hour to 30 days) and notify you, via webhook or polling, when relevant new content shows up. Useful for ongoing competitive intelligence, regulatory tracking, or topic monitoring.

Overview

Integration details

Setup

The integration lives in the langchain-parallel package.

Credentials

Head to Parallel to sign up and generate an API key. Set PARALLEL_API_KEY in your environment:

Instantiation

Create a monitor

frequency is <n><unit> where unit is h, d, or w, and the resulting duration sits in [1h, 30d] (e.g. "1h", "6h", "3d", "1w", "2w").
The valid event_types are monitor.event.detected, monitor.execution.completed, and monitor.execution.failed. Omit the field to receive all three.

Retrieve, list, delete

List events

list_events() returns a flat {"events": [...]} list. Newly-created monitors typically have none until the first scheduled execution; the call shape works either way.
To inspect a single event group:

Simulate an event

Useful when wiring up a webhook handler. simulate_event() posts a synthetic event of the requested type (default: monitor.event.detected) to the monitor’s webhook.
simulate_event() requires a webhook configured on the monitor. Pass webhook=MonitorWebhook(...) when calling create() first; otherwise the API returns 400 — Webhook not configured for this monitor.

Async

Every CRUD and event method has an async counterpart prefixed with a:

Webhook signature verification

Webhook deliveries are signed using the Standard Webhooks scheme (HMAC-SHA256 over <webhook-id>.<webhook-timestamp>.<body>, base64-encoded, v1,<sig> format with replay protection). Verify with verify_webhook:
The signing secret is configured at the org webhook-endpoint level in the Parallel dashboard, not per-monitor. See webhook setup for the full delivery contract.

Response format

create() and retrieve() return a monitor dict. list_events() returns a flat events envelope.

API reference

For detailed documentation, head to the ParallelMonitor API reference or the Monitor API guides.