Hardware Types

Retrieve all hardware types

get

This endpoint retrieves information about all hardware types supported by cortecs.ai.

Responses
200
A list of available hardware types.
application/json
get
GET /api/v1/hardware-types/ HTTP/1.1
Host: cortecs.ai
Accept: */*
{
  "hardware_types": [
    {
      "hardware_type_id": "NVIDIA_L40S_1",
      "price_info": {
        "price_per_hour": 1.2,
        "price_per_minute": 0.02,
        "currency": "EUR"
      },
      "hardware_info": {
        "gpu_type": "NVIDIA L40S",
        "num_gpus": 1,
        "gpu_ram_gb": 48
      }
    }
  ]
}

Retrieve information about a specific hardware type

get

This endpoint retrieves information about a specific hardware type.

Path parameters
hardware_type_idstringRequired

The unique identifier of the hardware type.

Example: NVIDIA_L40S_1
Responses
200
Successfully retrieved hardware type information.
application/json
get
GET /api/v1/hardware-types/{hardware_type_id} HTTP/1.1
Host: cortecs.ai
Accept: */*
{
  "hardware_type": {
    "hardware_type_id": "NVIDIA_L40S_1",
    "price_info": {
      "price_per_hour": 1.2,
      "price_per_minute": 0.02,
      "currency": "EUR"
    },
    "hardware_info": {
      "gpu_type": "NVIDIA L40S",
      "num_gpus": 1,
      "gpu_ram_gb": 48
    }
  }
}

Retrieve currently available hardware types

get

This endpoint retrieves all available hardware types.

Responses
200
Successfully retrieved available hardware types.
application/json
get
GET /api/v1/hardware-types/available HTTP/1.1
Host: cortecs.ai
Accept: */*
{
  "hardware_types": [
    {
      "hardware_type_id": "NVIDIA_L40S_1",
      "price_info": {
        "price_per_hour": 1.2,
        "price_per_minute": 0.02,
        "currency": "EUR"
      },
      "hardware_info": {
        "gpu_type": "NVIDIA L40S",
        "num_gpus": 1,
        "gpu_ram_gb": 48
      }
    }
  ]
}

Last updated