Crop.health

Create identification

Send images for identification. See above for description of response and request body.

post/crop_health/identification

Request

  • Base URL: https://agents.kindwise.com
  • URL: https://agents.kindwise.com/crop_health/identification
  • Auth: none required

Query parameters

detailsstring
Example:type,common_names,eppo_code,wiki_url,taxonomy

comma separetad list of requested crop and disease details (optional) see detail description above

languagestring
Example:en

two-letter ISO 639-1 language code (optional, default en) - language of localized details can be multiple (up to 3), separated by comma - i.e. (en,de,sv)

asyncstring
Example:true

boolean (optional) - if true: request does not wait for identification to complete and response does not contain result section; result can be later retrieved by next endpoint

Request body

imagesstring[]
latitudenumber
longitudenumber
similar_imagesboolean

Response

Basic / All details / Multilingual details / With custom_id / With custom datetime / Async

access_tokenstring
completednumber nullable
creatednumber
custom_idnumber nullable
model_versionstring
sla_compliant_clientboolean
sla_compliant_systemboolean
statusstring

Example response

{
  "access_token": "itbYbNcT8Yyux1n",
  "completed": 1690793129.39961,
  "created": 1690793128.983404,
  "input": {
    "datetime": "2023-07-31T08:45:21.072337+00:00",
    "latitude": 49.207,
    "longitude": 16.608,
    "similar_images": true
  },
  "model_version": "crop_health:1.2.1",
  "result": {
    "is_plant": {
      "binary": true,
      "probability": 0.9985066,
      "threshold": 0.5
    },
    "crop": {
      "suggestions": [
        {
          "details": {
            "entity_id": "b9ec757fefb92520",
            "language": "en",
            "gbif_id": 3203716,
            "inaturalist_id": 123456,
            "rank": "species",
            "common_names": [
              "Late Blight Of Potato",
              "Potato Blight"
            ],
            "images": [
              {
                "value": "https://example.com/image1.jpg",
                "citation": "Example citation",
                "license_name": "CC BY 4.0",
                "license_url": "https://creativecommons.org/licenses/by/4.0/"
              }
            ],
            "url": "https://crop-disease-api.org/entity/b9ec757fefb92520",
            "synonyms": [
              "Phytophthora infestans",
              "Late potato blight"
            ],
            "eppo_code": "PHYTIN",
            "eppo_regulation_status": {
              "Mexico": "Quarantine pest",
              "Chile": "A1 list"
            },
            "severity": "This devastating plant disease poses a massive threat to crops...",
            "spreading": "Spreads via airborne spores and thrives in wet, cool conditions...",
            "symptoms": {
              "Wilting": "Despite adequate watering, plants may wilt...",
              "Rotting potatoes": "Infected potatoes show reddish-brown decay..."
            },
            "treatment": {
              "biological treatment": [
                "Use Trichoderma species to combat P. infestans",
                "Apply biofungicides like Bacillus subtilis"
              ],
              "chemical treatment": [
                "Use fungicides such as copper and chlorothalonil",
                "Apply systemic fungicides like Ridomil Gold"
              ],
              "prevention": [
                "Practice crop rotation with non-host crops",
                "Use certified disease-free seed tubers"
              ]
            },
            "type": "chromista",
            "wiki_url": "https://en.wikipedia.org/wiki/Phytophthora_infestans"
          }
        }
      ]
    },
    "disease": {
      "suggestions": [
        {
          "details": {
            "entity_id": "b9ec757fefb92520",
            "language": "en",
            "gbif_id": 3203716,
            "inaturalist_id": 123456,
            "rank": "species",
            "common_names": [
              "Late Blight Of Potato",
              "Potato Blight"
            ],
            "images": [
              {
                "value": "https://example.com/image1.jpg",
                "citation": "Example citation",
                "license_name": "CC BY 4.0",
                "license_url": "https://creativecommons.org/licenses/by/4.0/"
              }
            ],
            "url": "https://crop-disease-api.org/entity/b9ec757fefb92520",
            "synonyms": [
              "Phytophthora infestans",
              "Late potato blight"
            ],
            "eppo_code": "PHYTIN",
            "eppo_regulation_status": {
              "Mexico": "Quarantine pest",
              "Chile": "A1 list"
            },
            "severity": "This devastating plant disease poses a massive threat to crops...",
            "spreading": "Spreads via airborne spores and thrives in wet, cool conditions...",
            "symptoms": {
              "Wilting": "Despite adequate watering, plants may wilt...",
              "Rotting potatoes": "Infected potatoes show reddish-brown decay..."
            },
            "treatment": {
              "biological treatment": [
                "Use Trichoderma species to combat P. infestans",
                "Apply biofungicides like Bacillus subtilis"
              ],
              "chemical treatment": [
                "Use fungicides such as copper and chlorothalonil",
                "Apply systemic fungicides like Ridomil Gold"
              ],
              "prevention": [
                "Practice crop rotation with non-host crops",
                "Use certified disease-free seed tubers"
              ]
            },
            "type": "chromista",
            "wiki_url": "https://en.wikipedia.org/wiki/Phytophthora_infestans"
          }
        }
      ]
    }
  },
  "sla_compliant_client": true,
  "sla_compliant_system": true,
  "status": "COMPLETED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.