---
title: "List every workspace DuckDB macro (deployed `// macros` libraries)"
method: GET
path: "/w/{workspace}/assets/macros"
tags: ["asset"]
---

# List every workspace DuckDB macro (deployed `// macros` libraries)

`GET /w/{workspace}/assets/macros`

## Path parameters

- `workspace` string, required

## Response `200`

all registry macros, ordered by provider then name

- object[]
  - `name` string, required
  - `params` string, required — verbatim parameter list
  - `body` string, required — verbatim body after AS [TABLE]
  - `is_table` boolean, required
  - `provider_path` string, required — path of the `// macros` library script

## Changes

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

- **2026-07-02** `60b6c24f5797` — 1 info
  - endpoint added

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