Microsoft · Capability

Microsoft Power BI REST API — Reports

Microsoft Power BI REST API — Reports. 3 operations. Lead operation: Microsoft List reports. Self-contained Naftiko capability covering one Microsoft business surface.

Run with Naftiko MicrosoftReports

What You Can Do

GET
Listreports — Microsoft List reports
/v1/reports
GET
Getreport — Microsoft Get a report
/v1/reports/{reportid}
DELETE
Deletereport — Microsoft Delete a report
/v1/reports/{reportid}

MCP Tools

microsoft-list-reports

Microsoft List reports

read-only idempotent
microsoft-get-report

Microsoft Get a report

read-only idempotent
microsoft-delete-report

Microsoft Delete a report

idempotent

Capability Spec

power-bi-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power BI REST API — Reports
  description: 'Microsoft Power BI REST API — Reports. 3 operations. Lead operation: Microsoft List reports. Self-contained
    Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_API_KEY: MICROSOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: power-bi-reports
    baseUri: https://api.powerbi.com/v1.0/myorg
    description: Microsoft Power BI REST API — Reports business capability. Self-contained, no shared references.
    resources:
    - name: reports
      path: /reports
      operations:
      - name: listreports
        method: GET
        description: Microsoft List reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: reports-reportId
      path: /reports/{reportId}
      operations:
      - name: getreport
        method: GET
        description: Microsoft Get a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletereport
        method: DELETE
        description: Microsoft Delete a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: power-bi-reports-rest
    port: 8080
    description: REST adapter for Microsoft Power BI REST API — Reports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports
      name: reports
      description: REST surface for reports.
      operations:
      - method: GET
        name: listreports
        description: Microsoft List reports
        call: power-bi-reports.listreports
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{reportid}
      name: reports-reportid
      description: REST surface for reports-reportId.
      operations:
      - method: GET
        name: getreport
        description: Microsoft Get a report
        call: power-bi-reports.getreport
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletereport
        description: Microsoft Delete a report
        call: power-bi-reports.deletereport
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: power-bi-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power BI REST API — Reports. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-list-reports
      description: Microsoft List reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-bi-reports.listreports
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-get-report
      description: Microsoft Get a report
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-bi-reports.getreport
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-delete-report
      description: Microsoft Delete a report
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: power-bi-reports.deletereport
      outputParameters:
      - type: object
        mapping: $.