---
title: "List all personal projects for a user"
method: GET
path: "/api/v4/users/{user_id}/projects"
tags: ["projects"]
---

# List all personal projects for a user

`GET /api/v4/users/{user_id}/projects`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/users/{user_id}/projects`
- Auth: none declared

Lists all personal projects for a specified user. Does not return group or subgroup projects. If the user profile is private, returns only an empty list.

## Path parameters

- `user_id` string, required

## Query parameters

- `order_by` 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at' | 'similarity' | 'star_count' | 'storage_size' | 'repository_size' | 'wiki_size' | 'packages_size'
- `sort` 'asc' | 'desc'
- `archived` boolean
- `visibility` 'private' | 'internal' | 'public'
- `search` string
- `search_namespaces` boolean
- `owned` boolean
- `starred` boolean
- `imported` boolean
- `membership` boolean
- `with_issues_enabled` boolean
- `with_merge_requests_enabled` boolean
- `with_programming_language` string
- `min_access_level` 10 | 15 | 20 | 25 | 30 | 40 | 50
- `id_after` integer
- `id_before` integer
- `last_activity_after` string, date-time
- `last_activity_before` string, date-time
- `repository_storage` string
- `topic` string[]
- `topic_id` integer
- `updated_before` string, date-time
- `updated_after` string, date-time
- `include_pending_delete` boolean
- `marked_for_deletion_on` string, date
- `active` boolean
- `wiki_checksum_failed` boolean
- `repository_checksum_failed` boolean
- `include_hidden` boolean
- `page` integer
- `per_page` integer
- `simple` boolean
- `statistics` boolean
- `with_custom_attributes` boolean

## Response `200`

List all personal projects for a user

- APIEntitiesBasicProjectDetails[]
  - `id` integer, required
  - `description` string, required
  - `name` string, required
  - `name_with_namespace` string, required
  - `path` string, required
  - `path_with_namespace` string, required
  - `created_at` string, date-time, required
  - `default_branch` string
  - `tag_list` string[], required
  - `topics` string[], required
  - `ssh_url_to_repo` string, required
  - `http_url_to_repo` string, required
  - `web_url` string, required
  - `readme_url` string
  - `forks_count` integer
  - `license_url` string
  - `license` APIEntitiesLicenseBasic
    - `key` string, required
    - `name` string, required
    - `nickname` string, required
    - `html_url` string, required
    - `source_url` string, required
  - `avatar_url` string, required
  - `star_count` integer, required
  - `last_activity_at` string, date-time, required
  - `visibility` string, required
  - `namespace` APIEntitiesNamespaceBasic, required
    - `id` integer, required
    - `name` string, required
    - `path` string, required
    - `kind` string, required
    - `full_path` string, required
    - `parent_id` integer, required
    - `avatar_url` string, required
    - `web_url` string, required
  - `custom_attributes` APIEntitiesCustomAttribute: API_Entities_CustomAttribute model
    - `key` string, required
    - `value` string, required
  - `repository_storage` string

## Other responses

- `404`: 404 User Not Found

---

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