Hanzo AI
OpenapiIntegrations

List projects

Lists the projects the org's GitLab connection can reach — membership projects, most recently active first.

GET /v1/integrations/gitlab/projects

Addresshttps://api.hanzo.ai/v1/integrations/gitlab/projects
MethodGET
Operationget_integrations_gitlab_projects
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the projects the org's GitLab connection can reach — membership projects, most recently active first.

Request

GET /v1/integrations/gitlab/projects takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200gitlabProjectsOutok

200 body — 10 fields.

FieldInTypeAlwaysDescription
accountbodystring—Account is the connected GitLab username, so a client can label the list without a second call.
projectsbodygitlabProjectView[]—Projects is every project the token reaches, newest activity first.
projects[].cloneUrlbodystring—CloneURL is the https remote to clone.
projects[].defaultBranchbodystring—DefaultBranch is the branch a clone lands on ("main" when GitLab names none, which is what an empty project reports).
projects[].descriptionbodystring—Description is the project's own, empty when it has none.
projects[].fullNamebodystring—FullName is the namespace path ("acme/widgets", "acme/team/widgets" for a subgroup) — the string GitLab calls path_with_namespace.
projects[].htmlUrlbodystring—HTMLURL is the project's page.
projects[].namebodystring—Name is the project's path segment ("widgets"), not its display name.
projects[].privatebodyboolean—Private is true for anything not publicly visible (private or internal).
projects[].pushedAtbodystring—PushedAt is RFC3339 last activity, so a client can sort or say "2h ago".

Failure carries the platform error shape — see Errors.

Examples

hanzo integrations gitlab projects

Integrations API · All Hanzo APIs · Interactive reference

How is this guide?

On this page