Microsoft Power BI · Capability

Microsoft Power BI REST API — Imports

Microsoft Power BI REST API — Imports. 2 operations. Lead operation: Get Imports. Self-contained Naftiko capability covering one Microsoft Power Bi business surface.

Run with Naftiko Microsoft Power BiImports

What You Can Do

GET
Getimports — Get Imports
/v1/imports
POST
Postimport — Post Import
/v1/imports

MCP Tools

get-imports

Get Imports

read-only idempotent
post-import

Post Import

Capability Spec

microsoft-power-bi-imports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power BI REST API — Imports
  description: 'Microsoft Power BI REST API — Imports. 2 operations. Lead operation: Get Imports. Self-contained Naftiko capability
    covering one Microsoft Power Bi business surface.'
  tags:
  - Microsoft Power Bi
  - Imports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_POWER_BI_API_KEY: MICROSOFT_POWER_BI_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-power-bi-imports
    baseUri: https://api.powerbi.com/v1.0/myorg
    description: Microsoft Power BI REST API — Imports business capability. Self-contained, no shared references.
    resources:
    - name: imports
      path: /imports
      operations:
      - name: getimports
        method: GET
        description: Get Imports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: postimport
        method: POST
        description: Post Import
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_POWER_BI_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-power-bi-imports-rest
    port: 8080
    description: REST adapter for Microsoft Power BI REST API — Imports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/imports
      name: imports
      description: REST surface for imports.
      operations:
      - method: GET
        name: getimports
        description: Get Imports
        call: microsoft-power-bi-imports.getimports
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postimport
        description: Post Import
        call: microsoft-power-bi-imports.postimport
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-power-bi-imports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power BI REST API — Imports. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-imports
      description: Get Imports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-power-bi-imports.getimports
      outputParameters:
      - type: object
        mapping: $.
    - name: post-import
      description: Post Import
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-power-bi-imports.postimport
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.