Skip to content
Skip to Content
Coder Docs

Get workspace proxies

GET
/api/v2/workspaceproxies

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
[index: integer]?

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/workspaceproxies" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
[  {    "regions": [      {        "created_at": "2019-08-24T14:15:22Z",        "deleted": true,        "derp_enabled": true,        "derp_only": true,        "display_name": "string",        "healthy": true,        "icon_url": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "path_app_url": "string",        "status": {          "checked_at": "2019-08-24T14:15:22Z",          "report": {            "errors": [              "string"            ],            "warnings": [              "string"            ]          },          "status": "ok"        },        "updated_at": "2019-08-24T14:15:22Z",        "version": "string",        "wildcard_hostname": "string"      }    ]  }]