Retrieve a gputype

GET/compute/{connection_id}/gputype/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Gputype

Returns

Response fieldTypeRequiredDescription
idstringNoUnique identifier for the GPU or instance type (vendor SKU)
created_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestringNoDisplay name of the type
gpu_modelenumNoNormalized GPU model Values: NVIDIA_GB300, NVIDIA_B300, NVIDIA_GB200, NVIDIA_B200, NVIDIA_GH200, NVIDIA_H200, NVIDIA_H100_SXM, NVIDIA_H100_PCIE, NVIDIA_H100_NVL, NVIDIA_A100_SXM_80GB, NVIDIA_A100_PCIE_80GB, NVIDIA_A100_40GB, NVIDIA_L40S, NVIDIA_L40, NVIDIA_L4, NVIDIA_A40, NVIDIA_A10, NVIDIA_RTX_PRO_6000, NVIDIA_RTX_6000_ADA, NVIDIA_RTX_A6000, NVIDIA_RTX_A5000, NVIDIA_RTX_A4000, NVIDIA_RTX_5090, NVIDIA_RTX_4090, NVIDIA_RTX_3090, NVIDIA_V100, NVIDIA_T4, AMD_MI355X, AMD_MI325X, AMD_MI300X, AMD_MI250, OTHER
gpu_manufacturerenumNoGPU manufacturer Values: NVIDIA, AMD, INTEL, OTHER
skustringNoThe vendor's own SKU or type name
gpu_countnumberNoGPUs included in one unit of this type
gpu_memory_mbnumberNoMemory per GPU in MiB
cpu_countnumberNovCPUs included in one unit of this type
memory_mbnumberNoSystem memory in MiB
disk_mbnumberNoLocal disk in MiB
architectureenumNoCPU architecture Values: X86_64, ARM64, OTHER
pricesComputePrice[]NoList prices by market and region
prices[].marketenumNoPricing market Values: ON_DEMAND, SPOT, RESERVED, COMMUNITY, OTHER
prices[].region_idstringNoRegion the price applies to, when it varies by region
prices[].price_amountnumberNoList price
prices[].price_unitenumNoUnit that price_amount is quoted in Values: PER_GPU_HOUR, PER_INSTANCE_HOUR, OTHER
prices[].currencystringNoCurrency of price_amount (ISO 4217)
availabilityComputeAvailability[]NoAvailability by region
availability[].region_idstringNoThe region this availability applies to
availability[].levelenumNoNormalized stock level Values: NONE, LOW, MEDIUM, HIGH, OTHER
availability[].quantitynumberNoNumber of units available, when the vendor reports a count

Errors

Errors return the HTTP status code and a JSON body with statusCode, error (the short label) and message (a human-readable detail).

{
  "statusCode": 429,
  "error": "Too Many Requests",
  "message": "Too many requests to unified.to API; max requests per minute: N"
}
StatusErrorMeaning
400Bad RequestThe request was malformed or failed validation.
401UnauthorizedThe connection is likely broken; re-authorize it.
403ForbiddenThe connection is missing permissions or scopes.
404Not FoundThe requested resource does not exist.
429Too Many RequestsRate limit exceeded (see the two sources below).
500Internal Server ErrorAn unexpected error occurred.
501Not ImplementedNot supported by this integration.

Errors from the underlying integration pass through: the integration's status comes back as ours (429, 401, 403, 404 or 5xx), usually with its message. When the integration's error body is unclear, Unified extracts what it can and returns a clearer message.

429 Too Many Requests

A 429 has two possible sources:

  • The integration's own rate limit, passed through.
  • Unified's workspace limit: a rolling 60 seconds, set by plan, with the message Too many requests to unified.to API; max requests per minute: N.
const options = {
  method: 'GET',
  url: 'https://api.unified.to/compute/5de520f96e439b002043d8dc/gputype/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?