Skip to content
Skip to Content
Coder Docs

Build info

GET
/api/v2/buildinfo

Response Body

OK

application/json
  1. response
agent_api_version?string

AgentAPIVersion is the current version of the Agent API (back versions MAY still be supported).

dashboard_url?string

DashboardURL is the URL to hit the deployment's dashboard. For external workspace proxies, this is the coderd they are connected to.

deployment_id?string

DeploymentID is the unique identifier for this deployment.

external_url?string

ExternalURL references the current Coder version. For production builds, this will link directly to a release. For development builds, this will link to a commit.

oauth2_provider?boolean

OAuth2Provider reports whether the OAuth 2.1 authorization server is enabled. The dashboard uses it to show or hide OAuth2 navigation.

provisioner_api_version?string

ProvisionerAPIVersion is the current version of the Provisioner API

telemetry?boolean

Telemetry is a boolean that indicates whether telemetry is enabled.

upgrade_message?string

UpgradeMessage is the message displayed to users when an outdated client is detected.

version?string

Version returns the semantic version of the build.

webpush_public_key?string

WebPushPublicKey is the public key for push notifications via Web Push.

workspace_proxy?boolean

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

curl -X GET \	"$CODER_URL/api/v2/buildinfo"
Example Response200
{  "agent_api_version": "string",  "dashboard_url": "string",  "deployment_id": "string",  "external_url": "string",  "oauth2_provider": true,  "provisioner_api_version": "string",  "telemetry": true,  "upgrade_message": "string",  "version": "string",  "webpush_public_key": "string",  "workspace_proxy": true}