List instance SKU property catalog
curl --request GET \
--url https://api.sfcompute.com/preview/v2/instance_sku_property_catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sfcompute.com/preview/v2/instance_sku_property_catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sfcompute.com/preview/v2/instance_sku_property_catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sfcompute.com/preview/v2/instance_sku_property_catalog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": true,
"data": [
{
"key": {
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"stable_at": 1738972800,
"documentation_link": "<string>",
"deprecated_at": 1738972800,
"deprecation_info": "<string>"
},
"values": [
{
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"stable_at": 1738972800,
"documentation_link": "<string>",
"deprecated_at": 1738972800,
"deprecation_info": "<string>"
}
],
"type": "enumeration"
}
],
"cursor": "<string>"
}{
"error": {
"type": "authentication_error",
"message": "<string>"
}
}{
"error": {
"type": "unprocessable_entity",
"message": "<string>",
"details": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>"
}
]
}
}{
"error": {
"type": "api_error",
"message": "<string>"
}
}Instance SKU Catalog
List instance SKU property catalog
⚠️ This endpoint is in public preview.
List every property key and its allowed values. Use the keys and values here when filling in requirements on orders and procurements.
GET
/
preview
/
v2
/
instance_sku_property_catalog
List instance SKU property catalog
curl --request GET \
--url https://api.sfcompute.com/preview/v2/instance_sku_property_catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sfcompute.com/preview/v2/instance_sku_property_catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sfcompute.com/preview/v2/instance_sku_property_catalog"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sfcompute.com/preview/v2/instance_sku_property_catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sfcompute.com/preview/v2/instance_sku_property_catalog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": true,
"data": [
{
"key": {
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"stable_at": 1738972800,
"documentation_link": "<string>",
"deprecated_at": 1738972800,
"deprecation_info": "<string>"
},
"values": [
{
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"stable_at": 1738972800,
"documentation_link": "<string>",
"deprecated_at": 1738972800,
"deprecation_info": "<string>"
}
],
"type": "enumeration"
}
],
"cursor": "<string>"
}{
"error": {
"type": "authentication_error",
"message": "<string>"
}
}{
"error": {
"type": "unprocessable_entity",
"message": "<string>",
"details": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>"
}
]
}
}{
"error": {
"type": "api_error",
"message": "<string>"
}
}Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Query Parameters
Maximum number of results to return (1-200, default 50).
Required range:
1 <= x <= 200Cursor for forward pagination (from a previous response's cursor field).
Cursor for backward pagination.
Response
Paginated property catalog.
⌘I