> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sophiabarnes.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List all plants



## OpenAPI

````yaml /mintlify-demo/v1.0/api-reference/openapi.yaml get /plants
openapi: 3.0.3
info:
  title: Plant Care API
  version: 1.0.0
  description: A simple API for managing houseplants.
servers:
  - url: http://localhost:3000
security: []
paths:
  /plants:
    get:
      summary: List all plants
      operationId: listPlants
      parameters:
        - name: species
          in: query
          description: Filter plants by species name (partial match)
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A list of plants
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Plant'
components:
  schemas:
    Plant:
      type: object
      properties:
        id:
          type: integer
          example: 1
        name:
          type: string
          example: Monstera
        species:
          type: string
          example: Monstera deliciosa
        wateringFrequencyDays:
          type: integer
          example: 7

````