Get recommendations for compute instances

Changed on

Get the cheapest compute candidate per provider with savings versus the requested instance Superseded by POST /v1/recommendations/compute, which returns RFC 9457 problem responses on failure.

post/recommendations

Request

Request body

include_metadataboolean
workload_classstring

WorkloadClass selects which accelerator gates a compute recommendation applies: inference_single, inference_multi or training_distributed. Empty means inference_multi, which is what the recommender did before the classes existed. Disk requests do not carry one.

Response

OK

cost_per_work_unitnumber
cpu_classstring
work_unitstring

Changes

    • info

      added the new CIRunners enum value to the request property /

    • breaking

      removed the enum value Akamai of the request property /

    • info

      added the new Linode enum value to the request property /