---
title: "List projects"
method: GET
path: "/projects"
tags: ["Projects"]
---

# List projects

`GET /projects`

## Request

- Base URL: `https://api.spectate.net/v1`
- URL: `https://api.spectate.net/v1/projects`
- Auth: HTTP bearer

Returns the team's projects, the default project first, then by name.

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Paginated set of `Project`

- object
  - `current_page` integer, required
  - `data` Project[], required
    - `id` string, uuid, required: Project ID
    - `name` string, required: Project name
    - `is_default` boolean, required: Whether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted
    - `escalation_paths` EscalationPathReference[], required: Escalation paths that alerts of this project's monitors and hosts follow, unless a monitor or host sets its own
      - `id` string, uuid, required: Escalation path ID
      - `name` string, required: Escalation path name
    - `created_at` string, date-time, required: When the project was created
  - `first_page_url` string, nullable, required
  - `from` integer, nullable, required
  - `last_page_url` string, nullable, required
  - `last_page` integer, required
  - `links` object[], required: Generated paginator links.
    - `url` string, nullable, required
    - `label` string, required
    - `active` boolean, required
  - `next_page_url` string, nullable, required
  - `path` string, nullable, required: Base path for paginator generated URLs.
  - `per_page` integer, required: Number of items shown per page.
  - `prev_page_url` string, nullable, required
  - `to` integer, nullable, required: Number of the last item in the slice.
  - `total` integer, required: Total number of items being paginated.

## Other responses

- `401`: `UNAUTHENTICATED`: no token was sent. `INVALID_TOKEN`: the token is unknown or revoked. `TOKEN_EXPIRED`: the token has expired.
- `403`: `FORBIDDEN`: the token lacks an ability this endpoint requires (listed in `details.required_abilities`). `TEAM_PENDING_DELETION`: the team is scheduled for deletion. `TEAM_SUSPENDED`: Spectate suspended the team.
- `429`: `RATE_LIMITED`: too many requests for this token. Wait for the number of seconds in `Retry-After`.

---

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