---
search:
  tags:
    - Projects
    - GET
seo:
  description: >-
    Lists the projects visible to the credential across every team it has been
    granted. A CLI… Reference for the GET /projects endpoint in the varsafe API.
sidebar:
  label: List projects
  badge: GET
title: List projects
type: openapi-operation
---
Lists the projects visible to the credential across every team it has been granted. A CLI credential restricted to a subset of projects sees only that subset.

`GET /projects`

**Responses**

- `200` — Success.
- `400` — The request failed validation. \`field\` names the offending input.
- `401` — No credential was presented, or it is invalid or revoked.
- `403` — The credential is valid but lacks the required scope, role or team access.
- `404` — The resource does not exist, or is not visible to this credential.
- `429` — Rate limited. Retry after the interval named in the response.
- `500` — Unexpected server error. The body never carries internal detail.

Response example, 200:

```json
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]
```
