compute
template

Create a template

post/compute/{connection_id}/template

Request

  • Base URL: http://api.unified.to
  • URL: http://api.unified.to/compute/{connection_id}/template
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

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

Request body

idstring

Unique identifier for the template

created_atstring date-time

When the template was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

When the template was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring

Display name of the template

aliasesstring[]

Alternative names or tags for the template

imagestring

Container or OS image

dockerfilestring

Dockerfile used to build the template

start_commandstring

Command run when an instance starts

status'PENDING' | 'BUILDING' | 'READY' | 'FAILED' | 'OTHER'

Normalized build status

gpu_model'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'

Default GPU model

gpu_countnumber

Default number of GPUs

cpu_countnumber

Default number of vCPUs

memory_mbnumber

Default memory in MiB

disk_mbnumber

Default disk in MiB

portsComputeTemplatePorts (unresolved $ref)
is_publicboolean

Whether the template is publicly shared

last_used_atstring date-time

When an instance was last started from this template (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

rawunknown

Response

Successful

idstring

Unique identifier for the template

created_atstring date-time

When the template was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

When the template was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring

Display name of the template

aliasesstring[]

Alternative names or tags for the template

imagestring

Container or OS image

dockerfilestring

Dockerfile used to build the template

start_commandstring

Command run when an instance starts

status'PENDING' | 'BUILDING' | 'READY' | 'FAILED' | 'OTHER'

Normalized build status

gpu_model'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'

Default GPU model

gpu_countnumber

Default number of GPUs

cpu_countnumber

Default number of vCPUs

memory_mbnumber

Default memory in MiB

disk_mbnumber

Default disk in MiB

portsComputeTemplatePorts (unresolved $ref)
is_publicboolean

Whether the template is publicly shared

last_used_atstring date-time

When an instance was last started from this template (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

rawunknown

Changes

No recorded changes to this operation across all 1 revision of this API.