GET
/
gpu-instance
/
openapi
/
v1
/
network
curl --request GET \
  --url https://api.novita.ai/gpu-instance/openapi/v1/network \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
{
  "network": [
    {
      "Id": "<string>",
      "user": "<string>",
      "name": "<string>",
      "state": [
        {
          "state": "<string>",
          "error": "<string>"
        }
      ],
      "segment": "<string>",
      "clusterId": "<string>",
      "Addresses": [
        {
          "Id": "<string>",
          "Ip": "<string>"
        }
      ],
      "createTime": "<string>"
    }
  ]
}

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

Bearer authentication format, for example: Bearer {{API Key}}.

Query Parameters

networkId
string
required

Cluster ID. String, length limit: 1-255 characters. Only one is supported.

Response

network
object[]
required

VPC network information.