Microsoft · Capability

Microsoft Power BI REST API — Groups

Microsoft Power BI REST API — Groups. 1 operations. Lead operation: Microsoft List workspaces. Self-contained Naftiko capability covering one Microsoft business surface.

Run with Naftiko MicrosoftGroups

What You Can Do

GET
Listgroups — Microsoft List workspaces
/v1/groups

MCP Tools

microsoft-list-workspaces

Microsoft List workspaces

read-only idempotent

Capability Spec

power-bi-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power BI REST API — Groups
  description: 'Microsoft Power BI REST API — Groups. 1 operations. Lead operation: Microsoft List workspaces. Self-contained
    Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Groups
  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-groups
    baseUri: https://api.powerbi.com/v1.0/myorg
    description: Microsoft Power BI REST API — Groups business capability. Self-contained, no shared references.
    resources:
    - name: groups
      path: /groups
      operations:
      - name: listgroups
        method: GET
        description: Microsoft List workspaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $filter
          in: query
          type: string
          description: OData filter expression
        - name: $top
          in: query
          type: integer
          description: Maximum number to return
        - name: $skip
          in: query
          type: integer
          description: Number to skip
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: power-bi-groups-rest
    port: 8080
    description: REST adapter for Microsoft Power BI REST API — Groups. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/groups
      name: groups
      description: REST surface for groups.
      operations:
      - method: GET
        name: listgroups
        description: Microsoft List workspaces
        call: power-bi-groups.listgroups
        with:
          $filter: rest.$filter
          $top: rest.$top
          $skip: rest.$skip
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: power-bi-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power BI REST API — Groups. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-list-workspaces
      description: Microsoft List workspaces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-bi-groups.listgroups
      with:
        $filter: tools.$filter
        $top: tools.$top
        $skip: tools.$skip
      outputParameters:
      - type: object
        mapping: $.