steampipe plugin install theapsgroup/clickup

Table: clickup_folder

Obtain information about folders within your ClickUp environment.

However you MUST specify either an id (single) or space_id (for multiple tasks) in the WHERE or JOIN clause.

Note: by default archived items won't be returned, to return archived items only set archived = true in the where clause.

Examples

Get a folder by id

select
id,
name,
order_index,
hidden,
space_id,
task_count,
archived
from
clickup_folder
where
id = '7fsd72'

List all folders for a specific space

select
id,
name,
order_index,
hidden,
space_id,
task_count,
archived
from
clickup_folder
where
space_id = '54649813'

Schema for clickup_folder

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
archivedboolean=Indicates if the folder is archived.
hiddenbooleanIndicates if the folder is hidden.
idtext=Unique identifier for the folder.
nametextName of the given folder.
order_indexbigintThe order index of the folder.
override_statusesbooleanIndicates if statuses can be overriden within the folder.
space_idtext=Unique identifier of the space to which the folder belongs.
statusesjsonbAn array of status objects for the valid statuses within the folder.
task_countbigintCount of tasks within the folder.