---
title: "ListProjects"
method: POST
path: "/gitpod.v1.ProjectService/ListProjects"
tags: ["gitpod.v1.ProjectService"]
---

# ListProjects

`POST /gitpod.v1.ProjectService/ListProjects`

Lists projects with optional filtering.

 Use this method to:
 - View all accessible projects
 - Browse project configurations
 - Monitor project status

 ### Examples

 - List projects:

   Shows all projects with pagination.

   ```yaml
   pagination:
     pageSize: 20
   ```

## Query parameters

- `pageSize` integer
- `token` string

## Request body

- GitpodV1ListProjectsRequest
  - `pagination` GitpodV1PaginationRequest
    - `pageSize` integer — Page size is the maximum number of results to retrieve per page. Defaults to 25. Maximum 100.
    - `token` string — Token for the next set of results that was returned as next_token of a PaginationResponse

## Response `200`

Success

- GitpodV1ListProjectsResponse
  - `pagination` GitpodV1PaginationResponse
    - `nextToken` string — Token passed for retreiving the next set of results. Empty if there are no more results
  - `projects` GitpodV1Project[] — unresolved $ref

## Other responses

- `default` — Error

## Changes

- **2025-02-21** `3655d5ad0ac3` — 7 breaking, 1 warning, 18 info
  - the `pagination` request property type/format changed from ``/`` to `object`/``
  - added `subschema #1, subschema #2` to the `projects/items/environmentClass` response property `oneOf` list for the response status `200`
  - the `pagination` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `projects/items/environmentClass` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - …22 more
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.ProjectService/ListProjects/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/3655d5ad0ac3/schema)
