---
title: "list all paths in a workspace for client-side autocomplete"
method: GET
path: "/w/{workspace}/path_autocomplete/list_paths"
tags: ["path_autocomplete"]
---

# list all paths in a workspace for client-side autocomplete

`GET /w/{workspace}/path_autocomplete/list_paths`

Returns the flat list of all item paths visible to the caller across
scripts, flows, apps, raw apps, variables, and resources. Intended to
feed an entirely client-side path autocomplete UI: the frontend fetches
once (server caches per workspace for 60s) and performs all prefix/segment
computation locally. Capped at 20,000 paths (5,000 per table).

## Path parameters

- `workspace` string, required

## Query parameters

- `force` boolean

## Response `200`

deduplicated path list, sorted lexicographically

- object
  - `paths` string[], required

---

[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)
