Skip to main content

List Gateways

List data source access gateways with pagination. This API requires data source module permissions.

Endpoint: /openapi/v1/gateway/list

Method: GET

Request parameters

ParameterTypeRequiredDescription
nameStringNoGateway name keyword.
gatewayIdStringNoGateway ID.
statusStringNoGateway status.
currentIntegerNoCurrent page number, starting at 1. Default: 1.
pageSizeIntegerNoRecords per page. Default: 10; maximum: 1000.

Response parameters

The response contains success, requestId, current, pageSize, total, and data. Each item in data contains the following fields.

ParameterTypeDescription
data[].idStringGateway ID.
data[].nameStringGateway name.
data[].statusStringGateway status.
data[].statusInfoStringStatus detail.
data[].dsCountIntegerNumber of associated data sources.
data[].lastConnectTimeDateTimeLast connection time.
data[].accountIdStringCreator account ID.
data[].openProxyBooleanWhether proxy is enabled.
data[].proxyIPStringProxy service IP address.
data[].proxyPortIntegerProxy service port.
data[].depGatewayStringID of the dependent proxy gateway.
data[].depStubStringID of the dependent Stub gateway.
data[].tunnelIdStringID of the bound private-network connection.
data[].regionIdStringRegion ID of the Stub.
data[].gatewayNodeInfoObjectGateway node information.

Success response

{"success": true, "requestId": "<requestId>", "current": 1, "pageSize": 10, "total": 1, "data": [{"id": "<gatewayId>", "name": "example-gateway", "status": "running", "dsCount": 0}]}