GET
/
v2
/
servers
/
curl --request GET \
  --url https://api.computeflow.cloud/v2/servers/ \
  --header 'api-key: <api-key>'
{
  "total_servers": 123,
  "servers": [
    {
      "instance_id": "<string>",
      "name": "<string>",
      "network_ports": [
        {
          "name": "<string>",
          "internal_port": 123,
          "external_port": 123,
          "protocol": "udp",
          "host": "<string>",
          "tls_enabled": false
        }
      ],
      "status": "launching",
      "startup_args": "<string>",
      "service_type": "match_based",
      "compute_size": "",
      "region": "",
      "version_tag": "",
      "started_at": "2023-11-07T05:31:56Z",
      "stopped_at": "2023-11-07T05:31:56Z",
      "custom_data": {},
      "ttl": 123
    }
  ]
}

Headers

api-key
string
required

PlayFlow API Key

Query Parameters

include_launching
boolean
default:false

Include servers in 'launching' state.

Response

200
application/json

Successful Response

Schema for list of servers.