GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST ML Model Registry API

7 actions 7 updates phrasing extends openapi/gitlab-ml-model-registry-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitLab's API. It is a proposal applied on top of the contract, not a document GitLab publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}/authorize'].put
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}/authorize'].put
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}'].get
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}'].put
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}'].get
$.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitLab REST ML Model Registry API
  version: 1.0.0
extends: openapi/gitlab-ml-model-registry-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}/authorize'].put
  update:
    x-apievangelist-phrasing:
      intent: Authorize a model package file upload
      effect: write
      questions:
      - How do I authorize a model package file before uploading it?
      - Can I set the status of a model package file during authorization?
      instructions:
      - text: Authorize the upload of model package file {file_name} for model version {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          id: path.id
      - text: Set the status of model package file {file_name} on version {model_version_id} to {status} in project {id}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          status: requestBody.status
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}/authorize'].put
  update:
    x-apievangelist-phrasing:
      intent: Authorize a model package file
      effect: write
      questions:
      - How do I authorize a model package file once it's staged?
      - Can I set the status of an ML model package file after authorizing its path?
      instructions:
      - text: Authorize model package file {file_name} at {path} for model version {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          path: path.path
          model_version_id: path.model_version_id
          id: path.id
      - text: Set the ML model package file status to {status} in project {id}, version {model_version_id}, path {path}, file {file_name}.
        slots:
          status: requestBody.status
          id: path.id
          model_version_id: path.model_version_id
          path: path.path
          file_name: path.file_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a model package file
      effect: read
      questions:
      - How do I download a model package file from a model version?
      - Can I filter a model package file by its status?
      instructions:
      - text: Download model package file {file_name} from model version {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          id: path.id
      - text: Download {file_name} from {model_version_id} in project {id} with status {status}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          id: path.id
          status: query.status
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload a model package file
      effect: write
      questions:
      - How do I upload a model package file to a model version?
      - Can I upload a model package file in a subdirectory?
      instructions:
      - text: Upload model package file {file_name} to model version {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          id: path.id
      - text: Upload {file_name} to {model_version_id} in project {id} with status {status}.
        slots:
          file_name: path.file_name
          model_version_id: path.model_version_id
          id: path.id
          status: requestBody.status
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a nested model package file
      effect: read
      questions:
      - Can I download a model package file from a subdirectory of a model version?
      - What path do I use to fetch a nested model package file?
      instructions:
      - text: Download model package file {file_name} from directory {path} on model version {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          path: path.path
          model_version_id: path.model_version_id
          id: path.id
      - text: Fetch {file_name} in {path} from {model_version_id} in project {id} with status {status}.
        slots:
          file_name: path.file_name
          path: path.path
          model_version_id: path.model_version_id
          id: path.id
          status: query.status
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload a model package file
      effect: write
      questions:
      - How do I upload a model file into a packaged model version?
      - Can I upload a file that was generated by a multipart middleware tool?
      instructions:
      - text: Upload file {file_name} at {path} to package {model_version_id} in project {id}.
        slots:
          file_name: path.file_name
          path: path.path
          model_version_id: path.model_version_id
          id: path.id
      - text: Upload the {file} package file to ML model version {model_version_id} in project {id}, path {path}, file {file_name}.
        slots:
          file: requestBody.file
          model_version_id: path.model_version_id
          id: path.id
          path: path.path
          file_name: path.file_name
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitlab-ml-model-registry-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.