Kindwise Health Assessment API
The Health Assessment API from Kindwise — 1 operation(s) for health assessment.
The Health Assessment API from Kindwise — 1 operation(s) for health assessment.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/kindwise-com:kindwise-com-health-assessment-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Plant.id v3 Health Assessment API
description: 'Documentation for API v2 can be found here. Or see overview of changes between versions. Plant.id is a machine learning-based service to identify indoor plants, wildflowers, trees, grasses, and other plant species from images. Additionally, Plant.id can evaluate the health of plants and detect various diseases, vermins or pests. To use the API you need to get an API key. To use API from **python**, use SDK: kindwise API client. ### How to use this documentation
This is a description of an important part of the API. The specification of the endpoints is given below. In the right column, you can find example calls of these endpoints (on the right you can toggle between different examples). You can also open this documentation directly on postman, where you can see endpoints and examples, and you can also try it out (after providing your API key). More implementation examples can be found here. # Authentication
You should provide the `Api-Key` header with your API key. You can request it here. # Identification request
There are two methods to create a new identification:
1. using `application/json` request - all attributes including images are encoded in json body - see the example
2. using `multipart/form-data` request - attributes are sent in text fields; images are sent as files - see the example
Attributes:
- **`images`**
- `application/json`: a list of strings (required) with one or more images of the plant you want to identify of either:
- image(s) encoded as strings in Base64,
- public URL(s) of images
- `multipart/form-data` - all images in file fields (names of file fields are not important)
- `latitude` - float (optional) - geographic coordinate, increases the identification accuracy
- `longitude` - float (optional) - geographic coordinate, increases the identification accuracy
- `similar_images` - boolean (optional) - if `true`, the model also selects images similar to the provided images for each suggestion
- `custom_id` - int (optional) - a unique identifier, can be used to access the identification results
- `datetime` - str (optional) - to improve results, e.g. for images taken at different seasons, specify the date when the images were taken in ISO format with variable precision (e.g. `2023-06-22` for days or `2023-06-22T11:28` for minutes)
- `health` - str (optional)
- `only` - response contains only health assessment
- `auto` - the health assessment response is included only if a plant is labelled as diseased (`is_healthy=false`). The total credit depends on whether health assessment is returned (**2 credits**) or not (**1 credit**). - `all` - response contains both plant species classification and health assessment; for such identification, **2 credits** are charged (1 for taxa classification and 1 for health assessment)
- `suggestion_filter` - dict (optional) in format `{"classification": "FILTER_NAME (filter examples below)"}` - restricts the output of the model to specified list of classes (region or plant type) and adjusts the probabilities. The lists can be combined with logical operators and parentheses. The lists are available here. Examples:
- Vegetables - `{"classification": "vegetable"}`
- Houseplants and wild plants in Europe - `{"classification": "houseplant OR continent__europe"}`
- Trees in Europe and North America - `{"classification": "(continent__northern_america OR continent__europe) AND tree"}`
- `classification_level` - str (optional) - classification model can give plant identification at 3 levels of taxonomy: genus, species and infraspecies (includes cultivars, subspecies, varieties and trademarks). This attribute allows to adjust which type of taxon is presented in response.'
version: 1.0.0
contact: {}
servers:
- url: https://plant.id
security:
- apiKey: []
tags:
- name: Health Assessment
paths:
/api/v3/health_assessment:
post:
summary: Health assessment
description: 'Send images for health assessment. This endpoint is same as `/identification` with parameter `"health": "only"`.'
operationId: healthAssessment
parameters:
- name: language
in: query
schema:
type: string
example: en
description: two-letter [ISO 639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (optional, default `en`) - language of localized plant details can be multiple (up to 3), separated by comma - i.e. (`en,de,sv`)
- name: async
in: query
schema:
type: string
example: 'true'
description: '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'
- name: full_disease_list
in: query
schema:
type: string
example: 'true'
description: 'boolean (optional) - if `true`: list of suggested diseases contains also general diseases such as "Abiotic"'
- name: details
in: query
schema:
type: string
example: local_name,description,url,treatment,classification,common_names,cause
description: 'comma separetad list of requested disease details (optional)
see detail description above'
requestBody:
content:
application/json:
schema:
type: object
properties:
images:
type: array
items:
type: string
latitude:
type: number
longitude:
type: number
similar_images:
type: boolean
examples:
Health assessment:
value:
images:
- https://plant.id/static/oak.jpg
latitude: 49.207
longitude: 16.608
similar_images: true
responses:
'201':
description: Basic / All details
content:
application/json:
schema:
$ref: '#/components/schemas/Identification'
tags:
- Health Assessment
components:
schemas:
Identification:
type: object
properties:
access_token:
type: string
example: 404GtKcjq7BLtT7
completed:
type:
- number
- 'null'
example: 1690793121.504057
created:
type: number
example: 1690793121.072337
custom_id:
type:
- number
- 'null'
input:
$ref: '#/components/schemas/Input'
model_version:
type: string
example: insect_id:1.0.1
result:
$ref: '#/components/schemas/Result'
sla_compliant_client:
type: boolean
example: true
sla_compliant_system:
type: boolean
example: true
status:
type: string
example: COMPLETED
additionalProperties: false
Input:
type: object
properties:
datetime:
type: string
example: '2023-07-31T08:45:21.072337+00:00'
images:
type: array
items:
type: string
latitude:
type:
- number
- 'null'
example: 49.207
longitude:
type:
- number
- 'null'
example: 16.608
similar_images:
type: boolean
example: true
ValueWithCitation:
type:
- object
- 'null'
properties:
value:
type: string
citation:
type:
- string
- 'null'
license_name:
type: string
license_url:
type: string
additionalProperties: false
Suggestion:
type: object
properties:
id:
type: string
name:
type: string
probability:
type: number
similar_images:
$ref: '#/components/schemas/SimilarImages'
details:
anyOf:
- $ref: '#/components/schemas/Details'
- $ref: '#/components/schemas/DetailsMultipleLanguages'
additionalProperties: false
DiseaseDetails:
type: object
properties:
entity_id:
type: string
language:
type: string
local_name:
type: string
description:
type: string
url:
type:
- string
- 'null'
treatment:
type: object
properties:
chemical:
type: array
items:
type: string
biological:
type: array
items:
type: string
prevention:
type: array
items:
type: string
additionalProperties: false
classification:
type: array
items:
type: string
common_names:
type:
- array
- 'null'
items:
type: string
cause:
type:
- string
- 'null'
additionalProperties: false
Details:
type: object
properties:
entity_id:
type: string
language:
type: string
gbif_id:
type: number
inaturaarray_id:
type: number
rank:
type: string
taxonomy:
$ref: '#/components/schemas/Taxonomy'
common_names:
type:
- array
- 'null'
items:
type: string
description:
$ref: '#/components/schemas/ValueWithCitation'
image:
$ref: '#/components/schemas/ValueWithCitation'
images:
type: array
items:
$ref: '#/components/schemas/ValueWithCitation'
url:
type:
- string
- 'null'
additionalProperties: false
SimilarImages:
type: array
items:
type: object
properties:
id:
type: string
similarity:
type: number
url:
type: string
url_small:
type: string
citation:
type: string
license_name:
type: string
license_url:
type: string
additionalProperties: false
DiseaseSuggestion:
type: object
properties:
id:
type: string
name:
type: string
probability:
type: number
similar_images:
$ref: '#/components/schemas/SimilarImages'
details:
anyOf:
- $ref: '#/components/schemas/DiseaseDetails'
- $ref: '#/components/schemas/DetailsMultipleLanguages'
additionalProperties: false
Result:
type: object
properties:
is_plant:
type: object
properties:
probability:
type: number
threshold:
type: number
binary:
type: boolean
additionalProperties: false
classification:
type: object
properties:
suggestions:
type: array
items:
$ref: '#/components/schemas/Suggestion'
is_healthy:
type: object
properties:
probability:
type: number
threshold:
type: number
binary:
type: boolean
additionalProperties: false
disease:
type: object
properties:
suggestions:
type: array
items:
$ref: '#/components/schemas/DiseaseSuggestion'
additionalProperties: false
additionalProperties: false
DetailsMultipleLanguages:
type: object
Taxonomy:
type: object
properties:
kingdom:
type: string
phylum:
type: string
class:
type: string
order:
type: string
family:
type: string
genus:
type: string
additionalProperties: false
securitySchemes:
apiKey:
type: apiKey
name: Api-Key
in: header