LangChain integration for Parallel's Monitor API (alpha).
The Monitor API runs scheduled web queries and emits webhook events when
results change. As of parallel-web 0.5.1 the SDK does not expose this
surface, so this module talks to /v1alpha/monitors directly via httpx.
The Monitor API is currently in alpha; endpoints and shapes may change without notice. Track https://docs.parallel.ai/monitor-api/monitor-quickstart for updates.
Retrieve the Parallel API key from argument or environment variables.
Webhook config for a Parallel monitor.
Per the create-monitor API, the webhook object is {url, event_types}.
The signing secret is configured at the org webhook-endpoint level (in
the Parallel dashboard), not per-monitor ā see
:func:langchain_parallel.tasks.verify_webhook for verification.
Manage scheduled web monitors via the Parallel Monitor API (alpha).
Each method is a thin wrapper around an HTTP call. Returned dicts are the API response bodies as-is.