---
title: "List the resources at the root"
method: GET
path: "/v1/workspaces/{workspace_id}/folders/root/resources"
tags: ["Folders"]
---

# List the resources at the root

`GET /v1/workspaces/{workspace_id}/folders/root/resources`

## Request

- Base URL: `https://api.stacksync.com`
- URL: `https://api.stacksync.com/v1/workspaces/{workspace_id}/folders/root/resources`
- Auth: HTTP bearer

The workflows, syncs, connections, genies, knowledge bases, queues, variables, API proxies and folders at the root of the workspace. `limit` and `offset` apply to each resource type.

## Path parameters

- `workspace_id` integer, required

## Query parameters

- `region` 'besg' | 'usnv', required
- `limit` integer: Maximum number of items returned, at most 200
- `offset` integer: Number of items skipped before the first one returned
- `resource_types` ResourceType[], nullable: Only these resource types; all types when absent
- `search` string, nullable: Only resources whose name or id contains this text, searched in sub-folders too

## Response `200`

OK

- FolderResourceList: The resources of a folder, page by page: `limit` and `offset` apply to each resource type, as the web app pages each section of a folder; `has_more` tells whether any type has more
  - `data` FolderResource[], required
    - `resource_type` 'connection' | 'folder' | 'workflow' | 'workspace_variable' | 'sync' | 'api_proxy' | 'app_queue' | 'genie' | 'knowledge_base', required
    - `resource_id` string, required
    - `resource_name` string, required
    - `status` string, nullable, required
    - `region` 'besg' | 'usnv', required
    - `apps` string[], required: The apps the resource connects, as the web app shows them; empty when none
    - `parent_folder_id` string, nullable, required
    - `last_modified_time` string, date-time, required
  - `has_more` boolean, required: Whether more items follow this page: request the next one with offset + limit
  - `limit` integer, required
  - `offset` integer, required
  - `total_count` integer, required: How many resources of the requested types the folder holds (the matches of a search), across every page

## Other responses

- `400`: Bad Request
- `403`: Forbidden

---

[API](https://skmtc.dev/stacksync/apis/stacksync-api.md) - [All operations](https://skmtc.dev/stacksync/apis/stacksync-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stacksync/apis/stacksync-api/revisions/21f4ba4b214e?raw)
