Skip to content

CoderWorkspace

API identity

  • Group/version: aggregation.coder.com/v1alpha1
  • Kind: CoderWorkspace
  • Resource: coderworkspaces
  • Scope: namespaced

Spec

Field Type Description
organization string Organization is the Coder organization name.
templateName string TemplateName resolves via TemplateByName(organization, templateName).
templateVersionID string TemplateVersionID optionally pins to a specific template version.
running boolean Running drives start/stop via CreateWorkspaceBuild.
ttlMillis integer
autostartSchedule string

Status

Field Type Description
id string
ownerName string
organizationName string
templateName string
latestBuildID string
latestBuildStatus string
autoShutdown Time
lastUsedAt Time

Source

  • Go type: api/aggregation/v1alpha1/types.go
  • APIService registration manifest: deploy/apiserver-apiservice.yaml