Title: Add geography/location filters to Monitor API (`/v1alpha/monitors`) · Issue #19 · parallel-web/parallel-sdk-python · GitHub
Open Graph Title: Add geography/location filters to Monitor API (`/v1alpha/monitors`) · Issue #19 · parallel-web/parallel-sdk-python
X Title: Add geography/location filters to Monitor API (`/v1alpha/monitors`) · Issue #19 · parallel-web/parallel-sdk-python
Description: Summary The Monitor API currently has no way to scope queries by geography or location. The public docs for POST /v1alpha/monitors list only query, cadence, optional webhook, and metadata, but no geo-related fields. We need a way to moni...
Open Graph Description: Summary The Monitor API currently has no way to scope queries by geography or location. The public docs for POST /v1alpha/monitors list only query, cadence, optional webhook, and metadata, but no g...
X Description: Summary The Monitor API currently has no way to scope queries by geography or location. The public docs for POST /v1alpha/monitors list only query, cadence, optional webhook, and metadata, but no g...
Opengraph URL: https://github.com/parallel-web/parallel-sdk-python/issues/19
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add geography/location filters to Monitor API (`/v1alpha/monitors`)","articleBody":"## Summary\nThe Monitor API currently has no way to scope queries by geography or location. The public docs for `POST /v1alpha/monitors` list only `query`, `cadence`, optional `webhook`, and `metadata`, but no geo-related fields. We need a way to monitor specific regions.\n\n## Current Behavior\n- SDK (`parallel-sdk-python`) doesn’t expose any geo/location parameters.\n- Live docs (https://docs.parallel.ai/api-reference/monitor/create-monitor) confirm no geo fields.\n- Workaround today is to bake location terms into the query string, which is brittle and limits filtering.\n\n## Desired Behavior / Proposal\nExpose geography controls when creating and managing monitors. For example:\n- Allow specifying one or more regions (country, state/province, city, lat/lon + radius, etc.).\n- Persist the geo settings so subsequent monitor executions restrict to those regions.\n- Mirror the new fields in client SDKs (Python, TypeScript).\n\n## Rationale\n- Many use cases (market intelligence, risk monitoring, compliance) require geo-scoped monitoring.\n- Location filters reduce noise and API usage by eliminating irrelevant results.\n- Competitors typically support region filters; parity helps adoption.\n\n## Alternatives Considered\n- Encoding location constraints into the `query` string — unreliable and does not guarantee geo precision.\n- Post-filtering results – infeasible unless the service includes rich location metadata, and still wastes monitor executions.\n\n## Additional Context\nUsing `parallel-sdk-python` client:\n```python\ngroup = client.get(\n f\"/v1alpha/monitors/{monitor_id}/event_groups/{event_group_id}\",\n cast_to=httpx.Response,\n).json()\n```\nNo metadata in the response indicates where events originated, so client-side geo filtering is not practical.\n\nWould love guidance on planned support or required schema changes so we can contribute.","author":{"url":"https://github.com/Krishna2709","@type":"Person","name":"Krishna2709"},"datePublished":"2025-11-15T02:32:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/19/parallel-sdk-python/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ecf970a-fb9c-f134-f47c-8003b7919487 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9CE:1EFAA3:DF78AA:12E1F50:6A4C5E42 |
| html-safe-nonce | a31abebc46a74d0b4a22d61478e685c9ef66faf756cca2bcf8cf35973c2e2be4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUNFOjFFRkFBMzpERjc4QUE6MTJFMUY1MDo2QTRDNUU0MiIsInZpc2l0b3JfaWQiOiI3NzczMDI0MDI3MzA4NDgyMTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d40a3bfa0a6f1eb196bcb6d8585ba78c29c247e9d5767908f1236d185c267f0f |
| hovercard-subject-tag | issue:3627853150 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/parallel-web/parallel-sdk-python/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ac3f7f26146de42b6e9502e187011383155dfba33009b5eab51fd7000c13070/parallel-web/parallel-sdk-python/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ac3f7f26146de42b6e9502e187011383155dfba33009b5eab51fd7000c13070/parallel-web/parallel-sdk-python/issues/19 |
| og:image:alt | Summary The Monitor API currently has no way to scope queries by geography or location. The public docs for POST /v1alpha/monitors list only query, cadence, optional webhook, and metadata, but no g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Krishna2709 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/parallel-web/parallel-sdk-python git https://github.com/parallel-web/parallel-sdk-python.git |
| octolytics-dimension-user_id | 210743255 |
| octolytics-dimension-user_login | parallel-web |
| octolytics-dimension-repository_id | 1005819284 |
| octolytics-dimension-repository_nwo | parallel-web/parallel-sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1005819284 |
| octolytics-dimension-repository_network_root_nwo | parallel-web/parallel-sdk-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width