---
title: "Get guard rule"
method: GET
path: "/api/e2/guard/{id}"
tags: ["Guard"]
---

# Get guard rule

`GET /api/e2/guard/{id}`

Get a specific guard rule by ID.

## Path parameters

- `id` string, required

## Response `200`

Response for status 200

- object
  - `id` string, required
  - `userId` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `type` string, required
  - `config` string, required
  - `isActive` boolean, nullable, required
  - `priority` number, nullable, required
  - `lastTriggeredAt` string, nullable, required
  - `triggerCount` number, nullable, required
  - `actions` string, nullable, required
  - `createdAt` string, nullable, required
  - `updatedAt` string, nullable, required

## Other responses

- `401` — Response for status 401
- `404` — Response for status 404
- `500` — Response for status 500

---

[API](https://skmtc.dev/stainless-api/apis/inbound-email-api.md) · [All operations](https://skmtc.dev/stainless-api/apis/inbound-email-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stainless-api/inbound-email-api/revisions/e279d3cb940b/schema)
