Build info
OK
application/json- response
agent_api_version?stringAgentAPIVersion is the current version of the Agent API (back versions MAY still be supported).
dashboard_url?stringDashboardURL is the URL to hit the deployment's dashboard. For external workspace proxies, this is the coderd they are connected to.
deployment_id?stringDeploymentID is the unique identifier for this deployment.
external_url?stringExternalURL 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?booleanOAuth2Provider reports whether the OAuth 2.1 authorization server is enabled. The dashboard uses it to show or hide OAuth2 navigation.
provisioner_api_version?stringProvisionerAPIVersion is the current version of the Provisioner API
telemetry?booleanTelemetry is a boolean that indicates whether telemetry is enabled.
upgrade_message?stringUpgradeMessage is the message displayed to users when an outdated client is detected.
version?stringVersion returns the semantic version of the build.
webpush_public_key?stringWebPushPublicKey is the public key for push notifications via Web Push.
workspace_proxy?booleanThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/buildinfo"{ "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}