---
title: "List team projects"
method: GET
path: "/v1/teams/{teamId}/projects"
tags: ["Projects"]
---

# List team projects

`GET /v1/teams/{teamId}/projects`

## Request

- Base URL: `https://api.ybug.io`
- URL: `https://api.ybug.io/v1/teams/{teamId}/projects`
- Auth: HTTP bearer

Retrieves a paginated collection of projects within the specified team that the token may access. Supports toggling archived projects with the `archived` query parameter.

## Response `200`

Successful retrieval of the projects list for the team.

- ProjectList
  - `projects` Project[]
    - `id` string
    - `name` string
    - `status` 'active' | 'archived'
    - `team_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `is_widget_installed` boolean
  - `meta` PaginationMeta: Metadata for the paginated response.
    - `total_count` integer: The total number of items available across all pages.
    - `page` integer: The current page number being returned (starts at 1).
    - `page_size` integer: Number of items per page (25 by default, max 100).
    - `last_page` boolean: True if this is the final page of results.

## Other responses

- `401`: Unauthorized. Missing or invalid API token.
- `403`: Forbidden. The user does not have permission to access the resource, or the operation is restricted by the account plan.
- `404`: Not Found. The requested resource (team or project ID) could not be found.
- `429`: Too Many Requests. The rate limit for the client has been exceeded.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/ybug/apis/ybug-api.md) · [All operations](https://skmtc.dev/ybug/apis/ybug-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ybug/apis/ybug-api/revisions/50f50cb05459?raw)
