---
type: api
title: Run a watch
description: **All methods and paths for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/operation/operation-watcher-execute-watch
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/operation/operation-watcher-execute-watch
products:
  - Elasticsearch
---

# Run a watch


Availability:

## Paths

- `POST` (also `PUT`) `/_watcher/watch/{id}/_execute`
- `POST` (also `PUT`) `/_watcher/watch/_execute`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#basicauth)
- [Bearer auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/authentication#bearerauth)

#### Path Parameters

- `id` (string Id) — optional, leave it out to use `/_watcher/watch/_execute`
  The watch identifier.

## Description

This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.

For testing and debugging purposes, you also have fine-grained control on how the watch runs.
You can run the watch without running all of its actions or alternatively by simulating them.
You can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after it runs.

You can use the run watch API to run watches that are not yet registered by specifying the watch definition inline.
This serves as great tool for testing and debugging your watches prior to adding them to Watcher.

When Elasticsearch security features are enabled on your cluster, watches are run with the privileges of the user that stored the watches.
If your user is allowed to read index `a`, but not index `b`, then the exact same set of rules will apply during execution of a watch.

When using the run watch API, the authorization data of the user that called the API will be used as a base, instead of the information who stored the watch.

## Required authorization

* Cluster privileges: `manage_watcher`

## Query String Parameters

- `debug` (boolean · default: false)
  Defines whether the watch runs in debug mode.

## Request Body

`application/json`

- `action_modes` (map string to ActionExecutionMode) — optional
  Determines how to handle the watch actions as part of the watch execution.
- `alternative_input` (map string to object) — optional
  When present, the watch uses this object as a payload instead of executing its own input.
- `ignore_condition` (boolean · default: false) — optional
  When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.
- `record_execution` (boolean · default: false) — optional
  When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time.
In addition, the status of the watch is updated, possibly throttling subsequent runs.
This can also be specified as an HTTP parameter.
- `simulated_actions` ({} SimulatedActions) — optional
  - `actions` ([] string) — required
  - `all` ({} SimulatedActions) — required — recursive
    Same fields as `simulated_actions`
  - `use_all` (boolean) — required
- `trigger_data` ({} ScheduleTriggerEvent) — optional
  This structure is parsed as the data of the trigger event that will be used during the watch execution.
  - `scheduled_time` (DateTime) — required
  - `triggered_time` (DateTime) — optional
- `watch` ({} Watch · default: null) — optional
  When present, this watch is used instead of the one specified in the request.
This watch is not persisted to the index and `record_execution` cannot be set.
  - `actions` (map string to Action) — required
    Map values ({} Action)
    - `action_type` (enum ActionType) — optional
      Values: `email`, `webhook`, `index`, `logging`, `slack`, `pagerduty`
    - `condition` ({} ConditionContainer) — optional
      - `always` (AlwaysCondition) — optional
      - `array_compare` (map string to ArrayCompareCondition) — optional
        Map values ({} ArrayCompareCondition)
        - `path` (string) — required
      - `compare` (map string to string to FieldValue) — optional
      - `never` (NeverCondition) — optional
      - `script` ({} ScriptCondition) — optional
        - `lang` (string · default: painless) — optional
        - `params` (map string to object) — optional
        - `source` (string) — optional
        - `id` (string) — optional
    - `foreach` (string) — optional
    - `max_iterations` (number) — optional
    - `name` (string Name) — optional
    - `throttle_period` (string Duration) — optional
    - `throttle_period_in_millis` (DurationValueUnitMillis) — optional
    - `transform` ({} TransformContainer) — optional
      - `chain` ([] TransformContainer) — optional — recursive
        Same fields as `transform` in `actions`
      - `script` ({} ScriptTransform) — optional
        - `lang` (string · default: painless) — optional
        - `params` (map string to object) — optional
        - `source` (string) — optional
        - `id` (string) — optional
      - `search` ({} SearchTransform) — optional
        - `request` ({} SearchInputRequestDefinition) — required
          - `body` ({} SearchInputRequestBody) — optional
            - `query` ({} QueryContainer) — required
              See [QueryContainer](https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v8/types/_types-query_dsl-querycontainer)
          - `indices` ([] string IndexName) — optional
          - `indices_options` ({} IndicesOptions) — optional
            - `allow_no_indices` (boolean) — optional
              If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only
missing or closed indices. This behavior applies even if the request targets other open indices. For example,
a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
            - `expand_wildcards` (string ExpandWildcards) — optional
              Type of index that wildcard patterns can match. If the request can target data streams, this argument
determines whether wildcard expressions match hidden data streams. Supports comma-separated values,
such as `open,hidden`.

Supported values include:
  - `all`: Match any data stream or index, including hidden ones.
  - `open`: Match open, non-hidden indices. Also matches any non-hidden data stream.
  - `closed`: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.
  - `hidden`: Match hidden data streams and hidden indices. Must be combined with `open`, `closed`, or `both`.
  - `none`: Wildcard expressions are not accepted.
              Values: `all`, `open`, `closed`, `hidden`, `none`
            - `ignore_unavailable` (boolean · default: false) — optional
              If true, missing or closed indices are not included in the response.
            - `ignore_throttled` (boolean · default: true) — optional
              If true, concrete, expanded or aliased indices are ignored when frozen.
          - `search_type` (enum SearchType) — optional
            

Supported values include:
  - `query_then_fetch`: Documents are scored using local term and document frequencies for the shard. This is usually faster but less accurate.
  - `dfs_query_then_fetch`: Documents are scored using global term and document frequencies across all shards. This is usually slower but more accurate.
            Values: `query_then_fetch`, `dfs_query_then_fetch`
          - `template` ({} SearchTemplateRequestBody) — optional
            - `explain` (boolean · default: false) — optional
            - `id` (string Id) — optional
              ID of the search template to use. If no source is specified,
this parameter is required.
            - `params` (map string to object) — optional
            - `profile` (boolean · default: false) — optional
            - `source` (string) — optional
              An inline search template. Supports the same parameters as the search API's
request body. Also supports Mustache variables. If no id is specified, this
parameter is required.
          - `rest_total_hits_as_int` (boolean) — optional
        - `timeout` (string Duration) — required
    - `index` ({} IndexAction) — optional
      - `index` (string IndexName) — required
      - `doc_id` (string Id) — optional
      - `refresh` (enum Refresh) — optional
        Values: `true`, `false`, `wait_for`
      - `op_type` (enum OpType · default: index) — optional
        

Supported values include:
  - `index`: Overwrite any documents that already exist.
  - `create`: Only index documents that do not already exist.
        Values: `index`, `create`
      - `timeout` (string Duration · default: 60s) — optional
      - `execution_time_field` (string Field) — optional
    - `logging` ({} LoggingAction) — optional
      - `level` (string) — optional
      - `text` (string) — required
      - `category` (string) — optional
    - `email` ({} EmailAction) — optional
      - `id` (string Id) — optional
      - `bcc` (union string | [] string) — optional
      - `body` ({} EmailBody) — optional
        - `html` (string) — optional
        - `text` (string) — optional
      - `cc` (union string | [] string) — optional
      - `from` (string) — optional
      - `priority` (enum EmailPriority) — optional
        Values: `lowest`, `low`, `normal`, `high`, `highest`
      - `reply_to` (union string | [] string) — optional
      - `sent_date` (DateTime) — optional
      - `subject` (string) — required
      - `to` (union string | [] string) — required
      - `attachments` (map string to EmailAttachmentContainer) — optional
        Map values ({} EmailAttachmentContainer)
        - `http` ({} HttpEmailAttachment) — optional
          - `content_type` (string) — optional
          - `inline` (boolean) — optional
          - `request` ({} HttpInputRequestDefinition) — optional
            - `auth` ({} HttpInputAuthentication) — optional
              - `basic` ({} HttpInputBasicAuthentication) — required
                - `password` (string) — required
                - `username` (string) — required
            - `body` (string) — optional
            - `connection_timeout` (string Duration) — optional
            - `headers` (map string to string) — optional
            - `host` (string) — optional
            - `method` (enum HttpInputMethod) — optional
              Values: `head`, `get`, `post`, `put`, `delete`
            - `params` (map string to string) — optional
            - `path` (string) — optional
            - `port` (number uint) — optional
            - `proxy` ({} HttpInputProxy) — optional
              - `host` (string) — required
              - `port` (number uint) — required
            - `read_timeout` (string Duration) — optional
            - `scheme` (enum ConnectionScheme) — optional
              Values: `http`, `https`
            - `url` (string) — optional
        - `reporting` ({} ReportingEmailAttachment) — optional
          - `url` (string) — required
          - `inline` (boolean) — optional
          - `retries` (number · default: 40) — optional
          - `interval` (string Duration · default: 15s) — optional
          - `request` ({} HttpInputRequestDefinition) — optional
            Same fields as `request` in `http`
        - `data` ({} DataEmailAttachment) — optional
          - `format` (enum DataAttachmentFormat) — optional
            Values: `json`, `yaml`
    - `pagerduty` ({} PagerDutyAction) — optional
      - `account` (string) — optional
      - `attach_payload` (boolean) — required
      - `client` (string) — optional
      - `client_url` (string) — optional
      - `contexts` ([] PagerDutyContext) — optional
        - `href` (string) — optional
        - `src` (string) — optional
        - `type` (enum PagerDutyContextType) — required
          Values: `link`, `image`
      - `description` (string) — required
      - `event_type` (enum PagerDutyEventType · default: trigger) — optional
        Values: `trigger`, `resolve`, `acknowledge`
      - `incident_key` (string) — required
      - `proxy` ({} PagerDutyEventProxy) — optional
        - `host` (string) — optional
        - `port` (number) — optional
    - `slack` ({} SlackAction) — optional
      - `account` (string) — optional
      - `message` ({} SlackMessage) — required
        - `attachments` ([] SlackAttachment) — required
          - `author_icon` (string) — optional
          - `author_link` (string) — optional
          - `author_name` (string) — required
          - `color` (string) — optional
          - `fallback` (string) — optional
          - `fields` ([] SlackAttachmentField) — optional
            - `short` (boolean) — required
            - `title` (string) — required
            - `value` (string) — required
          - `footer` (string) — optional
          - `footer_icon` (string) — optional
          - `image_url` (string) — optional
          - `pretext` (string) — optional
          - `text` (string) — optional
          - `thumb_url` (string) — optional
          - `title` (string) — required
          - `title_link` (string) — optional
          - `ts` (EpochTimeUnitSeconds) — optional
        - `dynamic_attachments` ({} SlackDynamicAttachment) — optional
          - `attachment_template` ({} SlackAttachment) — required
            Same fields as `attachments` in `message`
          - `list_path` (string) — required
        - `from` (string) — required
        - `icon` (string) — optional
        - `text` (string) — required
        - `to` ([] string) — required
    - `webhook` ({} WebhookAction) — optional
      - `auth` ({} HttpInputAuthentication) — optional
        - `basic` ({} HttpInputBasicAuthentication) — required
          - `password` (string) — required
          - `username` (string) — required
      - `body` (string) — optional
      - `connection_timeout` (string Duration) — optional
      - `headers` (map string to string) — optional
      - `host` (string) — optional
      - `method` (enum HttpInputMethod) — optional
        Values: `head`, `get`, `post`, `put`, `delete`
      - `params` (map string to string) — optional
      - `path` (string) — optional
      - `port` (number uint) — optional
      - `proxy` ({} HttpInputProxy) — optional
        - `host` (string) — required
        - `port` (number uint) — required
      - `read_timeout` (string Duration) — optional
      - `scheme` (enum ConnectionScheme) — optional
        Values: `http`, `https`
      - `url` (string) — optional
  - `condition` ({} ConditionContainer) — required
    Same fields as `condition` in `actions`
  - `input` ({} InputContainer) — required
    - `chain` ({} ChainInput) — optional
      - `inputs` ([] string to InputContainer) — required — recursive
        Same fields as `input` in `watch`
    - `http` ({} HttpInput) — optional
      - `extract` ([] string) — optional
      - `request` ({} HttpInputRequestDefinition) — optional
        Same fields as `request` in `http`
      - `response_content_type` (enum ResponseContentType) — optional
        Values: `json`, `yaml`, `text`
    - `search` ({} SearchInput) — optional
      - `extract` ([] string) — optional
      - `request` ({} SearchInputRequestDefinition) — required
        Same fields as `request` in `search`
      - `timeout` (string Duration) — optional
    - `simple` (map string to object) — optional
  - `metadata` (Metadata) — optional
  - `status` ({} WatchStatus) — optional
    - `actions` (Actions) — required
    - `last_checked` (DateTime) — optional
    - `last_met_condition` (DateTime) — optional
    - `state` ({} ActivationState) — required
      - `active` (boolean) — required
      - `timestamp` (DateTime) — required
    - `version` (number VersionNumber) — required
    - `execution_state` (string) — optional
  - `throttle_period` (string Duration) — optional
  - `throttle_period_in_millis` (DurationValueUnitMillis) — optional
  - `transform` ({} TransformContainer) — optional
    Same fields as `transform` in `actions`
  - `trigger` ({} TriggerContainer) — required
    - `schedule` ({} ScheduleContainer) — optional
      - `timezone` (string) — optional
      - `cron` (string) — optional
      - `daily` ({} DailySchedule) — optional
        - `at` ([] union ScheduleTimeOfDay) — required
          - **string**
          - **HourAndMinute**
            - `hour` ([] number) — required
            - `minute` ([] number) — required
      - `hourly` ({} HourlySchedule) — optional
        - `minute` ([] number) — required
      - `interval` (string Duration) — optional
      - `monthly` (union oneOf) — optional
        `TimeOfMonth` or `TimeOfMonth[]`
        - `at` ([] string) — required
        - `on` ([] number) — required
      - `weekly` (union oneOf) — optional
        `TimeOfWeek` or `TimeOfWeek[]`
        - `at` ([] string) — required
        - `on` ([] enum Day) — required
          Values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`
      - `yearly` (union oneOf) — optional
        `TimeOfYear` or `TimeOfYear[]`
        - `at` ([] string) — required
        - `int` ([] enum Month) — required
          Values: `january`, `february`, `march`, `april`, `may`, `june`, `july`, `august`, `september`, `october`, `november`, `december`
        - `on` ([] number) — required

## Response

`application/json`

- `_id` (string Id)
  The watch record identifier as it would be stored in the `.watcher-history` index.
- `watch_record` ({} WatchRecord)
  The watch record document as it would be stored in the `.watcher-history` index.
  - `condition` ({} ConditionContainer)
    Same fields as `condition` in `actions`
  - `input` ({} InputContainer)
    Same fields as `input` in `watch`
  - `messages` ([] string)
  - `metadata` (Metadata)
  - `node` (string)
  - `result` ({} ExecutionResult)
    - `actions` ([] ExecutionResultAction)
      - `email` ({} EmailResult)
        - `account` (string)
        - `message` ({} Email)
          - `id` (string Id)
          - `bcc` (union string | [] string)
          - `body` ({} EmailBody)
            - `html` (string)
            - `text` (string)
          - `cc` (union string | [] string)
          - `from` (string)
          - `priority` (enum EmailPriority)
            Values: `lowest`, `low`, `normal`, `high`, `highest`
          - `reply_to` (union string | [] string)
          - `sent_date` (DateTime)
          - `subject` (string)
          - `to` (union string | [] string)
          - `attachments` (map string to EmailAttachmentContainer)
            Map values ({} EmailAttachmentContainer)
            - `http` ({} HttpEmailAttachment)
              Same fields as `http` in `attachments`
            - `reporting` ({} ReportingEmailAttachment)
              - `url` (string)
              - `inline` (boolean)
              - `retries` (number · default: 40)
              - `interval` (string Duration · default: 15s)
              - `request` ({} HttpInputRequestDefinition)
                Same fields as `request` in `http`
            - `data` ({} DataEmailAttachment)
              - `format` (enum DataAttachmentFormat)
                Values: `json`, `yaml`
        - `reason` (string)
      - `id` (string Id)
      - `index` ({} IndexResult)
        - `response` ({} IndexResultSummary)
          - `created` (boolean)
          - `id` (string Id)
          - `index` (string IndexName)
          - `result` (enum Result)
            Values: `created`, `updated`, `deleted`, `not_found`, `noop`
          - `version` (number VersionNumber)
      - `logging` ({} LoggingResult)
        - `logged_text` (string)
      - `pagerduty` ({} PagerDutyResult)
        - `event` ({} PagerDutyEvent)
          - `account` (string)
          - `attach_payload` (boolean)
          - `client` (string)
          - `client_url` (string)
          - `contexts` ([] PagerDutyContext)
            - `href` (string)
            - `src` (string)
            - `type` (enum PagerDutyContextType)
              Values: `link`, `image`
          - `description` (string)
          - `event_type` (enum PagerDutyEventType · default: trigger)
            Values: `trigger`, `resolve`, `acknowledge`
          - `incident_key` (string)
          - `proxy` ({} PagerDutyEventProxy)
            - `host` (string)
            - `port` (number)
        - `reason` (string)
        - `request` ({} HttpInputRequestResult)
          - `auth` ({} HttpInputAuthentication)
            - `basic` ({} HttpInputBasicAuthentication)
              - `password` (string)
              - `username` (string)
          - `body` (string)
          - `connection_timeout` (string Duration)
          - `headers` (map string to string)
          - `host` (string)
          - `method` (enum HttpInputMethod)
            Values: `head`, `get`, `post`, `put`, `delete`
          - `params` (map string to string)
          - `path` (string)
          - `port` (number uint)
          - `proxy` ({} HttpInputProxy)
            - `host` (string)
            - `port` (number uint)
          - `read_timeout` (string Duration)
          - `scheme` (enum ConnectionScheme)
            Values: `http`, `https`
          - `url` (string)
        - `response` ({} HttpInputResponseResult)
          - `body` (string)
          - `headers` (HttpHeaders)
          - `status` (number)
      - `reason` (string)
      - `slack` ({} SlackResult)
        - `account` (string)
        - `message` ({} SlackMessage)
          Same fields as `message` in `slack`
      - `status` (enum ActionStatusOptions)
        Values: `success`, `failure`, `simulated`, `throttled`
      - `type` (enum ActionType)
        Values: `email`, `webhook`, `index`, `logging`, `slack`, `pagerduty`
      - `webhook` ({} WebhookResult)
        - `request` ({} HttpInputRequestResult)
          Same fields as `request` in `pagerduty`
        - `response` ({} HttpInputResponseResult)
          - `body` (string)
          - `headers` (HttpHeaders)
          - `status` (number)
      - `error` ({} ErrorCause)
        - `type` (string)
          The type of error
        - `reason` (union string) — nullable
          A human-readable explanation of the error, in English.
          One of: `string`
        - `stack_trace` (string)
          The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.
        - `caused_by` ({} ErrorCause) — recursive
          Same fields as `error` in `actions`
        - `root_cause` ([] ErrorCause) — recursive
          Same fields as `error` in `actions`
        - `suppressed` ([] ErrorCause) — recursive
          Same fields as `error` in `actions`
    - `condition` ({} ExecutionResultCondition)
      - `met` (boolean)
      - `status` (enum ActionStatusOptions)
        Values: `success`, `failure`, `simulated`, `throttled`
      - `type` (enum ConditionType)
        Values: `always`, `never`, `script`, `compare`, `array_compare`
    - `execution_duration` (DurationValueUnitMillis)
    - `execution_time` (DateTime)
    - `input` ({} ExecutionResultInput)
      - `payload` (map string to object)
      - `status` (enum ActionStatusOptions)
        Values: `success`, `failure`, `simulated`, `throttled`
      - `type` (enum InputType)
        Values: `http`, `search`, `simple`
  - `state` (enum ExecutionStatus)
    Values: `awaits_execution`, `checking`, `execution_not_needed`, `throttled`, `executed`, `failed`, `deleted_while_queued`, `not_executed_already_queued`
  - `trigger_event` ({} TriggerEventResult)
    - `manual` ({} TriggerEventContainer)
      - `schedule` ({} ScheduleTriggerEvent)
        - `scheduled_time` (DateTime)
        - `triggered_time` (DateTime)
    - `triggered_time` (DateTime)
    - `type` (string)
  - `user` (string)
  - `watch_id` (string Id)
  - `status` ({} WatchStatus)
    - `actions` (Actions)
    - `last_checked` (DateTime)
    - `last_met_condition` (DateTime)
    - `state` ({} ActivationState)
      - `active` (boolean)
      - `timestamp` (DateTime)
    - `version` (number VersionNumber)
    - `execution_state` (string)
## Code Examples

#### Console

```console
POST _watcher/watch/my_watch/_execute
{
  "trigger_data" : { 
    "triggered_time" : "now",
    "scheduled_time" : "now"
  },
  "alternative_input" : { 
    "foo" : "bar"
  },
  "ignore_condition" : true, 
  "action_modes" : {
    "my-action" : "force_simulate" 
  },
  "record_execution" : true 
}
```

#### JavaScript

```javascript
const response = await client.watcher.executeWatch({
  id: "my_watch",
  trigger_data: {
    triggered_time: "now",
    scheduled_time: "now",
  },
  alternative_input: {
    foo: "bar",
  },
  ignore_condition: true,
  action_modes: {
    "my-action": "force_simulate",
  },
  record_execution: true,
});
```

#### Python

```python
resp = client.watcher.execute_watch(
    id="my_watch",
    trigger_data={
        "triggered_time": "now",
        "scheduled_time": "now"
    },
    alternative_input={
        "foo": "bar"
    },
    ignore_condition=True,
    action_modes={
        "my-action": "force_simulate"
    },
    record_execution=True,
)
```

#### curl

```curl
curl -X POST "$ELASTICSEARCH_URL/_watcher/watch/my_watch/_execute" \
  -H "Authorization: ApiKey $ELASTIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "trigger_data": {
      "triggered_time": "now",
      "scheduled_time": "now"
    },
    "alternative_input": {
      "foo": "bar"
    },
    "ignore_condition": true,
    "action_modes": {
      "my-action": "force_simulate"
    },
    "record_execution": true
  }'
```

#### Java

```java
client.watcher().executeWatch(e -> e
    .actionModes("my-action", ActionExecutionMode.ForceSimulate)
    .alternativeInput("foo", JsonData.fromJson("\"bar\""))
    .id("my_watch")
    .ignoreCondition(true)
    .recordExecution(true)
    .triggerData(t -> t
        .scheduledTime(DateTime.of("now"))
        .triggeredTime(DateTime.of("now"))
    )
);
```

#### PHP

```php
$resp = $client->watcher()->executeWatch([
    "id" => "my_watch",
    "body" => [
        "trigger_data" => [
            "triggered_time" => "now",
            "scheduled_time" => "now",
        ],
        "alternative_input" => [
            "foo" => "bar",
        ],
        "ignore_condition" => true,
        "action_modes" => [
            "my-action" => "force_simulate",
        ],
        "record_execution" => true,
    ],
]);
```

#### Ruby

```ruby
response = client.watcher.execute_watch(
  id: "my_watch",
  body: {
    "trigger_data": {
      "triggered_time": "now",
      "scheduled_time": "now"
    },
    "alternative_input": {
      "foo": "bar"
    },
    "ignore_condition": true,
    "action_modes": {
      "my-action": "force_simulate"
    },
    "record_execution": true
  }
)
```

## Response Examples

#### Watcher execute watch response example1

A successful response from `POST _watcher/watch/my_watch/_execute`.

```json
{
  "_id": "my_watch_0-2015-06-02T23:17:55.124Z", 
  "watch_record": { 
    "@timestamp": "2015-06-02T23:17:55.124Z",
    "watch_id": "my_watch",
    "node": "my_node",
    "messages": [],
    "trigger_event": {
      "type": "manual",
      "triggered_time": "2015-06-02T23:17:55.124Z",
      "manual": {
        "schedule": {
          "scheduled_time": "2015-06-02T23:17:55.124Z"
        }
      }
    },
    "state": "executed",
    "status": {
      "version": 1,
      "execution_state": "executed",
      "state": {
        "active": true,
        "timestamp": "2015-06-02T23:17:55.111Z"
      },
      "last_checked": "2015-06-02T23:17:55.124Z",
      "last_met_condition": "2015-06-02T23:17:55.124Z",
      "actions": {
        "test_index": {
          "ack": {
            "timestamp": "2015-06-02T23:17:55.124Z",
            "state": "ackable"
          },
          "last_execution": {
            "timestamp": "2015-06-02T23:17:55.124Z",
            "successful": true
          },
          "last_successful_execution": {
            "timestamp": "2015-06-02T23:17:55.124Z",
            "successful": true
          }
        }
      }
    },
    "input": {
      "simple": {
        "payload": {
          "send": "yes"
        }
      }
    },
    "condition": {
      "always": {}
    },
    "result": { 
      "execution_time": "2015-06-02T23:17:55.124Z",
      "execution_duration": 12608,
      "input": {
        "type": "simple",
        "payload": {
          "foo": "bar"
        },
        "status": "success"
      },
      "condition": {
        "type": "always",
        "met": true,
        "status": "success"
      },
      "actions": [
        {
          "id": "test_index",
          "index": {
            "response": {
              "index": "test",
              "version": 1,
              "created": true,
              "result": "created",
              "id": "AVSHKzPa9zx62AzUzFXY"
            }
          },
          "status": "success",
          "type": "index"
        }
      ]
    },
    "user": "test_admin" 
  }
}
```

