get
/v1/pricing/{sku}Get price by SKU
Get a specific price by its SKU identifier. This is a public endpoint - no authentication required.
Path Parameters
sku
stringrequiredpath
SKU identifier
Example: "compute.instance.s-gp-1"
Responses
200
Price details
Content-Type: application/json
price
objectoptional404
Price not found
Content-Type: application/json
error
objectrequiredcurl -X GET "https://api.spo1.mycloud.com/v1/pricing/string" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json"
Response
Price details
{"price": {"id": "550e8400-e29b-41d4-a716-446655440000","sku": "compute.instance.s-gp-1","service": "compute","resource_type": "instance","name": "S-GP 1","description": "CPU compartilhada, uso geral","unit": "hour","unit_price": 0.035,"currency": "BRL","metadata": {"tier": "shared","category": "general_purpose","vcpus": 1,"memory_gb": 2},"is_active": true,"valid_from": "2024-01-15T10:30:00Z","valid_to": "2024-01-15T10:30:00Z"}}