---
title: "Fetches a specific automation workflow rule."
method: GET
path: "/rules/{ruleId}"
tags: ["Automation Workflow Rules"]
---

# Fetches a specific automation workflow rule.

`GET /rules/{ruleId}`

Fetches a specific automation workflow rule.

## Path parameters

- `ruleId` string, required

## Response `200`

- SingleRuleAutomationWorkflowResponse
  - `id` string, required
  - `status` string, required
  - `name` string, required
  - `date_created` string, required
  - `created_by_id` string, required
  - `date_modified` string, required
  - `edited_by_id` string
  - `date_removed` string
  - `triggers` string[]
  - `steps` AutomationWorkflowStep[]
    - `step_triggers` string[]
    - `actions` AutomationWorkflowStepActionBase[]
      - union
        - AutomationWorkflowStepActionAgent
          - `action_type` string, required
          - `data` StepActionAgentData, required
            - `agent_id` string, required
            - `run_name` string
          - `is_valid` boolean
        - AutomationWorkflowStepAddToCollectionAction
          - `action_type` string, required
          - `data` StepAddToCollectionActionData, required
            - `collection_id` string, required
          - `is_valid` boolean
    - `conditions` AndCondition[]
      - `and` LeafCondition[]
        - `condition_type` string, required
        - `expression` ExpressionCondition, required
          - `term` Term[]
            - union
              - …
          - `operator` string, required
        - `is_valid` boolean
  - `is_valid` boolean, required

## Other responses

- `400`
- `401`
- `404`

---

[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)
