Spanning · Capability

Spanning Backup for Google Workspace API — Exports

Spanning Backup for Google Workspace API — Exports. 3 operations. Lead operation: List Exports. Self-contained Naftiko capability covering one Spanning business surface.

Run with Naftiko SpanningExports

What You Can Do

GET
Listexports — List Exports
/v1/exports
POST
Initiateexport — Initiate Export
/v1/exports
GET
Getexport — Get Export
/v1/exports/{exportid}

MCP Tools

list-exports

List Exports

read-only idempotent
initiate-export

Initiate Export

get-export

Get Export

read-only idempotent

Capability Spec

google-workspace-exports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spanning Backup for Google Workspace API — Exports
  description: 'Spanning Backup for Google Workspace API — Exports. 3 operations. Lead operation: List Exports. Self-contained
    Naftiko capability covering one Spanning business surface.'
  tags:
  - Spanning
  - Exports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPANNING_API_KEY: SPANNING_API_KEY
capability:
  consumes:
  - type: http
    namespace: google-workspace-exports
    baseUri: https://api.spanningbackup.com
    description: Spanning Backup for Google Workspace API — Exports business capability. Self-contained, no shared references.
    resources:
    - name: exports
      path: /exports
      operations:
      - name: listexports
        method: GET
        description: List Exports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: initiateexport
        method: POST
        description: Initiate Export
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: exports-exportId
      path: /exports/{exportId}
      operations:
      - name: getexport
        method: GET
        description: Get Export
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: exportId
          in: path
          type: string
          description: Unique identifier of the export job
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.SPANNING_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: google-workspace-exports-rest
    port: 8080
    description: REST adapter for Spanning Backup for Google Workspace API — Exports. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/exports
      name: exports
      description: REST surface for exports.
      operations:
      - method: GET
        name: listexports
        description: List Exports
        call: google-workspace-exports.listexports
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: initiateexport
        description: Initiate Export
        call: google-workspace-exports.initiateexport
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/exports/{exportid}
      name: exports-exportid
      description: REST surface for exports-exportId.
      operations:
      - method: GET
        name: getexport
        description: Get Export
        call: google-workspace-exports.getexport
        with:
          exportId: rest.exportId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: google-workspace-exports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spanning Backup for Google Workspace API — Exports. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-exports
      description: List Exports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-workspace-exports.listexports
      outputParameters:
      - type: object
        mapping: $.
    - name: initiate-export
      description: Initiate Export
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-workspace-exports.initiateexport
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-export
      description: Get Export
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-workspace-exports.getexport
      with:
        exportId: tools.exportId
      outputParameters:
      - type: object
        mapping: $.