---
title: "Get Trigger"
method: GET
path: "/api/v1/triggers/{trigger_id}"
---

# Get Trigger

`GET /api/v1/triggers/{trigger_id}`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/triggers/{trigger_id}`
- Auth: none declared

## Path parameters

- `trigger_id` string, required

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Response `200`

Successful Response

- Trigger
  - `id` string, required
  - `name` string, required
  - `status` string, required
  - `source` object, required
  - `when` object, required
  - `action` object, required
  - `limits` object, required
  - `spentThisMonth` integer
  - `lastFiredAt` string, nullable
  - `lastFire` TriggerFire
    - `id` string, required
    - `at` string, nullable
    - `status` string, required
    - `reason` string
    - `sourceRunId` string, required
    - `matched` integer, required
    - `items` object[]
    - `action` string, required
    - `refKind` string, nullable
    - `refId` string, nullable
    - `credits` integer
  - `createdAt` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mesharc/apis/mesharc-api.md) · [All operations](https://skmtc.dev/mesharc/apis/mesharc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mesharc/apis/mesharc-api/revisions/d63cc02dfec2?raw)
