Skip to content

Variable: NewMachineAssignmentSchema

const NewMachineAssignmentSchema: ZodObject<{ expiresAt: ZodNonOptional<ZodOptional<ZodString>>; machineId: ZodString; managedName: ZodNonOptional<ZodOptional<ZodString>>; userId: ZodString; workspaceScope: ZodString; }, $strict>

New service-managed Sandbox assignment written to Lakebase.

  • workspaceScope: Workspace identity that contains the machine.
  • userId: AppKit user identity allowed to use the machine.
  • machineId: Databricks Sandbox identifier.
  • managedName: Databricks Sandbox name recorded at create time. Owner and expiration live in this row, not in the name.
  • expiresAt: Service-managed expiration; absent only on legacy rows awaiting reaping.