Cropwise
powered by syngenta

AGINSIGHTs SERVICES

How to Use Cropwise and Insights Engine API πŸŒΎπŸ”§

General Description

All Insights Engine (IE) model APIs are centralized into a single endpoint referred to as the "Computational Ag endpoint". This endpoint enables a unique user journey for authentication, payload formatting, and access to IE platform features, regardless of which model is used. The following guide provides an overview of the process for setting up your environment, generating necessary access tokens, and consuming the IE API.

Table of Contents

  1. Cropwise Base Setup
  2. Cropwise Access Token Generation
  3. Insights Engine Access Token Creation
  4. Consuming Insights Engine API

Cropwise Base Setup 🌱

Note: This step and Insights Engine Access Token Creation are interchangeable. You can choose authentication process as per your need.

This section covers the process of setting up the Cropwise Base/Farmsettings application and creating a client. It involves configuring the necessary settings and establishing a client account within the Cropwise ecosystem.

Cropwise Access Token Generation πŸ”‘

Here, we outline the procedure for generating a Cropwise access token. This token is essential for authenticating and accessing various Cropwise services and Insights Engine APIs.

Insights Engine Access Token Creation πŸ”‘

Note: This token is valid for 1 month

This section describes the process of creating a proprietary access token for the Insights Engine. This token has a validity period of one month and is crucial for accessing IE-specific features and APIs.

Consuming Insights Engine API πŸš€

In this final section, we explain how to use the generated token to consume the Insights Engine API. We focus on demonstrating API consumption using cURL commands, showing how to properly pass the token and make requests to the Computational Ag endpoint.