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 ML Ops API

Use this API to track machine learning experiments, runs, and metrics, and to manage the[model registry](https://docs.gitlab.com/user/project/ml/model_registry/). These endpoints implementthe MLflow REST API, so you can point an[MLflow client](https://docs.gitlab.com/user/project/ml/experiment_tracking/mlflow_client/) at GitLab.

GitLab ML Ops 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 MLOps. 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 30 operations across 30 paths, and defines 30 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

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

30 operations 30 paths 30 schemas 1 DELETE12 GET2 PATCH15 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 ML Ops 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 30

Across 30 paths, the API surfaces 30 operations — 1 DELETE, 12 GET, 2 PATCH, 15 POST. Each is listed below with its method, path, parameters, and response codes.

MLOps 30

Use this API to track machine learning experiments, runs, and metrics, and to manage the model registry. These endpoints implement the MLflow REST API, so you can point an MLflow…

GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow-artifacts/artifacts
MLflow artifact API
getApiV4ProjectsIdMlMlflowApi20MlflowArtifactsArtifacts 2 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow-artifacts/artifacts/{model_version}/{file_path}
Get MLflow artifact file
getApiV4ProjectsIdMlMlflowApi20MlflowArtifactsArtifactsModelVersionFilePath 3 params → 200404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/create
Creates a Registered Model
postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsCreate 1 param body → 201404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/get
Fetch a Registered Model by Name
getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGet 2 params → 200404400
PATCH
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/update
Update a Registered Model by Name
patchApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsUpdate 1 param body → 200404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/get-latest-versions
Fetch the latest Model Version for the given Registered Model Name
postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGetLatestVersions 1 param body → 201404400
DELETE
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/delete
Delete a Registered Model by Name
deleteApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsDelete 2 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/search
Search Registered Models within a project
getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsSearch 5 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/alias
Gets a Model Version by alias
getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsAlias 3 params → 200404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/create
Creates a Run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsCreate 1 param body → 201404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/get
Gets an MLFlow Run, which maps to GitLab Candidates
getApiV4ProjectsIdMlMlflowApi20MlflowRunsGet 3 params → 200404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/search
Searches runs/candidates within a project
postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearch 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/update
Updates a Run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsUpdate 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-metric
Logs a metric to a run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogMetric 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-parameter
Logs a parameter to a run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogParameter 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/set-tag
Sets a tag for a run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsSetTag 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-batch
Logs multiple parameters and metrics
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogBatch 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/delete
Delete a run
postApiV4ProjectsIdMlMlflowApi20MlflowRunsDelete 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/create
Creates a Model Version
postApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsCreate 1 param body → 201404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/get-download-uri
Fetch the download URI for the model version
getApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsGetDownloadUri 3 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/get
Fetch model version by name and version
getApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsGet 3 params → 200404400
PATCH
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/update
Updates a Model Version
patchApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsUpdate 1 param body → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/metrics/get-history
Gets metric history for a run
getApiV4ProjectsIdMlMlflowApi20MlflowMetricsGetHistory 5 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/get
Fetch experiment by experimentid
getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsGet 2 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/get-by-name
Fetch experiment by experimentname
getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsGetByName 2 params → 200404400
GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/list
List experiments
getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsList 1 param → 200404
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/search
Search experiments
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSearch 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/create
Create experiment
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsCreate 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/set-experiment-tag
Sets a tag for an experiment
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSetExperimentTag 1 param body → 201404400
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/delete
Delete an experiment
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDelete 1 param body → 201404400

Schemas 30

The contract defines 30 schemas that model the data the API accepts and returns. The most detailed are APIEntitiesMlMlflowModelVersion (14 properties), APIEntitiesMlMlflowRunInfo (10 properties), APIEntitiesMlMlflowRegisteredModel (7 properties), APIEntitiesMlMlflowExperiment (5 properties). Each schema is shown below with its type and property counts.

postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsCreateRequest
object
3 properties 1 required
postApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsCreateRequest
object
4 properties
APIEntitiesMlMlflowGetMetricHistory
object
2 properties
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogBatchRequest
object
3 properties 1 required
APIEntitiesMlMlflowUpdateRun
object
1 property
APIEntitiesMlMlflowRun
object
2 properties
patchApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsUpdateRequest
object
2 properties
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDeleteRequest
object
1 property 1 required
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSetExperimentTagRequest
object
3 properties 3 required
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogParameterRequest
object
3 properties 3 required
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSearchRequest
object
4 properties
postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogMetricRequest
object
5 properties 4 required
postApiV4ProjectsIdMlMlflowApi20MlflowRunsUpdateRequest
object
3 properties 1 required
APIEntitiesMlMlflowGetExperiment
object
1 property
postApiV4ProjectsIdMlMlflowApi20MlflowRunsCreateRequest
object
5 properties 1 required
postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGetLatestVersionsRequest
object
1 property
patchApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsUpdateRequest
object
2 properties
APIEntitiesMlMlflowGetDownload
object
1 property
APIEntitiesMlMlflowRegisteredModel
object
7 properties
APIEntitiesMlMlflowRunInfo
object
10 properties
APIEntitiesMlMlflowMetric
object
4 properties
APIEntitiesMlMlflowNewExperiment
object
1 property
APIEntitiesMlMlflowListExperiment
object
1 property
APIEntitiesMlMlflowExperiment
object
5 properties
postApiV4ProjectsIdMlMlflowApi20MlflowRunsDeleteRequest
object
1 property 1 required
APIEntitiesMlMlflowKeyValue
object
2 properties
postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearchRequest
object
4 properties 1 required
APIEntitiesMlMlflowModelVersion
object
14 properties
postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsCreateRequest
object
3 properties 1 required
postApiV4ProjectsIdMlMlflowApi20MlflowRunsSetTagRequest
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-mlops-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 ML Ops 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.