Developer documentation

Coordinate-based risk assessment.

A reference for the ClimatrixAI engine contract. The example uses a deployment-specific base URL and illustrative values.

Reference implementation

Request and response

The local reference engine accepts a POST to /v1/assess-risk with numeric latitude and longitude in decimal degrees. Use north and east as positive values.

Reference engine
POST /v1/assess-risk
curl --request POST "$CLIMATRIX_BASE_URL/v1/assess-risk" \
  --header "Content-Type: application/json" \
  --data '{"latitude": 6.52, "longitude": 3.38}'

Response fields

coordinates
The requested latitude and longitude, echoed for association with the input asset.
risk_profile
The predicted hazard flag, a model score and the assigned LOW, MEDIUM or HIGH risk tier.
telemetry_drivers
Precipitation, soil moisture and modelled river discharge used by the reference engine. Confirm units and upstream availability for your environment.
performance_metrics
Request timing from the reference engine. Actual latency depends on the deployment and source requests.

The reference implementation can substitute defaults when upstream observations are unavailable. Verify freshness and missing-data behaviour during integration testing.

Authentication and access

Request an integration discussion to confirm an approved base URL, credential mechanism, rate limits, permitted uses and support. Keep credentials on your server and pass only the fields your client needs. The sample shows the reference request body. Add the authentication specified for your environment.

Prepare your first integration

  1. Choose a representative coordinate and record its source.
  2. Confirm coverage, update cadence, access terms and authentication with the team.
  3. Test success, missing observations and error responses in the agreed environment.
  4. Validate risk interpretation with the operational owner before rollout.
Request API access