---
title: "List projects in flat structure"
method: GET
path: "/runners/projects/list"
tags: ["Projects"]
---

# List projects in flat structure

`GET /runners/projects/list`

Retrieves all projects with pagination support

## Query parameters

- `pageSize` integer
- `offset` integer
- `maxDepth` integer — Maximum depth of the project tree to return
- `poolId` string

## Response `200`

Projects retrieved successfully in flat list format

- object
  - `data` Project[]
    - `name` string — Name of the project
    - `description` string — Description of the project
    - `labels` string[] — Labels to assign to the project
    - `poolId` string, uuid — UUID of the runner pool associated with the project
    - `cronExecutionPattern` string — Cron pattern for scheduled executions
    - `variables` Variable[] — Variables associated with the project
      - `key` string
      - `value` string
      - `sensitivity` 'string' | 'secret'
      - `destination` 'env' | 'iac'
    - `oidcAuthentication` boolean, nullable — OIDC authentication setting.
    - `id` string — Unique identifier for the project
    - `accountId` string — ID of the account the project belongs to
    - `membersCount` integer — Number of members assigned to the project
    - `workspaceCount` integer — Number of workspaces in the project
    - `parentId` string — ID of the parent project (for nested projects)
  - `totalCount` integer — Total count of projects

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Insufficient permissions
- `500` — Internal Server Error

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
