GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Snippets API

19 actions 19 updates phrasing extends openapi/gitlab-snippets-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 19 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v4/snippets'].get
$.paths['/api/v4/snippets'].post
$.paths['/api/v4/snippets/public'].get
$.paths['/api/v4/snippets/all'].get
$.paths['/api/v4/snippets/{id}'].get
$.paths['/api/v4/snippets/{id}'].put
$.paths['/api/v4/snippets/{id}'].delete
$.paths['/api/v4/snippets/{id}/raw'].get
$.paths['/api/v4/snippets/{id}/files/{ref}/{file_path}/raw'].get
$.paths['/api/v4/snippets/{id}/user_agent_detail'].get
$.paths['/api/v4/projects/{id}/snippets'].get
$.paths['/api/v4/projects/{id}/snippets'].post
$.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].get
$.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].put
$.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].delete

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 Snippets API
  version: 1.0.0
extends: openapi/gitlab-snippets-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: 18
- target: $.paths['/api/v4/snippets'].get
  update:
    x-apievangelist-phrasing:
      intent: List my personal snippets
      effect: read
      questions:
      - What snippets have I created?
      - Can I list only my personal snippets?
      instructions:
      - text: List my personal snippets.
      - text: Show personal snippets created after {created_after}.
        slots:
          created_after: query.created_after
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a personal snippet
      effect: write
      questions:
      - How do I save a code snippet I wrote?
      - Can I create a personal snippet with a file and a title?
      instructions:
      - text: Create a personal snippet titled {title} with file {file_name}.
        slots:
          title: requestBody.title
          file_name: requestBody.file_name
      - text: Save {title} as a personal snippet with content {content}.
        slots:
          title: requestBody.title
          content: requestBody.content
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/public'].get
  update:
    x-apievangelist-phrasing:
      intent: List public snippets
      effect: read
      questions:
      - What public snippets can I see?
      - Can I list public snippets created within a date range?
      instructions:
      - text: List public snippets.
      - text: Show public snippets created before {created_before}.
        slots:
          created_before: query.created_before
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/all'].get
  update:
    x-apievangelist-phrasing:
      intent: List all snippets (admin)
      effect: read
      questions:
      - As an admin, how do I see every snippet?
      - Can I filter all snippets by storage?
      instructions:
      - text: List all snippets.
      - text: Show all snippets on storage {repository_storage}.
        slots:
          repository_storage: query.repository_storage
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a personal snippet
      effect: read
      questions:
      - How do I read one of my personal snippets?
      - Can I fetch a personal snippet by ID?
      instructions:
      - text: Get personal snippet {id}.
        slots:
          id: path.id
      - text: Show the details of my snippet {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a personal snippet
      effect: write
      questions:
      - How do I edit the content of a personal snippet?
      - Can I change the visibility of my own snippet?
      instructions:
      - text: Update personal snippet {id} with content {content}.
        slots:
          id: path.id
          content: requestBody.content
      - text: Set the visibility of my snippet {id} to {visibility}.
        slots:
          id: path.id
          visibility: requestBody.visibility
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a personal snippet
      effect: destructive
      questions:
      - How do I delete a personal snippet?
      - Can I remove a snippet I no longer need?
      instructions:
      - text: Delete my personal snippet {id}.
        slots:
          id: path.id
      - text: Remove snippet {id} from my account.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}/raw'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a personal snippet as plain text
      effect: read
      questions:
      - How do I get the raw text of a personal snippet?
      - Can I download a personal snippet without its metadata?
      instructions:
      - text: Download the raw text of my snippet {id}.
        slots:
          id: path.id
      - text: Get plain text content of personal snippet {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}/files/{ref}/{file_path}/raw'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one file from a personal snippet
      effect: read
      questions:
      - How do I read a specific file inside a personal snippet?
      - Can I fetch a file from a personal snippet at a branch or tag?
      instructions:
      - text: Get file {file_path} from personal snippet {id} at {ref}.
        slots:
          file_path: path.file_path
          id: path.id
          ref: path.ref
      - text: Show the contents of {file_path} in snippet {id} on {ref}.
        slots:
          file_path: path.file_path
          id: path.id
          ref: path.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/snippets/{id}/user_agent_detail'].get
  update:
    x-apievangelist-phrasing:
      intent: Get user agent details for a personal snippet
      effect: read
      questions:
      - Which browser and OS opened my personal snippet?
      - Can I see user agent details for a personal snippet?
      instructions:
      - text: Get user agent details for my snippet {id}.
        slots:
          id: path.id
      - text: Show who viewed personal snippet {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's snippets
      effect: read
      questions:
      - What snippets exist in a project?
      - Can I list only the snippets of one project?
      instructions:
      - text: List snippets in project {id}.
        slots:
          id: path.id
      - text: Show the snippets of project {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a project snippet
      effect: write
      questions:
      - How do I add a snippet to a project?
      - Can I create a project snippet with a file and a title?
      instructions:
      - text: Create a snippet titled {title} in project {id} with file {file_name}.
        slots:
          title: requestBody.title
          id: path.id
          file_name: requestBody.file_name
      - text: Add {title} as a snippet to project {id} with content {content}.
        slots:
          title: requestBody.title
          id: path.id
          content: requestBody.content
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a project snippet
      effect: read
      questions:
      - How do I read a snippet in a project?
      - Can I fetch one project snippet by ID?
      instructions:
      - text: Get snippet {snippet_id} from project {id}.
        slots:
          snippet_id: path.snippet_id
          id: path.id
      - text: Show project {id}'s snippet {snippet_id}.
        slots:
          id: path.id
          snippet_id: path.snippet_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a project snippet
      effect: write
      questions:
      - How do I edit a snippet in a project?
      - Can I change the visibility of a project snippet?
      instructions:
      - text: Update snippet {snippet_id} in project {id} with content {content}.
        slots:
          snippet_id: path.snippet_id
          id: path.id
          content: requestBody.content
      - text: Set the visibility of project {id}'s snippet {snippet_id} to {visibility}.
        slots:
          id: path.id
          snippet_id: path.snippet_id
          visibility: requestBody.visibility
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a project snippet
      effect: destructive
      questions:
      - How do I remove a snippet from a project?
      - Can I delete a project snippet?
      instructions:
      - text: Delete snippet {snippet_id} from project {id}.
        slots:
          snippet_id: path.snippet_id
          id: path.id
      - text: Remove project {id}'s snippet {snippet_id}.
        slots:
          id: path.id
          snippet_id: path.snippet_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}/raw'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a project snippet as plain text
      effect: read
      questions:
      - How do I get the raw text of a project snippet?
      - Can I download a project snippet without its metadata?
      instructions:
      - text: Download the raw text of snippet {snippet_id} in project {id}.
        slots:
          snippet_id: path.snippet_id
          id: path.id
      - text: Get plain text content of project {id}'s snippet {snippet_id}.
        slots:
          id: path.id
          snippet_id: path.snippet_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}/files/{ref}/{file_path}/raw'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one file from a project snippet
      effect: read
      questions:
      - How do I read a specific file inside a project snippet?
      - Can I fetch a file from a project snippet at a branch or tag?
      instructions:
      - text: Get file {file_path} from snippet {snippet_id} in project {id} at {ref}.
        slots:
          file_path: path.file_path
          snippet_id: path.snippet_id
          id: path.id
          ref: path.ref
      - text: Show the contents of {file_path} in project {id}'s snippet {snippet_id} on {ref}.
        slots:
          file_path: path.file_path
          id: path.id
          snippet_id: path.snippet_id
          ref: path.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/snippets/{snippet_id}/user_agent_detail'].get
  update:
    x-apievangelist-phrasing:
      intent: Get user agent details for a project snippet
      effect: read
      questions:
      - Which browser and OS opened a project snippet?
      - Can I see user agent details for a project snippet?
      instructions:
      - text: Get user agent details for snippet {snippet_id} in project {id}.
        slots:
          snippet_id: path.snippet_id
          id: path.id
      - text: Show who viewed project {id}'s snippet {snippet_id}.
        slots:
          id: path.id
          snippet_id: path.snippet_id
      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-snippets-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.