GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Projects job token scope API

9 actions 9 updates phrasing extends openapi/gitlab-projects-job-token-scope-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 9

$.info
$.paths['/api/v4/projects/{id}/job_token_scope'].get
$.paths['/api/v4/projects/{id}/job_token_scope'].patch
$.paths['/api/v4/projects/{id}/job_token_scope/allowlist'].get
$.paths['/api/v4/projects/{id}/job_token_scope/allowlist'].post
$.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist'].get
$.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist'].post
$.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist/{target_group_id}'].delete
$.paths['/api/v4/projects/{id}/job_token_scope/allowlist/{target_project_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 Projects job token scope API
  version: 1.0.0
extends: openapi/gitlab-projects-job-token-scope-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: 8
- target: $.paths['/api/v4/projects/{id}/job_token_scope'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a project's job token scope
      effect: read
      questions:
      - Which projects can generate CI/CD job tokens that access this project?
      - Is the job token scope enabled for a project?
      instructions:
      - text: Show the job token scope settings for project {id}.
        slots:
          id: path.id
      - text: Get the authorized groups and projects for project {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope'].patch
  update:
    x-apievangelist-phrasing:
      intent: Set a project's job token scope
      effect: write
      questions:
      - How do I restrict which projects can access this one with job tokens?
      - Can I change the job token scope on a project?
      instructions:
      - text: Set the job token scope of project {id} to {enabled}.
        slots:
          id: path.id
          enabled: requestBody.enabled
      - text: Restrict job token access to project {id} to {enabled}.
        slots:
          id: path.id
          enabled: requestBody.enabled
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/allowlist'].get
  update:
    x-apievangelist-phrasing:
      intent: List projects allowed to generate job tokens for a project
      effect: read
      questions:
      - Which projects are on the job token allowlist of this project?
      - Can I page through the job token allowlist projects?
      instructions:
      - text: List the projects on the job token allowlist of project {id}.
        slots:
          id: path.id
      - text: Show {per_page} job token allowlist projects for project {id}.
        slots:
          per_page: query.per_page
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/allowlist'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a project to a job token allowlist
      effect: write
      questions:
      - How do I let another project generate job tokens that access this one?
      - Can I add a project to the job token allowlist?
      instructions:
      - text: Add project {target_project_id} to the job token allowlist of project {id}.
        slots:
          target_project_id: requestBody.target_project_id
          id: path.id
      - text: Allow job tokens from project {target_project_id} to access project {id}.
        slots:
          target_project_id: requestBody.target_project_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist'].get
  update:
    x-apievangelist-phrasing:
      intent: List groups allowed to generate job tokens for a project
      effect: read
      questions:
      - Which groups are on the job token allowlist of this project?
      - Can I page through the job token groups allowlist?
      instructions:
      - text: List the groups on the job token allowlist of project {id}.
        slots:
          id: path.id
      - text: Show {per_page} job token groups allowlist entries for project {id}.
        slots:
          per_page: query.per_page
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a group to a project's job token allowlist
      effect: write
      questions:
      - How do I let a group read a project's CI/CD job token?
      - Can I add another group to a project's job token allowlist?
      instructions:
      - text: Add group {target_group_id} to the job token scope allowlist of project {id}.
        slots:
          target_group_id: requestBody.target_group_id
          id: path.id
      - text: Allow project {id} to read job tokens from group {target_group_id}.
        slots:
          id: path.id
          target_group_id: requestBody.target_group_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/groups_allowlist/{target_group_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a group from a job token allowlist
      effect: destructive
      questions:
      - How do I stop a group from generating job tokens for this project?
      - Can I remove a group from the job token allowlist?
      instructions:
      - text: Remove group {target_group_id} from the job token allowlist of project {id}.
        slots:
          target_group_id: path.target_group_id
          id: path.id
      - text: Block job tokens from group {target_group_id} on project {id}.
        slots:
          target_group_id: path.target_group_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/job_token_scope/allowlist/{target_project_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a project from a job token allowlist
      effect: destructive
      questions:
      - How do I stop a project from being allowed to read my job tokens?
      - Can I remove a target project from a job token scope allowlist?
      instructions:
      - text: Remove project {target_project_id} from the job token scope allowlist of project {id}.
        slots:
          target_project_id: path.target_project_id
          id: path.id
      - text: Revoke project {id}'s inbound job token allowlist for target {target_project_id}.
        slots:
          id: path.id
          target_project_id: path.target_project_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-projects-job-token-scope-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.