List the operating systems supported by the Vultr Marketplace using the Vultr Console or Vultr API to find valid OS IDs for your application image builds.
Marketplace operating systems are the base images available when you build an app image from Vendor Data. Each operating system has an ID you pass as OSID when creating a build.
This guide explains how to retrieve the available operating system IDs using the Vultr Console or the Vultr API.
Click Marketplace in the Vultr Console's left-hand menu.
Click the application name to open the Edit App screen.
Click the Builds tab, then click the Build from Vendor Data button.
The operating system dropdown displays every available option.
Send a GET request to the List Marketplace Operating Systems endpoint.
$ curl "https://api.vultr.com/v2/marketplace/apps/os" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
The response contains an os array and a meta object for pagination. Set per_page to control how many entries return per page, up to a maximum of 500.