---
title: "List projects"
method: GET
path: "/api/v1/user/projects"
tags: ["User Projects"]
---

# List projects

`GET /api/v1/user/projects`

## Request

- Base URL: `https://app.gaffer.sh`
- URL: `https://app.gaffer.sh/api/v1/user/projects`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Lists all projects the authenticated user has access to across their organizations.
Results include organization context for each project.
**Requires a user API key (gaf_).** Project tokens cannot list projects.

## Query parameters

- `limit` integer
- `offset` integer
- `organizationId` string

## Response `200`

Paginated list of projects with organization info

- object
  - `projects` UserProject[]
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
    - `retentionDays` integer, nullable
    - `organization` object, required
      - `id` string, required
      - `name` string, required
      - `slug` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `pagination` Pagination
    - `limit` integer, required
    - `offset` integer, required
    - `total` integer, required
    - `hasMore` boolean, required

## Other responses

- `400`: Invalid request parameters
- `401`: Missing or invalid API key
- `403`: Authenticated but insufficient permissions

---

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