GitLab API
An OpenAPI definition for the GitLab REST API. Few API resources or endpoints are currently included. The intent is to expand this to match the entire Markdown documentation of the API: https://docs.gitlab.com/api/. Contributions are welcome.
When viewing this on gitlab.com, you can test API calls directly from the browser
against the gitlab.com instance, if you are logged in.
The feature uses the current GitLab session cookie,
so each request is made using your account.
Instructions for using this tool can be found in Interactive API Documentation
Screenshot:
Base URL:
Auth: bearer_token
Endpoints: 25
Reachable: yes
CORS: unknown
Last checked: 2026-03-14 16:08:18.915049
https://gitlab.com/api/v4/Auth: bearer_token
Endpoints: 25
Reachable: yes
CORS: unknown
Last checked: 2026-03-14 16:08:18.915049
Links
API Base:
https://gitlab.com/api/v4/
SDKs:
- GitLab4J API (java)
- GitLab PHP Client (php)
- python-gitlab (python)
- GitLab Ruby Wrapper (ruby)
- Gitbeaker (typescript)
271ms
Avg latency (7d)3
Probes (7d)Latency (7d)
Success Rate (7d)
Topics
Endpoints
| Method | Path | Summary | Auth | Last Status | Latency |
|---|---|---|---|---|---|
GET |
/application/appearance | — | — | — | — |
GET |
/application/plan_limits | Get current plan limits | — | — | — |
GET |
/applications | Get applications | — | — | — |
GET |
/avatar | — | — | — | — |
GET |
/broadcast_messages | Get all broadcast messages | — | — | — |
GET |
/broadcast_messages/{id} | Get a specific broadcast message | — | — | — |
GET |
/bulk_imports | List all GitLab Migrations | — | — | — |
GET |
/bulk_imports/entities | List all GitLab Migrations' entities | — | — | — |
GET |
/bulk_imports/{import_id} | Get GitLab Migration details | — | — | — |
GET |
/bulk_imports/{import_id}/entities | List GitLab Migration entities | — | — | — |
GET |
/bulk_imports/{import_id}/entities/{entity_id} | Get GitLab Migration entity details | — | — | — |
GET |
/groups/{id}/access_requests | Gets a list of access requests for a group. | — | — | — |
GET |
/groups/{id}/badges/render | Preview a badge from a group. | — | — | — |
GET |
/groups/{id}/badges/{badge_id} | Gets a badge of a group. | — | 404 | 260ms |
GET |
/metadata | Retrieve metadata information for this GitLab instance | — | — | — |
GET |
/projects/{id}/access_requests | Gets a list of access requests for a project. | — | — | — |
GET |
/projects/{id}/alert_management_alerts/{alert_iid}/metric_images | — | — | — | — |
GET |
/projects/{id}/badges/render | Preview a badge from a project. | — | — | — |
GET |
/projects/{id}/badges/{badge_id} | Gets a badge of a project. | — | — | — |
GET |
/projects/{id}/jobs | List jobs for a project | — | — | — |
GET |
/projects/{id}/jobs/{job_id} | Get a single job by ID | — | — | — |
GET |
/projects/{id}/repository/branches | — | — | — | — |
GET |
/projects/{id}/repository/branches/{branch} | — | — | — | — |
HEAD |
/projects/{id}/repository/branches/{branch} | — | — | — | — |
GET |
/version | Retrieves version information for the GitLab instance | — | — | — |