Gateways - Get Gateways

Returns a list of gateways for which the user is an admin.

Required scope: Dataset.ReadWrite.All or Dataset.Read.All
To set the permissions scope, see Register an app.

GET https://api.powerbi.com/v1.0/myorg/gateways

Responses

Name Type Description
200 OK

OK

Examples

example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/gateways

Sample Response

{
  "value": [
    {
      "id": "1f69e798-5852-4fdd-ab01-33bb14b6e934",
      "name": "My_Sample_Gateway",
      "type": "Resource",
      "publicKey": {
        "exponent": "AQAB",
        "modulus": "o6j2....cLk="
      }
    }
  ]
}

Definitions

Gateway

A Power BI gateway

GatewayPublicKey

A Power BI gateway public key

Gateways

Odata response wrapper for a Power BI gateways list

Gateway

A Power BI gateway

Name Type Description
gatewayAnnotation
  • string

Gateway metadata in json format

gatewayStatus
  • string

The gateway connectivity status

id
  • string

The gateway id

name
  • string

The gateway name

publicKey

The gateway public key

type
  • string

The gateway type

GatewayPublicKey

A Power BI gateway public key

Name Type Description
exponent
  • string

The public key exponent

modulus
  • string

The public key modulus

Gateways

Odata response wrapper for a Power BI gateways list

Name Type Description
odata.context
  • string
value

The gateways