---
title: "List the organization's folders."
method: GET
path: "/v1/folders"
tags: ["folders"]
---

# List the organization's folders.

`GET /v1/folders`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/folders`
- Auth: one of:
  - API key in cookie `dvt_session`
  - HTTP bearer

The whole folder tree, flat (id + parentId, name-ordered) — clients assemble the
hierarchy. The `data` array is always present (never null).

Supports conditional GET (DVT-3724): a weak, content-derived `ETag` and
`Cache-Control: private, no-cache` (forces revalidation, never a shared
cache) on every 200. A matching `If-None-Match` gets a **304** instead, with
no body — the two headers are repeated on the 304 so a caller polling only
that response still learns the current tag and policy.

## Headers

- `If-None-Match` string

## Response `200`

All folders in the org.

- object
  - `data` Folder[], required
    - `id` string, uuid, required
    - `parentId` string, uuid, nullable, required: The parent folder, or null for a root-level folder.
    - `name` string, required
    - `icon` 'folder' | 'chart' | 'trend' | 'pie' | 'dollar' | 'wallet' | 'truck' | 'box' | 'warehouse' | 'pin' | 'globe' | 'users' | 'target' | 'flag' | 'star' | 'shield' | 'clipboard' | 'calendar' | 'clock' | 'bolt' | 'gear' | 'briefcase' | 'megaphone' | 'book', nullable: Nav icon key; null = the default folder glyph.
    - `tint` 'slate' | 'teal' | 'indigo' | 'sea' | 'navy' | 'periwinkle' | 'violet' | 'steel', nullable: Nav tint key; null = the default (slate).
    - `version` integer, required: Optimistic-concurrency version. Pass this back on PATCH.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `meta` Meta, required: Response metadata.
    - `requestId` string, required: Correlates with the X-Request-Id header.
    - `total` integer: Item count, present on collection responses.
    - `nextCursor` string, nullable: Opaque keyset-pagination cursor, present on paginated responses (e.g. GET /v1/dashboards) when more rows exist beyond this page. Pass it back as the `cursor` query param to fetch the next page; absent or null on the last page.
    - `roleResolveDegraded` boolean: Snowflake mode only (DVT-2260), on GET /v1/dashboards: present and true when the caller's live Snowflake role resolution failed or was unavailable — role-shared dashboards may be missing from this page. Omitted (not merely false) whenever resolution succeeded or the role-share arm does not apply (off snowflake mode, an org admin/owner, or off the ingress listener).

## Other responses

- `304`: Unchanged since the `If-None-Match` value (DVT-3724). No body; `ETag` and `Cache-Control` are repeated.
- `401`: Missing, invalid, or expired session.

---

[API](https://skmtc.dev/dvt/apis/dvt-rest-api.md) · [All operations](https://skmtc.dev/dvt/apis/dvt-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dvt/apis/dvt-rest-api/revisions/00016f504165?raw)
