Get active replicas
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
[index: integer]?The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/replicas" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
[ { "created_at": "2019-08-24T14:15:22Z", "database_latency": 0, "error": "string", "hostname": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "region_id": 0, "relay_address": "string" }]