SELECT [Id], [Name], [HasHITL], [HITLProvider], [MinimumConfidenceThreshold], [PausePrFeedbackBeforeRouting], [ReviewSlaMinutes], 
[MaxAutoRetryOnRejection], [DefaultBranch], [VersionControlBranchPrefix], [RepositoryUrl], [VersionControlToken], [VersionControlSystem], 
[VersionControlAuthType], [VersionControlProvider], [VersionControlUserName], [VersionControlUserEmail], [VersionControlApiBaseUrl], 
[VersionControlApiVersion], [CodeReviewSystem], [AzureOpenAiEndpoint], [AzureOpenAiApiKey], [AzureOpenAiDeployment], [InviteTokenTtl], 
[InviteAcceptBaseUrl], [InviteEmailSubjectTemplate], [InviteEmailBodyTemplate], [PullRequestDescriptionTemplate], [PullRequestCommentTemplate], 
[EmailFrom], [EmailTo], [EmailSmtpHost], [EmailSmtpPort], [EmailSmtpUsername], [EmailSmtpPassword], [EmailSmtpUseSsl], [SlackWebhookUrl], 
[SlackChannel], [SlackBotName], [SlackIconEmoji], [SlackMessageTemplate], [TeamsWebhookUrl], [TeamsMessageTemplate], [ObservabilitySystem], 
[ObservabilityApiKey], [CiCdSystem], [CiCdApiKey], [HostingProvider], [TenantId], [VersionControlConnectedAtUtc], [VersionControlConnectionState], 
[VersionControlLastTestError], [VersionControlLastTestedAtUtc], [UseCoffeeBreakReviewerPool], [IsEnabled]
FROM [dbo].[Workspaces]
WHERE [Id] = @Id;
