How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitLab Vulnerabilities API

> [!warning]> These endpoints are in the process of being deprecated and are considered unstable.> The response payload may be subject to change or breakage across GitLab releases. Use the> [GraphQL API](https://docs.gitlab.com/api/graphql/reference/queries/#vulnerabilities) instead.> For more information, see [replace vulnerability REST API with GraphQL](https://docs.gitlab.com/api/vulnerabilities/#replace-vulnerability-rest-api-with-graphql).Use this API to manage [vulnerabilities](https://docs.gitlab.com/user/application_security/vulnerabilities/),retrieve vulnerability findings, and export [vulnerability reports](https://docs.gitlab.com/user/application_security/vulnerability_report/)for a project, group, or instance.Every call to these endpoints must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).If a user isn't a member of a private project, requests return a `404 Not Found` status code. If auser does not have permission to [view the vulnerability report](https://docs.gitlab.com/user/permissions/#project-application-security),requests return a `403 Forbidden` status code.> [!note]> The former Vulnerabilities API was renamed to the Vulnerability Findings API, and the> Vulnerabilities name now serves [vulnerability objects](https://gitlab.com/gitlab-org/gitlab/-/issues/13561).> To fix a broken integration with the former API, change the `vulnerabilities` URL part to> `vulnerability_findings`.

GitLab Vulnerabilities API is one of 189 APIs that GitLab publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 16 JSON Schema definitions.

Tagged areas include Vulnerabilities. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, rate-limit docs, an AsyncAPI specification, and 16 JSON Schemas.

This API exposes 20 operations across 18 paths, and defines 36 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

Requests are made against a single base URL, https://{hostname}.

20 operations 18 paths 36 schemas 1 DELETE8 GET11 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
19.6
Base URL
https://gitlab.com/api/v4
Authentication
HTTP Bearer, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

GitLab Vulnerabilities API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (http). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 9 scopes. An API key is passed in the header as PRIVATE-TOKEN (apiKey). By default, every request must be authenticated.

Paths & Operations 20

Across 18 paths, the API surfaces 20 operations — 1 DELETE, 8 GET, 11 POST. Each is listed below with its method, path, parameters, and response codes.

Vulnerabilities 20

[!warning] These endpoints are in the process of being deprecated and are considered unstable. The response payload may be subject to change or breakage across GitLab releases. Us…

POST
/api/v4/security/projects/{id}/vulnerability_exports
Create a project-level vulnerability export
postApiV4SecurityProjectsIdVulnerabilityExports 1 param body → 201404400
POST
/api/v4/security/groups/{id}/vulnerability_exports
Create a group-level vulnerability export
postApiV4SecurityGroupsIdVulnerabilityExports 1 param body → 201404400
POST
/api/v4/security/vulnerability_exports
Create an instance-level vulnerability export
postApiV4SecurityVulnerabilityExports body → 201400
GET
/api/v4/security/vulnerability_exports/{id}
Retrieve a vulnerability export
getApiV4SecurityVulnerabilityExportsId 1 param → 200404400
GET
/api/v4/security/vulnerability_exports/{id}/download
Download a vulnerability export
getApiV4SecurityVulnerabilityExportsIdDownload 1 param → 200404400
POST
/api/v4/security/projects/{id}/vulnerability_archive_exports
Create an export for archived vulnerabilities
postApiV4SecurityProjectsIdVulnerabilityArchiveExports 1 param body → 201404400
GET
/api/v4/security/vulnerability_archive_exports/{id}
Retrieve a vulnerability archive export
getApiV4SecurityVulnerabilityArchiveExportsId 1 param → 200404400
GET
/api/v4/security/vulnerability_archive_exports/{id}/download
Download a vulnerability archive export
getApiV4SecurityVulnerabilityArchiveExportsIdDownload 1 param → 200404400
GET
/api/v4/vulnerabilities/{id}/issue_links
Get related issues for a vulnerability
getApiV4VulnerabilitiesIdIssueLinks 1 param → 200404400
POST
/api/v4/vulnerabilities/{id}/issue_links
Relate an issue to a vulnerability
postApiV4VulnerabilitiesIdIssueLinks 1 param body → 201404400
DELETE
/api/v4/vulnerabilities/{id}/issue_links/{issue_link_id}
Delete a link between an issue and a vulnerability
deleteApiV4VulnerabilitiesIdIssueLinksIssueLinkId 2 params → 200404400
GET
/api/v4/projects/{id}/vulnerability_findings
List all project vulnerability findings
getApiV4ProjectsIdVulnerabilityFindings 7 params → 200404400
POST
/api/v4/vulnerabilities/{vulnerability_id}/flags/ai_detection
Update AI False Positive Detection results
postApiV4VulnerabilitiesVulnerabilityIdFlagsAiDetection 1 param body → 200400401403404
GET
/api/v4/vulnerabilities/{id}
Retrieve a vulnerability
getApiV4VulnerabilitiesId 1 param → 200404400
POST
/api/v4/vulnerabilities/{id}/resolve
Resolve a vulnerability
postApiV4VulnerabilitiesIdResolve 1 param body → 201404400
POST
/api/v4/vulnerabilities/{id}/dismiss
Dismiss a vulnerability
postApiV4VulnerabilitiesIdDismiss 1 param → 201404400
POST
/api/v4/vulnerabilities/{id}/confirm
Confirm a vulnerability
postApiV4VulnerabilitiesIdConfirm 1 param body → 201404400
POST
/api/v4/vulnerabilities/{id}/revert
Revert a vulnerability to detected state
postApiV4VulnerabilitiesIdRevert 1 param body → 201404400
GET
/api/v4/projects/{id}/vulnerabilities
List all project vulnerabilities
getApiV4ProjectsIdVulnerabilities 3 params → 200404400
POST
/api/v4/projects/{id}/vulnerabilities
Create a new vulnerability
postApiV4ProjectsIdVulnerabilities 1 param body → 201404400

Schemas 36

The contract defines 36 schemas that model the data the API accepts and returns. The most detailed are VulnerabilitiesFindingEntity (41 properties), APIEntitiesVulnerabilityRelatedIssue (32 properties), APIEntitiesIssueBasic (30 properties), APIEntitiesVulnerability (24 properties). Each schema is shown below with its type and property counts.

APIEntitiesApprovalRuleShort
object
3 properties
postApiV4SecurityGroupsIdVulnerabilityExportsRequest
object
3 properties
VulnerabilitiesMergeRequestLinkEntityAuthorEntity
object
16 properties
postApiV4SecurityProjectsIdVulnerabilityExportsRequest
object
4 properties
APIEntitiesProjectIdentity
object
7 properties
APIEntitiesUserBasic
object
10 properties
VulnerabilitiesFeedbackEntity
object
15 properties
APIEntitiesMilestone
object
13 properties
postApiV4VulnerabilitiesVulnerabilityIdFlagsAiDetectionRequest
object
3 properties 2 required
VulnerabilitiesFindingEntity
object
41 properties
postApiV4SecurityVulnerabilityExportsRequest
object
2 properties
APIEntitiesCustomAttribute
object
2 properties
APIEntitiesVulnerabilityIssueLink
object
4 properties
APIEntitiesVulnerability
object
24 properties
ProjectEntity
object
6 properties
postApiV4VulnerabilitiesIdResolveRequest
object
1 property
postApiV4ProjectsIdVulnerabilitiesRequest
object
1 property 1 required
VulnerabilitiesIdentifierEntity
object
4 properties
VulnerabilitiesScannerEntity
object
4 properties
postApiV4VulnerabilitiesIdConfirmRequest
object
1 property
APIEntitiesVulnerabilityExport
object
11 properties
APIEntitiesTaskCompletionStatus
object
2 properties
VulnerabilitiesExternalIssueLinkEntity
object
4 properties
postApiV4SecurityProjectsIdVulnerabilityArchiveExportsRequest
object
3 properties 2 required
postApiV4VulnerabilitiesIdIssueLinksRequest
object
3 properties 1 required
VulnerabilitiesRequestEntity
object
4 properties
VulnerabilitiesStateTransitionEntity
object
6 properties
APIEntitiesVulnerabilityRelatedIssue
object
32 properties
APIEntitiesIssuableTimeStats
object
4 properties
postApiV4VulnerabilitiesIdRevertRequest
object
1 property
APIEntitiesIssueBasic
object
30 properties
VulnerabilitiesResponseEntity
object
4 properties
APIEntitiesVulnerabilityArchiveExport
object
8 properties
UserEntity
object
15 properties
VulnerabilitiesIssueLinkEntity
object
5 properties
VulnerabilitiesMergeRequestLinkEntity
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-vulnerabilities-api-openapi.yml Raw ↑

Other APIs GitLab publishes across the network.

GitLab Orbit gRPC API
GitLab GraphQL API
GitLab Applications API
GitLab Authorization API
GitLab Broadcast Messages API
GitLab Groups API
GitLab Metadata API
GitLab Project Webhooks API
GitLab Projects API
GitLab Tokens API
GitLab User Info API
GitLab Webhook Configuration API
Where this information came from

This is an independent, third-party profile of GitLab Vulnerabilities API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.