---
agentTools:
  projectIndex: https://rachio.readme.io/llms.txt
---

# /valve/startWatering

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Smart Hose Timer",
    "version": "3.1.0"
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://cloud-rest.rach.io"
    }
  ],
  "paths": {
    "/valve/startWatering": {
      "put": {
        "tags": [
          "ValveService"
        ],
        "operationId": "ValveService_StartWatering",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartWateringRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartWateringResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "StartWateringRequest": {
        "type": "object",
        "properties": {
          "valveId": {
            "type": "string"
          },
          "durationSeconds": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "StartWateringResponse": {
        "type": "object",
        "properties": {}
      }
    }
  },
  "tags": [
    {
      "name": "ValveService"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 119,
      "2": 0,
      "3": 84,
      "4": 67,
      "5": 0,
      "6": 249,
      "7": 152,
      "8": 3,
      "9": 14,
      "10": 136,
      "11": 20
    }
  }
}
```