Path parameters

  • watch_idstring Required

    The watch identifier.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • statusobject Required
      Hide status attributes Show status attributes object
      • actionsobject Required
        Hide actions attribute Show actions attribute object
      • stateobject Required
        Hide state attributes Show state attributes object
        • activeboolean Required
        • timestampstring | number Required

          A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a number of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string representation.

          One of:

          Time unit for milliseconds

      • versionnumber Required
POST /_watcher/watch/{watch_id}/_activate
curl \
 --request POST 'http://api.example.com/_watcher/watch/{watch_id}/_activate' \
 --header "Authorization: $API_KEY"