---
title: "List all assets used by given usages paths"
method: POST
path: "/w/{workspace}/assets/list_by_usages"
tags: ["asset"]
---

# List all assets used by given usages paths

`POST /w/{workspace}/assets/list_by_usages`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `usages` object[], required
    - `path` string, required
    - `kind` 'script' | 'flow' | 'job', required

## Response `200`

all assets used by the given usage paths, in the same order

- array[]
  - object[]
    - `path` string, required
    - `kind` 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume' | 'dbt', required
    - `access_type` 'r' | 'w' | 'rw', nullable

## Changes

- **2026-08-01** `33c26da1e324` — 1 warning
  - added the new `dbt` enum value to the `items/items/kind` response property for the response status `200`

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