Skip to main content

API integration

Each deployed model is a REST call you put in an application, a website, a data pipeline, or an internal portal. Every call sends X-api-key and X-username. X-username is the username on the Heimdall account. ML, Forecast, Loop, and Resolve also send the id of that asset.

ProductHostExtra headerKey
MLhttps://predict.heimdallapp.org/predict/x-model-idModel page, shown once
Forecasthttps://predict.heimdallapp.org/forecast/x-forecast-idForecast page, shown once
Loop predicthttps://loop.heimdallapp.org/predict/x-loop-idLoop page, shown once
Loop trainhttps://loop.heimdallapp.org/train/x-loop-idSame loop key
Resolvehttps://predict.heimdallapp.org/resolve/X-resolve-idAPI tab → Enable API
Readhttps://read.heimdallapp.org/read/v1/api/processnoneAccount → API keys
Visionhttps://vision.heimdallapp.org/vision/v1/api/processnoneSame unstructured key

The API Integration tab on an ML, Forecast, or Loop page shows a sample with your username and that asset's id. Resolve uses the API tab. The sample is the contract. The guides below match it.