Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex API Gateway
  • Getting started
    • All guides
    • Creating an API gateway
    • Viewing operations with service resources
  • Access management
  • Tools
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • Getting a list of operations
  • Getting detailed information about an operation
  1. Step-by-step guides
  2. Viewing operations with service resources

Viewing operations with API Gateway resources

Written by
Yandex Cloud
Updated at December 2, 2025
  • Getting a list of operations
  • Getting detailed information about an operation

The system logs all actions with API Gateway resources as a list of operations. Each operation gets its own unique ID.

Getting a list of operationsGetting a list of operations

Management console
CLI
API

You can get a list of operations for a specific resource. The steps below describe how you can do this for an API gateway. The same steps apply to other resources as well.

  1. In the management console, open the folder containing the API gateway.

  2. Go to API Gateway.

  3. In the left-hand panel, select API gateways.

  4. Select the API gateway you need.

  5. Go to the Operations panel for the selected API gateway.

    You will see a list of operations with the selected API gateway.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

To get the list of operations for the API Gateway resource, run this command:

yc serverless <resource_type> list-operations <resource_name_or_ID>

Example

Getting a list of operations for an API gateway:

yc serverless api-gateway list-operations epdplu8jn7sr********

Result:

+----------------------+---------------------+----------------------+---------------------+--------+------------------+
|          ID          |     CREATED AT      |      CREATED BY      |     MODIFIED AT     | STATUS |   DESCRIPTION    |
+----------------------+---------------------+----------------------+---------------------+--------+------------------+
| d5d6ja2j20tj******** | 2024-06-21 09:59:41 | aje9k8luj4qf******** | 2024-06-21 09:59:43 | DONE   | operation_update |
| d5dphtf4p0tp******** | 2024-06-21 09:51:17 | aje9k8luj4qf******** | 2024-06-21 09:51:20 | DONE   | operation_create |
+----------------------+---------------------+----------------------+---------------------+--------+------------------+

By default, information about operations is output as text. To get more detailed information, specify the yaml or json output data format using the --format parameter:

yc serverless api-gateway list-operations <API_gateway_name_or_ID> --format yaml

Result:

- id: d5d6ja2j20tj********
  description: operation_update
  created_at: "2024-06-21T09:59:41.804Z"
  created_by: aje9k8luj4qf********
  modified_at: "2024-06-21T09:59:43.519Z"
  done: true
  metadata:
    '@type': type.googleapis.com/yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayMetadata
    api_gateway_id: d5dig9e60uco********
...

Use the listOperations REST API method for the relevant resource or the <service>/ListOperations gRPC API call.

For example, for an API gateway, use either the listOperations REST API method for the ApiGateway resource or the ApiGatewayService/ListOperations gRPC API call.

Getting detailed information about an operationGetting detailed information about an operation

  1. Get a list of operations for the API gateway.

  2. Copy the operation ID.

  3. Get the operation details:

    CLI
    API

    If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

    By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

    Run this command:

    yc operation get <operation_ID>
    

    Result:

      id: d5dphtf4p0tp********
      description: operation_create
      created_at: "2024-06-21T09:51:17.430Z"
      created_by: aje9k8luj4qf********
      modified_at: "2024-06-21T09:51:20.810Z"
      done: true
      metadata:
        '@type': type.googleapis.com/yandex.cloud.serverless.apigateway.v1.CreateApiGatewayMetadata
        api_gateway_id: d5dig9e60uco********
      response:
        '@type': type.googleapis.com/yandex.cloud.serverless.apigateway.v1.ApiGateway
        id: d5dig9e60uco********
        folder_id: b1g681qpemb4********
        created_at: "2024-06-21T09:51:17.489Z"
        name: operation-logs
        status: ACTIVE
        domain: d5dm1lba80md********.i9******.apigw.yandexcloud.net
        connectivity: {}
        log_options:
          folder_id: b1g681qpemb4********
        execution_timeout: 300s
    

    Use the OperationService/Get gRPC API call.

See alsoSee also

  • Working with operations

Was the article helpful?

Previous
Swagger UI
Next
All tutorials
© 2025 Direct Cursus Technology L.L.C.