VK Cloud logo
Updated atDecember 20, 2023   05:58 AM

API endpoints

In your personal account, you can view the addresses of the available API endpoints. The list and addresses of endpoints differ between regions.

To work with VK Cloud via the API activate API access. Read more about working with services in the section Справка API.

Viewing the list of endpoints

The list is available to all users, regardless of their role if services are activated in the project.

To see the list of endpoints for your region:

  1. Go to VK Cloud personal account.
  2. Click on the user name in the header of the page and select Project settings.
  3. Go to API endpoints tab.

Endpoints of the Moscow region

Cloud Servers

Endpoint
Address
Purpose
Nova
Cinder
Managing disks and their snapshots
Glance
Managing VM images
Karboii
Managing backups of VMs and database instances
Manila
Managing file shares

Getting Project ID

The addresses of some endpoints contain the variable <project_id>. When creating a request, replace this variable with the Project ID of the current project.

The Project ID does not match the project ID to VK Cloud personal account. This is another identifier that is used in configuration files:

  • In openrc.sh, as the value of the variable OS_PROJECT_ID. This file is required to work with additional tools such as the OpenStack CLI or cURL.
  • In vkcs_provider.tf, as the value of the project_id parameter. This file is required to work through Terraform.

To get the Project ID value for a project:

  1. Go to VK Cloud personal account.

  2. Open the desired project by selecting it from the list in the header of the personal account page.

  3. Click on the user name in the header of the page and select Project settings.

  4. Go to API access or Terraform tab.

    The value is available on both tabs, under the headings Project ID and Project ID / tenant_id, respectively.