# List projects

`GET /v1/projects`, operation `projects.ListProjects`

Lists the projects of an organization that the caller can open: those they hold resourcemanager.projects.get on, through a role on the project or on the organization.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `parent` | query | Yes | `string` | The organization whose projects are listed. |
| `showDeleted` | query | No | `boolean` | Also list the projects whose deletion was requested, which are left out otherwise. |
| `pageSize` | query | No | `integer (int32)` | Maximum number of projects to return. Defaults to 50; values above 500 are treated as 500. |
| `pageToken` | query | No | `string` | Page token from a previous response. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `nextPageToken` | `string` | Yes | Token for the next page; empty on the last page. |
| `projects` | `Project[]` | Yes | Projects, oldest first. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.