HeliosDeveloper documentation
SDKs
Generated from the contract.
SDKs

Python SDK

Generated by python -m helios sdk from docs/api/openapi-v1.json. Do not edit by hand.

Install: pip install ./sdk/python. No runtime dependency.

python
from helios_client import Helios, HeliosError

h = Helios(api_key="hk_...", base_url="http://localhost:8081")
hit = h.search_parcels(q="252 Parliament St")
report = h.parcel_report(hit["results"][0]["canonical_id"])
run = h.ask("Comment va Regent Park ?")          # stored run, answer from Helios figures
pdf = h.run_memo(run["run_id"], format_="pdf")    # bytes
geo = h.run_export(run["run_id"], format_="geojson")   # parsed GeoJSON

Errors raise HeliosError with status and detail. JSON and GeoJSON are parsed; PDF, HTML, KML and xlsx return bytes (Python) or an ArrayBuffer (TypeScript). Contract: docs/api/openapi-v1.json; guide: docs/api/README.md.

Method Route What it does
me GET /v1/me The calling key: tenant, scopes, quotas and recent usage
sources GET /v1/sources Source cards with licence and whether results may be shared
coverage GET /v1/coverage What Helios answers, partly answers or does not answer (and why)
search_parcels GET /v1/parcels/search Find parcels by address or id
parcel_report GET /v1/parcels/{ref}/report Parcel report: zoning, envelope, hazards, transit, activity
parcel_risk GET /v1/parcels/{ref}/risk Due-diligence risk register
facts GET /v1/parcels/{ref}/facts Property facts: use, lot, buildings, height, floor area, storeys, year built, units
suites GET /v1/parcels/{ref}/suites Garden and laneway suite potential (Toronto By-law 569-2013 ch. 150.7, 150.8), each check with its section
heights GET /v1/parcels/{ref}/heights Building heights and roof form from the newest lidar survey covering the lot (NRCan HRDEM)
value GET /v1/parcels/{ref}/value Indicative income value and rent of a rental building (CMHC parts withheld while internal-only)
compliance GET /v1/parcels/{ref}/compliance Compliance evidence: today's limits, outlines without permits, municipal investigations (never a determination)
parcel_condition GET /v1/parcels/{ref}/condition Existing-building condition evidence (never a compliance finding)
parcel_forecast GET /v1/parcels/{ref}/forecast Market value forecast (withheld while its source is internal-only)
area_overview GET /v1/analysis/area Area overview: zoning mix, transit, pipeline, building heights
screen_parcels GET /v1/analysis/screen Parcels ranked by unused as-of-right floor area
market_context GET /v1/analysis/market Supply pipeline and development comparables (demand withheld while internal-only)
check_massing GET /v1/analysis/massing A drawn volume against the as-of-right envelope
neighbourhood_profile GET /v1/neighbourhoods/profile One neighbourhood ranked among its city's neighbourhoods
rank_neighbourhoods GET /v1/neighbourhoods/rank Neighbourhoods ranked by an index 0-100, with backtests
market_dynamics GET /v1/neighbourhoods/dynamics Area KPI dashboard: indices, projection, supply, parcel funnel
sector_opportunities GET /v1/opportunities/sectors Neighbourhoods ranked per sector by published proxies
invest_screen GET /v1/opportunities/invest Zones to examine for an equity budget (not advice)
run_scenario GET /v1/scenarios/run What-if with before and after: transit station, density, water level, rates
compare_neighbourhoods GET /v1/neighbourhoods/compare Neighbourhoods near a place with climate, safety and decline concerns (published rules N1-N6)
submit_run POST /v1/runs Submit a question or a map analysis; stored as a run
get_job GET /v1/jobs/{job_id} State of a submitted run
get_run GET /v1/runs/{run_id} One stored run: answer, results, findings, versions and hashes
run_memo GET /v1/runs/{run_id}/memo The run as a memo (HTML, PDF or JSON)
review_run POST /v1/runs/{run_id}/reviews Accept, correct or reject a stored run (append-only; the run never changes)
list_reviews GET /v1/runs/{run_id}/reviews Reviews of a run, oldest first
get_investigation GET /v1/investigations/{investigation_id} An investigation and its runs
run_export GET /v1/runs/{run_id}/export The run's area and parcels (GeoJSON, KML) or its underwriting workbook (xlsx)
parcel_export GET /v1/parcels/{ref}/export One parcel's outline with its report's headline values (GeoJSON, KML)
investigation_publish POST /v1/investigations/{investigation_id}/publish Publish the investigation to Notion or SharePoint (updated in place on republish)
investigation_memo GET /v1/investigations/{investigation_id}/memo The whole investigation as one memo
list_keys GET /v1/keys The tenant's API keys (admin)
create_key POST /v1/keys Create a key for the tenant (admin); the token is shown once
revoke_key POST /v1/keys/{key_id}/revoke Revoke one of the tenant's keys (admin)
usage GET /v1/usage Requests and runs per day and key (admin)
list_monitors GET /v1/monitors The tenant's monitors and monitor groups
create_monitor POST /v1/monitors Watch a parcel or an area; a crossed threshold sends a signed monitor.changed webhook
get_branding GET /v1/branding The tenant's report branding
put_branding PUT /v1/branding Set the tenant's report branding: name, logo, footer, accent colour (admin)
create_report POST /v1/reports A branded PDF for a parcel or a completed portfolio, behind a link that expires
report_pdf GET /v1/reports/{report_id}/pdf Download a report through its link (no key; 410 once expired)
property_search POST /v1/search Find properties by recorded attributes: inspections, declared systems, fire and by-law records, year built, units
list_searches GET /v1/searches The tenant's saved searches
save_search POST /v1/searches Save a search (a custom screen) for the tenant
delete_search DELETE /v1/searches/{search_id} Delete a saved search
list_portfolios GET /v1/portfolios The tenant's portfolios, newest first
create_portfolio POST /v1/portfolios Upload up to 5,000 addresses or parcel ids; each is resolved (never guessed) and analysed in the background
get_portfolio GET /v1/portfolios/{portfolio_id} A portfolio's status and resolution summary
portfolio_results GET /v1/portfolios/{portfolio_id}/results Rows with their resolution and analyses (JSON, CSV, GeoJSON or xlsx); internal-only figures withheld
get_monitor GET /v1/monitors/{monitor_id} One monitor (or area group) with its recent checks
stop_monitor DELETE /v1/monitors/{monitor_id} Stop a monitor (or every monitor of an area group)
list_webhooks GET /v1/webhooks The tenant's webhook endpoints (admin)
create_webhook POST /v1/webhooks Register an endpoint (admin); its signing secret is shown once
test_webhook POST /v1/webhooks/{endpoint_id}/test Queue a signed test event (type webhook.test) to one endpoint (admin)
disable_webhook POST /v1/webhooks/{endpoint_id}/disable Stop sending to an endpoint (admin)
list_deliveries GET /v1/webhooks/{endpoint_id}/deliveries Recent deliveries to an endpoint (admin)
Generated from the API contract on 2026-12-06