---
title: "List Triggers"
method: GET
path: "/api/v1/triggers"
---

# List Triggers

`GET /api/v1/triggers`

## 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`
- Auth: none declared

The workspace's triggers, newest first; `source_id` keeps one
project's or monitor's, `target_id` those whose action runs a monitor.

## Query parameters

- `source_id` string, nullable
- `target_id` string, nullable

## Headers

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

## Response `200`

Successful Response

- TriggerList
  - `data` Trigger[], required
    - `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)
