GET
/
gpu-instance
/
openapi
/
v1
/
networks
List VPC Networks
curl --request GET \
  --url https://api.novita.ai/gpu-instance/openapi/v1/networks \
  --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>"
    }
  ],
  "total": "<string>"
}

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Query Parameters

pageSize
integer
Number of items per page. Integer, value must be greater than or equal to 0.
pageNum
integer
Page number to retrieve. Integer, value must be greater than or equal to 0.
name
string
Custom network name (supports fuzzy search). String, length limit: 0-255 characters.
creators
string
Creator user ID. String, length limit: 0-255 characters.

Response

network
object[]
required
VPC network information.
total
string
required
Total number of results.