cURL
curl --request POST \ --url http://sandbox.mintlify.com/plants/search \ --header 'Content-Type: application/json' \ --header 'bearerAuth: Bearer <token>' \ --data '{ "namePattern": "Monstera", "tag": "tropical", "minSize": 50 }'
[ { "name": "Monstera Deliciosa", "tag": "<string>", "related_plants": [ { "name": "<string>" } ] } ]
Search for plants using flexible criteria. Results match any of the provided criteria.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Search criteria - matches plants meeting any of the conditions
Search criteria - plant must match at least one of the specified conditions
Pattern to match against plant names
"Monstera"
Tag to filter by
"tropical"
Minimum size in cm
50
Search results
The name of the plant
Pure-string tag to specify the type
Related plants
Show child attributes
Plant name