Skip to main content
GET
List folders
Minimum required API key scope: Read

Use Cases

  • Browse the Library: List top-level folders, or the subfolders of a folder with parent_folder_id.
  • Find a Folder by Name: Use name_contains to find the folder an agent should file content into.
  • Check Folder Size: Each folder returns an item_count of the queries and dashboards inside it.

Headers

X-Dune-Api-Key
string
required

API Key for the service

Query Parameters

api_key
string

API Key, alternative to using the HTTP header X-Dune-Api-Key

parent_folder_id
string

List the subfolders of this folder. Omit for the library root.

name_contains
string

Case-insensitive substring filter on the folder name

limit
integer

Maximum number of folders to return (default 50, max 100)

offset
integer

Number of results to skip. Use next_offset from the previous response

Response

OK

folders
object[]
next_offset
integer

NextOffset is set when more folders exist; pass it as the offset query parameter.