# PredictHQ

PredictHQ provides event intelligence, demand forecasting, and location analytics APIs for anticipating changes in demand.

Category: Data. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/predicthq/.

## Actions

- **Calculate Event Features** (read-only): Calculate one page of daily or weekly ML-ready event features for a required date range using either a Beam analysis or a manually…
- **Count Broadcasts** (read-only): Return the total number of PredictHQ broadcast records matching optional broadcast, schedule, date, viewership, location, and event…
- **Count Events** (read-only): Get aggregate event counts by category, label, rank level, and the same date, location, rank, attendance, spend, and event filters…
- **Create Beam Analysis**: Create a Beam analysis that correlates an owned location's events with uploaded demand data.
- **Create Beam Analysis Group**: Create a Beam analysis group that aggregates feature importance across compatible analyses.
- **Create Forecast Model**: Create a forecast model for a Saved Location.
- **Create Loop Link**: Create a hosted Loop link for end users to submit missing events or event feedback, and return both shareable URLs.
- **Create Saved Location**: Create a reusable PredictHQ Saved Location from an exact business point, a custom GeoJSON area, or Geonames place IDs.
- **Create Saved Location Closure**: Create a closure period for a PredictHQ Saved Location.
- **Create Saved Location Opening Hours**: Create opening hours for a Saved Location.
- **Delete Beam Analysis**: Soft-delete a Beam Analysis.
- **Delete Beam Analysis Group**: Delete an existing Beam Analysis Group without deleting the individual analyses in the group.
- **Delete Forecast Model**: Permanently deletes a forecast model and all associated demand data and forecasts.
- **Delete Loop Link**: Soft-delete a Loop link.
- **Delete Saved Location**: Permanently delete a Saved Location and all of its associated insights data.
- **Delete Saved Location Closure**: Delete a closure by ID from the specified PredictHQ Saved Location.
- **Delete Saved Location Opening Hours**: Delete an opening hours record by ID from the specified PredictHQ Saved Location.
- **Get Beam Analysis** (read-only): Return the full details of one Beam Analysis, including its location, demand type, rank, readiness status, and processing state.
- **Get Beam Analysis Feature Importance** (read-only): Return the Beam feature groups whose statistical significance indicates how strongly they affect an analysis's demand, including the…
- **Get Beam Analysis Group** (read-only): Return the full details of one Beam Analysis Group, including its member analyses, demand type, readiness status, and processing state.
- **Get Beam Analysis Group Feature Importance** (read-only): Return feature-importance results aggregated across the analyses in an existing Beam Analysis Group, including each feature group's…
- **Get Demand Surges** (read-only): Return dates with at least the requested demand-surge intensity for a required date and location, including summed predicted attendance.
- **Get Forecast Model** (read-only): Retrieves a forecast model by ID, including its readiness status, configuration, accuracy metrics, and location details.
- **Get Loop Link** (read-only): Return one Loop Link, including its status, metadata, expiry, and hosted event-submission and event-feedback URLs.
- **Get Loop Settings** (read-only): Return the organization name displayed in the hosted Loop interface.
- **Get Predicted Impact Area** (read-only): Calculate a polygonal or radial Predicted Impact Area for a business location and industry, returned as GeoJSON.
- **Get Saved Location** (read-only): Retrieve a Saved Location by ID, including its geometry, enrichment status, labels, resolved places, summary insights, opening hours, and…
- **Get Saved Location Closure** (read-only): Return a single closure by ID for the specified Saved Location.
- **Get Saved Location Opening Hours** (read-only): Return one opening hours record by its ID for a specified PredictHQ Saved Location.
- **List Beam Analyses** (read-only): Return one page of Beam Analyses, with filters for lifecycle state, readiness, groups, demand type, location, labels, update date, and name.
- **List Beam Analysis Correlation Results** (read-only): Return one page of results correlating PredictHQ event data with an analysis's transactional demand data for a required lower and upper…
- **List Beam Analysis Groups** (read-only): Return one page of Beam Analysis Groups, optionally filtered by update date, name, lifecycle state, readiness, demand interval, or industry.
- **List Forecast Algorithms** (read-only): Returns the list of available forecasting algorithms.
- **List Forecast Model Demand** (read-only): Return one page of demand data uploaded to a forecast model, optionally filtered by date, as JSON, CSV, or newline-delimited JSON.
- **List Forecast Models** (read-only): Return one page of forecast models belonging to the authenticated organization, optionally filtered by text, Saved Location, or readiness…
- **List Loop Event Submissions** (read-only): Return one page of Loop-submitted events matching link, event, user, review, state, category, location, and date filters.
- **List Loop Feedback Conversations** (read-only): Return one page of Loop feedback conversations matching record, link, user, feedback type, status, text, and date filters.
- **List Loop Links** (read-only): Return one page of hosted Loop links matching text, link, user, and sort filters.
- **List Model Forecast Results** (read-only): Return one page of generated forecast results for a trained model, optionally filtered by date and enriched with features or event…
- **List Place Hierarchies** (read-only): Return one page of administrative hierarchy chains resolved from either place IDs or coordinates.
- **List Saved Location Closures** (read-only): Return one page of closure records for a PredictHQ Saved Location, optionally filtered by the dates on which the records are active.
- **List Saved Location Insight Events** (read-only): Return one page of events that impact a specified PredictHQ Saved Location.
- **List Saved Location Opening Hours** (read-only): Return one page of opening-hours records for a Saved Location, optionally filtered by the dates on which the records are active.
- **List Saved Locations** (read-only): Search and return one page of Saved Locations, including reusable location IDs, geographic definitions, enrichment state, and summary…
- **Refresh Beam Analysis**: Rerun correlation and analysis processing for an existing Beam Analysis.
- **Refresh Beam Analysis Group**: Rerun aggregation for an existing Beam Analysis Group.
- **Replace Beam Analysis**: Fully replace an existing Beam analysis using PUT.
- **Replace Beam Analysis Group**: Fully replace an existing Beam analysis group using PUT.
- **Replace Forecast Model**: Fully replace an existing forecast model's mutable configuration.
- **Replace Loop Link**: Fully replace the mutable name, expiry, and metadata of an existing PredictHQ Loop Link using PUT.
- **Replace Saved Location**: Fully replace an existing PredictHQ Saved Location using PUT.
- **Replace Saved Location Opening Hours**: Fully replace one PredictHQ Saved Location opening-hours record.
- **Search Broadcasts** (read-only): Return one page of US county-level live-TV broadcast records matching event, geography, status, and date filters.
- **Search Events** (read-only): Search for events happening in a location and date range using PredictHQ's event, location, rank, label, attendance, spend, and lifecycle…
- **Search Places** (read-only): Return one page of places matching text, country, coordinates, place IDs, or administrative type filters.
- **Train Forecast Model**: Triggers asynchronous training for a forecast model that has uploaded demand data and is in an eligible readiness state.
- **Update Beam Analysis**: Partially update one or more fields on an existing Beam analysis without replacing fields that are omitted.
- **Update Beam Analysis Group**: Partially update an existing Beam analysis group using PATCH.
- **Update Forecast Model**: Partially update a forecast model.
- **Upload Beam Analysis Demand**: Upload daily or weekly demand data to an existing Beam analysis.
- **Upload Forecast Model Demand**: Upload historical demand data to an existing forecast model as typed JSON, CSV, or newline-delimited JSON.
- **Upsert Loop Settings**: Create or replace the organization-wide display name used by the hosted Loop interface.
