TerraSDK
Build on the habitat record.
Typed access to habitats, cycles, samples and predictions — the same APIs the platform runs on. Integrate a lab, feed an ERP, or build something we haven't thought of.
Request API KeysRead the Docs
// Pull a habitat and forecast its yieldimport { HiTerra } from '@hiterra/sdk'; const ht = new HiTerra({ key: process.env.HT_KEY }); const habitats = await ht.habitats.list({ farm: 'block-4a' });const forecast = await ht.ai.yieldForecast(habitats[0].id);// { tonnes: 18.6, confidence: 0.87, window: '30d' }
Habitat data API
Habitats, cycles, tasks and samples — REST + typed SDK, scoped by role.
Cycle event webhooks
Sowing, sampling, harvest and report events pushed to your systems as they happen.
Prediction endpoints
Yield forecasts, practice and soil predictions on your own habitat data.
Ready to integrate?
TerraSDK is in early access — tell us what you're building and we'll set you up with keys, docs and a sandbox.