---
title: "Fetches all automation workflow rules."
method: GET
path: "/rules"
tags: ["Automation Workflow Rules"]
---

# Fetches all automation workflow rules.

`GET /rules`

Fetches all automation workflow rules within an account in descending order of creation, with optional pagination (start and limit).

## Query parameters

- `start` integer
- `limit` integer

## Response `200`

- ListAutomationWorkflowRulesResponse
  - `rules` AutomationWorkflowResponse[]
    - `id` string, required
    - `status` string, required
    - `name` string, required
    - `created_by_id` string, required
    - `date_created` string, required
    - `triggers` string[]
    - `steps` AutomationWorkflowStep[]
      - `step_triggers` string[]
      - `actions` AutomationWorkflowStepActionBase[]
        - union
          - AutomationWorkflowStepActionAgent
            - `action_type` string, required
            - `data` StepActionAgentData, required
              - …
            - `is_valid` boolean
          - AutomationWorkflowStepAddToCollectionAction
            - `action_type` string, required
            - `data` StepAddToCollectionActionData, required
              - …
            - `is_valid` boolean
      - `conditions` AndCondition[]
        - `and` LeafCondition[]
          - `condition_type` string, required
          - `expression` ExpressionCondition, required
            - `term` Term[]
              - …
            - `operator` string, required
          - `is_valid` boolean
    - `is_valid` boolean, required
  - `metadata` MetadataOutput, required
    - `previous_page` string
    - `next_page` string

## Other responses

- `400`
- `401`

---

[API](https://skmtc.net/bynder/apis/oauth-2-0.md) · [All operations](https://skmtc.net/bynder/apis/oauth-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bynder/oauth-2-0/revisions/bb9efc864ce1/schema)
