---
title: "get capture configs for a script or flow"
method: GET
path: "/w/{workspace}/capture/get_configs/{runnable_kind}/{path}"
tags: ["capture"]
---

# get capture configs for a script or flow

`GET /w/{workspace}/capture/get_configs/{runnable_kind}/{path}`

## Path parameters

- `workspace` string, required
- `runnable_kind` 'script' | 'flow', required
- `path` string, required

## Response `200`

capture configs for a script or flow

- CaptureConfig[]
  - `trigger_config` unknown
  - `trigger_kind` 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'amqp' | 'gcp' | 'azure' | 'email', required
  - `error` string
  - `last_server_ping` string, date-time

## Changes

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

- **2026-07-21** `f0a0103ed598` — 1 warning
  - added the new `amqp` enum value to the `items/trigger_kind` response property for the response status `200`

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/capture/get_configs/:runnable_kind/: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)
