MCP Gateway Service, REST: McpGateway.List
Retrieves the list of MCP Gateways in the specified folder.
HTTP request
GET https://serverless-mcp-gateway.api.cloud.yandex.net/mcpgateway/v1/mcpGateways
Query parameters
|
Field |
Description |
|
folderId |
string Required field. ID of the folder to list MCP Gateways in. |
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available Default value: 100. |
|
pageToken |
string Page token. To get the next page of results, set |
|
filter |
string A filter expression that filters functions listed in the response. The expression must specify:
|
Response
HTTP Code: 200 - OK
{
"gateways": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"status": "string",
"baseDomain": "string",
"logOptions": {
"disabled": "boolean",
// Includes only one of the fields `logGroupId`, `folderId`
"logGroupId": "string",
"folderId": "string",
// end of the list of possible fields
"minLevel": "string"
},
"networkId": "string",
"serviceAccountId": "string",
"public": "boolean"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
gateways[] |
List of MCP Gateways. |
|
nextPageToken |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
McpGatewayPreview
|
Field |
Description |
|
id |
string Required field. ID of the MCP Gateway. Generated at creation time. |
|
folderId |
string Required field. ID of the folder that the MCP Gateway belongs to. |
|
createdAt |
string (date-time) Required field. Creation timestamp for the MCP Gateway. String in RFC3339 To work with values in this field, use the APIs described in the |
|
name |
string Required field. Name of the MCP Gateway. |
|
description |
string Description of the MCP Gateway. |
|
labels |
object (map<string, string>) MCP Gateway labels as |
|
status |
enum (Status) Required field. Status of the MCP Gateway.
|
|
baseDomain |
string Base domain of the MCP Gateway. |
|
logOptions |
Log options for the MCP Gateway. |
|
networkId |
string ID of the VPC network MCP Gateway will be executed in, in order to access private resources. |
|
serviceAccountId |
string ID of the Service Account which will be used for resource access in MCP Gateway call. |
|
public |
boolean Publicity of the MCP Gateway. Public MCP Gateway can be accessed by anybody. |
LogOptions
|
Field |
Description |
|
disabled |
boolean Is logging from MCP Gateway disabled. |
|
logGroupId |
string ID of the logging group which should be used for MCP Gateway logs. Includes only one of the fields |
|
folderId |
string ID of the folder which default logging group should be used for MCP Gateway logs. Includes only one of the fields |
|
minLevel |
enum (Level) Minimum logs level. See LogLevel.Level for details.
|