SHIP AI Sandbox Templates API

The sandbox-templates API from SHIP AI — 11 operation(s) for sandbox-templates.

GitHub OpenAPI

Operations 16

GET /sandbox-templates List the caller's org sandboxes #
POST /sandbox-templates Create a sandbox (steps on the platform base) and start its first build #
GET /sandbox-templates/starters Ready-made sandbox definitions to start from #
GET /sandbox-templates/{templateId} Fetch a sandbox by id #
PATCH /sandbox-templates/{templateId} Rename a sandbox, or change its definition or size (a new version, built at… #
DELETE /sandbox-templates/{templateId} Delete a sandbox #
POST /sandbox-templates/{templateId}/builds Build a sandbox's active version (or return the build already running) #
GET /sandbox-templates/{templateId}/builds Recent builds of a sandbox, newest first #
GET /sandbox-templates/{templateId}/builds/latest The latest build of a sandbox's active version #
GET /sandbox-templates/{templateId}/builds/{buildId} One build of a sandbox #
GET /sandbox-templates/{templateId}/builds/{buildId}/logs A build's log after a sequence number; poll with `after = nextAfter` until… #
GET /sandbox-templates/{templateId}/versions A sandbox's versions, newest first #
POST /sandbox-templates/{templateId}/versions/{versionId}/activate Make a version the one missions use (rollback); rebuilds it only if its… #
GET /sandbox-registries List the org's private registries (never their secrets) #
PUT /sandbox-registries Store the credential for a registry host, replacing any stored for it #
DELETE /sandbox-registries/{registryId} Delete a registry credential #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/letsship-ai:letsship-ai-sandbox-templates-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

letsship-ai-sandbox-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP Sandbox Templates API
  version: v1
  description: 'The SHIP product API: start and steer missions, and manage the projects, credentials and agents they run with.'
servers:
- url: https://api.letsship.ai/v1
tags:
- name: sandbox-templates
paths:
  /sandbox-templates:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: List the caller's org sandboxes
      responses:
        '200':
          description: Sandboxes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxTemplatesResponse'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplates
      x-operation-id-source: derived
    post:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Create a sandbox (steps on the platform base) and start its first build
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSandboxTemplateRequest'
      responses:
        '200':
          description: Created, first build queued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveSandboxTemplateResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No org for caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Another sandbox in the organization has this name
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The definition or size can't be used
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Builds unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postSandboxTemplates
      x-operation-id-source: derived
  /sandbox-templates/starters:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Ready-made sandbox definitions to start from
      responses:
        '200':
          description: Starters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxStartersResponse'
      operationId: getSandboxTemplatesStarters
      x-operation-id-source: derived
  /sandbox-templates/{templateId}:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Fetch a sandbox by id
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '200':
          description: Sandbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxTemplate'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateId
      x-operation-id-source: derived
    patch:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Rename a sandbox, or change its definition or size (a new version, built at…
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSandboxTemplateRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveSandboxTemplateResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Defined by a repository, or another sandbox has this name
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The definition or size can't be used
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Builds unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchSandboxTemplatesByTemplateId
      x-operation-id-source: derived
    delete:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Delete a sandbox
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSandboxTemplateResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: In use by an agent or a project default
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteSandboxTemplatesByTemplateId
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/builds:
    post:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Build a sandbox's active version (or return the build already running)
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '202':
          description: Build queued, or the one already running
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxTemplateBuild'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Builds unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postSandboxTemplatesByTemplateIdBuilds
      x-operation-id-source: derived
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Recent builds of a sandbox, newest first
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '200':
          description: Builds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxTemplateBuildsResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateIdBuilds
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/builds/latest:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: The latest build of a sandbox's active version
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '200':
          description: Latest build
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxTemplateBuild'
        '404':
          description: Not found or never built
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateIdBuildsLatest
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/builds/{buildId}:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: One build of a sandbox
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      - schema:
          type: string
          minLength: 1
        required: true
        name: buildId
        in: path
      responses:
        '200':
          description: Build
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxTemplateBuild'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateIdBuildsByBuildId
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/builds/{buildId}/logs:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: A build's log after a sequence number; poll with `after = nextAfter` until…
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      - schema:
          type: string
          minLength: 1
        required: true
        name: buildId
        in: path
      - schema:
          type:
          - integer
          - 'null'
          minimum: 0
          default: 0
          description: Return chunks after this sequence number.
        required: false
        name: after
        in: query
      responses:
        '200':
          description: Log chunks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxTemplateBuildLogsResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateIdBuildsByBuildIdLogs
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/versions:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: A sandbox's versions, newest first
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      responses:
        '200':
          description: Versions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxTemplateVersionsResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getSandboxTemplatesByTemplateIdVersions
      x-operation-id-source: derived
  /sandbox-templates/{templateId}/versions/{versionId}/activate:
    post:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Make a version the one missions use (rollback); rebuilds it only if its…
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: templateId
        in: path
      - schema:
          type: string
          minLength: 1
        required: true
        name: versionId
        in: path
      responses:
        '200':
          description: Activated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveSandboxTemplateResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Defined by a repository
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Builds unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postSandboxTemplatesByTemplateIdVersionsByVersionIdActivate
      x-operation-id-source: derived
  /sandbox-registries:
    get:
      x-audience: public
      tags:
      - sandbox-templates
      summary: List the org's private registries (never their secrets)
      responses:
        '200':
          description: Registries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxRegistriesResponse'
      operationId: getSandboxRegistries
      x-operation-id-source: derived
    put:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Store the credential for a registry host, replacing any stored for it
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutSandboxRegistryRequest'
      responses:
        '200':
          description: Stored
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxRegistry'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No org for caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Host or credential can't be used
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: putSandboxRegistries
      x-operation-id-source: derived
  /sandbox-registries/{registryId}:
    delete:
      x-audience: public
      tags:
      - sandbox-templates
      summary: Delete a registry credential
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: registryId
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSandboxRegistryResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteSandboxRegistriesByRegistryId
      x-operation-id-source: derived
components:
  schemas:
    SandboxTemplate:
      type: object
      properties:
        id:
          type: string
        orgId:
          type: string
        name:
          type: string
        kind:
          $ref: '#/components/schemas/SandboxTemplateKind'
        projectId:
          type:
          - string
          - 'null'
        starterId:
          type:
          - string
          - 'null'
        dockerfile:
          type: string
        size:
          $ref: '#/components/schemas/StoredSandboxSize'
        instanceType:
          $ref: '#/components/schemas/SandboxInstanceTypeId'
        activeVersionId:
          type:
          - string
          - 'null'
        activeVersion:
          type:
          - integer
          - 'null'
        latestBuild:
          anyOf:
          - $ref: '#/components/schemas/SandboxTemplateBuildSummary'
          - type: 'null'
          - type: 'null'
        runningCount:
          type: integer
          minimum: 0
        createdAt:
          type: integer
        updatedAt:
          type: integer
      required:
      - id
      - orgId
      - name
      - kind
      - projectId
      - starterId
      - dockerfile
      - size
      - instanceType
      - activeVersionId
      - activeVersion
      - latestBuild
      - runningCount
      - createdAt
      - updatedAt
    SandboxTemplateVersion:
      type: object
      properties:
        id:
          type: string
        templateId:
          type: string
        version:
          type: integer
        dockerfile:
          type: string
        size:
          $ref: '#/components/schemas/StoredSandboxSize'
        source:
          type: string
        active:
          type: boolean
        createdAt:
          type: integer
        latestBuild:
          anyOf:
          - $ref: '#/components/schemas/SandboxTemplateBuildSummary'
          - type: 'null'
          - type: 'null'
      required:
      - id
      - templateId
      - version
      - dockerfile
      - size
      - source
      - active
      - createdAt
      - latestBuild
    RegistryAuthScheme:
      type: string
      enum:
      - bearer
      - basic
    SandboxTier:
      type: string
      enum:
      - standard-1
      - standard-2
      - standard-3
      - standard-4
    StoredSandboxSize:
      anyOf:
      - $ref: '#/components/schemas/SandboxInstanceTypeId'
      - type: object
        properties:
          vcpu:
            type: integer
            example: 2
          memoryMib:
            type: integer
            example: 8192
          diskMb:
            type: integer
            example: 16000
        required:
        - vcpu
        - memoryMib
        - diskMb
    ListSandboxTemplatesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SandboxTemplate'
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - data
      - nextCursor
    SandboxTemplateBuildLogChunk:
      type: object
      properties:
        seq:
          type: integer
        stream:
          type: string
          enum:
          - stdout
          - stderr
          - platform
        text:
          type: string
        at:
          type: integer
      required:
      - seq
      - stream
      - text
      - at
    SandboxTemplateBuildStatus:
      type: string
      enum:
      - queued
      - building
      - ready
      - failed
    SandboxRegistry:
      type: object
      properties:
        id:
          type: string
        host:
          type: string
          example: npm.pkg.github.com
        scheme:
          $ref: '#/components/schemas/RegistryAuthScheme'
        username:
          type:
          - string
          - 'null'
        createdAt:
          type: integer
        updatedAt:
          type: integer
      required:
      - id
      - host
      - scheme
      - username
      - createdAt
      - updatedAt
    DeleteSandboxRegistryResponse:
      type: object
      properties:
        ok:
          type: boolean
          enum:
          - true
        id:
          type: string
      required:
      - ok
      - id
    SandboxTemplateBuildSummary:
      type: object
      properties:
        id:
          type: string
        status:
          $ref: '#/components/schemas/SandboxTemplateBuildStatus'
        phase:
          $ref: '#/components/schemas/SandboxTemplateBuildPhase'
        finishedAt:
          type:
          - string
          - 'null'
      required:
      - id
      - status
      - phase
      - finishedAt
    ListSandboxTemplateVersionsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SandboxTemplateVersion'
      required:
      - data
    SandboxTemplateKind:
      type: string
      enum:
      - org
      - repo
      description: '`org`: defined in the console or API. `repo`: defined by a project''s `.ship/sandbox.Dockerfile`; read-only here, edited in the repository.'
    DeleteSandboxTemplateResponse:
      type: object
      properties:
        ok:
          type: boolean
        id:
          type: string
      required:
      - ok
      - id
    ListSandboxRegistriesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SandboxRegistry'
      required:
      - data
    SandboxStarter:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        dockerfile:
          type: string
        size:
          $ref: '#/components/schemas/SandboxSize'
      required:
      - id
      - name
      - description
      - dockerfile
      - size
    SandboxTemplateBuildPhase:
      type: string
      enum:
      - validate
      - run-steps
      - snapshot
      - warm
    SandboxTemplateBuildTrigger:
      type: string
      enum:
      - save
      - base-change
      - repo-file
      - expiry
      - manual
      - rollback
    SandboxTemplateBuildLogsResponse:
      type: object
      properties:
        buildId:
          type: string
        chunks:
          type: array
          items:
            $ref: '#/components/schemas/SandboxTemplateBuildLogChunk'
        nextAfter:
          type: integer
        done:
          type: boolean
      required:
      - buildId
      - chunks
      - nextAfter
      - done
    SandboxTemplateBuild:
      type: object
      properties:
        id:
          type: string
        templateId:
          type: string
        versionId:
          type: string
        version:
          type:
          - integer
          - 'null'
        status:
          $ref: '#/components/schemas/SandboxTemplateBuildStatus'
        phase:
          $ref: '#/components/schemas/SandboxTemplateBuildPhase'
        trigger:
          $ref: '#/components/schemas/SandboxTemplateBuildTrigger'
        queuedAt:
          type: string
        startedAt:
          type:
          - string
          - 'null'
        finishedAt:
          type:
          - string
          - 'null'
        durationMs:
          type:
          - integer
          - 'null'
        stepsMs:
          type:
          - integer
          - 'null'
        snapshotBytes:
          type:
          - integer
          - 'null'
        warmMs:
          type:
          - integer
          - 'null'
        failure:
          type:
          - object
          - 'null'
          properties:
            phase:
              $ref: '#/components/schemas/SandboxTemplateBuildPhase'
            reason:
              type: string
            message:
              type: string
          required:
          - phase
          - reason
          - message
      required:
      - id
      - templateId
      - versionId
      - version
      - status
      - phase
      - trigger
      - queuedAt
      - startedAt
      - finishedAt
      - durationMs
      - stepsMs
      - snapshotBytes
      - warmMs
      - failure
    SandboxInstanceTypeId:
      type: string
      enum:
      - lite
      - basic
      - standard-1
      - standard-2
      - standard-3
      - standard-4
    ListSandboxTemplateBuildsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SandboxTemplateBuild'
      required:
      - data
    SaveSandboxTemplateResponse:
      type: object
      properties:
        template:
          $ref: '#/components/schemas/SandboxTemplate'
        build:
          anyOf:
          - $ref: '#/components/schemas/SandboxTemplateBuild'
          - type: 'null'
          - type: 'null'
      required:
      - template
      - build
    Error:
      type: object
      properties:
        category:
          type: string
          enum:
          - auth
          - rate_limit
          - timeout
          - validation
          - infrastructure
          - agent
          - unknown
          example: validation
        title:
          type: string
          example: Invalid request
        description:
          type: string
          example: The 'projectId' parameter must be a UUID.
        retryable:
          type: boolean
          example: false
        code:
          type: string
          example: credits_exhausted
      required:
      - category
      - title
      - description
      - retryable
    ListSandboxStartersResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SandboxStarter'
      required:
      - data
    SandboxSize:
      anyOf:
      - $ref: '#/components/schemas/SandboxTier'
      - type: object
        properties:
          vcpu:
            type: integer
            example: 2
          memoryMib:
            type: integer
            example: 8192
          diskMb:
            type: integer
            example: 16000
        required:
        - vcpu
        - memoryMib
        - diskMb
    UpdateSandboxTemplateRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        dockerfile:
          type: string
          minLength: 1
          maxLength: 100000
        size:
          $ref: '#/components/schemas/SandboxSize'
        instanceType:
          $ref: '#/components/schemas/SandboxTier'
    CreateSandboxTemplateRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        dockerfile:
          type: string
          minLength: 1
          maxLength: 100000
        starterId:
          type: string
          minLength: 1
        size:
          $ref: '#/components/schemas/SandboxSize'
        instanceType:
          $ref: '#/components/schemas/SandboxTier'
      required:
      - name
    PutSandboxRegistryRequest:
      type: object
      properties:
        host:
          type: string
          minLength: 1
          maxLength: 300
          description: Host name or URL; stored as the host alone.
        scheme:
          $ref: '#/components/schemas/RegistryAuthScheme'
        username:
          type: string
          minLength: 1
          maxLength: 200
          description: Required for basic auth.
        secret:
          type: string
          minLength: 1
          maxLength: 4096
          description: Token or password. Write-only.
      required:
      - host
      - scheme
      - secret
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)