---
search:
  exclude: true
---

# <a id="bitdrift.public.unary.workflows.v1.ListWorkflowsResponse"></a>ListWorkflowsResponse

| Field | Type | Description |
|---|---|---|
| items | <span class="proto-type proto-type-message">repeated [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">ListWorkflowsResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Item</i>](#bitdrift.public.unary.workflows.v1.ListWorkflowsResponse.Item){ title="bitdrift.public.unary.workflows.v1.ListWorkflowsResponse.Item"}</span> | An array of workflow objects. See Workflow for details about the object. |
| total_workflows | <span class="proto-type proto-type-primitive">uint32</span> | The total number of workflows (regardless of pagination). |
| total_active_workflows | <span class="proto-type proto-type-primitive">uint32</span> | The total number of active workflows (regardless of pagination). |
| total_filtered_workflows | <span class="proto-type proto-type-primitive">uint32</span> | The total number of filtered workflows (regardless of pagination). |

#### Example
```json
{
  "items": [
    {
      "metadata": {
        "deployment_expiration": {
          "fixed_time": {
            "time": "3600s"
          }
        },
        "description": "Workflow description",
        "per_rule_metadata": [
          {
            "rule_id": "_i1yUnHjKfmWpCaD5Tazo",
            "title": "Rule title"
          }
        ]
      },
      "workflow": {
        "actions": [
          {
            "metric_chart_rule": {
              "time_series": [
                {
                  "aggregated_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
                  "rate": {
                    "denominator": {
                      "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                      "name": "field_name"
                    },
                    "denominator_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
                    "group_by": {
                      "values": [
                        {
                          "log_body": false
                        }
                      ]
                    },
                    "numerator": {
                      "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                      "name": "field_name"
                    },
                    "numerator_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc"
                  },
                  "track_unique": {
                    "device_id": true
                  }
                }
              ]
            },
            "rule_id": "_i1yUnHjKfmWpCaD5Tazo"
          }
        ],
        "created_at": "2024-01-15T09:30:00Z",
        "deployed_at": "2024-01-15T09:30:00Z",
        "deployment_expiration_time": "2024-01-15T09:30:00Z",
        "flows": [
          {
            "exclusive": {},
            "steps": [
              {
                "exit_conditions": [
                  {
                    "match_rule": {
                      "generic_match": {
                        "base_matcher": {
                          "log_field": "field_name",
                          "operator": "EQUAL",
                          "string_value": "example"
                        }
                      },
                      "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                      "sample_rate": 100
                    }
                  }
                ],
                "loop_match_id": "_i1yUnHjKfmWpCaD5Tazo",
                "match_rule": {
                  "generic_match": {
                    "base_matcher": {
                      "log_field": "field_name",
                      "operator": "EQUAL",
                      "string_value": "example"
                    }
                  },
                  "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                  "sample_rate": 100
                },
                "save_fields": [
                  {
                    "field_name": "",
                    "id": "",
                    "regex_capture": ""
                  }
                ]
              }
            ]
          }
        ],
        "group_by_fields": [
          "field_name"
        ],
        "id": "DFg5",
        "name": "Workflow name",
        "owner": {
          "email": "user@example.com",
          "id": "usr_abc123",
          "name": "Jane Doe"
        },
        "platform_targets": [
          {
            "apple": {
              "apps": [
                {
                  "app_id": "com.example.app"
                }
              ]
            }
          }
        ],
        "state": "LIVE",
        "updated_at": "2024-01-15T09:30:00Z"
      }
    }
  ],
  "total_active_workflows": 42,
  "total_filtered_workflows": 42,
  "total_workflows": 42
}
```

# <a id="bitdrift.public.unary.workflows.v1.ListWorkflowsResponse.Item"></a>ListWorkflowsResponse.Item

| Field | Type | Description |
|---|---|---|
| workflow | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">Workflow</i>](bitdrift_public_unary_workflows_v1_Workflow.md#bitdrift.public.unary.workflows.v1.Workflow){ title="bitdrift.public.unary.workflows.v1.Workflow"}</span> | The workflow returned for this list item. |
| metadata | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">WorkflowMetadata</i>](bitdrift_public_unary_workflows_v1_WorkflowMetadata.md#bitdrift.public.unary.workflows.v1.WorkflowMetadata){ title="bitdrift.public.unary.workflows.v1.WorkflowMetadata"}</span> |  |

#### Example
```json
{
  "metadata": {
    "deployment_expiration": {
      "fixed_time": {
        "time": "3600s"
      }
    },
    "description": "Workflow description",
    "per_rule_metadata": [
      {
        "rule_id": "_i1yUnHjKfmWpCaD5Tazo",
        "title": "Rule title"
      }
    ]
  },
  "workflow": {
    "actions": [
      {
        "metric_chart_rule": {
          "time_series": [
            {
              "aggregated_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
              "rate": {
                "denominator": {
                  "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                  "name": "field_name"
                },
                "denominator_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
                "group_by": {
                  "values": [
                    {
                      "log_body": false
                    }
                  ]
                },
                "numerator": {
                  "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                  "name": "field_name"
                },
                "numerator_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc"
              },
              "track_unique": {
                "device_id": true
              }
            }
          ]
        },
        "rule_id": "_i1yUnHjKfmWpCaD5Tazo"
      }
    ],
    "created_at": "2024-01-15T09:30:00Z",
    "deployed_at": "2024-01-15T09:30:00Z",
    "deployment_expiration_time": "2024-01-15T09:30:00Z",
    "flows": [
      {
        "exclusive": {},
        "steps": [
          {
            "exit_conditions": [
              {
                "match_rule": {
                  "generic_match": {
                    "base_matcher": {
                      "log_field": "field_name",
                      "operator": "EQUAL",
                      "string_value": "example"
                    }
                  },
                  "match_id": "_i1yUnHjKfmWpCaD5Tazo",
                  "sample_rate": 100
                }
              }
            ],
            "loop_match_id": "_i1yUnHjKfmWpCaD5Tazo",
            "match_rule": {
              "generic_match": {
                "base_matcher": {
                  "log_field": "field_name",
                  "operator": "EQUAL",
                  "string_value": "example"
                }
              },
              "match_id": "_i1yUnHjKfmWpCaD5Tazo",
              "sample_rate": 100
            },
            "save_fields": [
              {
                "field_name": "",
                "id": "",
                "regex_capture": ""
              }
            ]
          }
        ]
      }
    ],
    "group_by_fields": [
      "field_name"
    ],
    "id": "DFg5",
    "name": "Workflow name",
    "owner": {
      "email": "user@example.com",
      "id": "usr_abc123",
      "name": "Jane Doe"
    },
    "platform_targets": [
      {
        "apple": {
          "apps": [
            {
              "app_id": "com.example.app"
            }
          ]
        }
      }
    ],
    "state": "LIVE",
    "updated_at": "2024-01-15T09:30:00Z"
  }
}
```

