---
title: "get triggers count of script"
method: GET
path: "/w/{workspace}/scripts/get_triggers_count/{path}"
tags: ["script"]
---

# get triggers count of script

`GET /w/{workspace}/scripts/get_triggers_count/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Response `200`

triggers count

- TriggersCount
  - `primary_schedule` object
    - `schedule` string
  - `schedule_count` number
  - `http_routes_count` number
  - `webhook_count` number
  - `email_count` number
  - `default_email_count` number
  - `websocket_count` number
  - `postgres_count` number
  - `kafka_count` number
  - `nats_count` number
  - `mqtt_count` number
  - `amqp_count` number
  - `gcp_count` number
  - `azure_count` number
  - `sqs_count` number
  - `nextcloud_count` number
  - `google_count` number
  - `github_count` number

## Changes

> 176 revisions in range; 19 could not be searched.

- **2026-07-21** `f0a0103ed598` — 1 info
  - added the optional property `amqp_count` to the response with the `200` status

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/scripts/get_triggers_count/:path/get.md)

---

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