Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Billing
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
  • Audit Trails events

In this article:

  • gRPC request
  • GetSkuRequest
  • Sku
  • PricingVersion
  • PricingExpression
  • Rate
  1. API reference
  2. gRPC
  3. Sku
  4. Get

Billing API, gRPC: SkuService.Get

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • GetSkuRequest
  • Sku
  • PricingVersion
  • PricingExpression
  • Rate

Returns the specified SKU.

gRPC requestgRPC request

rpc Get (GetSkuRequest) returns (Sku)

GetSkuRequestGetSkuRequest

{
  "id": "string",
  "currency": "string",
  "billing_account_id": "string"
}

Field

Description

id

string

Required field. ID of the SKU to return.
To get the SKU ID, use SkuService.List request.

currency

string

Required field. Currency of the SKU.
Can be one of the following:

  • RUB
  • USD
  • KZT

billing_account_id

string

Optional ID of the billing account.
If specified, contract prices for a particular billing account are included in the response.
To get the billing account ID, use BillingAccountService.List request.

SkuSku

{
  "id": "string",
  "name": "string",
  "description": "string",
  "service_id": "string",
  "pricing_unit": "string",
  "pricing_versions": [
    {
      "type": "PricingVersionType",
      "effective_time": "google.protobuf.Timestamp",
      "pricing_expressions": [
        {
          "rates": [
            {
              "start_pricing_quantity": "string",
              "unit_price": "string",
              "currency": "string"
            }
          ]
        }
      ]
    }
  ]
}

A Stock keeping unit resource.

Field

Description

id

string

ID of the SKU.

name

string

Name of the SKU.

description

string

Description of the sku.

service_id

string

ID of the service that sku belongs to.

pricing_unit

string

Pricing unit of the SKU, e.g. core*hour, gbyte*hour.

pricing_versions[]

PricingVersion

List of pricing versions.

PricingVersionPricingVersion

Pricing version of the SKU.
Defines current and past prices for the sku.

Field

Description

type

enum PricingVersionType

Type of the pricing version.

  • PRICING_VERSION_TYPE_UNSPECIFIED
  • STREET_PRICE: Regular price.
  • CONTRACT_PRICE: Price is overridden by a contract. Defined in the scope of a billing account.

effective_time

google.protobuf.Timestamp

Timestamp pricing version is active since inclusive.
The pricing version is active until next pricing version effective time exclusive.

pricing_expressions[]

PricingExpression

List of pricing expressions.

PricingExpressionPricingExpression

Pricing expression of the pricing version.
Defines price for the sku.

Field

Description

rates[]

Rate

List of rates.

RateRate

Rate of the pricing expression.
Define unit price for pricing quantity interval.

Field

Description

start_pricing_quantity

string

Start of the pricing quantity interval. The end of the interval is the start pricing quantity of the next rate.

unit_price

string

Unit price for the pricing quantity interval.

currency

string

Currency of the unit price.
Can be one of the following:

  • RUB
  • USD
  • KZT

Was the article helpful?

Previous
Overview
Next
List
© 2025 Direct Cursus Technology L.L.C.