Skip to main content
GET
Predicts the expected yield for a planned crop using a regression model trained on the farm’s historical harvested + failed crops (last 50). Returns the predicted yield in tons along with p5/p50/p95 confidence intervals and the historical sample size used.

Authentication

Requires a key with the analytics:read scope.

Path parameters

string
required
Farm UUID.

Query parameters

string
required
Crop name (e.g. wheat, date palm).
number
required
Positive number in the farm’s areaUnit.
string
Optional variety name (improves prediction accuracy when historical data exists for the same variety).
string
default:"year_round"
winter, summer, autumn, spring, year_round.
string
Optional field UUID. When provided, the model uses the field’s soil characteristics (overrides farm-level defaults).

Response

object

Errors

Notes

  • The model needs at least 3 historical harvested/failed crops of the same cropType for data-driven accuracy. Fewer historical crops drops the trustBadge to data-assisted or ai-generated.
  • See Trust badges for the integrity contract.