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 Geo API

Use this API to manage [Geo sites](https://docs.gitlab.com/administration/geo/). All of theseendpoints require administrator access.> [!warning]> The Geo Nodes endpoints are [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/369140) and> are planned for removal in v5 of the API. Use the> [Geo Sites API](https://docs.gitlab.com/api/geo_sites/) instead. This change is a breaking change.

GitLab Geo 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 Geo. 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 26 operations across 20 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

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

26 operations 20 paths 17 schemas 2 DELETE11 GET11 POST2 PUT

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 Geo 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 26

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

Geo 26

Use this API to manage Geo sites. All of these endpoints require administrator access. [!warning] The Geo Nodes endpoints are deprecated and are planned for removal in v5 of the A…

POST
/api/v4/geo_sites
Create a Geo site
postApiV4GeoSites body → 200400401403
GET
/api/v4/geo_sites
List all Geo sites
getApiV4GeoSites 2 params → 200400401403
GET
/api/v4/geo_sites/status
List all Geo site statuses
getApiV4GeoSitesStatus 2 params → 200400401403
GET
/api/v4/geo_sites/{id}
Retrieve a Geo site
getApiV4GeoSitesId 1 param → 200400401403404
PUT
/api/v4/geo_sites/{id}
Update a Geo site
putApiV4GeoSitesId 1 param body → 200400401403404
DELETE
/api/v4/geo_sites/{id}
Delete a Geo site
deleteApiV4GeoSitesId 1 param → 204400401403404
GET
/api/v4/geo_sites/{id}/status
Retrieve a Geo site status
getApiV4GeoSitesIdStatus 2 params → 200400401403404
POST
/api/v4/geo_sites/{id}/repair
Repair a Geo site
postApiV4GeoSitesIdRepair 1 param → 200400401403404
POST
/api/v4/geo_nodes
Create a Geo node
postApiV4GeoNodes body → 200400401403
GET
/api/v4/geo_nodes
List all Geo nodes
getApiV4GeoNodes 2 params → 200400401403
GET
/api/v4/geo_nodes/status
List all Geo node statuses
getApiV4GeoNodesStatus 2 params → 200400401403
GET
/api/v4/geo_nodes/{id}
Retrieve a single Geo node
getApiV4GeoNodesId 1 param → 200400401403404
PUT
/api/v4/geo_nodes/{id}
Update a Geo node
putApiV4GeoNodesId 1 param body → 200400401403404
DELETE
/api/v4/geo_nodes/{id}
Delete a Geo node
deleteApiV4GeoNodesId 1 param → 204400401403404
GET
/api/v4/geo_nodes/{id}/status
Retrieve metrics for a Geo node
getApiV4GeoNodesIdStatus 2 params → 200400401403404
POST
/api/v4/geo_nodes/{id}/repair
Repair authentication of the Geo node
postApiV4GeoNodesIdRepair 1 param → 200400401403404
GET
/api/v4/geo/proxy
Returns a Geo proxy response
getApiV4GeoProxy → 200403
GET
/api/v4/geo/retrieve/{replicable_name}/{replicable_id}
Retrieve a replicable file
getApiV4GeoRetrieveReplicableNameReplicableId 2 params → 200401404400
GET
/api/v4/geo/repositories/{gl_repository}/pipeline_refs
List all pipeline refs for a project
getApiV4GeoRepositoriesGlRepositoryPipelineRefs 1 param → 200401404400
POST
/api/v4/geo/status
Create a status for a secondary site
postApiV4GeoStatus body → 200400401
POST
/api/v4/geo/failures
Create a report of persistent verification failures
postApiV4GeoFailures body → 202401404400
POST
/api/v4/geo/proxy_git_ssh/info_refs_upload_pack
Proxy a git-upload-pack info/refs request to the primary site
postApiV4GeoProxyGitSshInfoRefsUploadPack body → 200401400
POST
/api/v4/geo/proxy_git_ssh/upload_pack
Proxy a git-upload-pack request to the primary site
postApiV4GeoProxyGitSshUploadPack body → 200401400
POST
/api/v4/geo/proxy_git_ssh/info_refs_receive_pack
Proxy a git-receive-pack info/refs request to the primary site
postApiV4GeoProxyGitSshInfoRefsReceivePack body → 200401400
POST
/api/v4/geo/proxy_git_ssh/receive_pack
Proxy a git-receive-pack request to the primary site
postApiV4GeoProxyGitSshReceivePack body → 200401400
POST
/api/v4/geo/node_proxy/{id}/graphql
Query the GraphQL endpoint of an existing Geo site
postApiV4GeoNodeProxyIdGraphql 1 param → 200404500400

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are APIEntitiesGeoNodeStatus (605 properties), APIEntitiesGeoSiteStatus (605 properties), APIEntitiesGeoSite (23 properties), APIEntitiesGeoNode (23 properties). Each schema is shown below with its type and property counts.

APIEntitiesGeoPipelineRefs
object
1 property
putApiV4GeoNodesIdRequest
object
16 properties
postApiV4GeoProxyGitSshInfoRefsReceivePackRequest
object
2 properties 2 required
postApiV4GeoNodesRequest
object
17 properties 2 required
postApiV4GeoSitesRequest
object
18 properties 2 required
StorageShardEntity
object
1 property
postApiV4GeoProxyGitSshReceivePackRequest
object
3 properties 3 required
APIEntitiesGeoNodeStatus
object
605 properties
APIEntitiesNamespaceBasic
object
8 properties
postApiV4GeoStatusRequest
object
1 property
postApiV4GeoProxyGitSshInfoRefsUploadPackRequest
object
2 properties 2 required
postApiV4GeoFailuresRequest
object
2 properties 2 required
APIEntitiesGeoSiteStatus
object
605 properties
APIEntitiesGeoNode
object
23 properties
postApiV4GeoProxyGitSshUploadPackRequest
object
3 properties 3 required
APIEntitiesGeoSite
object
23 properties
putApiV4GeoSitesIdRequest
object
17 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-geo-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 Geo 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.