---
title: "AutomationRule show"
method: GET
path: "/api/v1/automations/{id}"
tags: ["automations"]
---

# AutomationRule show

`GET /api/v1/automations/{id}`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/automations/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Resposta implementada pelo controlador.

- object
  - `data` object
    - `versions` object[]
      - `id` integer
      - `version` integer
      - `active` boolean
      - `created_at` string, date-time, nullable
    - `id` integer
    - `name` unknown
    - `version` integer
    - `trigger_event` unknown
    - `conditions` unknown
    - `actions` union[]
      - union
        - object
          - `has_secret` boolean
        - unknown[]
          - unknown
    - `active` boolean
    - `created_by` unknown
    - `last_run_at` string, date-time, nullable
    - `last_status` unknown
    - `last_message` unknown
    - `created_at` string, date-time, nullable

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
