Coveo · Capability

Coveo Migration API — Snapshot Access

Coveo Migration API — Snapshot Access. 3 operations. Lead operation: Show Resource Access. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoMigrationSnapshot Access

What You Can Do

GET
Getaccessibleresourcetypes — Show Resource Access
/v1/organizations/{organizationid}/snapshots/access/resource
GET
Gethasresourcesaccess — Show Access
/v1/organizations/{organizationid}/snapshots/{snapshotid}/access
GET
Getmissingprivilegeaccess — Show Resources Access
/v1/organizations/{organizationid}/snapshots/{snapshotid}/access/resources

MCP Tools

show-resource-access

Show Resource Access

read-only idempotent
show-access

Show Access

read-only idempotent
show-resources-access

Show Resources Access

read-only idempotent

Capability Spec

migration-snapshot-access.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Migration API — Snapshot Access
  description: 'Coveo Migration API — Snapshot Access. 3 operations. Lead operation: Show Resource Access. Self-contained
    Naftiko capability covering one Coveo business surface.'
  tags:
  - Coveo
  - Migration
  - Snapshot Access
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_API_KEY: COVEO_API_KEY
capability:
  consumes:
  - type: http
    namespace: migration-snapshot-access
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Migration API — Snapshot Access business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_API_KEY}}'
    resources:
    - name: rest-organizations-organizationId-snapshots-access-resource
      path: /rest/organizations/{organizationId}/snapshots/access/resource
      operations:
      - name: getaccessibleresourcetypes
        method: GET
        description: Show Resource Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the [organization](https://docs.coveo.com/en/185/).<br/>**Example:** `startingorganizationg8tp8wu3`
          required: true
    - name: rest-organizations-organizationId-snapshots-snapshotId-access
      path: /rest/organizations/{organizationId}/snapshots/{snapshotId}/access
      operations:
      - name: gethasresourcesaccess
        method: GET
        description: Show Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the [organization](https://docs.coveo.com/en/185/).<br/>**Example:** `startingorganizationg8tp8wu3`
          required: true
        - name: snapshotId
          in: path
          type: string
          description: The unique identifier of the target snapshot.<br/>**Example:** `startingorganization-xzgbf5rdaiqtaznvh74zdwcedi`
          required: true
        - name: snapshotAccessType
          in: query
          type: string
          description: The resource access level to verify.<br/>**Allowed values:**<br/> - `READ`<br/> - `WRITE`
          required: true
    - name: rest-organizations-organizationId-snapshots-snapshotId-access-resources
      path: /rest/organizations/{organizationId}/snapshots/{snapshotId}/access/resources
      operations:
      - name: getmissingprivilegeaccess
        method: GET
        description: Show Resources Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the [organization](https://docs.coveo.com/en/185/).<br/>**Example:** `startingorganizationg8tp8wu3`
          required: true
        - name: snapshotId
          in: path
          type: string
          description: The unique identifier of the target snapshot.<br/>**Example:** `startingorganization-xzgbf5rdaiqtaznvh74zdwcedi`
          required: true
        - name: snapshotAccessType
          in: query
          type: string
          description: The resource access level to verify.<br/>**Allowed values:**<br/> - `READ`<br/> - `WRITE`
          required: true
  exposes:
  - type: rest
    namespace: migration-snapshot-access-rest
    port: 8080
    description: REST adapter for Coveo Migration API — Snapshot Access. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/snapshots/access/resource
      name: rest-organizations-organizationid-snapshots-access-resource
      description: REST surface for rest-organizations-organizationId-snapshots-access-resource.
      operations:
      - method: GET
        name: getaccessibleresourcetypes
        description: Show Resource Access
        call: migration-snapshot-access.getaccessibleresourcetypes
        with:
          organizationId: rest.organizationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/snapshots/{snapshotid}/access
      name: rest-organizations-organizationid-snapshots-snapshotid-access
      description: REST surface for rest-organizations-organizationId-snapshots-snapshotId-access.
      operations:
      - method: GET
        name: gethasresourcesaccess
        description: Show Access
        call: migration-snapshot-access.gethasresourcesaccess
        with:
          organizationId: rest.organizationId
          snapshotId: rest.snapshotId
          snapshotAccessType: rest.snapshotAccessType
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/snapshots/{snapshotid}/access/resources
      name: rest-organizations-organizationid-snapshots-snapshotid-access-resources
      description: REST surface for rest-organizations-organizationId-snapshots-snapshotId-access-resources.
      operations:
      - method: GET
        name: getmissingprivilegeaccess
        description: Show Resources Access
        call: migration-snapshot-access.getmissingprivilegeaccess
        with:
          organizationId: rest.organizationId
          snapshotId: rest.snapshotId
          snapshotAccessType: rest.snapshotAccessType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: migration-snapshot-access-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Migration API — Snapshot Access. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: show-resource-access
      description: Show Resource Access
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: migration-snapshot-access.getaccessibleresourcetypes
      with:
        organizationId: tools.organizationId
      outputParameters:
      - type: object
        mapping: $.
    - name: show-access
      description: Show Access
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: migration-snapshot-access.gethasresourcesaccess
      with:
        organizationId: tools.organizationId
        snapshotId: tools.snapshotId
        snapshotAccessType: tools.snapshotAccessType
      outputParameters:
      - type: object
        mapping: $.
    - name: show-resources-access
      description: Show Resources Access
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: migration-snapshot-access.getmissingprivilegeaccess
      with:
        organizationId: tools.organizationId
        snapshotId: tools.snapshotId
        snapshotAccessType: tools.snapshotAccessType
      outputParameters:
      - type: object
        mapping: $.