Skip to main content

List All Projects

Get a list of all visible projects across GitLab for the authenticated user. When accessed without authentication, only public projects with simple fields are returned.

External Documentation

To learn more, visit the GitLab documentation.

Basic Parameters

ParameterDescription
SearchReturn list of projects matching the search criteria. The search term is matched against project names, descriptions, and paths.

Advanced Parameters

ParameterDescription
MembershipLimit by projects that the current user is a member of.
SortSort order of results. Format: <field_name><sortdirection>, for example: iddesc or nameasc.

Example Output

{
"data": {
"projects": {
"nodes": [
{
"id": "gid://gitlab/Project/43460829",
"name": "2021-CS-140",
"path": "2021-cs-140",
"description": null,
"createdAt": "2023-02-13T08:20:00Z",
"visibility": "public",
"webUrl": "https://gitlab.com/fatiqhussnain1/2021-cs-140"
},
{
"id": "gid://gitlab/Project/43460824",
"name": "activity",
"path": "activity",
"description": null,
"createdAt": "2023-02-13T08:19:45Z",
"visibility": "public",
"webUrl": "https://gitlab.com/b253-eronico/s12/activity"
}
]
}
}
}

Workflow Library Example

List All Projects with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop