Skip to main content
GET
/
available_contracts
Get Available Contracts
curl --request GET \
  --url https://supply-api.compute-index.com/available_contracts \
  --header 'Authorization: Bearer <token>'
{
  "contract_types": [
    "<string>"
  ],
  "description": {}
}
Returns supported contract types (e.g., ondemand, spot). Not all vendors support all contract types — check the vendor-specific notes in Available Vendors.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response for available contract types.

contract_types
string[]
required
description
Description · object
required

Description of each contract type