Instances

Modify a running compute instance's resources The optional mode field is retained for legacy compatibility. If supplied, routing is derived from the requested or existing GPU count, not the mode value. New integrations should omit mode and configure resources using GPU type, GPU count, CPU, and storage.

post/instances/{id}/modify

Request

  • Base URL
    https://api.thundercompute.com:8443/v1
  • Auth
    API key in header Authorization

Path parameters

idstring required

Instance ID (index)

Request body

add_portsinteger[]
cpu_coresinteger
disk_size_gbinteger
gpu_typestring
mode'prototyping' | 'production'
num_gpusinteger
remove_portsinteger[]

Response

OK

gpu_typestring
identifierstring required
instance_namestring required
num_gpusinteger

Changes

    • info

      request property deprecated

    • breaking

      removed subschema #1 from the request body oneOf list

    • breaking

      the request's body type changed from no type to object

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property