cURL
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 } ] }
Retrieves a list of game servers for the authenticated project. Use the query parameter to include servers that are still launching.
PlayFlow API Key
Include servers in 'launching' state.
Successful Response
Schema for list of servers.