import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from './client/index.js'; import type { AddMenuEntryBodyDto, ApplySynthesizerRunBodyDto, AttachCustomerSecretDto, AttachEnvironmentExternalIdDto, AttachFileDto, AttachQaConfigFileBodyDto, AttachSynthesizerJobFileBodyDto, BatchOrganizationFileMetadataRequestDto, BulkAttachFilesDto, BulkCreateProblemRunsRequestDto, CreateAgentSkillDto, CreateAndAttachFormBodyDto, CreateCheckFixCycleDto, CreateComputeRequestDto, CreateCostLimitDto, CreateCustomerSecretDto, CreateEnvironmentDto, CreateEnvironmentFileUploadUrlsRequestDto, CreateEvaluationBodyDto, CreateEvaluationExportBodyDto, CreateExportBodyDto, CreateFormVersionBodyDto, CreateGitRepoClaimDto, CreateGradeOnlyEvaluationBodyDto, CreateIssueBodyDto, CreateIssueCommentBodyDto, CreateProblemsDto, CreateProblemVersionDto, CreateProblemWithVersionDto, CreateQaConfigBodyDto, CreateQaGateBodyDto, CreateQaTriggerBodyDto, CreateRolloutBatchDto, CreateRunConfigDto, CreateRunConfigRunDto, CreateRunConfigVersionDto, CreateSynthesizerJobBodyDto, CreateTuningRunDto, DeleteManagedAgentsV1AgentsByAgentIdErrors, DeleteManagedAgentsV1AgentsByAgentIdResponses, DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors, DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses, DeleteManagedAgentsV1AutomationsByAutomationIdErrors, DeleteManagedAgentsV1AutomationsByAutomationIdResponses, DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors, DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses, DeleteManagedAgentsV1EventSourcesByEventSourceIdErrors, DeleteManagedAgentsV1EventSourcesByEventSourceIdResponses, DeleteManagedAgentsV1FilesByFileIdErrors, DeleteManagedAgentsV1FilesByFileIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, DeleteManagedAgentsV1SessionsBySessionIdErrors, DeleteManagedAgentsV1SessionsBySessionIdResourcesByResourceIdErrors, DeleteManagedAgentsV1SessionsBySessionIdResourcesByResourceIdResponses, DeleteManagedAgentsV1SessionsBySessionIdResponses, DeleteManagedAgentsV1SkillGroupsBySkillGroupIdErrors, DeleteManagedAgentsV1SkillGroupsBySkillGroupIdResponses, DeleteManagedAgentsV1SkillsBySkillIdErrors, DeleteManagedAgentsV1SkillsBySkillIdResponses, DeleteManagedAgentsV1TagsByTagIdErrors, DeleteManagedAgentsV1TagsByTagIdResponses, DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors, DeleteManagedAgentsV1TriggerBindingsByBindingIdResponses, DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, DeleteManagedAgentsV1VaultsByVaultIdErrors, DeleteManagedAgentsV1VaultsByVaultIdResponses, DeleteManagedAgentsV1WebhookEndpointsByEndpointIdErrors, DeleteManagedAgentsV1WebhookEndpointsByEndpointIdResponses, DeleteV1ComputesByComputeIdAccessSessionsErrors, DeleteV1ComputesByComputeIdAccessSessionsResponses, DeleteV1ComputesByComputeIdErrors, DeleteV1ComputesByComputeIdResponses, DeleteV1CustomerSecretsByCustomerSecretIdErrors, DeleteV1CustomerSecretsByCustomerSecretIdResponses, DeleteV1EnvironmentsByEnvironmentIdCostLimitsByCostLimitIdErrors, DeleteV1EnvironmentsByEnvironmentIdCostLimitsByCostLimitIdResponses, DeleteV1EnvironmentsByEnvironmentIdErrors, DeleteV1EnvironmentsByEnvironmentIdExternalIdErrors, DeleteV1EnvironmentsByEnvironmentIdExternalIdResponses, DeleteV1EnvironmentsByEnvironmentIdFilesByEnvironmentFileIdErrors, DeleteV1EnvironmentsByEnvironmentIdFilesByEnvironmentFileIdResponses, DeleteV1EnvironmentsByEnvironmentIdFormsErrors, DeleteV1EnvironmentsByEnvironmentIdFormsResponses, DeleteV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdErrors, DeleteV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdResponses, DeleteV1EnvironmentsByEnvironmentIdQaGatesByQaGateIdErrors, DeleteV1EnvironmentsByEnvironmentIdQaGatesByQaGateIdResponses, DeleteV1EnvironmentsByEnvironmentIdQaTriggersByQaTriggerIdErrors, DeleteV1EnvironmentsByEnvironmentIdQaTriggersByQaTriggerIdResponses, DeleteV1EnvironmentsByEnvironmentIdResponses, DeleteV1EvaluationsByEvaluationIdErrors, DeleteV1EvaluationsByEvaluationIdResponses, DeleteV1FormsByFormIdVersionsByFormVersionIdErrors, DeleteV1FormsByFormIdVersionsByFormVersionIdResponses, DeleteV1IssuesByIssueIdCommentsByIssueCommentIdErrors, DeleteV1IssuesByIssueIdCommentsByIssueCommentIdResponses, DeleteV1IssuesByIssueIdErrors, DeleteV1IssuesByIssueIdResponses, DeleteV1OrganizationsByOrganizationIdFormsByFormIdErrors, DeleteV1OrganizationsByOrganizationIdFormsByFormIdResponses, DeleteV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, DeleteV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, DeleteV1ProblemsByProblemIdErrors, DeleteV1ProblemsByProblemIdFormsErrors, DeleteV1ProblemsByProblemIdFormsResponses, DeleteV1ProblemsByProblemIdResponses, DeleteV1QaConfigsByQaConfigIdErrors, DeleteV1QaConfigsByQaConfigIdFilesByQaConfigFileIdErrors, DeleteV1QaConfigsByQaConfigIdFilesByQaConfigFileIdResponses, DeleteV1QaConfigsByQaConfigIdResponses, DeleteV1RunConfigsByRunConfigIdErrors, DeleteV1RunConfigsByRunConfigIdResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdErrors, DeleteV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdDefaultErrors, DeleteV1RunConfigVersionsByRunConfigVersionIdDefaultResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdErrors, DeleteV1RunConfigVersionsByRunConfigVersionIdResponses, DeleteV1SynthesizerJobsBySynthesizerJobIdErrors, DeleteV1SynthesizerJobsBySynthesizerJobIdFilesBySynthesizerJobFileIdErrors, DeleteV1SynthesizerJobsBySynthesizerJobIdFilesBySynthesizerJobFileIdResponses, DeleteV1SynthesizerJobsBySynthesizerJobIdResponses, DeleteV1VersionsByProblemVersionIdErrors, DeleteV1VersionsByProblemVersionIdFilesByProblemVersionFileIdErrors, DeleteV1VersionsByProblemVersionIdFilesByProblemVersionFileIdResponses, DeleteV1VersionsByProblemVersionIdResponses, DeleteV1VersionsByProblemVersionIdRubricsByRubricIdErrors, DeleteV1VersionsByProblemVersionIdRubricsByRubricIdResponses, ExecCommandRequestDto, FinalizeEnvironmentFileUploadsRequestDto, FinalizeUploadRequestDto, GetManagedAgentsV1AgentMemoryErrors, GetManagedAgentsV1AgentMemoryResponses, GetManagedAgentsV1AgentsByAgentIdErrors, GetManagedAgentsV1AgentsByAgentIdLearningErrors, GetManagedAgentsV1AgentsByAgentIdLearningResponses, GetManagedAgentsV1AgentsByAgentIdMemoriesErrors, GetManagedAgentsV1AgentsByAgentIdMemoriesResponses, GetManagedAgentsV1AgentsByAgentIdMemoryActivityErrors, GetManagedAgentsV1AgentsByAgentIdMemoryActivityResponses, GetManagedAgentsV1AgentsByAgentIdMemoryErrors, GetManagedAgentsV1AgentsByAgentIdMemoryResponses, GetManagedAgentsV1AgentsByAgentIdResponses, GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors, GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses, GetManagedAgentsV1AgentsByAgentIdVersionsErrors, GetManagedAgentsV1AgentsByAgentIdVersionsResponses, GetManagedAgentsV1AgentsErrors, GetManagedAgentsV1AgentsResponses, GetManagedAgentsV1AgentTemplatesErrors, GetManagedAgentsV1AgentTemplatesResponses, GetManagedAgentsV1AnalyticsByFamilyErrors, GetManagedAgentsV1AnalyticsByFamilyResponses, GetManagedAgentsV1AutomationRunsByAutomationRunIdErrors, GetManagedAgentsV1AutomationRunsByAutomationRunIdResponses, GetManagedAgentsV1AutomationRunsErrors, GetManagedAgentsV1AutomationRunsResponses, GetManagedAgentsV1AutomationsByAutomationIdErrors, GetManagedAgentsV1AutomationsByAutomationIdResponses, GetManagedAgentsV1AutomationsByAutomationIdStatusErrors, GetManagedAgentsV1AutomationsByAutomationIdStatusResponses, GetManagedAgentsV1AutomationsErrors, GetManagedAgentsV1AutomationsResponses, GetManagedAgentsV1ComputeOfferingsErrors, GetManagedAgentsV1ComputeOfferingsResponses, GetManagedAgentsV1CostEstimatesSessionHourErrors, GetManagedAgentsV1CostEstimatesSessionHourResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors, GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdErrors, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdLogErrors, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdLogResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsErrors, GetManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsResponses, GetManagedAgentsV1EnvironmentsErrors, GetManagedAgentsV1EnvironmentSetupTemplatesErrors, GetManagedAgentsV1EnvironmentSetupTemplatesResponses, GetManagedAgentsV1EnvironmentsResponses, GetManagedAgentsV1EvaluationRunsErrors, GetManagedAgentsV1EvaluationRunsResponses, GetManagedAgentsV1EvaluationsErrors, GetManagedAgentsV1EvaluationsOverviewErrors, GetManagedAgentsV1EvaluationsOverviewResponses, GetManagedAgentsV1EvaluationsResponses, GetManagedAgentsV1EventSourcesByEventSourceIdErrors, GetManagedAgentsV1EventSourcesByEventSourceIdResponses, GetManagedAgentsV1EventSourcesByEventSourceIdStatusErrors, GetManagedAgentsV1EventSourcesByEventSourceIdStatusResponses, GetManagedAgentsV1EventSourcesErrors, GetManagedAgentsV1EventSourcesResponses, GetManagedAgentsV1FilesByFileIdErrors, GetManagedAgentsV1FilesByFileIdResponses, GetManagedAgentsV1FilesErrors, GetManagedAgentsV1FilesResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdChannelCatalogErrors, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdChannelCatalogResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, GetManagedAgentsV1MemoryStoresErrors, GetManagedAgentsV1MemoryStoresResponses, GetManagedAgentsV1ModelsErrors, GetManagedAgentsV1ModelsResponses, GetManagedAgentsV1ReflectionsByReflectionIdErrors, GetManagedAgentsV1ReflectionsByReflectionIdResponses, GetManagedAgentsV1ReflectionsErrors, GetManagedAgentsV1ReflectionsResponses, GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultErrors, GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultResponses, GetManagedAgentsV1SandboxProvidersByProviderStatusErrors, GetManagedAgentsV1SandboxProvidersByProviderStatusResponses, GetManagedAgentsV1SandboxProvidersErrors, GetManagedAgentsV1SandboxProvidersResponses, GetManagedAgentsV1SessionsBySessionIdBoardErrors, GetManagedAgentsV1SessionsBySessionIdBoardResponses, GetManagedAgentsV1SessionsBySessionIdCostsErrors, GetManagedAgentsV1SessionsBySessionIdCostsResponses, GetManagedAgentsV1SessionsBySessionIdCostsSessionsErrors, GetManagedAgentsV1SessionsBySessionIdCostsSessionsResponses, GetManagedAgentsV1SessionsBySessionIdErrors, GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentErrors, GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentResponses, GetManagedAgentsV1SessionsBySessionIdEventsErrors, GetManagedAgentsV1SessionsBySessionIdEventsResponses, GetManagedAgentsV1SessionsBySessionIdOutcomesErrors, GetManagedAgentsV1SessionsBySessionIdOutcomesResponses, GetManagedAgentsV1SessionsBySessionIdPendingInputsErrors, GetManagedAgentsV1SessionsBySessionIdPendingInputsResponses, GetManagedAgentsV1SessionsBySessionIdResourceSamplesErrors, GetManagedAgentsV1SessionsBySessionIdResourceSamplesResponses, GetManagedAgentsV1SessionsBySessionIdResourcesByResourceIdErrors, GetManagedAgentsV1SessionsBySessionIdResourcesByResourceIdResponses, GetManagedAgentsV1SessionsBySessionIdResourcesErrors, GetManagedAgentsV1SessionsBySessionIdResourcesResponses, GetManagedAgentsV1SessionsBySessionIdResponses, GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdErrors, GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdResponses, GetManagedAgentsV1SessionsBySessionIdThreadsErrors, GetManagedAgentsV1SessionsBySessionIdThreadsResponses, GetManagedAgentsV1SessionsBySessionIdTreeErrors, GetManagedAgentsV1SessionsBySessionIdTreeResponses, GetManagedAgentsV1SessionsCostsErrors, GetManagedAgentsV1SessionsCostsResponses, GetManagedAgentsV1SessionsErrors, GetManagedAgentsV1SessionsGestaltErrors, GetManagedAgentsV1SessionsGestaltResponses, GetManagedAgentsV1SessionsMetadataKeysErrors, GetManagedAgentsV1SessionsMetadataKeysResponses, GetManagedAgentsV1SessionsMetadataValuesErrors, GetManagedAgentsV1SessionsMetadataValuesResponses, GetManagedAgentsV1SessionsResponses, GetManagedAgentsV1SessionsUsageErrors, GetManagedAgentsV1SessionsUsageResponses, GetManagedAgentsV1SkillGroupsBySkillGroupIdErrors, GetManagedAgentsV1SkillGroupsBySkillGroupIdResponses, GetManagedAgentsV1SkillGroupsBySkillGroupIdSkillsErrors, GetManagedAgentsV1SkillGroupsBySkillGroupIdSkillsResponses, GetManagedAgentsV1SkillGroupsErrors, GetManagedAgentsV1SkillGroupsResponses, GetManagedAgentsV1SkillsBySkillIdErrors, GetManagedAgentsV1SkillsBySkillIdResponses, GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdErrors, GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses, GetManagedAgentsV1SkillsBySkillIdVersionsErrors, GetManagedAgentsV1SkillsBySkillIdVersionsResponses, GetManagedAgentsV1SkillsErrors, GetManagedAgentsV1SkillsResponses, GetManagedAgentsV1TagsByTagIdErrors, GetManagedAgentsV1TagsByTagIdResponses, GetManagedAgentsV1TagsErrors, GetManagedAgentsV1TagsResponses, GetManagedAgentsV1TriggerBindingsErrors, GetManagedAgentsV1TriggerBindingsResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsErrors, GetManagedAgentsV1VaultsByVaultIdCredentialsResponses, GetManagedAgentsV1VaultsByVaultIdErrors, GetManagedAgentsV1VaultsByVaultIdResponses, GetManagedAgentsV1VaultsErrors, GetManagedAgentsV1VaultsResponses, GetManagedAgentsV1WebhookEndpointsByEndpointIdErrors, GetManagedAgentsV1WebhookEndpointsByEndpointIdResponses, GetManagedAgentsV1WebhookEndpointsErrors, GetManagedAgentsV1WebhookEndpointsResponses, GetV1ComputesByComputeIdErrors, GetV1ComputesByComputeIdResponses, GetV1ComputesErrors, GetV1ComputesResponses, GetV1CustomerSecretsByCustomerSecretIdErrors, GetV1CustomerSecretsByCustomerSecretIdResponses, GetV1EnvironmentsByEnvironmentIdBuiltInSynthesizersByBuiltInSynthesizerKeyErrors, GetV1EnvironmentsByEnvironmentIdBuiltInSynthesizersByBuiltInSynthesizerKeyResponses, GetV1EnvironmentsByEnvironmentIdCostLimitsErrors, GetV1EnvironmentsByEnvironmentIdCostLimitsProblemStatusByProblemIdErrors, GetV1EnvironmentsByEnvironmentIdCostLimitsProblemStatusByProblemIdResponses, GetV1EnvironmentsByEnvironmentIdCostLimitsResponses, GetV1EnvironmentsByEnvironmentIdErrors, GetV1EnvironmentsByEnvironmentIdExportsErrors, GetV1EnvironmentsByEnvironmentIdExportsResponses, GetV1EnvironmentsByEnvironmentIdFilesErrors, GetV1EnvironmentsByEnvironmentIdFilesResponses, GetV1EnvironmentsByEnvironmentIdFormsErrors, GetV1EnvironmentsByEnvironmentIdFormsResponses, GetV1EnvironmentsByEnvironmentIdImportsErrors, GetV1EnvironmentsByEnvironmentIdImportsResponses, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdChildrenErrors, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdChildrenResponses, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdErrors, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdResponses, GetV1EnvironmentsByEnvironmentIdJobsV2Errors, GetV1EnvironmentsByEnvironmentIdJobsV2Responses, GetV1EnvironmentsByEnvironmentIdProblemListItemsErrors, GetV1EnvironmentsByEnvironmentIdProblemListItemsResponses, GetV1EnvironmentsByEnvironmentIdProblemListStatsErrors, GetV1EnvironmentsByEnvironmentIdProblemListStatsResponses, GetV1EnvironmentsByEnvironmentIdProblemsByExternalIdsErrors, GetV1EnvironmentsByEnvironmentIdProblemsByExternalIdsResponses, GetV1EnvironmentsByEnvironmentIdProblemSummariesErrors, GetV1EnvironmentsByEnvironmentIdProblemSummariesResponses, GetV1EnvironmentsByEnvironmentIdQaConfigsErrors, GetV1EnvironmentsByEnvironmentIdQaConfigsResponses, GetV1EnvironmentsByEnvironmentIdQaGatesErrors, GetV1EnvironmentsByEnvironmentIdQaGatesResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdErrors, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptErrors, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptLiveErrors, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptLiveResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptResponses, GetV1EnvironmentsByEnvironmentIdQaJobsErrors, GetV1EnvironmentsByEnvironmentIdQaJobsGradesErrors, GetV1EnvironmentsByEnvironmentIdQaJobsGradesResponses, GetV1EnvironmentsByEnvironmentIdQaJobsResponses, GetV1EnvironmentsByEnvironmentIdQaTriggersErrors, GetV1EnvironmentsByEnvironmentIdQaTriggersResponses, GetV1EnvironmentsByEnvironmentIdResponses, GetV1EnvironmentsByEnvironmentIdRunConfigDefaultsInheritedErrors, GetV1EnvironmentsByEnvironmentIdRunConfigDefaultsInheritedResponses, GetV1EnvironmentsByEnvironmentIdRunConfigReadinessErrors, GetV1EnvironmentsByEnvironmentIdRunConfigReadinessResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsBindableErrors, GetV1EnvironmentsByEnvironmentIdRunConfigsBindableResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsErrors, GetV1EnvironmentsByEnvironmentIdRunConfigsReapedErrors, GetV1EnvironmentsByEnvironmentIdRunConfigsReapedResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsSnapshotsErrors, GetV1EnvironmentsByEnvironmentIdRunConfigsSnapshotsResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsVisibleErrors, GetV1EnvironmentsByEnvironmentIdRunConfigsVisibleResponses, GetV1EnvironmentsByEnvironmentIdSynthesizerJobsErrors, GetV1EnvironmentsByEnvironmentIdSynthesizerJobsResponses, GetV1EnvironmentsByEnvironmentIdSynthesizerRunsErrors, GetV1EnvironmentsByEnvironmentIdSynthesizerRunsResponses, GetV1EnvironmentsByEnvironmentIdTemplateErrors, GetV1EnvironmentsByEnvironmentIdTemplateResponses, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdOracleQaResultErrors, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdOracleQaResultResponses, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdQaGateStatusErrors, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdQaGateStatusResponses, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdErrors, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesErrors, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesResponses, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdResponses, GetV1EnvironmentsErrors, GetV1EnvironmentsResponses, GetV1EvaluationsByEvaluationIdErrors, GetV1EvaluationsByEvaluationIdExportsByExportIdErrors, GetV1EvaluationsByEvaluationIdExportsByExportIdResponses, GetV1EvaluationsByEvaluationIdExportsErrors, GetV1EvaluationsByEvaluationIdExportsResponses, GetV1EvaluationsByEvaluationIdResponses, GetV1EvaluationsByEvaluationIdResultsErrors, GetV1EvaluationsByEvaluationIdResultsResponses, GetV1EvaluationsErrors, GetV1EvaluationsResponses, GetV1ExportsByExportIdErrors, GetV1ExportsByExportIdResponses, GetV1FilesByProblemFileIdDownloadErrors, GetV1FilesByProblemFileIdDownloadResponses, GetV1FormsByFormIdErrors, GetV1FormsByFormIdResponses, GetV1ImagesByImageIdErrors, GetV1ImagesByImageIdResponses, GetV1ImagesErrors, GetV1ImagesResponses, GetV1ImportsByImportIdErrors, GetV1ImportsByImportIdResponses, GetV1ImportsPlatformLimitsErrors, GetV1ImportsPlatformLimitsResponses, GetV1IssuesByIssueIdCommentsErrors, GetV1IssuesByIssueIdCommentsResponses, GetV1IssuesByIssueIdErrors, GetV1IssuesByIssueIdResponses, GetV1JobsByJobIdProblemRunsErrors, GetV1JobsByJobIdProblemRunsResponses, GetV1JobsByJobIdRubricScoresErrors, GetV1JobsByJobIdRubricScoresResponses, GetV1MarketplaceImagesByMarketplaceImageIdErrors, GetV1MarketplaceImagesByMarketplaceImageIdResponses, GetV1MarketplaceImagesErrors, GetV1MarketplaceImagesResponses, GetV1MeIdentityErrors, GetV1MeIdentityResponses, GetV1MePermissionsErrors, GetV1MePermissionsResponses, GetV1ModelsErrors, GetV1ModelsResponses, GetV1OrganizationsByOrganizationIdCheckFixCyclesByJobV2IdErrors, GetV1OrganizationsByOrganizationIdCheckFixCyclesByJobV2IdResponses, GetV1OrganizationsByOrganizationIdFormsErrors, GetV1OrganizationsByOrganizationIdFormsResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdChildrenErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdChildrenResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventLogErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventLogResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventsErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventsResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdOutputFilesErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdOutputFilesResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdEventsErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdEventsResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdFilesErrors, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdFilesResponses, GetV1OrganizationsByOrganizationIdJobsV2Errors, GetV1OrganizationsByOrganizationIdJobsV2Responses, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdErrors, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResponses, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResultsErrors, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResultsResponses, GetV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdErrors, GetV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdResponses, GetV1OrganizationsByOrganizationIdRunConfigsErrors, GetV1OrganizationsByOrganizationIdRunConfigsReapedErrors, GetV1OrganizationsByOrganizationIdRunConfigsReapedResponses, GetV1OrganizationsByOrganizationIdRunConfigsResponses, GetV1OrganizationsByOrganizationIdRunConfigsVisibleErrors, GetV1OrganizationsByOrganizationIdRunConfigsVisibleResponses, GetV1OrganizationsByOrganizationIdSkillsBySkillIdContentErrors, GetV1OrganizationsByOrganizationIdSkillsBySkillIdContentResponses, GetV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, GetV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, GetV1OrganizationsByOrganizationIdSkillsErrors, GetV1OrganizationsByOrganizationIdSkillsResponses, GetV1OrganizationsByOrganizationIdTuningRunsByJobV2IdErrors, GetV1OrganizationsByOrganizationIdTuningRunsByJobV2IdResponses, GetV1OrganizationsByOrganizationIdTuningRunsTrainingContractErrors, GetV1OrganizationsByOrganizationIdTuningRunsTrainingContractResponses, GetV1ProblemRunsByProblemRunIdErrors, GetV1ProblemRunsByProblemRunIdFilesErrors, GetV1ProblemRunsByProblemRunIdFilesResponses, GetV1ProblemRunsByProblemRunIdGradeHistoryErrors, GetV1ProblemRunsByProblemRunIdGradeHistoryResponses, GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdGradingRunsErrors, GetV1ProblemRunsByProblemRunIdGradingRunsResponses, GetV1ProblemRunsByProblemRunIdResponses, GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdRubricScoresErrors, GetV1ProblemRunsByProblemRunIdRubricScoresResponses, GetV1ProblemRunsByProblemRunIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdTranscriptLiveErrors, GetV1ProblemRunsByProblemRunIdTranscriptLiveResponses, GetV1ProblemRunsByProblemRunIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdUsageErrors, GetV1ProblemRunsByProblemRunIdUsageResponses, GetV1ProblemRunsByProblemRunIdWorkspaceEntriesErrors, GetV1ProblemRunsByProblemRunIdWorkspaceEntriesResponses, GetV1ProblemRunsByProblemRunIdWorkspaceFileDownloadUrlErrors, GetV1ProblemRunsByProblemRunIdWorkspaceFileDownloadUrlResponses, GetV1ProblemsByProblemIdErrors, GetV1ProblemsByProblemIdFormsErrors, GetV1ProblemsByProblemIdFormsOverrideErrors, GetV1ProblemsByProblemIdFormsOverrideResponses, GetV1ProblemsByProblemIdFormsResponses, GetV1ProblemsByProblemIdHasCompletedRunErrors, GetV1ProblemsByProblemIdHasCompletedRunResponses, GetV1ProblemsByProblemIdIssuesErrors, GetV1ProblemsByProblemIdIssuesResponses, GetV1ProblemsByProblemIdProblemRunsErrors, GetV1ProblemsByProblemIdProblemRunsResponses, GetV1ProblemsByProblemIdResponses, GetV1ProblemsByProblemIdRunConfigsErrors, GetV1ProblemsByProblemIdRunConfigsReapedErrors, GetV1ProblemsByProblemIdRunConfigsReapedResponses, GetV1ProblemsByProblemIdRunConfigsResponses, GetV1ProblemsByProblemIdRunConfigsVisibleErrors, GetV1ProblemsByProblemIdRunConfigsVisibleResponses, GetV1ProblemsByProblemIdVersionsErrors, GetV1ProblemsByProblemIdVersionsResponses, GetV1ProblemVersionsByProblemVersionIdFormAnswersErrors, GetV1ProblemVersionsByProblemVersionIdFormAnswersResponses, GetV1QaConfigsByQaConfigIdErrors, GetV1QaConfigsByQaConfigIdResponses, GetV1RunConfigProbeRunsByRunConfigProbeRunIdErrors, GetV1RunConfigProbeRunsByRunConfigProbeRunIdResponses, GetV1RunConfigProbeRunsByRunConfigProbeRunIdTranscriptLiveErrors, GetV1RunConfigProbeRunsByRunConfigProbeRunIdTranscriptLiveResponses, GetV1RunConfigsByRunConfigIdErrors, GetV1RunConfigsByRunConfigIdResponses, GetV1RunConfigsByRunConfigIdVersionsErrors, GetV1RunConfigsByRunConfigIdVersionsResponses, GetV1RunConfigsReapedErrors, GetV1RunConfigsReapedResponses, GetV1RunConfigsSystemErrors, GetV1RunConfigsSystemResponses, GetV1RunConfigsSystemVisibleErrors, GetV1RunConfigsSystemVisibleResponses, GetV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsErrors, GetV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsResponses, GetV1RunConfigVersionsByRunConfigVersionIdErrors, GetV1RunConfigVersionsByRunConfigVersionIdProbeRunsErrors, GetV1RunConfigVersionsByRunConfigVersionIdProbeRunsResponses, GetV1RunConfigVersionsByRunConfigVersionIdResolveErrors, GetV1RunConfigVersionsByRunConfigVersionIdResolveResponses, GetV1RunConfigVersionsByRunConfigVersionIdResponses, GetV1SynthesizerJobsBySynthesizerJobIdErrors, GetV1SynthesizerJobsBySynthesizerJobIdResponses, GetV1VersionsByProblemVersionIdAiOperationsByAiOperationIdErrors, GetV1VersionsByProblemVersionIdAiOperationsByAiOperationIdResponses, GetV1VersionsByProblemVersionIdErrors, GetV1VersionsByProblemVersionIdFilesErrors, GetV1VersionsByProblemVersionIdFilesResponses, GetV1VersionsByProblemVersionIdResponses, GetV1VersionsByProblemVersionIdRubricsErrors, GetV1VersionsByProblemVersionIdRubricsResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdErrors, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptErrors, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptLiveErrors, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptLiveResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsErrors, GetV1VersionsByProblemVersionIdSynthesizerRunsResponses, InitiateImportBodyDto, LockProblemVersionDto, ManagedAgentsAddSessionResourcesRequest, ManagedAgentsAutomationDefinitionRequest, ManagedAgentsCreateAgentRequest, ManagedAgentsCreateAgentVersionRequest, ManagedAgentsCreateEnvironmentRequest, ManagedAgentsCreateSkillVersionRequest, ManagedAgentsCreateTagRequest, ManagedAgentsCreateTriggerBindingRequest, ManagedAgentsCreateVaultCredentialRequest, ManagedAgentsCreateVaultRequest, ManagedAgentsDefineOutcomeRequest, ManagedAgentsEvaluationOverviewUuid, ManagedAgentsGithubEventSourceRequest, ManagedAgentsHmacCustomEventSourceRequest, ManagedAgentsInterruptAndSendRequest, ManagedAgentsInterruptRequest, ManagedAgentsLearningConfigRequest, ManagedAgentsManualAutomationDefinitionRunRequest, ManagedAgentsMemoryCreateRequest, ManagedAgentsMemoryRequest, ManagedAgentsMemoryStoreRequest, ManagedAgentsOpenSessionAnalystRequest, ManagedAgentsProbeMcpServerRequest, ManagedAgentsReplaceAgentTagsRequest, ManagedAgentsSessionEventSendRequest, ManagedAgentsSkillDisclosurePreviewRequest, ManagedAgentsSkillGroupPatchRequest, ManagedAgentsSkillGroupRequest, ManagedAgentsSkillPatchRequest, ManagedAgentsSkillRequest, ManagedAgentsSlackEventSourceRequest, ManagedAgentsStartSessionRequest, ManagedAgentsUnsignedCustomEventSourceRequest, ManagedAgentsUpdateEnvironmentRequest, ManagedAgentsUpdateTagRequest, ManagedAgentsUpdateTriggerBindingRequest, ManagedAgentsUpdateVaultCredentialRequest, ManagedAgentsUpdateVaultRequest, ManagedAgentsWebhookEndpointRequest, PatchManagedAgentsV1AgentsByAgentIdLearningErrors, PatchManagedAgentsV1AgentsByAgentIdLearningResponses, PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors, PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses, PatchManagedAgentsV1SkillGroupsBySkillGroupIdErrors, PatchManagedAgentsV1SkillGroupsBySkillGroupIdResponses, PatchManagedAgentsV1SkillsBySkillIdErrors, PatchManagedAgentsV1SkillsBySkillIdResponses, PatchManagedAgentsV1TagsByTagIdErrors, PatchManagedAgentsV1TagsByTagIdResponses, PatchManagedAgentsV1TriggerBindingsByBindingIdErrors, PatchManagedAgentsV1TriggerBindingsByBindingIdResponses, PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, PatchManagedAgentsV1VaultsByVaultIdErrors, PatchManagedAgentsV1VaultsByVaultIdResponses, PatchV1CustomerSecretsByCustomerSecretIdErrors, PatchV1CustomerSecretsByCustomerSecretIdResponses, PatchV1EnvironmentsByEnvironmentIdSettingsErrors, PatchV1EnvironmentsByEnvironmentIdSettingsResponses, PatchV1FormsByFormIdErrors, PatchV1FormsByFormIdResponses, PatchV1FormsByFormIdVersionsByFormVersionIdErrors, PatchV1FormsByFormIdVersionsByFormVersionIdResponses, PatchV1IssuesByIssueIdCommentsByIssueCommentIdErrors, PatchV1IssuesByIssueIdCommentsByIssueCommentIdResponses, PatchV1IssuesByIssueIdErrors, PatchV1IssuesByIssueIdResponses, PatchV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, PatchV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, PatchV1ProblemsByProblemIdErrors, PatchV1ProblemsByProblemIdResponses, PatchV1QaConfigsByQaConfigIdErrors, PatchV1QaConfigsByQaConfigIdResponses, PatchV1RunConfigsByRunConfigIdErrors, PatchV1RunConfigsByRunConfigIdResponses, PatchV1RunConfigVersionsByRunConfigVersionIdErrors, PatchV1RunConfigVersionsByRunConfigVersionIdResponses, PatchV1SynthesizerJobsBySynthesizerJobIdErrors, PatchV1SynthesizerJobsBySynthesizerJobIdResponses, PatchV1VersionsByProblemVersionIdErrors, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdGoldStandardErrors, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdGoldStandardResponses, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdTagsErrors, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdTagsResponses, PatchV1VersionsByProblemVersionIdResponses, PatchV1VersionsByProblemVersionIdRubricsByRubricIdErrors, PatchV1VersionsByProblemVersionIdRubricsByRubricIdResponses, PostManagedAgentsV1AgentsByAgentIdVersionsErrors, PostManagedAgentsV1AgentsByAgentIdVersionsResponses, PostManagedAgentsV1AgentsErrors, PostManagedAgentsV1AgentsResponses, PostManagedAgentsV1AutomationsByAutomationIdPauseErrors, PostManagedAgentsV1AutomationsByAutomationIdPauseResponses, PostManagedAgentsV1AutomationsByAutomationIdResumeErrors, PostManagedAgentsV1AutomationsByAutomationIdResumeResponses, PostManagedAgentsV1AutomationsByAutomationIdRunsErrors, PostManagedAgentsV1AutomationsByAutomationIdRunsResponses, PostManagedAgentsV1AutomationsErrors, PostManagedAgentsV1AutomationsResponses, PostManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdCancelErrors, PostManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsBySetupRunIdCancelResponses, PostManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsErrors, PostManagedAgentsV1EnvironmentsByEnvironmentIdSetupRunsResponses, PostManagedAgentsV1EnvironmentsErrors, PostManagedAgentsV1EnvironmentsResponses, PostManagedAgentsV1EventSourcesByEventSourceIdPauseErrors, PostManagedAgentsV1EventSourcesByEventSourceIdPauseResponses, PostManagedAgentsV1EventSourcesByEventSourceIdResumeErrors, PostManagedAgentsV1EventSourcesByEventSourceIdResumeResponses, PostManagedAgentsV1EventSourcesErrors, PostManagedAgentsV1EventSourcesResponses, PostManagedAgentsV1McpProbeErrors, PostManagedAgentsV1McpProbeResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, PostManagedAgentsV1MemoryStoresErrors, PostManagedAgentsV1MemoryStoresResponses, PostManagedAgentsV1SessionsBySessionIdAnalystErrors, PostManagedAgentsV1SessionsBySessionIdAnalystResponses, PostManagedAgentsV1SessionsBySessionIdCancelErrors, PostManagedAgentsV1SessionsBySessionIdCancelResponses, PostManagedAgentsV1SessionsBySessionIdEventsErrors, PostManagedAgentsV1SessionsBySessionIdEventsResponses, PostManagedAgentsV1SessionsBySessionIdHandoffAccessErrors, PostManagedAgentsV1SessionsBySessionIdHandoffAccessResponses, PostManagedAgentsV1SessionsBySessionIdInterruptAndSendErrors, PostManagedAgentsV1SessionsBySessionIdInterruptAndSendResponses, PostManagedAgentsV1SessionsBySessionIdInterruptErrors, PostManagedAgentsV1SessionsBySessionIdInterruptResponses, PostManagedAgentsV1SessionsBySessionIdOutcomesErrors, PostManagedAgentsV1SessionsBySessionIdOutcomesResponses, PostManagedAgentsV1SessionsBySessionIdResourcesErrors, PostManagedAgentsV1SessionsBySessionIdResourcesResponses, PostManagedAgentsV1SessionsErrors, PostManagedAgentsV1SessionsResponses, PostManagedAgentsV1SkillGroupsErrors, PostManagedAgentsV1SkillGroupsResponses, PostManagedAgentsV1SkillsBySkillIdVersionsErrors, PostManagedAgentsV1SkillsBySkillIdVersionsResponses, PostManagedAgentsV1SkillsDisclosurePreviewErrors, PostManagedAgentsV1SkillsDisclosurePreviewResponses, PostManagedAgentsV1SkillsErrors, PostManagedAgentsV1SkillsResponses, PostManagedAgentsV1TagsErrors, PostManagedAgentsV1TagsResponses, PostManagedAgentsV1TriggerBindingsErrors, PostManagedAgentsV1TriggerBindingsResponses, PostManagedAgentsV1VaultsByVaultIdCredentialsErrors, PostManagedAgentsV1VaultsByVaultIdCredentialsResponses, PostManagedAgentsV1VaultsErrors, PostManagedAgentsV1VaultsResponses, PostManagedAgentsV1WebhookEndpointsErrors, PostManagedAgentsV1WebhookEndpointsResponses, PostV1ComputesByComputeIdAccessSessionsErrors, PostV1ComputesByComputeIdAccessSessionsResponses, PostV1ComputesByComputeIdExecErrors, PostV1ComputesByComputeIdExecResponses, PostV1ComputesByComputeIdStartErrors, PostV1ComputesByComputeIdStartResponses, PostV1ComputesByComputeIdStopErrors, PostV1ComputesByComputeIdStopResponses, PostV1ComputesErrors, PostV1ComputesResponses, PostV1CustomerSecretsErrors, PostV1CustomerSecretsResponses, PostV1EnvironmentsByEnvironmentIdExportsErrors, PostV1EnvironmentsByEnvironmentIdExportsResponses, PostV1EnvironmentsByEnvironmentIdFilesFinalizeUploadsErrors, PostV1EnvironmentsByEnvironmentIdFilesFinalizeUploadsResponses, PostV1EnvironmentsByEnvironmentIdFilesSignedUploadUrlsErrors, PostV1EnvironmentsByEnvironmentIdFilesSignedUploadUrlsResponses, PostV1EnvironmentsByEnvironmentIdFormsByFormIdErrors, PostV1EnvironmentsByEnvironmentIdFormsByFormIdResponses, PostV1EnvironmentsByEnvironmentIdFormsErrors, PostV1EnvironmentsByEnvironmentIdFormsResponses, PostV1EnvironmentsByEnvironmentIdImportsInitiateErrors, PostV1EnvironmentsByEnvironmentIdImportsInitiateResponses, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdCancelErrors, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdCancelResponses, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdRerunErrors, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdRerunResponses, PostV1EnvironmentsByEnvironmentIdProblemsErrors, PostV1EnvironmentsByEnvironmentIdProblemsResponses, PostV1EnvironmentsByEnvironmentIdProblemsWithVersionErrors, PostV1EnvironmentsByEnvironmentIdProblemsWithVersionResponses, PostV1EnvironmentsByEnvironmentIdQaConfigsErrors, PostV1EnvironmentsByEnvironmentIdQaConfigsResponses, PostV1EnvironmentsByEnvironmentIdQaGatesErrors, PostV1EnvironmentsByEnvironmentIdQaGatesResponses, PostV1EnvironmentsByEnvironmentIdQaJobsBatchErrors, PostV1EnvironmentsByEnvironmentIdQaJobsBatchResponses, PostV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdCancelErrors, PostV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdCancelResponses, PostV1EnvironmentsByEnvironmentIdQaJobsErrors, PostV1EnvironmentsByEnvironmentIdQaJobsResponses, PostV1EnvironmentsByEnvironmentIdQaTriggersErrors, PostV1EnvironmentsByEnvironmentIdQaTriggersResponses, PostV1EnvironmentsByEnvironmentIdRunConfigMenusByRoleEntriesErrors, PostV1EnvironmentsByEnvironmentIdRunConfigMenusByRoleEntriesResponses, PostV1EnvironmentsByEnvironmentIdSynthesizerJobsErrors, PostV1EnvironmentsByEnvironmentIdSynthesizerJobsResponses, PostV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdStageClearanceErrors, PostV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdStageClearanceResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesErrors, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdDeletionsErrors, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdDeletionsResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdResetsErrors, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdResetsResponses, PostV1EnvironmentsErrors, PostV1EnvironmentsResponses, PostV1EvaluationsBulkErrors, PostV1EvaluationsBulkResponses, PostV1EvaluationsByEvaluationIdCancelErrors, PostV1EvaluationsByEvaluationIdCancelResponses, PostV1EvaluationsByEvaluationIdExportsByExportIdCancelErrors, PostV1EvaluationsByEvaluationIdExportsByExportIdCancelResponses, PostV1EvaluationsByEvaluationIdExportsErrors, PostV1EvaluationsByEvaluationIdExportsResponses, PostV1EvaluationsErrors, PostV1EvaluationsGradeOnlyErrors, PostV1EvaluationsGradeOnlyResponses, PostV1EvaluationsResponses, PostV1ExportsByExportIdCancelErrors, PostV1ExportsByExportIdCancelResponses, PostV1FilesFinalizeUploadsErrors, PostV1FilesFinalizeUploadsResponses, PostV1FilesSignedUploadUrlsErrors, PostV1FilesSignedUploadUrlsResponses, PostV1FormsByFormIdVersionsByFormVersionIdPublishErrors, PostV1FormsByFormIdVersionsByFormVersionIdPublishResponses, PostV1FormsByFormIdVersionsErrors, PostV1FormsByFormIdVersionsResponses, PostV1ImportsByImportIdCancelErrors, PostV1ImportsByImportIdCancelResponses, PostV1ImportsByImportIdConfirmUploadErrors, PostV1ImportsByImportIdConfirmUploadResponses, PostV1IssuesByIssueIdCommentsErrors, PostV1IssuesByIssueIdCommentsResponses, PostV1OrganizationsByOrganizationIdCheckFixCyclesErrors, PostV1OrganizationsByOrganizationIdCheckFixCyclesResponses, PostV1OrganizationsByOrganizationIdFilesMetadataErrors, PostV1OrganizationsByOrganizationIdFilesMetadataResponses, PostV1OrganizationsByOrganizationIdFormsErrors, PostV1OrganizationsByOrganizationIdFormsResponses, PostV1OrganizationsByOrganizationIdGitRepoClaimsErrors, PostV1OrganizationsByOrganizationIdGitRepoClaimsResponses, PostV1OrganizationsByOrganizationIdJobsV2ByJobV2IdCancelErrors, PostV1OrganizationsByOrganizationIdJobsV2ByJobV2IdCancelResponses, PostV1OrganizationsByOrganizationIdRolloutBatchesErrors, PostV1OrganizationsByOrganizationIdRolloutBatchesResponses, PostV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdCancelErrors, PostV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdCancelResponses, PostV1OrganizationsByOrganizationIdRunConfigRunsErrors, PostV1OrganizationsByOrganizationIdRunConfigRunsResponses, PostV1OrganizationsByOrganizationIdSkillsErrors, PostV1OrganizationsByOrganizationIdSkillsResponses, PostV1OrganizationsByOrganizationIdSkillsUploadErrors, PostV1OrganizationsByOrganizationIdSkillsUploadResponses, PostV1OrganizationsByOrganizationIdTuningRunsErrors, PostV1OrganizationsByOrganizationIdTuningRunsResponses, PostV1ProblemRunsBulkErrors, PostV1ProblemRunsBulkResponses, PostV1ProblemRunsByProblemRunIdRegradeErrors, PostV1ProblemRunsByProblemRunIdRegradeResponses, PostV1ProblemRunsRegradeFailedGradersErrors, PostV1ProblemRunsRegradeFailedGradersResponses, PostV1ProblemsByProblemIdFormsByFormIdErrors, PostV1ProblemsByProblemIdFormsByFormIdResponses, PostV1ProblemsByProblemIdFormsErrors, PostV1ProblemsByProblemIdFormsResponses, PostV1ProblemsByProblemIdIssuesErrors, PostV1ProblemsByProblemIdIssuesResponses, PostV1ProblemsByProblemIdResetErrors, PostV1ProblemsByProblemIdResetResponses, PostV1ProblemsByProblemIdVersionsErrors, PostV1ProblemsByProblemIdVersionsResponses, PostV1QaConfigsByQaConfigIdFilesErrors, PostV1QaConfigsByQaConfigIdFilesResponses, PostV1RunConfigProbeRunsByRunConfigProbeRunIdCancelErrors, PostV1RunConfigProbeRunsByRunConfigProbeRunIdCancelResponses, PostV1RunConfigsByRunConfigIdRestoreErrors, PostV1RunConfigsByRunConfigIdRestoreResponses, PostV1RunConfigsByRunConfigIdVersionsErrors, PostV1RunConfigsByRunConfigIdVersionsResponses, PostV1RunConfigsErrors, PostV1RunConfigsResponses, PostV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdErrors, PostV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdResponses, PostV1RunConfigVersionsByRunConfigVersionIdDiscoverMcpToolsErrors, PostV1RunConfigVersionsByRunConfigVersionIdDiscoverMcpToolsResponses, PostV1RunConfigVersionsByRunConfigVersionIdLockErrors, PostV1RunConfigVersionsByRunConfigVersionIdLockResponses, PostV1RunConfigVersionsByRunConfigVersionIdProbeErrors, PostV1RunConfigVersionsByRunConfigVersionIdProbeResponses, PostV1SynthesizerJobsBySynthesizerJobIdFilesErrors, PostV1SynthesizerJobsBySynthesizerJobIdFilesResponses, PostV1VersionsByProblemVersionIdFilesBulkErrors, PostV1VersionsByProblemVersionIdFilesBulkResponses, PostV1VersionsByProblemVersionIdFilesErrors, PostV1VersionsByProblemVersionIdFilesResponses, PostV1VersionsByProblemVersionIdRubricsErrors, PostV1VersionsByProblemVersionIdRubricsResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdApplyErrors, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdApplyResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdCancelErrors, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdCancelResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsErrors, PostV1VersionsByProblemVersionIdSynthesizerRunsResponses, PutManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors, PutManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses, PutManagedAgentsV1AgentsByAgentIdTagsErrors, PutManagedAgentsV1AgentsByAgentIdTagsResponses, PutManagedAgentsV1AutomationsByAutomationIdErrors, PutManagedAgentsV1AutomationsByAutomationIdResponses, PutManagedAgentsV1EventSourcesByEventSourceIdErrors, PutManagedAgentsV1EventSourcesByEventSourceIdResponses, PutManagedAgentsV1WebhookEndpointsByEndpointIdErrors, PutManagedAgentsV1WebhookEndpointsByEndpointIdResponses, PutV1EnvironmentsByEnvironmentIdCostLimitsErrors, PutV1EnvironmentsByEnvironmentIdCostLimitsResponses, PutV1EnvironmentsByEnvironmentIdExternalIdErrors, PutV1EnvironmentsByEnvironmentIdExternalIdResponses, PutV1EnvironmentsByEnvironmentIdTemplateErrors, PutV1EnvironmentsByEnvironmentIdTemplateResponses, PutV1ProblemVersionsByProblemVersionIdFormAnswersErrors, PutV1ProblemVersionsByProblemVersionIdFormAnswersResponses, PutV1RunConfigVersionsByRunConfigVersionIdDefaultErrors, PutV1RunConfigVersionsByRunConfigVersionIdDefaultResponses, PutV1VersionsByProblemVersionIdLockErrors, PutV1VersionsByProblemVersionIdLockResponses, RegradeFailedGradersRequestDto, RemoveExternalIdsDto, SignedUploadUrlRequestDto, StageClearanceRequestBodyDto, TriggerQaJobBatchBodyDto, TriggerQaJobBodyDto, TriggerSynthesizerRunBodyDto, UpdateAgentSkillDto, UpdateCustomerSecretDto, UpdateEnvironmentSettingsDto, UpdateFileTagsDto, UpdateFormBodyDto, UpdateFormVersionBodyDto, UpdateGoldStandardDto, UpdateIssueBodyDto, UpdateIssueCommentBodyDto, UpdateProblemDto, UpdateProblemVersionDto, UpdateQaConfigBodyDto, UpdateRubricBodyDto, UpdateRunConfigDto, UpdateRunConfigVersionDto, UpdateSynthesizerJobBodyDto, UpsertFormAnswerBodyDto } from './types.gen.js'; export type Options = Options2 & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: keyof ClientMeta extends never ? Record : ClientMeta; }; declare class HeyApiClient { protected client: Client; constructor(args?: { client?: Client; }); } declare class HeyApiRegistry { private readonly defaultKey; private readonly instances; get(key?: string): T; set(value: T, key?: string): void; } export declare class ManagedAgents extends HeyApiClient { /** * List static agent templates * * Returns the startup-validated static catalog of agent definitions. Copy one definition into createAgent to create an ordinary managed agent; listing templates has no side effects and performs no live model validation. */ listAgentTemplates(options?: Options): RequestResult; /** * List memory status for every agent * * Returns each customer agent's current memory summary, including agents that have not learned yet. Each status is derived from that agent's latest run. */ listAgentMemorySummaries(options?: Options): RequestResult; /** * List agents * * Returns every agent in the calling organization, each resolved to its latest immutable version and hydrated with current tag definitions in one batch. tag_ids is a comma-separated AND filter: every returned agent carries every requested tag. Soft-deleted agents are omitted, and the response is not paginated. */ listAgents(parameters?: { tag_ids?: string; }, options?: Options): RequestResult; /** * Create an agent and immutable version * * Creates an agent and its first immutable version, and returns the agent resolved to that version. Exactly one of model or model_ref_id is required alongside name and system. The body is also accepted as application/x-yaml with the same schema. Any vault named in default_vault_ids must already exist. Invalid model_config and unsupported reasoning_effort values return 400, including when the model catalog lists no exact options for the selected model; a model catalog that cannot be read to verify them returns 503. An optional Idempotency-Key makes an ambiguous retry safe. Keys contain 1 to 256 visible ASCII characters, must be sent as exactly one header value, and use an organization-wide namespace shared by keyed mutations. Request identity is the exact HTTP method, escaped path, raw query, and raw body bytes: the same organization, key, and transport identity replay the original successful response, while any difference returns 409 idempotency_conflict and an active matching request returns 409 idempotency_in_progress. The agent, first version, request fingerprint, and response binding commit atomically. Completed receipts are retained for approximately 24 hours; pending claims may be reclaimed after approximately 1 hour; no deduplication is guaranteed after expiry. Never retry an unkeyed create after an ambiguous timeout. The guarantee applies only when every intermediary preserves Idempotency-Key unchanged; a client must verify its ingress path does so before relying on ambiguous retry replay. */ createAgent(parameters: { 'Idempotency-Key'?: string; body: ManagedAgentsCreateAgentRequest; }, options?: Options): RequestResult; /** * Soft delete agent * * Soft deletes the agent so it no longer appears in reads and cannot start new sessions. Its version history and the sessions that used it are retained, and the delete cannot be undone through this API. */ deleteAgent(parameters: { agent_id: string; }, options?: Options): RequestResult; /** * Get one agent * * Returns one agent resolved to its latest immutable version, including its system prompt, toolsets, and default credential grants. A soft-deleted or unknown id is a 404. */ getAgent(parameters: { agent_id: string; }, options?: Options): RequestResult; /** * Get an agent's learning configuration * * Returns the memory model override. An unset override inherits the agent model; learning always runs automatically. */ getAgentLearning(parameters: { agent_id: string; }, options?: Options): RequestResult; /** * Set an agent's learning configuration * * Changes the model used by all subsequent memory jobs. Send memory_model_ref: null to use the agent model. Omitted fields remain unchanged. */ updateAgentLearning(parameters: { agent_id: string; body: ManagedAgentsLearningConfigRequest; }, options?: Options): RequestResult; /** * Search an agent's current memories * * Lists current memories as a flat, searchable keyset page, with topics from the entire collection. Retired memories are available through detail and history reads. */ listAgentMemories(parameters: { agent_id: string; query?: string; topic?: string; sort?: 'updated' | 'alphabetical'; cursor?: string; limit?: number; }, options?: Options): RequestResult; /** * Get an agent's memory summary * * Returns the current permanent collection, its effective model, and automatic learning progress without starting work. */ getAgentMemory(parameters: { agent_id: string; }, options?: Options): RequestResult; /** * List an agent's memory activity * * Returns automatic memory updates and checks, newest first, including unchanged checks and failed attempts. */ listAgentMemoryActivity(parameters: { agent_id: string; cursor?: string; limit?: number; }, options?: Options): RequestResult; /** * Replace an agent's complete tag set * * Atomically replaces the agent's classifications with tag_ids and returns the resulting full definitions. Every id must be live in the calling organization; [] clears the set. This never changes agent.updated_at or mints an AgentVersion. */ replaceAgentTags(parameters: { agent_id: string; body: ManagedAgentsReplaceAgentTagsRequest; }, options?: Options): RequestResult; /** * Remove one tag from an agent * * Removes the application and returns 204. Retrying after the relationship is already absent also returns 204; the agent and tag must still exist in the calling organization. */ removeAgentTag(parameters: { agent_id: string; tag_id: string; }, options?: Options): RequestResult; /** * Apply one tag to an agent * * Idempotently applies one live organization tag and returns the agent's resulting full tag definitions. The classification write does not update the agent or mint a version. */ applyAgentTag(parameters: { agent_id: string; tag_id: string; }, options?: Options): RequestResult; /** * List an agent's immutable version history * * Returns all immutable agent versions, newest to oldest, projected through the current public contract. Prompt, model, and supported capabilities remain visible; inert legacy tool declarations remain stored but are omitted from these responses. The response is not paginated. */ listAgentVersions(parameters: { agent_id: string; }, options?: Options): RequestResult; /** * Create a new immutable agent version * * Creates a new immutable agent version from a full definition and moves the agent's latest pointer to it, in one atomic operation. base_agent_version_id must be the agent's current latest_agent_version_id or the request is rejected with 409 revision_conflict, so the caller can re-read and retry rather than silently racing another writer. Every field is full content, there is no partial-update or omit-to-inherit semantics, so an omitted field is cleared rather than carried over from the base version. Tags are changed only through the dedicated agent tag routes. Invalid model_config and unsupported reasoning_effort values return 400, including when the model catalog lists no exact options for the selected model; a model catalog that cannot be read to verify them returns 503. Of the response, only latest_agent_version_id is guaranteed to name the version this call minted: the other fields come from a read taken after the commit, so a concurrent writer's content can appear beneath that id. Read the version back with getAgentVersion when the exact published content matters. */ createAgentVersion(parameters: { agent_id: string; body: ManagedAgentsCreateAgentVersionRequest; }, options?: Options): RequestResult; /** * Get one immutable agent version * * Returns one immutable agent version by id. The version must belong to the agent in the path; a mismatch is a 404 rather than a cross-agent read. */ getAgentVersion(parameters: { agent_id: string; agent_version_id: string; }, options?: Options): RequestResult; /** * Read pre-aggregated session, usage, and environment analytics * * Returns totals, a time series, and default breakdowns for one metric family over a time window. Figures are kept up to date as work happens rather than recomputed from session events, so the cost of a request depends on the window rather than on how much history the organization has, and every response reports its own freshness through as_of and lag_seconds. Percentiles are approximate. scope defaults to the caller's own organization, which is the scope an organization member reads; tenant and global need a tenant-administrator identity and answer 403 otherwise. */ getAnalytics(parameters: { family: 'managed_agent_usage' | 'managed_agent_turn' | 'managed_agent_environment' | 'managed_agent_completion' | 'managed_agent_quality'; scope?: 'workspace' | 'tenant'; workspace_id?: string; from?: string; to?: string; granularity?: 'hour' | 'day'; launched_agent_id?: string; executing_agent_id?: string; executing_agent_version_id?: string; model?: string; project_source?: string; project_id?: string; tool_name?: string; outcome?: 'in_flight' | 'completed' | 'failed' | 'ready' | 'pending' | 'pass' | 'fail' | 'not_applicable'; sandbox_provider?: string; environment_id?: string; compute_class?: string; machine_type?: string; target_agent_id?: string; target_agent_version_id?: string; evaluator_agent_id?: string; evaluator_agent_version_id?: string; criterion_key?: string; archetype?: string; size_bucket?: string; series_group_by?: string; limit?: number; }, options?: Options): RequestResult; /** * List canonical automation runs * * Returns a consistent page of automation runs, newest first. Filters combine with AND, and a continuation cursor is bound to the organization, filters, and the moment the first page was read. */ listAutomationRuns(parameters?: { automationId?: string; triggerId?: string; eventSourceId?: string; triggerType?: 'manual' | 'schedule' | 'slack' | 'github' | 'webhook'; status?: 'pending' | 'created' | 'failed'; createdAtGte?: string; createdAtLt?: string; limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Get one canonical automation run * * Returns one canonical run, including the immutable prompt and context snapshots and its current session-creation outcome. */ getAutomationRun(parameters: { automationRunId: string; }, options?: Options): RequestResult; /** * List canonical automations * * Returns a bounded page of canonical automation summaries, newest first. Prompt, run defaults, and trigger configuration are available only on member reads. */ listAutomations(parameters?: { limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Create a paused canonical automation * * Creates a complete automation aggregate in the paused state after validating the pinned agent version, environment, and every trigger source. */ createAutomation(parameters: { 'Idempotency-Key': string; body: ManagedAgentsAutomationDefinitionRequest; }, options?: Options): RequestResult; /** * Delete a canonical automation * * Soft-deletes the aggregate and its live triggers while preserving admitted run snapshots. Requires the latest strong ETag in If-Match. */ deleteAutomation(parameters: { 'If-Match': string; automationId: string; }, options?: Options): RequestResult; /** * Get a canonical automation * * Returns the complete round-trippable automation aggregate with a strong revision ETag. If-None-Match may answer 304. */ getAutomation(parameters: { 'If-None-Match'?: string; automationId: string; }, options?: Options): RequestResult; /** * Replace a canonical automation aggregate * * Replaces the complete writable aggregate and trigger set while preserving lifecycle state. Requires the latest strong ETag in If-Match. */ replaceAutomation(parameters: { 'If-Match': string; automationId: string; body: ManagedAgentsAutomationDefinitionRequest; }, options?: Options): RequestResult; /** * Pause canonical automation admission * * Stops stored triggers from admitting new runs while leaving explicit manual runs available. Requires the latest strong ETag in If-Match. */ pauseAutomation(parameters: { 'If-Match': string; automationId: string; }, options?: Options): RequestResult; /** * Resume canonical automation admission * * Allows enabled stored triggers to admit new runs. Requires the latest strong ETag in If-Match. */ resumeAutomation(parameters: { 'If-Match': string; automationId: string; }, options?: Options): RequestResult; /** * Run a canonical automation manually * * Atomically freezes the automation and optional payload into one pending run. Explicit manual runs remain available while the automation is paused. The complete HTTP request scope and Idempotency-Key identify the durable result. */ runAutomation(parameters: { 'Idempotency-Key': string; automationId: string; body: ManagedAgentsManualAutomationDefinitionRunRequest; }, options?: Options): RequestResult; /** * Get automation schedule status * * Reads synchronization and bounded live scheduler previews independently of the writable definition. Unavailable state is explicit. */ getAutomationStatus(parameters: { automationId: string; }, options?: Options): RequestResult; /** * List compute catalog and live offerings * * Returns the stable deployment-configured accelerator catalog plus optional live machine offerings. Configured accelerator choices remain present when provider telemetry is stale or unavailable; quota evidence is an administrative ceiling and never claims physical stock. Live offerings describe the CPU, memory, accelerator, capacity confidence, and approximate hourly price of each reported shape. When the runner cannot be read, a deployment with a configured catalog answers 200 with telemetry_unavailable and stale evidence; one without answers 503 compute_offerings_unavailable. This is deployment capability, identical for every organization, and provisions nothing. Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ listComputeOfferings(options?: Options): RequestResult; /** * Estimate the cost of one session hour * * Estimates what one hour of a session costs the calling organization for a model and compute shape: the compute price plus the model's spend while active times how much of a session the agent is active. Every amount is billed cost, i.e. raw cost with the organization's current markup. The active rate comes from the organization's own recent sessions of the model when there are enough, otherwise from sessions pooled across organizations (or a prior, or a list-price scaling of a known model); utilization comes from the agent's own history when agentId has enough completed sessions, otherwise from the workload prior. Bands are 25th/50th/75th percentiles. Served from an in-memory snapshot refreshed in the background; provisions nothing. Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ estimateSessionHourCost(parameters: { model: string; agentId?: string; workload?: 'interactive' | 'autonomous'; cpuMilli?: number; memoryMib?: number; accelerator?: string; acceleratorCount?: number; spot?: boolean; }, options?: Options): RequestResult; /** * List setup script templates * * Returns starting-point setup scripts for common stacks (Python with uv, Node with npm, CUDA with PyTorch, system packages). Copy one into setup.script and edit it. Static per deployment and identical for every organization; the console's template picker reads the same list, so an agent and a person start from the same idiom: pinned versions, idempotent steps, no bash -lc wrapper. */ listEnvironmentSetupTemplates(parameters?: { 'If-None-Match'?: string; }, options?: Options): RequestResult; /** * List environments * * Returns every environment in the calling organization with its full sandbox spec (provider, image, setup, resources, network policy). Soft-deleted environments are omitted, and the response is not paginated. */ listEnvironments(options?: Options): RequestResult; /** * Create environment * * Defines the sandbox an agent session runs in and returns the stored environment, including its generated environment_id. The provider must be one this deployment reports from listSandboxProviders. Nothing is provisioned here unless ?verify=true is passed, in which case a manual setup run starts immediately and the response's setup_verification names it. Otherwise compute is allocated when a session that references the environment starts. An environment with a setup script must be verified (createEnvironmentSetupRun) before a session on the runs or docker provider will start. */ createEnvironment(parameters: { verify?: boolean; body: ManagedAgentsCreateEnvironmentRequest; }, options?: Options): RequestResult; /** * Soft delete environment * * Soft deletes the environment: it disappears from reads and can no longer be referenced by a new session, but nothing is erased. Sessions that already ran against it keep their history. There is no undelete on this API. */ deleteEnvironment(parameters: { environment_id: string; }, options?: Options): RequestResult; /** * Get environment * * Returns one environment and its full sandbox spec. A soft-deleted or unknown id is a 404, and an id belonging to another organization is reported the same way. */ getEnvironment(parameters: { environment_id: string; }, options?: Options): RequestResult; /** * Update environment * * Applies a partial update and returns the stored environment; omitted fields keep their current values. Changing from a non-Runs provider to Runs with an absent or {} stored policy requires an explicit network_policy: {"version":"v1","rules":[]} for deny-all or {} for unrestricted egress. A provider is validated only when the request actually names one. Sending setup with an empty script clears the script; omitting setup leaves it. Any change to provider, image, setup (script or timeout), resources, workspace disk size, provider config, variables, secret references, mounts, network policy, or effective Docker privilege marks the previous setup verification stale; name, description, metadata, and http_port do not. Pass ?verify=true to re-run setup in the same call; that half is authorized as createEnvironmentSetupRun is, in addition to the update itself. Sessions already running keep the spec they started with, so a change takes effect on the next session start. A Runs update that changes a nonempty network_policy or enables privileged Docker requires expected_access with the network_policy and privileged values from the last environment read. A missing access snapshot returns 428; a stale one returns 412. A concurrent placement edit may return 409; reload and retry. */ updateEnvironment(parameters: { environment_id: string; verify?: boolean; body: ManagedAgentsUpdateEnvironmentRequest; }, options?: Options): RequestResult; /** * List setup runs * * Returns the environment's recent setup runs, newest first, manual and session-triggered alike. The newest manual run is the one the environment's setup_verification describes; a session run records what happened when a session provisioned, so a session that failed in setup can be read here by its session_id. */ listEnvironmentSetupRuns(parameters: { environment_id: string; limit?: number; }, options?: Options): RequestResult; /** * Run and verify the environment's setup script * * Provisions fresh compute for the environment, runs its setup script exactly as a session would (same image, resources, variables, and secrets; no session credentials), records every line of output, profiles the compute, releases it, and writes the verdict to the environment's setup_verification. Returns 202 with the queued run; poll getEnvironmentSetupRun with wait_seconds until status is succeeded, failed, or cancelled. On failure read hint, failed_line, and stderr_tail first, then the log. One run at a time per environment: a second request while one is in flight is a 409 naming the run to poll. 400 when the environment has no setup script. This spends compute. */ createEnvironmentSetupRun(parameters: { environment_id: string; }, options?: Options): RequestResult; /** * Get a setup run, optionally waiting for it to finish * * Returns one setup run. With wait_seconds the call blocks until the run reaches a terminal status or the wait elapses, so a poll loop needs no client-side timer. next_action names the call to make on the result: poll again, read the log, or start a session. */ getEnvironmentSetupRun(parameters: { environment_id: string; setup_run_id: string; wait_seconds?: number; }, options?: Options): RequestResult; /** * Cancel a setup run * * Stops a queued or in-flight setup run and releases its compute. The run is returned with status cancelled and active_setup_run_id is cleared. A cancelled run proves nothing: a standing verified or failed verdict is kept as it was, and an environment whose only verdict was running reverts to never. 409 when the run had already finished. */ cancelEnvironmentSetupRun(parameters: { environment_id: string; setup_run_id: string; }, options?: Options): RequestResult; /** * Read or tail a setup run's log * * Returns the run's output after a cursor: stdout and stderr as the script produced them, marker lines naming each script line before it runs, and system lines for the setup phases around the script (provision, gpu_check, profile, cleanup). Secrets are redacted before storage. To tail a live run, loop with after=next_after and wait_seconds=0, sleeping two seconds client-side, until status is terminal and a page comes back empty. */ getEnvironmentSetupRunLog(parameters: { environment_id: string; setup_run_id: string; after?: number; limit?: number; wait_seconds?: number; }, options?: Options): RequestResult; /** * List evaluation runs * * Returns evaluation runs newest first, including active runs and failed runs with no verdicts. Each run's target and verdict counts are read at one consistent point in time. */ listEvaluationRuns(parameters?: { limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * List immutable evaluation verdicts * * Returns an organization-scoped, newest-first page of immutable evaluator verdicts. Optional filters are combined with AND. Retained same-organization evaluation history remains readable after referenced sessions or agents are deleted; unknown and cross-organization references are indistinguishable 404 responses. */ listManagedAgentEvaluations(parameters?: { target_session_id?: string; target_agent_id?: string; evaluator_agent_id?: string; run_session_id?: string; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * Get evaluation overview * * Returns one evaluation dashboard page, read at one consistent point in time. Current and prior windows are adjacent and equal; gaps in history produce explicit null coverage fields rather than misleading zeroes. */ getEvaluationOverview(parameters: { range?: '7d' | '28d' | '90d'; evaluator_agent_version_id: string; target_agent_id?: string; series_target_agent_id?: Array; series_previous_target_agent_version_id?: Array; series_metric?: 'overall' | 'criterion'; series_criterion_key?: string; series_resolution?: 'adaptive'; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * List event sources * * Returns a bounded page of non-secret source summaries, newest first. Protocol configuration is available only on member reads. */ listEventSources(parameters?: { limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Create a paused event source * * Creates a customer webhook source in the paused state. delivery.kind must be webhook; integration sources are connection-managed. Verification credentials are referenced from Vault and secret material is never returned. */ createEventSource(parameters: { 'Idempotency-Key': string; body: ManagedAgentsSlackEventSourceRequest | ManagedAgentsGithubEventSourceRequest | ManagedAgentsUnsignedCustomEventSourceRequest | ManagedAgentsHmacCustomEventSourceRequest; }, options?: Options): RequestResult; /** * Delete an unused event source * * Soft-deletes a customer webhook source only when no live trigger depends on it. Connection-managed sources cannot be deleted independently. Requires the latest strong ETag in If-Match. */ deleteEventSource(parameters: { 'If-Match': string; eventSourceId: string; }, options?: Options): RequestResult; /** * Get an event source * * Returns non-secret source configuration with a strong revision ETag. If-None-Match may answer 304. */ getEventSource(parameters: { 'If-None-Match'?: string; eventSourceId: string; }, options?: Options): RequestResult; /** * Replace an event source configuration * * Replaces the complete writable webhook configuration while preserving lifecycle state. Connection-managed sources cannot be replaced. Requires the latest strong ETag in If-Match. */ replaceEventSource(parameters: { 'If-Match': string; eventSourceId: string; body: ManagedAgentsSlackEventSourceRequest | ManagedAgentsGithubEventSourceRequest | ManagedAgentsUnsignedCustomEventSourceRequest | ManagedAgentsHmacCustomEventSourceRequest; }, options?: Options): RequestResult; /** * Pause event admission from a source * * Stops new admissions from this source without changing dependent triggers. Requires the latest strong ETag in If-Match. */ pauseEventSource(parameters: { 'If-Match': string; eventSourceId: string; }, options?: Options): RequestResult; /** * Resume event admission from a source * * Allows verified deliveries to reach dependent triggers again. Requires the latest strong ETag in If-Match. */ resumeEventSource(parameters: { 'If-Match': string; eventSourceId: string; }, options?: Options): RequestResult; /** * Get volatile event-source status * * Returns live trigger count and bounded last-delivery diagnostics separately from revisioned configuration. */ getEventSourceStatus(parameters: { eventSourceId: string; }, options?: Options): RequestResult; /** * List files * * Returns the caller organization's files, newest first, one page at a time: up to limit files (default 200, at most 1000) and a next_page_token while more follow. Deleted files are omitted; an expired file stays listed, with expires_at in the past, until it is removed after a grace period, so a client that wants only attachable files filters on expires_at. Filter to one session's outputs with scope_session_id or by source. A file_ids lookup (at most 100 ids) is always one page and cannot be combined with limit or page_token. */ listFiles(parameters?: { scope_session_id?: string; file_ids?: Array; source?: 'upload' | 'session_output'; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * Delete a file * * Deletes the file at once: it stops being listed, and new attachments and reads answer 404. The stored content is removed after a grace period. Until then, a session that attached the file before the delete still receives it in its sandbox on later turns, resumes, and replacement sandboxes; after that, the session continues without it and records a warning. */ deleteFile(parameters: { file_id: string; }, options?: Options): RequestResult; /** * Get one file * * Returns one file's metadata. A deleted file answers 404, as does a file belonging to another organization; an expired file still answers, with expires_at in the past, until it is removed after a grace period. */ getFile(parameters: { file_id: string; }, options?: Options): RequestResult; /** * Get the connected Slack bot's bounded channel-selection catalog * * Returns a channel-selection snapshot of at most 1,000 memberships from the connected Slack workspace, using that installation's credential, so an automation trigger can be configured by picking a channel instead of pasting its id. Only a Slack connection has channels; the list is scoped to the connection's own workspace. A channel the bot is not a member of is never listed: invite the bot in Slack first. Throttled reads return 429 slack_rate_limited. A list that stopped at the size budget says truncated=true, so absence from the list never proves the bot is not a member. If the Slack app lacks channels:read or groups:read the response is 422 slack_missing_scope naming the scopes to add. */ getIntegrationSlackChannelCatalog(parameters: { connectionId: string; }, options?: Options): RequestResult; /** * Test an MCP server connection and list its tools * * Opens a live connection to an MCP server using exactly the credential resolution a session would use, and returns the tools it advertises. A server that cannot be reached or authenticated is still HTTP 200 with ok=false, so inspect that field rather than relying on the status code. Pass vault_ids to probe authenticated; omit them to probe anonymously. */ probeMcpServer(parameters: { body: ManagedAgentsProbeMcpServerRequest; }, options?: Options): RequestResult; /** * List memory stores * * Returns the memory stores in the calling organization, newest first. Archived stores are omitted unless include_archived is set. A store's contents are never disclosed in a session's prompt: attaching one adds a single note naming what it holds, and the agent browses, searches, and reads on demand, so what a session pays does not grow with what the agent has learned. */ listMemoryStores(parameters?: { agent_id?: string; origin?: 'curated' | 'reflection'; status?: 'active' | 'archived'; include_archived?: boolean; }, options?: Options): RequestResult; /** * Create a memory store * * Creates a curated store you can seed with reference material before any session runs. The description is disclosed to every agent the store is attached to, so write it as what the agent would be looking for. An agent's learned memory store is created automatically and cannot be created here. */ createMemoryStore(parameters: { body: ManagedAgentsMemoryStoreRequest; }, options?: Options): RequestResult; /** * Delete a memory store * * Removes a manually curated reference store and its memories from every read path. Automatic agent collections cannot be deleted through this endpoint. */ deleteMemoryStore(parameters: { memory_store_id: string; }, options?: Options): RequestResult; /** * Get one memory store * * Returns one store, including how many memories it holds and whether it is active or archived history. */ getMemoryStore(parameters: { memory_store_id: string; }, options?: Options): RequestResult; /** * Update a memory store * * Renames a store or changes its description. An omitted field is left unchanged. An archived store is immutable. */ updateMemoryStore(parameters: { memory_store_id: string; body: ManagedAgentsMemoryStoreRequest; }, options?: Options): RequestResult; /** * Archive a memory store * * Makes a store read-only and unattachable to new sessions. One way: there is no unarchive. Only manually curated reference stores may be archived; automatic collections remain live. */ archiveMemoryStore(parameters: { memory_store_id: string; }, options?: Options): RequestResult; /** * Browse a memory store * * Lists the paths in a store, interleaving memories with the prefixes standing for the paths beneath them, so browsing behaves like listing a directory. path_prefix matches whole path segments, so /notes/ returns /notes/todo.md and never /notes-archive/todo.md. Content is not included; read one memory for its full text. */ listMemories(parameters: { memory_store_id: string; path_prefix?: string; depth?: number; }, options?: Options): RequestResult; /** * Create a memory * * Adds one memory to a curated store. Does not overwrite: changing an existing path is an update, so a retried request cannot destroy content. An agent's learned memory store is not hand-editable; add your own material to a curated store instead. */ createMemory(parameters: { memory_store_id: string; body: ManagedAgentsMemoryCreateRequest; }, options?: Options): RequestResult; /** * Delete a memory * * Removes a memory from every read path and records the deletion as a version, so the audit trail covers deleted memories too. The path becomes available for reuse. */ deleteMemory(parameters: { memory_store_id: string; memory_id: string; }, options?: Options): RequestResult; /** * Read one memory * * Returns one memory including its full content and the content hash to pass back as an update precondition. */ getMemory(parameters: { memory_store_id: string; memory_id: string; }, options?: Options): RequestResult; /** * Update a memory * * Changes a memory's content, path, or both; a different path is a rename. Pass content_sha256 to apply the write only if the stored content still matches what you read, so two concurrent edits cannot silently overwrite each other. Every change creates an immutable version. */ updateMemory(parameters: { memory_store_id: string; memory_id: string; body: ManagedAgentsMemoryRequest; }, options?: Options): RequestResult; /** * Read one memory by path * * Returns one memory including its full content, addressed by the path a listing or search returned. A separate route from the id-addressed read so each has one response shape; use this one when you are following a listing, which is the common case. */ getMemoryByPath(parameters: { memory_store_id: string; path: string; }, options?: Options): RequestResult; /** * List memory versions * * Returns a store's change history, newest first, optionally filtered to one memory. Versions belong to the store rather than the memory, so the trail survives the memory being deleted. Retained 30 days, except that the recent versions of a live memory are kept regardless of age. */ listMemoryVersions(parameters: { memory_store_id: string; memory_id?: string; limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Get one memory version * * Returns one version including the content as it stood, unless the version has been redacted. */ getMemoryVersion(parameters: { memory_store_id: string; memory_version_id: string; }, options?: Options): RequestResult; /** * Redact a memory version * * Scrubs a historical version's content while preserving who wrote it and when, for compliance workflows such as removing a leaked secret. Refuses a version that is the live content of a memory: write a replacement first, then redact the old one. */ redactMemoryVersion(parameters: { memory_store_id: string; memory_version_id: string; }, options?: Options): RequestResult; /** * Restore a memory version * * Writes a retained version's content back as a new version, recreating the memory if it was deleted. One call rather than a read-then-update, so a rollback performed under pressure cannot get the two steps wrong, and the audit trail records the restore as its own change. */ restoreMemoryVersion(parameters: { memory_store_id: string; memory_version_id: string; }, options?: Options): RequestResult; /** * List the models agents can run on * * Returns the models agents can currently run on. The list is not stored per organization; it reflects service configuration, so it can change without any write from this API. */ listModels(parameters?: { 'If-None-Match'?: string; }, options?: Options): RequestResult; /** * List learning runs * * Returns memory learning runs, newest first. Each names the sessions whose reports it read, the collection it updated, and the session that ran it. That session is an ordinary session, so streaming it shows the run's reasoning as it happens. */ listReflections(parameters?: { agent_id?: string; status?: 'pending' | 'running' | 'completed' | 'failed' | 'canceled'; triggered_by?: 'schedule' | 'counter' | 'manual'; limit?: number; }, options?: Options): RequestResult; /** * Get one learning run * * Returns one run: its trigger, status, the sessions whose reports it read, the collection it updated, and the id of the session that ran it. Read what the run spent from that session's costs, which settle after the session ends. */ getReflection(parameters: { reflection_id: string; }, options?: Options): RequestResult; /** * Get the trusted, diff-validated pull request review result * * Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ getPullRequestReviewResult(parameters: { session_id: string; }, options?: Options): RequestResult; /** * List supported sandbox providers * * Returns the sandbox runtimes this deployment can run environments on, with the display name, description, whether the provider is the default, and its required credential name if any. This is static service capability, not organization data, so every caller sees the same list. */ listSandboxProviders(parameters?: { 'If-None-Match'?: string; }, options?: Options): RequestResult; /** * Check sandbox provider connectivity * * Performs a live connectivity check against a deployment-owned sandbox provider and returns connected, misconfigured, unauthorized, or unavailable with an operator-facing message. Connectivity status exists only for the runs provider; any other provider id is a 400. No billable compute is provisioned, and no endpoint or credential material is returned. Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ getSandboxProviderStatus(parameters: { provider: 'runs' | 'self_hosted' | 'docker'; }, options?: Options): RequestResult; /** * List sessions * * Returns sessions visible to the caller in the calling organization, most recent first, filtered by any combination of status, kind, agent_id, current agent tag_ids, and external source. kind accepts a comma-separated list, while tag_ids uses AND semantics. Capped by limit (default 100, max 1000) rather than cursor-paginated. Ordinary callers receive only unclassified public trees; callers with elevated classified-data access can receive classified rows allowed by their scope. */ listSessions(parameters?: { status?: string; kind?: string; agent_id?: string; tag_ids?: string; external_source_type?: string; external_source_id?: string; metadata?: Array; metadata_key?: Array; root_only?: boolean; needs_user?: boolean; evaluation_result?: 'pass' | 'fail' | 'not_applicable' | 'evaluated' | 'none'; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * Start a managed session * * Starts a managed agent session and returns 202 with its session_id and status_path; the agent runs asynchronously, so poll getSession or subscribe with streamSessionEvents to follow it. Sandbox compute is provisioned here, which is where a session begins costing money. Requires an Idempotency-Key header: the same key with the same body returns the original session, and with a different body is rejected. A reasoning_effort incompatible with the selected model or its frozen output capacity returns 400 before provisioning; a temporarily unavailable model reference or catalog dependency returns 503. An environment on managed compute whose setup script has no verified, current run returns 422 environment_not_verified before provisioning; run createEnvironmentSetupRun first. */ startSession(parameters: { 'Idempotency-Key': string; body: ManagedAgentsStartSessionRequest; }, options?: Options): RequestResult; /** * Get exact model-cost summaries for a batch of sessions */ listSessionModelCosts(parameters: { session_ids: string; }, options?: Options): RequestResult; /** * Snapshot every root session created in a window * * Returns a compact projection of every live root session the caller may see that was created at or after since (at most 30 days ago), newest first, read at one instant. Rows carry only identity, agent, state, and timestamps; the response is meant to be drawn whole -- one tile per session -- and then kept current with streamSessionGestalt from as_of, not re-read. Ordinary callers receive only unclassified public roots; callers with elevated classified-data access can receive classified roots allowed by their scope. Served from a covering index, so its latency is a range scan of the window. Windows with more than 5000 roots are truncated to the newest 5000 and say so. */ listSessionGestalt(parameters: { agent_id?: string; since: string; }, options?: Options): RequestResult; /** * List the caller-defined metadata keys sessions carry * * Returns the distinct caller-defined metadata keys across every session the caller may list, sorted, so a client can offer them as filter choices without knowing them in advance. Sessions the caller's access policy hides contribute nothing. Capped at 200 keys; truncated reports when the cap was hit. Pair with listSessionMetadataValues, then filter listSessions with metadata or metadata_key. */ listSessionMetadataKeys(options?: Options): RequestResult; /** * List the values one caller-defined metadata key takes * * Returns the distinct values of one caller-defined metadata key across every session the caller may list, sorted and optionally narrowed to a case-sensitive prefix with q, for a typeahead over listSessions metadata filters. Sessions the caller's access policy hides contribute nothing. A key no session carries returns an empty list rather than an error. When more values match than limit allows, truncated is true: narrow q instead of paging. */ listSessionMetadataValues(parameters: { key: string; q?: string; limit?: number; }, options?: Options): RequestResult; /** * Roll up token and cost totals for a batch of sessions * * Rolls up token counts and cost for the sessions named in session_ids and returns one row per session. Ids that do not exist in this organization are omitted rather than erroring, so compare the row count against what you asked for. The request is rejected if it names more ids than the per-request maximum. */ listSessionUsage(parameters: { session_ids: string; }, options?: Options): RequestResult; /** * Soft delete a session subtree (events retained) * * Soft deletes the session subtree: it is stopped if still running, sandbox teardown is requested, and its rows disappear from reads. An active Evaluation or one with unfinished clone cleanup returns retryable 409 evaluation_deletion_pending and remains visible; retry when cleanup finishes. A pending hard-stop sandbox cleanup returns retryable 409 conflict; retry after cleanup finishes, and seek operator attention if it remains pending. The transcript is retained, so this is not a data-erasure operation and cannot be undone through this API. */ deleteSession(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Get session * * Returns one session with its status, agent and environment binding, and timing. Statuses completed, failed, and cancelled are terminal and will not change again, which is what a poller should wait for. Poll with view=summary once the start-time snapshots are held. */ getSession(parameters: { session_id: string; view?: 'full' | 'summary'; }, options?: Options): RequestResult; /** * Open the session analyst for a session * * Returns the caller's session analyst for the tree containing this session, starting one if they have none (201 when this call started it, 200 otherwise): a read-only assistant session that answers questions about the target -- what the agents were asked to do, what they did, which tools failed, how they coordinated, what it cost and how it was graded. Ask it questions by sending messages to the returned analyst session (sendSessionEvents) and read its answers from that session's events or event stream. One analyst per caller per tree: opening again returns the same conversation, and a body of {"reset": true} ends it; the next question starts a new one. The analyst runs on a fixed platform model with no sandbox and no credentials, and nothing it does changes the target session. Any session id in the tree is accepted; the analyst always reads the whole tree. */ openSessionAnalyst(parameters: { session_id: string; body?: ManagedAgentsOpenSessionAnalystRequest; }, options?: Options): RequestResult; /** * Get the team board * * Returns the shared task board of a session whose roster runs as a team: every task with its status, owner, notes, and outcome; the notices and the decision; and the members named the way the board names them. Any session id in the tree is accepted; the read resolves to its root. A session whose tree is not a team is a 404. Each transition is also recorded as a board_update event on the root's log, but that log interleaves events written by every member, so a reader paging it by event id after a cursor can skip one; this read is the authoritative state, and a poller should refresh from it rather than reconstruct the board from events alone. */ getSessionBoard(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Hard stop a session immediately * * Stops the session immediately and schedules durable sandbox teardown. The response confirms the session stopped; sandbox cleanup may continue asynchronously and is retried. An active Evaluation or one with unfinished clone cleanup returns retryable 409 evaluation_cancellation_pending before the session is stopped; retry after Evaluation cleanup finishes. A session that already reached a terminal status with no pending cleanup is left as it is, so the call is safe to repeat. */ cancelSession(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Page exact model-cost attempts and charges for a session scope */ getSessionModelCosts(parameters: { session_id: string; scope?: 'self' | 'subtree' | 'tree'; limit?: number; page_token?: string; model_cost_snapshot_token?: string; }, options?: Options): RequestResult; /** * Page session nodes and scoped model-cost summaries without loading events */ listSessionModelCostNodes(parameters: { session_id: string; scope?: 'self' | 'subtree' | 'tree'; limit?: number; page_token?: string; model_cost_snapshot_token?: string; }, options?: Options): RequestResult; /** * Get root timeline events * * Returns one page of the root timeline's events in chronological order, plus next_page_token to continue from. A page can come back shorter than limit because an aggregate serialized-byte budget applies as well as the count, so treat an empty page with no token as the end rather than inferring the end from the length. Large event payloads hydrate by default; pass payloads=refs for bounded stubs instead. */ listSessionEvents(parameters: { session_id: string; after_event_id?: string; limit?: number; hydrate?: 'images'; image_urls?: 'signed'; payloads?: 'refs'; }, options?: Options): RequestResult; /** * Append user/system events to a session * * Accepts ordered user and system messages and returns how many were accepted. A running session is woken so the agent sees them, and a finished session resumes to act on them; delivery_state reports how they were delivered. Events are appended in the order given. An omitted or empty events array yields exactly one user turn built from message; the request fails with 400 only when every entry sent was dropped, leaving nothing to append. A top-level image or document block may name a file with source {type: file, file_id}: an unknown, expired, or foreign file answers 404 on that block's source.file_id, a file the block cannot carry (a file whose bytes are not an image on an image block, a binary on a document block, a document over 512 KiB, more than 1 MiB of documents in one event, more than 100 such blocks, or more than 32 MiB of catalog bytes in one request) answers 400 there, and nothing is appended to the transcript; copies of files resolved before the refusal are kept with the session and removed once nothing references them. Without file storage such a block answers 503 file_storage_unconfigured. */ sendSessionEvents(parameters: { session_id: string; body: ManagedAgentsSessionEventSendRequest; }, options?: Options): RequestResult; /** * Stream one authenticated complete event content document * * Streams the complete stored content document for one event as application/json, for events whose payload was externalized instead of inlined in the timeline. The event must belong to the session in the path. The response carries an ETag over the content's SHA-256 and is privately cacheable. */ getSessionEventContent(parameters: { session_id: string; event_id: string; }, options?: Options): RequestResult; /** * Interrupt a running session * * Stops active model generation immediately and gives an active tool a bounded grace period. A session started before immediate interruption was available keeps its earlier bounded grace behavior. Interrupting is also how queued input is read sooner: when messages are waiting, the newest becomes the instruction for a fresh turn instead of leaving the session idle. With nothing waiting the session is left idle so a later follow-up can resume it. interrupted reports whether running work received the request; false means there was nothing running to interrupt. Omit message to use a default one. */ interruptSession(parameters: { session_id: string; body?: ManagedAgentsInterruptRequest; }, options?: Options): RequestResult; /** * Interrupt a session and send a replacement instruction * * Stops active work and durably accepts a replacement instruction in one ordered operation. The session starts a fresh turn automatically. A session started before replacement instructions were available still honors the interrupt and keeps the replacement for its next resume. */ interruptAndSendSessionMessage(parameters: { session_id: string; body: ManagedAgentsInterruptAndSendRequest; }, options?: Options): RequestResult; /** * List a session's outcomes and grading history * * Returns the session's outcomes and their grading history, so a caller can see what "done" was defined as and how each attempt was scored. */ listSessionOutcomes(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Define what done looks like for a session * * Defines what done looks like for an existing session and returns the stored outcome. Outcomes chain rather than run concurrently: the request is rejected while the session still has a non-terminal outcome, so define the next one only after the previous is graded. */ defineSessionOutcome(parameters: { session_id: string; body: ManagedAgentsDefineOutcomeRequest; }, options?: Options): RequestResult; /** * List input a session has accepted but not read * * Returns the messages waiting for a busy session, in acceptance order. A message sent while the agent is mid-turn is durable immediately but is not part of the transcript until the next turn boundary reads it, so it appears here and not in the events listing. Each entry's input_id becomes the event id on promotion, which is how a client follows a queued message into history. Interrupt the session to have the queue read now. */ listSessionPendingInputs(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Read sandbox CPU, memory, and GPU usage for a session tree * * Returns the tree's sandbox attachments and one page of per-minute resource usage buckets for them, ordered by attachment then time. Each bucket carries the minute's average and peak; resolution=raw adds the individual samples as parallel arrays indexed by offsets_ms. A tree whose compute was released and revived has several attachments; follow revived_from_sandbox_id to connect them. live reports whether a sandbox is still attached, which is the cue to keep polling. An empty sandboxes list means the tree never ran in a sandbox or sampling is disabled; an attachment with sampling_source=unsupported means the sandbox could not measure itself. */ listSessionResourceSamples(parameters: { session_id: string; from?: string; to?: string; resolution?: 'minute' | 'raw'; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * List a session's attached files * * Returns the files attached to the session, in attachment order. mount_path is present once the file has been staged into the sandbox: at provisioning for managed compute, and on the next tool call for a file attached mid-session. */ listSessionResources(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Attach files to a running session * * Attaches files to the session. Each attaches the file's content as it is now, is placed in the sandbox on the session's next tool call, and is visible to the agent from its next turn under the session's files directory. All-or-nothing: one unknown file_id answers 404 and one path colliding with, or nesting inside, another's answers 409, and nothing is attached either way. A member session of a multi-agent tree answers 409: files are attached to its root. A completed, failed, or cancelled root session is accepted, and its next message resumes it with the file already staged. */ addSessionResources(parameters: { session_id: string; body: ManagedAgentsAddSessionResourcesRequest; }, options?: Options): RequestResult; /** * Detach a file * * Detaches the file from the session. Bytes already staged into the sandbox are left in place, since the agent may be reading them; the attachment simply stops being listed. */ deleteSessionResource(parameters: { session_id: string; resource_id: string; }, options?: Options): RequestResult; /** * Get one attached file * * Returns one attachment and, once staged, the sandbox path it is readable at. */ getSessionResource(parameters: { session_id: string; resource_id: string; }, options?: Options): RequestResult; /** * List session threads * * Returns every thread in the session's tree, including one synthesized thread per session that has no explicit thread rows, sorted by thread path. Any session id in the tree is accepted; the read resolves to its root. */ listSessionThreads(parameters: { session_id: string; }, options?: Options): RequestResult; /** * Get session thread * * Returns one thread from the session's tree. The thread must belong to the tree rooted at the session in the path; anything else is a 404 rather than a cross-tree read. */ getSessionThread(parameters: { session_id: string; thread_id: string; }, options?: Options): RequestResult; /** * Get root session tree and timeline * * Returns every session in the root session's tree, its threads, and the first bounded page of the merged chronological event log. When next_event_id is set, more events remain and should be fetched with listSessionEvents rather than by re-reading the tree. Any session id in the tree is accepted; the read resolves to its root. */ getSessionTree(parameters: { session_id: string; hydrate?: 'images'; image_urls?: 'signed'; payloads?: 'refs'; }, options?: Options): RequestResult; /** * List skill groups * * Returns one page of the caller organization's skill groups, newest first, each with how many live skills are filed under it. Follow next_page_token to read the rest. Groups are a catalog-side folder: they are never disclosed to the model, and they do not scope skill names. */ listSkillGroups(parameters?: { limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * Create a skill group * * Creates a group you can file skills under and attach to an agent as one entry. An agent attached to a group picks up skills added to it later, without an agent update. */ createSkillGroup(parameters: { body: ManagedAgentsSkillGroupRequest; }, options?: Options): RequestResult; /** * Delete a skill group * * Deletes the group and leaves every skill in it in the catalog with its historical group id. Agents attached to the group report it as unavailable at session start and run without its skills, rather than failing to start. */ deleteSkillGroup(parameters: { skill_group_id: string; }, options?: Options): RequestResult; /** * Get one skill group * * Returns one group and how many live skills it holds. */ getSkillGroup(parameters: { skill_group_id: string; }, options?: Options): RequestResult; /** * Update a skill group * * Renames a group or changes its title, description, or metadata. An omitted field is left unchanged. Renaming is safe at any time: no agent prompt mentions the group. */ updateSkillGroup(parameters: { skill_group_id: string; body: ManagedAgentsSkillGroupPatchRequest; }, options?: Options): RequestResult; /** * List the skills in a group * * Returns one page of the live skills filed under the group, in the order a group attachment expands them at session start. That order matters: it decides which skill's description is dropped first if the disclosure budget is exceeded. Follow next_page_token to read the whole group, which is what an attachment resolves to. */ listSkillsInGroup(parameters: { skill_group_id: string; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * List skills * * Returns one page of the calling organization's skills, newest first, following next_page_token until it is absent to read the whole catalog. Soft-deleted skills are omitted. Instructions are not included: attach a skill to an agent and the model receives its description in every turn, and its instructions only when it activates the skill. Narrow the page with skill_group_id for one folder, ungrouped for the skills in no folder, or search for a substring of a name, title, or description, or for a complete skill id. */ listSkills(parameters?: { skill_group_id?: string; ungrouped?: boolean; search?: string; limit?: number; page_token?: string; }, options?: Options): RequestResult; /** * Create a skill and immutable version * * Creates a skill from a SKILL.md document and returns it. The document's frontmatter supplies the skill's name and description, which are validated against the Agent Skills standard: the name must be lowercase letters, digits, and single hyphens, and a description is required because it is the only signal the model has when deciding whether to use the skill. Send a multipart/form-data body with a `bundle` part instead to upload a zipped skill directory, whose scripts/ and references/ are mounted into the sandbox for sessions that attach it. */ createSkill(parameters: { body: ManagedAgentsSkillRequest; }, options?: Options): RequestResult; /** * Preview what a skill set costs the prompt * * Resolves a proposed attachment list the way a session start would -- expanding groups, fetching catalog references, deduplicating collisions -- and reports what the result costs tier-1 disclosure and which skills the budget reduced to a bare name. A skill listed without its description is still activatable but is unlikely to be chosen, because the description is the only signal the model has. Read-only: nothing is stored. */ previewSkillDisclosure(parameters: { body: ManagedAgentsSkillDisclosurePreviewRequest; }, options?: Options): RequestResult; /** * Soft delete skill * * Soft deletes the skill so it no longer appears in reads and cannot be resolved into new sessions. Agents that reference it keep their configuration; their next session reports the skill as unavailable and runs without it rather than failing to start. */ deleteSkill(parameters: { skill_id: string; }, options?: Options): RequestResult; /** * Get one skill * * Returns one skill's catalog entry, including the id of its latest version. A soft-deleted or unknown id is a 404. */ getSkill(parameters: { skill_id: string; }, options?: Options): RequestResult; /** * Refile a skill into a catalog group * * Moves a skill between catalog groups, or out of one, and returns the skill. Filing is not authoring: this mints no version and leaves the skill's document, title, metadata and bundled files exactly as they are, because advancing latest_skill_version_id for a move would make every agent following this skill re-resolve to a revision identical to the last one. Publish new content with createSkillVersion, which takes a base version id for a compare-and-swap check. Send an empty skill_group_id to remove the skill from its group; skill_group_id is required, so a body that carries nothing is rejected rather than answered as a save that changed nothing. */ updateSkill(parameters: { skill_id: string; body: ManagedAgentsSkillPatchRequest; }, options?: Options): RequestResult; /** * List a skill's immutable version history * * Returns the skill's full immutable version history, newest first, so a caller can see exactly which instructions a past session ran under. The response is not paginated and omits instructions; read one version to get them. */ listSkillVersions(parameters: { skill_id: string; }, options?: Options): RequestResult; /** * Publish a new version of a skill * * Mints a new immutable version from an uploaded zip or a SKILL.md document and returns it, because an author who just published needs the version id to pin an agent to it. Sessions already running keep the version they froze. base_skill_version_id must be the skill's current latest_skill_version_id or the request is rejected with 409 revision_conflict, so the caller can re-read and retry rather than silently racing another writer. Every field is full content, there is no partial-update or omit-to-inherit semantics, so an omitted display_title or metadata is cleared rather than kept. Filing is not published here -- a skill keeps the group it is in, and skill_group_id is rejected rather than ignored; move a skill between groups with updateSkill, which refiles without minting a version. */ createSkillVersion(parameters: { skill_id: string; body: ManagedAgentsCreateSkillVersionRequest; }, options?: Options): RequestResult; /** * Get one immutable skill version * * Returns one immutable skill version by id, including its full instructions. The version must belong to the skill in the path; a mismatch is a 404 rather than a cross-skill read. */ getSkillVersion(parameters: { skill_id: string; skill_version_id: string; }, options?: Options): RequestResult; /** * List organization tags * * Returns every live tag definition in the calling organization. The list is bounded by the 200-tag organization quota and is not paginated. */ listTags(options?: Options): RequestResult; /** * Create an organization tag * * Creates a mutable classification definition in the calling organization. Labels are trimmed and case-insensitively unique among live tags; deleting a tag releases its label. */ createTag(parameters: { body: ManagedAgentsCreateTagRequest; }, options?: Options): RequestResult; /** * Soft delete a tag * * Soft deletes the bounded definition row. Live-definition joins immediately hide every application without rewriting them; agents and immutable versions are untouched, and the label may be reused. */ deleteTag(parameters: { tag_id: string; }, options?: Options): RequestResult; /** * Get one organization tag * * Returns one live tag definition. Unknown, deleted, and cross-organization ids all return the same 404. */ getTag(parameters: { tag_id: string; }, options?: Options): RequestResult; /** * Update a tag definition * * Changes a tag's label, color, or description without changing any application. This does not update an agent, mint an AgentVersion, or affect a running session. */ updateTag(parameters: { tag_id: string; body: ManagedAgentsUpdateTagRequest; }, options?: Options): RequestResult; /** * List compatibility wake rule bindings * * Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ listTriggerBindings(parameters: { connection_id: string; }, options?: Options): RequestResult; /** * Create a compatibility wake rule binding provider events to an agent * * Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ upsertTriggerBinding(parameters: { body: ManagedAgentsCreateTriggerBindingRequest; }, options?: Options): RequestResult; /** * Retire a compatibility wake rule binding * * Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ deleteTriggerBinding(parameters: { binding_id: string; }, options?: Options): RequestResult; /** * Partially update a compatibility wake rule binding * * Reachable with an API key through this API, which authorizes the caller and then calls the upstream service with its own credential. The upstream operation is not callable with a customer key directly. */ updateTriggerBinding(parameters: { binding_id: string; body: ManagedAgentsUpdateTriggerBindingRequest; }, options?: Options): RequestResult; /** * List credential vaults * * Returns every credential vault in the calling organization. A vault is a grantable bundle of credential references; it holds no secret values, so this read is safe for any caller with API access. */ listVaults(options?: Options): RequestResult; /** * Create a credential vault * * Creates an empty credential vault and returns it with its generated vault_id. Vaults are the unit a session or agent is granted, so create one per trust boundary and add credential references to it afterwards. */ createVault(parameters: { body: ManagedAgentsCreateVaultRequest; }, options?: Options): RequestResult; /** * Soft delete a vault and hide its credentials * * Soft deletes the vault and hides the credential references inside it, so neither can be granted to a new session. Sessions already running keep the grants they were started with, and the delete cannot be undone through this API. */ deleteVault(parameters: { vault_id: string; }, options?: Options): RequestResult; /** * Get a credential vault * * Returns one vault with its display name and metadata. Its credential references are listed separately by listVaultCredentials. */ getVault(parameters: { vault_id: string; }, options?: Options): RequestResult; /** * Rename a vault or replace its metadata * * Renames a vault or replaces its metadata and returns the stored vault; omitted fields keep their current values. This never changes which credentials the vault contains. */ updateVault(parameters: { vault_id: string; body: ManagedAgentsUpdateVaultRequest; }, options?: Options): RequestResult; /** * List a vault's credential references * * Returns the credential references in one vault, each with its type, injection locations, and egress bounds. Only references are returned; the secret values themselves are never exposed by this API. */ listVaultCredentials(parameters: { vault_id: string; }, options?: Options): RequestResult; /** * Register a credential reference in a vault * * Registers one credential in a vault and returns the stored reference. Supply exactly one of secret_value (encrypted under the organization's key and stored as ciphertext) or secret_ref (material you already stored yourself) for secret-backed kinds. Integration grants carry neither; they reference a connected account that mints short-lived credentials. Secret material is never echoed back on this or any later response. */ createVaultCredential(parameters: { vault_id: string; body: ManagedAgentsCreateVaultCredentialRequest; }, options?: Options): RequestResult; /** * Soft delete a credential reference * * Soft deletes one credential reference so it can no longer be granted to a new session. Sessions already running keep the credential they were started with, and the delete cannot be undone through this API. */ deleteVaultCredential(parameters: { vault_id: string; credential_id: string; }, options?: Options): RequestResult; /** * Get one credential reference * * Returns one credential reference with its type, injection locations, and egress bounds. The credential must belong to the vault in the path, and the secret value is never included. */ getVaultCredential(parameters: { vault_id: string; credential_id: string; }, options?: Options): RequestResult; /** * Rename a credential, rotate its reference, or change its egress bounds * * Renames a credential, rotates the secret it points at, or narrows its egress bounds, and returns the stored reference; omitted fields keep their current values. An integration credential's connection cannot be repointed, because that would silently change which account the agent acts as. */ updateVaultCredential(parameters: { vault_id: string; credential_id: string; body: ManagedAgentsUpdateVaultCredentialRequest; }, options?: Options): RequestResult; /** * List webhook endpoints */ listWebhookEndpoints(options?: Options): RequestResult; /** * Create a configurable webhook endpoint */ createWebhookEndpoint(parameters: { body: ManagedAgentsWebhookEndpointRequest; }, options?: Options): RequestResult; /** * Delete a webhook endpoint */ deleteWebhookEndpoint(parameters: { endpoint_id: string; }, options?: Options): RequestResult; /** * Get a webhook endpoint */ getWebhookEndpoint(parameters: { endpoint_id: string; }, options?: Options): RequestResult; /** * Replace a webhook endpoint configuration */ updateWebhookEndpoint(parameters: { endpoint_id: string; body: ManagedAgentsWebhookEndpointRequest; }, options?: Options): RequestResult; } export declare class Handoff extends HeyApiClient { /** * Open temporary access to a handed-off browser * * Atomically claims the active browser handoff for the session owner or an organization administrator, then returns an ephemeral redemption URL for the session's existing noVNC display. Only one user may drive at a time; the same user may retry safely. The URL is never persisted or logged and every successful response is Cache-Control: no-store. Resolve the handoff by sending one event of type handoff_resolved to sendSessionEvents. */ open(parameters: { session_id: string; }, options?: Options): RequestResult; } export declare class Sessions extends HeyApiClient { private _handoff?; get handoff(): Handoff; } export declare class Computes extends HeyApiClient { /** * List the caller's persistent computes */ list(options?: Options): RequestResult; /** * Create (spin up) a persistent compute reserved for the caller * * Provisions a long-lived compute sandbox reserved for the calling user. The caller may hold at most one active leased compute across environments, and no compute may be created in an environment where the caller already has any active compute reservation. */ create(parameters: { body: CreateComputeRequestDto; }, options?: Options): RequestResult; /** * Shut down (delete) a persistent compute * * Tears down the compute, releases the user's reservation slot, and destroys the persistent disk. The operation is destructive and not recoverable. */ delete(parameters: { computeId: string; }, options?: Options): RequestResult; /** * Get a persistent compute owned by the caller */ get(parameters: { computeId: string; }, options?: Options): RequestResult; /** * Revoke all active access sessions on a compute * * Invalidates every outstanding access session on the compute, disconnecting any currently-attached browser session. */ revokeAccessSessions(parameters: { computeId: string; }, options?: Options): RequestResult; /** * Mint a single-use, browser-redeemable access URL for a running compute * * Generates a short-lived URL the caller can hand to a browser to interactively attach to the compute. The URL is single-use and embeds the session token, so treat the redemption URL as a secret. */ mintAccessSession(parameters: { computeId: string; }, options?: Options): RequestResult; /** * Execute a command inside a running compute * * Runs a single shell command inside the compute container and returns stdout, stderr, and the exit code. Synchronous: blocks until the command exits or the timeout is reached. */ execute(parameters: { computeId: string; body: ExecCommandRequestDto; }, options?: Options): RequestResult; /** * Start (wake) a persistent compute * * Resumes a stopped compute back to its running state, reattaching its persistent disk. */ start(parameters: { computeId: string; }, options?: Options): RequestResult; /** * Stop (sleep) a persistent compute * * Suspends a running compute, preserving its disk state so it can be resumed later. The compute keeps its reservation slot for the user. */ stop(parameters: { computeId: string; }, options?: Options): RequestResult; } export declare class CustomerSecrets extends HeyApiClient { /** * Create a customer secret at a scope */ create(parameters: { body: CreateCustomerSecretDto; }, options?: Options): RequestResult; /** * Delete a customer secret (soft delete) * * Soft-deletes the customer secret. Attachments to run-config versions must be detached first; underlying Secret Manager versions are destroyed asynchronously. */ delete(parameters: { customerSecretId: string; }, options?: Options): RequestResult; /** * Read a customer secret by id (metadata only, value never returned) */ get(parameters: { customerSecretId: string; }, options?: Options): RequestResult; /** * Update a customer secret (metadata + optional value rotation) * * Updates metadata fields and optionally rotates the value, writing a new Secret Manager version. In-flight readers continue to read the previous value until propagation completes. */ update(parameters: { customerSecretId: string; body: UpdateCustomerSecretDto; }, options?: Options): RequestResult; /** * List customer secrets attached to a run-config version */ listAttachments(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Detach a customer secret from a draft run-config version * * Removes the binding between a customer secret and a draft run-config version. Only unlocked draft versions allow detachment, and detaching atomically clears any previous probe verification on the version. */ detach(parameters: { runConfigVersionId: string; customerSecretId: string; }, options?: Options): RequestResult; /** * Attach a customer secret to a draft run-config version * * Binds a customer secret to a draft run-config version. Only unlocked draft versions accept attachments, and attaching atomically clears any previous probe verification on the version. */ attach(parameters: { runConfigVersionId: string; customerSecretId: string; body: AttachCustomerSecretDto; }, options?: Options): RequestResult; } export declare class Environments extends HeyApiClient { /** * List all environments (paginated) */ list(parameters?: { limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; externalId?: string; }, options?: Options): RequestResult; /** * Upsert environment by externalId * * Idempotent on external ID: re-sending the same payload updates the existing environment in place. */ upsert(parameters: { body: CreateEnvironmentDto; }, options?: Options): RequestResult; /** * Get environment by external ID */ getByExternalId(parameters: { environmentExternalId: string; }, options?: Options): RequestResult; /** * Soft-delete an environment * * Marks the environment as deleted. Problems, runs, and rubric scores inside it are retained for audit, but the environment no longer surfaces in listings and writes are rejected. */ delete(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Get environment by ID */ get(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Clear an environment's external ID * * Idempotent: detaching an environment that already has no external ID is a no-op (still 204). After detach, the environment is only reachable by its internal UUID until re-attached. */ detachExternalId(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Attach an external ID to an environment that has none * * Rejects with 409 when the environment already has an external ID — detach first and re-attach to change the value. Also rejects with 409 when the supplied external ID is already in use by another active environment. */ attachExternalId(parameters: { environmentId: string; body: AttachEnvironmentExternalIdDto; }, options?: Options): RequestResult; /** * Partially update environment settings * * Import file size caps above the platform-wide ceiling are rejected. Updating the guided tour requires an additional permission beyond the base environment update permission. */ updateSettings(parameters: { environmentId: string; body: UpdateEnvironmentSettingsDto; }, options?: Options): RequestResult; /** * Get the template problem + version for an environment */ getTemplate(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Ensure a template exists for the environment (idempotent) * * Returns the template problem and version, creating a fresh one if the environment did not yet have a template. Idempotent: safe to call repeatedly. */ ensureTemplate(parameters: { environmentId: string; }, options?: Options): RequestResult; } export declare class Problems extends HeyApiClient { /** * Bulk soft-delete problems by external ID * * Soft-deletes every problem in the environment whose external ID is in the body. Idempotent: unresolved external IDs are silently filtered out of the result map. */ bulkDeleteByExternalId(parameters: { environmentExternalId: string; body: RemoveExternalIdsDto; }, options?: Options): RequestResult; /** * Bulk reset problems to imported versions by external ID * * All-or-nothing: every external ID must resolve to an active non-template problem in the environment, otherwise the batch is rejected and no rows are mutated. Per-problem behaviour matches the single-problem reset, including soft-deleting the problem when every active version is user-authored. */ bulkResetByExternalId(parameters: { environmentExternalId: string; body: RemoveExternalIdsDto; }, options?: Options): RequestResult; /** * List problems with per-row aggregates (table view) */ listForEnvironment(parameters: { environmentId: string; limit?: number; cursor?: string; sortDirection?: 'asc' | 'desc'; search?: string; models?: Array; avgScoreMetric?: 'avg' | 'min' | 'max'; avgScoreMin?: number; avgScoreMax?: number; createdAtFrom?: string; createdAtTo?: string; enrichmentFilters?: string; sortBy?: 'createdAt' | 'updatedAt' | 'latestVersionCreatedAt' | 'title' | 'externalId' | 'avgScore' | 'cost' | 'runs'; sortByEnrichment?: string; }, options?: Options): RequestResult; /** * Aggregate stats over filtered problems (env-overview KPIs) */ getStatsForEnvironment(parameters: { environmentId: string; search?: string; models?: Array; avgScoreMetric?: 'avg' | 'min' | 'max'; avgScoreMin?: number; avgScoreMax?: number; createdAtFrom?: string; createdAtTo?: string; enrichmentFilters?: string; }, options?: Options): RequestResult; /** * List lightweight problem summaries (id, title, lock state) for an environment */ listSummariesForEnvironment(parameters: { environmentId: string; search?: string; limit?: number; lockedOnly?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Bulk-upsert problems for an environment (idempotent by externalId) * * Idempotent on external ID and safe to retry: external IDs that already resolve to existing problems are returned unchanged. */ bulkUpsert(parameters: { environmentId: string; body: CreateProblemsDto; }, options?: Options): RequestResult; /** * Look up problems by external ID in an environment * * Resolves a batch of external IDs to full problem records within the environment. Unresolved IDs are silently absent from the result. */ listByExternalIds(parameters: { environmentId: string; externalIds: string | Array; }, options?: Options): RequestResult; /** * Upsert a problem with its first version (idempotent) * * Idempotent and safe to retry: existing problem/version rows are returned unchanged. */ upsertWithVersion(parameters: { environmentId: string; body: CreateProblemWithVersionDto; }, options?: Options): RequestResult; /** * Soft-delete a problem * * Marks the problem as deleted. The row is retained for audit and recovery but is hidden from listings and unavailable for new runs. */ delete(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Get a problem by ID */ get(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Update a problem (title, description, domain) */ update(parameters: { problemId: string; body: UpdateProblemDto; }, options?: Options): RequestResult; /** * Check whether any problem run has completed for this problem */ hasCompletedRun(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Reset a problem to its imported baseline * * Soft-deletes user-authored versions, keeping only versions with import provenance. When no imported versions exist, the oldest active version is kept; when every active version is user-authored, all versions and the problem itself are soft-deleted. Bypasses lock state. Template problems are unconditionally rejected. */ reset(parameters: { problemId: string; }, options?: Options): RequestResult; } export declare class Issues extends HeyApiClient { /** * List issues for a problem by external ID */ listByProblemExternalId(parameters: { environmentExternalId: string; problemExternalId: string; }, options?: Options): RequestResult; /** * Create an issue for a problem by external ID */ createByProblemExternalId(parameters: { environmentExternalId: string; problemExternalId: string; body: CreateIssueBodyDto; }, options?: Options): RequestResult; /** * Soft-delete an issue */ delete(parameters: { issueId: string; }, options?: Options): RequestResult; /** * Get an issue by ID */ get(parameters: { issueId: string; }, options?: Options): RequestResult; /** * Update an issue */ update(parameters: { issueId: string; body: UpdateIssueBodyDto; }, options?: Options): RequestResult; /** * List issues for a problem */ listForProblem(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Create an issue for a problem * * A referenced entity, if supplied, must belong to the same problem; otherwise the request is rejected as not found. */ create(parameters: { problemId: string; body: CreateIssueBodyDto; }, options?: Options): RequestResult; } export declare class Synthesizers extends HeyApiClient { /** * Get a hardcoded built-in synthesizer by key * * Built-in synthesizers live in code and apply to every environment; the path environment only scopes the caller. */ getBuiltIn(parameters: { environmentId: string; builtInSynthesizerKey: 'improve-prompt' | 'generate-tools' | 'generate-rubrics'; }, options?: Options): RequestResult; /** * List synthesizers for an environment * * Built-in synthesizers come first, followed by any user-created ones in the environment. */ list(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create a synthesizer job */ create(parameters: { environmentId: string; body: CreateSynthesizerJobBodyDto; }, options?: Options): RequestResult; /** * Soft-delete a synthesizer job * * Hides the job from future runs while retaining existing runs and transcripts for audit. Built-in synthesizers cannot be deleted. */ delete(parameters: { synthesizerJobId: string; }, options?: Options): RequestResult; /** * Get a synthesizer job */ get(parameters: { synthesizerJobId: string; }, options?: Options): RequestResult; /** * Update a synthesizer job * * Updates take effect on subsequent runs; in-flight runs continue with the definition they captured at submission time. Built-in synthesizers are not editable. */ update(parameters: { synthesizerJobId: string; body: UpdateSynthesizerJobBodyDto; }, options?: Options): RequestResult; /** * Attach a file to a synthesizer job (mounted into agent container) * * Attaches a previously uploaded file so it is mounted into the agent container on subsequent runs. */ attachFile(parameters: { synthesizerJobId: string; body: AttachSynthesizerJobFileBodyDto; }, options?: Options): RequestResult; /** * Detach a file from a synthesizer job * * Removes the job-to-file association; the underlying file itself is not deleted and may remain attached to other jobs. */ detachFile(parameters: { synthesizerJobId: string; synthesizerJobFileId: string; }, options?: Options): RequestResult; } export declare class CostLimits extends HeyApiClient { /** * List cost limits for an environment */ list(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create or update a cost limit * * Idempotent: re-sending the same payload updates the limit in place. */ upsert(parameters: { environmentId: string; body: CreateCostLimitDto; }, options?: Options): RequestResult; /** * Get cost status for a problem */ getProblemStatus(parameters: { environmentId: string; problemId: string; }, options?: Options): RequestResult; /** * Delete a cost limit * * Removing a per-problem cap causes the problem to fall back to the environment-wide cap immediately. Removing the environment-wide cap removes the floor for every problem in the environment. */ delete(parameters: { environmentId: string; costLimitId: string; }, options?: Options): RequestResult; } export declare class Exports extends HeyApiClient { /** * List exports for an environment */ listForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create a problem-archive export for an environment * * Kicks off an asynchronous job that archives problems and their version files into a downloadable bundle. At most one active export per environment; poll the export resource for status. */ create(parameters: { environmentId: string; body: CreateExportBodyDto; }, options?: Options): RequestResult; /** * Get a problem-archive export by ID */ get(parameters: { exportId: string; }, options?: Options): RequestResult; /** * Cancel an active problem-archive export * * Stops an in-flight export job. Already-completed, cancelled, or failed exports are not cancellable. */ cancel(parameters: { exportId: string; }, options?: Options): RequestResult; } export declare class EnvironmentFiles extends HeyApiClient { /** * List files attached to an environment, filtered by type */ list(parameters: { environmentId: string; type: 'instructions' | 'agent-input'; }, options?: Options): RequestResult; /** * Finalize environment files uploaded directly to GCS via signed URLs * * Confirms direct-to-GCS uploads, validates GCS-reported size and mime against policy, and materialises the file rows in a single atomic batch (all-or-nothing). */ finalizeUploads(parameters: { environmentId: string; body: FinalizeEnvironmentFileUploadsRequestDto; }, options?: Options): RequestResult; /** * Generate signed URLs for direct-to-GCS environment file uploads * * Issues short-lived PUT URLs the caller uses to upload directly to GCS. No DB rows are materialised here; finalize the uploads afterwards to persist the file records. */ createSignedUploadUrls(parameters: { environmentId: string; body: CreateEnvironmentFileUploadUrlsRequestDto; }, options?: Options): RequestResult; /** * Soft-delete an environment file * * Marks the file as deleted. The DB row is retained for audit and the underlying GCS object is kept until lifecycle expiry, so existing problem versions that referenced the file continue to render it. */ delete(parameters: { environmentId: string; environmentFileId: string; }, options?: Options): RequestResult; } export declare class Forms extends HeyApiClient { /** * Detach the env's attached form bundle * * Detaches the environment's attached bundle without deleting it. If the detach removes the bundle's last active scope link, a downstream orphan-cleanup trigger soft-deletes the bundle. */ detachFromEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Get the env's attached form bundle (or null) */ getForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create and attach a new form bundle to an environment * * Creates a new form bundle with an initial draft version and attaches it to the environment in a single call. The environment must not already have an attached bundle, and the returned draft version must be published before it resolves at runtime. */ createForEnvironment(parameters: { environmentId: string; body: CreateAndAttachFormBodyDto; }, options?: Options): RequestResult; /** * Attach an existing form bundle to an environment * * Attaches a pre-existing form bundle to the environment, allowing the same bundle to be shared across multiple environments. The environment must not already have an attached bundle. */ attachToEnvironment(parameters: { environmentId: string; formId: string; }, options?: Options): RequestResult; /** * Get a single bundle with its versions */ get(parameters: { formId: string; }, options?: Options): RequestResult; /** * Update bundle-level metadata */ update(parameters: { formId: string; body: UpdateFormBodyDto; }, options?: Options): RequestResult; /** * Create a new draft version of a bundle * * Copies the bundle's current schema forward as the starting point. The new version starts as a draft and does not affect runtime resolution until it is published. */ createVersion(parameters: { formId: string; body: CreateFormVersionBodyDto; }, options?: Options): RequestResult; /** * Soft-delete a draft version * * Only draft versions can be deleted, and a bundle must always retain at least one version. Published versions are permanently frozen and cannot be deleted. */ deleteVersion(parameters: { formId: string; formVersionId: string; }, options?: Options): RequestResult; /** * Edit a draft version (full schema replace) * * Full replace, not a partial patch: callers must send the complete schema. Only draft versions can be edited; published versions are permanently frozen so existing answers remain valid. */ updateVersion(parameters: { formId: string; formVersionId: string; body: UpdateFormVersionBodyDto; }, options?: Options): RequestResult; /** * Publish a draft version * * Transitions a draft version to published, permanently freezing its schema so existing answers stay valid. Publishing is irreversible; iterate by creating a new draft version. */ publishVersion(parameters: { formId: string; formVersionId: string; }, options?: Options): RequestResult; /** * List form bundles in an organization catalog */ listForOrganization(parameters: { organizationId: string; }, options?: Options): RequestResult; /** * Create and attach a new form bundle to an organization catalog * * Creates a new bundle with an initial draft version and attaches it to the organization. Environments and problems within the organization can subsequently reference this bundle by its form_id. */ createForOrganization(parameters: { organizationId: string; body: CreateAndAttachFormBodyDto; }, options?: Options): RequestResult; /** * Detach a form bundle from an organization catalog * * Soft-deletes the organization attachment without deleting the bundle. */ detachFromOrganization(parameters: { organizationId: string; formId: string; }, options?: Options): RequestResult; /** * Detach the problem's form override * * Detaches the problem-level override without deleting the bundle, causing resolution to fall back to the env-level bundle. If this removes the bundle's last active scope link, a downstream orphan-cleanup trigger soft-deletes the bundle. */ detachFromProblem(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Resolve the active form bundle for a problem * * Layers any problem-level override on top of the env-level bundle and returns the latest published version of the winning bundle, or null if neither layer has a published version. */ resolveForProblem(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Create and attach a new form bundle as a problem-level override * * Creates a new bundle with an initial draft version and attaches it as a problem-level override, layering over the env-level bundle for this one problem only. The problem must not already have an override attached, and the returned draft must be published before it takes effect. */ createForProblem(parameters: { problemId: string; body: CreateAndAttachFormBodyDto; }, options?: Options): RequestResult; /** * Get the problem's override form bundle (or null) */ getProblemOverride(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Attach an existing form bundle as a problem-level override * * Attaches an existing bundle as a problem-level override. The problem must not already have an active override link. */ attachToProblem(parameters: { problemId: string; formId: string; }, options?: Options): RequestResult; } export declare class Imports extends HeyApiClient { /** * List imports for an environment */ listForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Initiate a file import and get a signed upload URL * * Step 1 of 2: creates a pending import row and returns a signed URL for a GCS resumable upload session. POST the URL with header x-goog-resumable: start to obtain a session URI, then PUT byte-range chunks against it using Content-Range headers. At most one active import per environment; concurrent attempts are rejected. */ initiate(parameters: { environmentId: string; body: InitiateImportBodyDto; }, options?: Options): RequestResult; /** * Get platform-imposed import limits from Cloud Run job config */ getPlatformLimits(options?: Options): RequestResult; /** * Get an import by ID * * Poll this endpoint to observe the progress of an asynchronous import job. */ get(parameters: { importId: string; }, options?: Options): RequestResult; /** * Cancel an active import * * Stops an in-flight import. Problems and versions created before cancellation are retained — there is no rollback. */ cancel(parameters: { importId: string; }, options?: Options): RequestResult; /** * Confirm file upload and start import processing * * Step 2 of 2: verifies the uploaded file is present in object storage and enqueues the asynchronous import job. The import must still be pending. */ confirmUpload(parameters: { importId: string; }, options?: Options): RequestResult; } export declare class JobsV2 extends HeyApiClient { /** * List jobs_v2 rows linked to an environment */ listForEnvironment(parameters: { environmentId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; type?: string; root?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Soft-delete a jobs_v2 row * * Only terminal jobs (completed, failed, cancelled) can be deleted. Non-terminal jobs must be cancelled first. */ deleteForEnvironment(parameters: { environmentId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Read a jobs_v2 row scoped to an environment */ getForEnvironment(parameters: { environmentId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Cancel a jobs_v2 row and its non-terminal descendants * * Cascades to every non-terminal descendant in one transaction. Cancelling already-terminal jobs is a no-op. */ cancelForEnvironment(parameters: { environmentId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * List the children of a jobs_v2 row */ listChildrenForEnvironment(parameters: { environmentId: string; jobV2Id: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * Re-execute a terminal jobs_v2 row as a fresh run * * Only job types that register a rerun hook support this; mints a new root job and returns its id. The original row is left untouched at its terminal status. */ rerunForEnvironment(parameters: { environmentId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * List jobs_v2 rows linked to an organization */ listForOrganization(parameters: { organizationId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; type?: string; root?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Read a jobs_v2 row scoped to an organization */ getForOrganization(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Cancel an org-scoped jobs_v2 row and its non-terminal descendants * * Cascades to every non-terminal descendant in one transaction. Cancelling already-terminal jobs is a no-op. */ cancelForOrganization(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * List the children of an org-scoped jobs_v2 row */ listChildrenForOrganization(parameters: { organizationId: string; jobV2Id: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * Read the raw agent-service event log for an org-scoped jobs_v2 row * * Returns this job's own agent-service run event replay verbatim (lifecycle markers, stdout/stderr, and contract-event envelopes alike), oldest to newest, capped to a bounded recent window with a truncated flag; with the after cursor only newer events are returned, still capped to the window. Empty when the job has no agent-service run yet. */ getEventLogForOrganization(parameters: { organizationId: string; jobV2Id: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Read the latest telemetry snapshot for an org-scoped jobs_v2 row */ getEventsForOrganization(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Read this job's own output files for an org-scoped jobs_v2 row * * Each file carries a short-lived signed download URL. Empty when the job type has no agent-service run of its own, or once agent-service's workspace retention window has elapsed. */ getOutputFilesForOrganization(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Read a rollout's trace events for an org-scoped jobs_v2 row * * Verifies rolloutRunId was reported by this job's own ingested telemetry before proxying agent-service, and bounds the returned event window; with the after cursor only newer events are returned, still capped to the window. */ getRolloutEventsForOrganization(parameters: { organizationId: string; jobV2Id: string; rolloutRunId: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Read a rollout's output files for an org-scoped jobs_v2 row * * Verifies rolloutRunId was reported by this job's own ingested telemetry before proxying agent-service. Each returned file carries a short-lived signed download URL. Returns an empty list once agent-service's workspace retention window has elapsed. */ getRolloutOutputFilesForOrganization(parameters: { organizationId: string; jobV2Id: string; rolloutRunId: string; }, options?: Options): RequestResult; } export declare class Qa extends HeyApiClient { /** * List QA configs for an environment * * Sensitive env-var values are redacted in each entry. */ listConfigsForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create a QA config * * Stores the supplied env-var values write-only; sensitive values are redacted from the response and from every subsequent read. */ createConfig(parameters: { environmentId: string; body: CreateQaConfigBodyDto; }, options?: Options): RequestResult; /** * List QA jobs for an environment * * Each row carries a null result payload to keep responses small; fetch a single job to retrieve its full inline result. */ listJobsForEnvironment(parameters: { environmentId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; batchId?: string; problemId?: string; problemSearch?: string; problemVersionId?: string; status?: string; qaConfigId?: string; kind?: string; scoreMin?: number; scoreMax?: number; grade?: string; }, options?: Options): RequestResult; /** * Trigger an individual QA job * * Asynchronously submits a QA job that runs a config against one problem version and returns the pending job record. Poll the job to observe progress and final result. */ triggerJob(parameters: { environmentId: string; body: TriggerQaJobBodyDto; }, options?: Options): RequestResult; /** * Trigger a batch of QA jobs * * Asynchronously fans out a QA config across many problem versions in a single call, returning a batch record with the spawned job IDs. Filter jobs by batch ID to track progress. */ triggerJobBatch(parameters: { environmentId: string; body: TriggerQaJobBatchBodyDto; }, options?: Options): RequestResult; /** * List distinct grade values for QA jobs in an environment */ listGradesForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Get a QA job with inline result * * Returns the full inline result payload. Poll this endpoint for still-running jobs until the status reaches a terminal value. */ getJob(parameters: { environmentId: string; qaJobId: string; }, options?: Options): RequestResult; /** * Cancel a running QA job * * Requests cancellation of a pending or running job. Already-terminal jobs are left as-is; callers should re-read the response status rather than assuming cancellation took effect. */ cancelJob(parameters: { environmentId: string; qaJobId: string; }, options?: Options): RequestResult; /** * Get the persisted transcript for a QA job * * Returns the persisted transcript captured when the job reached a terminal state. In-progress jobs have no persisted transcript yet. */ getJobTranscript(parameters: { environmentId: string; qaJobId: string; }, options?: Options): RequestResult; /** * Proxy live transcript from agent service for active QA jobs * * Proxies the event stream from the agent service for an active job, serialized as a JSON array of events; with the after cursor only newer events are returned. Only available while the job is pending, submitting, or running. */ getLiveJobTranscript(parameters: { environmentId: string; qaJobId: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Get the latest oracle QA result for a problem version * * Returns the most recent oracle (ground-truth) QA result for the version, or null when no oracle run has completed yet. Callers should treat null as "not yet evaluated". */ getOracleResult(parameters: { environmentId: string; problemVersionId: string; }, options?: Options): RequestResult; /** * Soft-delete a QA config * * Marks the config as deleted so it can no longer be targeted by new jobs. Already-running jobs that reference it continue to run and remain readable. */ deleteConfig(parameters: { qaConfigId: string; }, options?: Options): RequestResult; /** * Get a QA config * * Sensitive env-var values are redacted in the response. */ getConfig(parameters: { qaConfigId: string; }, options?: Options): RequestResult; /** * Update a QA config * * Future jobs triggered against this config use the updated settings. Sensitive env-var values supplied in the body are not echoed back. */ updateConfig(parameters: { qaConfigId: string; body: UpdateQaConfigBodyDto; }, options?: Options): RequestResult; /** * Attach a file to a QA config * * Attaches an organization-scoped file so it is mounted into the runner container on future jobs. In-flight jobs continue to use the snapshot they were dispatched with. */ attachConfigFile(parameters: { qaConfigId: string; body: AttachQaConfigFileBodyDto; }, options?: Options): RequestResult; /** * Detach a file from a QA config * * Removes the attachment so future jobs no longer receive the file. The underlying file row is preserved and may still be attached to other configs. */ detachConfigFile(parameters: { qaConfigId: string; qaConfigFileId: string; }, options?: Options): RequestResult; } export declare class QaGates extends HeyApiClient { /** * List QA gates for an environment */ listForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create a QA gate * * Attaches a QA config to a stage transition. At most one gate exists per environment and QA config; duplicate attempts conflict. */ create(parameters: { environmentId: string; body: CreateQaGateBodyDto; }, options?: Options): RequestResult; /** * Remove a QA gate * * Soft-deletes the gate. Subsequent stage transitions no longer require this QA config to pass. */ delete(parameters: { environmentId: string; qaGateId: string; }, options?: Options): RequestResult; /** * Check QA gate status for a version */ getStatus(parameters: { environmentId: string; problemVersionId: string; }, options?: Options): RequestResult; /** * Request stage clearance by checking QA gates (with optional override) * * Evaluates every applicable gate for the requested stage transition and returns the clearance status with per-gate results. An override request lets authorised callers bypass a failing gate, recording the justification. */ requestStageClearance(parameters: { environmentId: string; problemVersionId: string; body: StageClearanceRequestBodyDto; }, options?: Options): RequestResult; } export declare class QaTriggers extends HeyApiClient { /** * List QA triggers for an environment */ listForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * Create a QA trigger * * Binds a QA config to a platform event so a QA job fires when the event occurs. At most one trigger exists per environment, QA config, and event; duplicate attempts conflict. */ create(parameters: { environmentId: string; body: CreateQaTriggerBodyDto; }, options?: Options): RequestResult; /** * Remove a QA trigger * * Soft-deletes the trigger. The event no longer fires a QA job for this config. */ delete(parameters: { environmentId: string; qaTriggerId: string; }, options?: Options): RequestResult; } export declare class RunConfigs extends HeyApiClient { /** * Get the run-config default inherited at an environment scope * * Walks the scope hierarchy upward from the environment (or from the supplied problem when present) and returns the first non-null default-version pin. Returns top-level JSON null when no default is set at any walked scope. */ getInheritedDefaultForEnvironment(parameters: { environmentId: string; problemId?: string; }, options?: Options): RequestResult; /** * List env-scope run configs */ listForEnvironment(parameters: { environmentId: string; tags?: string; }, options?: Options): RequestResult; /** * List bindable run configs for an environment * * Returns the compact bindable catalog for environment binding selectors: system, owning-organization, and environment scopes with locked-version summaries only. */ listBindableForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * List soft-deleted env-scope run configs */ listReapedForEnvironment(parameters: { environmentId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * List snapshot run configs with their version for this env * * Snapshot rows are immutable point-in-time copies created when an evaluation job pins a specific config payload; they cannot be edited, probed, or locked. */ listSnapshotsForEnvironment(parameters: { environmentId: string; }, options?: Options): RequestResult; /** * List run configs visible at or above this env * * Returns the cascade of run configs at this env, its parent org, and all system-scope rows. */ listVisibleForEnvironment(parameters: { environmentId: string; tags?: string; }, options?: Options): RequestResult; /** * List org-scope run configs */ listForOrganization(parameters: { organizationId: string; tags?: string; }, options?: Options): RequestResult; /** * List soft-deleted org-scope run configs */ listReapedForOrganization(parameters: { organizationId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * List run configs visible at or above this org * * Returns the cascade of run configs at this org plus all system-scope rows. */ listVisibleForOrganization(parameters: { organizationId: string; tags?: string; }, options?: Options): RequestResult; /** * List problem-scope run configs */ listForProblem(parameters: { problemId: string; tags?: string; }, options?: Options): RequestResult; /** * List soft-deleted problem-scope run configs */ listReapedForProblem(parameters: { problemId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * List run configs visible at or above this problem * * Returns the cascade of run configs at this problem, its parent env, its parent org, and all system-scope rows. */ listVisibleForProblem(parameters: { problemId: string; tags?: string; }, options?: Options): RequestResult; /** * Create a run config (identity + v1 draft) * * Creates the run-config identity together with its initial draft version in a single call. When a parent version is supplied, the new draft forks its payload (including customer-secret attachment metadata) from the parent. */ create(parameters: { body: CreateRunConfigDto; }, options?: Options): RequestResult; /** * List soft-deleted system-scope run configs */ listReapedForSystem(parameters?: { limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * List system-scope run configs */ listForSystem(parameters?: { tags?: string; }, options?: Options): RequestResult; /** * List run configs visible at or above system scope */ listVisibleForSystem(parameters?: { tags?: string; }, options?: Options): RequestResult; /** * Soft-delete a run config * * Soft-deletes the run config along with all of its versions; rows remain in the database for audit. Rejects while any of its versions is still referenced by an environment role or programmatic-grader binding, a problem-version role slot, a synthesizer job, a QA config, a live evaluation as its grader or a solver, or a live compute reservation. */ delete(parameters: { runConfigId: string; }, options?: Options): RequestResult; /** * Get a run config by id (identity only) * * Returns identity fields only and does not include any version payload. */ get(parameters: { runConfigId: string; }, options?: Options): RequestResult; /** * Update a run config (identity fields only) * * Patches identity-level fields only and does not touch any version payload or default-version pin. */ update(parameters: { runConfigId: string; body: UpdateRunConfigDto; }, options?: Options): RequestResult; /** * Restore a soft-deleted run config from the recycle bin * * Un-deletes the run config and its versions, probe-runs, and attachments, clearing the deletion provenance. The default-version pin is not restored. Rejects when a newer draft was created after the delete, which would collide with the single-draft-per-config constraint. */ restore(parameters: { runConfigId: string; }, options?: Options): RequestResult; /** * List versions of a run config (newest first) */ listVersions(parameters: { runConfigId: string; }, options?: Options): RequestResult; /** * Create a new draft version on a run config * * Creates a new draft, optionally forking its payload from a parent version. Only one open draft per run config is allowed; passing a probe before locking is recommended but not required. */ createVersion(parameters: { runConfigId: string; body: CreateRunConfigVersionDto; }, options?: Options): RequestResult; } export declare class RunConfigMenus extends HeyApiClient { /** * Add a version to an env slot menu */ addEntry(parameters: { environmentId: string; role: 'solver' | 'grader' | 'qa' | 'synthesizer'; body: AddMenuEntryBodyDto; }, options?: Options): RequestResult; /** * Get run-config menu readiness for an environment */ getReadiness(parameters: { environmentId: string; }, options?: Options): RequestResult; } export declare class SynthesizerRuns extends HeyApiClient { /** * List synthesizer runs across an entire environment */ listForEnvironment(parameters: { environmentId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * List synthesizer runs for a problem version */ listForVersion(parameters: { problemVersionId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * Trigger a synthesizer run on a problem version * * Starts an asynchronous synthesizer run in the agent harness; poll the run for status, then apply approved targets back into the version. Rejects template-problem versions. Rate-limited. */ trigger(parameters: { problemVersionId: string; body: TriggerSynthesizerRunBodyDto; }, options?: Options): RequestResult; /** * Get a synthesizer run */ get(parameters: { problemVersionId: string; synthesizerRunId: string; }, options?: Options): RequestResult; /** * Apply approved targets from a synthesizer run * * Merges the approved subset of a completed run into the problem version, creating files, updating rubrics, or patching version fields as each target specifies. Per-target write permissions and environment-level field locks are enforced; any denied target aborts the entire apply with no partial success. Rejects template-problem versions. */ apply(parameters: { problemVersionId: string; synthesizerRunId: string; body: ApplySynthesizerRunBodyDto; }, options?: Options): RequestResult; /** * Cancel a running synthesizer run * * Aborts an in-flight run, stopping the agent harness container and transitioning the run to cancelled. Idempotent for already-terminal runs. */ cancel(parameters: { problemVersionId: string; synthesizerRunId: string; }, options?: Options): RequestResult; /** * Get the persisted transcript for a synthesizer run * * Returns the persisted transcript captured when the run reached a terminal state. In-progress runs have no persisted transcript yet. */ getTranscript(parameters: { problemVersionId: string; synthesizerRunId: string; }, options?: Options): RequestResult; /** * Proxy live transcript from agent service for active synthesizer runs * * Proxies the event stream from the agent service for an active run, serialized as a JSON array of events; with the after cursor only newer events are returned. Only available while the run is pending or running. */ getLiveTranscript(parameters: { problemVersionId: string; synthesizerRunId: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; } export declare class Evaluations extends HeyApiClient { /** * List evaluations */ list(parameters?: { limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; tags?: string; }, options?: Options): RequestResult; /** * Create an evaluation * * Creates an evaluation and spawns a jobs-v2 evaluation_run root that orchestrates all solvers and problems. Runs are launched asynchronously: the response returns with a pending status and zero runs dispatched — the job dispatcher launches the constituent runs (one per solver, problem, and attempt) on a later tick, so poll the evaluation or its results for progress. All referenced solver and grader run-config versions must already be locked, and all problems must belong to a single environment — multi-environment evaluations are rejected. */ create(parameters: { body: CreateEvaluationBodyDto; }, options?: Options): RequestResult; /** * Bulk-create evaluations (v2) * * Creates an evaluation and spawns a jobs-v2 evaluation_run root that orchestrates all solvers and problems. Runs are launched asynchronously: the response returns with a pending status and zero runs dispatched — the job dispatcher launches the constituent runs (one per solver, problem, and attempt) on a later tick, so poll the evaluation or its results for progress. All referenced problem versions must already be locked, and all problems must belong to a single environment — multi-environment evaluations are rejected. Identical in behaviour to POST /evaluations. */ bulkCreate(parameters: { body: CreateEvaluationBodyDto; }, options?: Options): RequestResult; /** * Create a grade-only evaluation * * Creates an evaluation over existing trajectories and asynchronously runs every selected grader against every source workspace. */ createGradeOnly(parameters: { body: CreateGradeOnlyEvaluationBodyDto; }, options?: Options): RequestResult; /** * Soft-delete an evaluation * * Cancels a pending or running evaluation, attempting to cancel its in-flight runs, then marks it deleted. Runs and rubric scores are kept for audit, but the evaluation and its job trees no longer appear in listings. */ delete(parameters: { evaluationId: string; }, options?: Options): RequestResult; /** * Get evaluation detail */ get(parameters: { evaluationId: string; }, options?: Options): RequestResult; /** * Cancel a running evaluation * * Transitions a running evaluation to cancelled and stops further runs from launching. In-flight runs are cancelled too, asynchronously: the endpoint returns as soon as the evaluation is marked cancelled, then the job dispatcher cascades the cancel through the run tree — harnesses on the agent service receive a cancellation signal (snapshot runs are terminated), the computes they hold are released, and every affected run settles in a terminal cancelled state. In-flight runs therefore do NOT continue to completion; partial results already recorded are kept. */ cancel(parameters: { evaluationId: string; }, options?: Options): RequestResult; /** * List evaluation-results exports for an evaluation */ listExports(parameters: { evaluationId: string; }, options?: Options): RequestResult; /** * Create an evaluation-results export * * Kicks off an asynchronous export job that packages the evaluation's results into a downloadable artifact. At most one active export per evaluation; poll the export resource for status. */ createExport(parameters: { evaluationId: string; body: CreateEvaluationExportBodyDto; }, options?: Options): RequestResult; /** * Get an evaluation-results export by ID */ getExport(parameters: { evaluationId: string; exportId: string; }, options?: Options): RequestResult; /** * Cancel an active evaluation-results export * * Stops an in-flight export job. Already-completed exports are not cancellable, and cancelled exports stay accessible for download until their signed URL expires. */ cancelExport(parameters: { evaluationId: string; exportId: string; }, options?: Options): RequestResult; /** * Get aggregated evaluation results matrix */ getResults(parameters: { evaluationId: string; }, options?: Options): RequestResult; } export declare class Files extends HeyApiClient { /** * Finalize files uploaded directly to GCS via signed URLs * * Materialises file DB rows for each successfully-uploaded GCS object. Files are environment-level and become attachable to any problem version in the environment after finalize. */ finalizeUploads(parameters: { body: FinalizeUploadRequestDto; }, options?: Options): RequestResult; /** * Generate signed URLs for direct-to-GCS file uploads * * Issues short-lived PUT URLs the caller uses to upload directly to GCS. Finalize the uploads afterwards to persist the file records; per-environment size limits are enforced at attach time, not here. */ createSignedUploadUrls(parameters: { body: SignedUploadUrlRequestDto; }, options?: Options): RequestResult; /** * Download a file */ download(parameters: { problemFileId: string; }, options?: Options): RequestResult; /** * Batch-resolve org-scoped file metadata * * Returns filename, sizeBytes, and createdAt for each requested file id. Every id must be reachable in the organization: for user callers, the file must have a same-org (or platform-skill) attachment or be created by the caller; conflicting other-org attachments always 404. If any id is missing or out of scope, the whole request fails with 404 — no partial success. */ batchOrganizationFileMetadata(parameters: { organizationId: string; body: BatchOrganizationFileMetadataRequestDto; }, options?: Options): RequestResult; /** * List files attached to a problem version */ listForVersion(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Attach a file to a problem version */ attach(parameters: { problemVersionId: string; body: AttachFileDto; }, options?: Options): RequestResult; /** * Attach multiple files to a problem version in a single transaction * * Atomic batch: either every file attaches or none. Enforces per-environment file-size caps and the aggregate version-size cap. */ bulkAttach(parameters: { problemVersionId: string; body: BulkAttachFilesDto; }, options?: Options): RequestResult; /** * Detach a file from a problem version * * Removes only the version-to-file binding. The underlying file row remains attachable to other versions. */ detach(parameters: { problemVersionId: string; problemVersionFileId: string; }, options?: Options): RequestResult; /** * Update gold standard status for a file attachment * * Mount paths must be unique within the version. Reserved mount paths are rejected. */ updateGoldStandard(parameters: { problemVersionId: string; problemVersionFileId: string; body: UpdateGoldStandardDto; }, options?: Options): RequestResult; /** * Update tags for a file attachment */ updateTags(parameters: { problemVersionId: string; problemVersionFileId: string; body: UpdateFileTagsDto; }, options?: Options): RequestResult; } export declare class Images extends HeyApiClient { /** * List available container images */ list(options?: Options): RequestResult; /** * Get image detail including available models */ get(parameters: { imageId: string; }, options?: Options): RequestResult; } export declare class IssueComments extends HeyApiClient { /** * List comments for an issue (paginated) */ list(parameters: { issueId: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; /** * Create a comment on an issue */ create(parameters: { issueId: string; body: CreateIssueCommentBodyDto; }, options?: Options): RequestResult; /** * Soft-delete a comment */ delete(parameters: { issueId: string; issueCommentId: string; }, options?: Options): RequestResult; /** * Update a comment */ update(parameters: { issueId: string; issueCommentId: string; body: UpdateIssueCommentBodyDto; }, options?: Options): RequestResult; } export declare class ProblemRuns extends HeyApiClient { /** * List problem runs for a job * * Retained only to read back history produced by the retired job engine. New integrations should list a problem’s runs and group them by batch. * * @deprecated */ listForJob(parameters: { jobId: string; }, options?: Options): RequestResult; /** * Bulk-create problem runs * * Inserts N problem-run shells and spawns a jobs-v2 batch root that orchestrates them through agent-service. Returns the v2 job id and the new problem-run ids. */ bulkCreate(parameters: { body: BulkCreateProblemRunsRequestDto; }, options?: Options): RequestResult; /** * Re-grade all failed graders in a run * * Enqueues an asynchronous re-grade for every run in a batch whose grader failed, reusing each run's existing solver workspace; runs whose solver failed are excluded. Each re-grade commits independently, so an unexpected enqueue failure can follow earlier successful commits; retrying safely skips runs already claimed. Poll each run for its new grade. */ regradeFailedGraders(parameters: { body: RegradeFailedGradersRequestDto; }, options?: Options): RequestResult; /** * Get a single problem run */ get(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * List output files for a problem run * * Each returned file carries a short-lived signed download URL that bypasses auth and expires after a brief window. */ listOutputFiles(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * List superseded grades for a problem run * * Each re-grade archives the grade it replaced; this returns those superseded grades, most recent re-grade first. The run’s current grade is on the run itself. */ listGradeHistory(parameters: { problemRunId: string; limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Re-grade an existing problem run * * Enqueues an asynchronous re-grade that reuses the existing solver run — it does not re-run the solver. The response returns immediately with the new job id; poll the run to observe the new grade. The prior grade is archived and readable via the grade-history endpoint. Cancellation or an infrastructure failure before a new grade is produced restores the prior grade; a completed grading attempt whose computed outcome is failure remains the current failed outcome. The retained solver workspace it grades against expires roughly 24 hours after the run, after which a re-grade fails at the grader. */ regrade(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * Get transcript content as plain text * * Returns the persisted transcript stored when the run completed. In-flight runs do not yet have a persisted transcript. */ getTranscript(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * Stream the in-flight transcript for an active run * * Returns a JSON array of AgentRunEvent objects — proxied from agent-service for native runs (pending/running) and from Taiga for taiga-provenance runs (pending/running/grading). The active-status set widens for taiga rows because the task transcript on Taiga is fully written by the time the run is in grading. Native runs honour the after cursor and return only newer events; Taiga runs always return the whole transcript. */ getLiveTranscript(parameters: { problemRunId: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; /** * Get cost and resource usage for a problem run * * One row per agent-service run attributed to the problem run (the solver, then each grader), each with its cost and, when the runner reported it, what the container consumed against what it was granted. Rows appear as the underlying runs finish. */ getUsage(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * List one directory level of a run's live output workspace * * Reads the live agent-service workspace, which is retained for roughly 24 hours after run completion; afterwards the response is empty with the availability flag cleared. Complements the persisted output files, whose ingestion is capped for large trees. */ listWorkspaceEntries(parameters: { problemRunId: string; path?: string; limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Resolve a download URL for one live workspace file * * Returns a short-lived signed URL that bypasses auth and expires after a brief window. Resolved on demand per file — the workspace listing itself carries no URLs. */ getWorkspaceFileDownloadUrl(parameters: { problemRunId: string; path: string; }, options?: Options): RequestResult; /** * List problem runs for a problem * * Returns every problem-run associated with the problem, newest first, regardless of which (if any) Recursion job produced it. Includes runs imported from Taiga (provenance="taiga", job_id=NULL). Capped at 200 rows; the truncated flag signals over-cap views. */ listForProblem(parameters: { problemId: string; }, options?: Options): RequestResult; } export declare class RubricScores extends HeyApiClient { /** * List rubric scores across all problem runs in a job * * Retained only to read back history produced by the retired job engine. New integrations should list a problem’s runs, group them by batch, and fetch scores per run. Rejects jobs whose total rubric-score count exceeds 10,000; for larger jobs, paginate by problem run. * * @deprecated */ listForJob(parameters: { jobId: string; }, options?: Options): RequestResult; /** * List rubric scores for a problem run */ listForProblemRun(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * Get rubric score grading transcript as plain text */ getTranscript(parameters: { problemRunId: string; rubricScoreId: string; }, options?: Options): RequestResult; } export declare class Marketplace extends HeyApiClient { /** * List marketplace images * * Marketplace images are shared across all organizations. */ listImages(parameters?: { search?: string; limit?: number; offset?: number; sort?: 'recent' | 'name' | 'tags'; }, options?: Options): RequestResult; /** * Get a single marketplace image by ID */ getImage(parameters: { marketplaceImageId: string; }, options?: Options): RequestResult; } export declare class Me extends HeyApiClient { /** * Returns the internal user ID of the current user */ getIdentity(options?: Options): RequestResult; /** * Returns the permissions of the current user * * Discovery endpoint that intentionally requires no permission of its own. Service-to-service callers, which carry no user identity, receive an empty array. */ getPermissions(options?: Options): RequestResult; } export declare class Models extends HeyApiClient { /** * List available built-in models */ list(options?: Options): RequestResult; } export declare class CheckFixCycles extends HeyApiClient { /** * Start an autofix cycle: check a fork PR each wave and spawn a fix attempt on red * * Enqueues an asynchronous job; the response returns immediately with the cycle id — poll the job resource to observe progress. */ create(parameters: { organizationId: string; body: CreateCheckFixCycleDto; }, options?: Options): RequestResult; /** * Read a check_fix_cycle job scoped to an organization */ get(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; } export declare class GitRepoClaims extends HeyApiClient { /** * Claim a per-Aligner Forgejo repo + push token for a coding task problem */ create(parameters: { organizationId: string; body: CreateGitRepoClaimDto; }, options?: Options): RequestResult; } export declare class RolloutBatches extends HeyApiClient { /** * Run an M×N matrix of agents over a dataset via agent-service * * Enqueues an asynchronous jobs_v2 row; the response returns immediately with the batch id — poll the job resource or the results endpoint to observe progress. */ create(parameters: { organizationId: string; body: CreateRolloutBatchDto; }, options?: Options): RequestResult; /** * Read a rollout_batch job scoped to an organization */ get(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Read the raw per-rollout results of a rollout_batch job * * Returns a cursor-paginated page of run_config_run children spawned so far, raw and unshaped, plus the batch's own tallies once terminal-completed. No server-side scoring. */ getResults(parameters: { organizationId: string; jobV2Id: string; limit?: number; cursor?: string; sortBy?: string; sortDirection?: 'asc' | 'desc'; search?: string; }, options?: Options): RequestResult; } export declare class RunConfigRuns extends HeyApiClient { /** * Run a locked run-config version to terminal via agent-service * * Enqueues an asynchronous jobs_v2 row; the response returns immediately with the run id — poll the job resource to observe progress. */ create(parameters: { organizationId: string; body: CreateRunConfigRunDto; }, options?: Options): RequestResult; /** * Read a run_config_run job scoped to an organization */ get(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; /** * Cancel a run_config_run job scoped to an organization */ cancel(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; } export declare class AgentSkills extends HeyApiClient { /** * List org skills plus platform skills */ list(parameters: { organizationId: string; limit?: number; cursor?: string; }, options?: Options): RequestResult; /** * Create an org skill (or a platform skill when platform=true) * * Creates an unversioned skill whose SKILL.md bundle is an already-uploaded file (via POST …/skills/upload or the signed-upload + finalize path). Staff admins may pass platform=true to create a platform-wide skill. */ create(parameters: { organizationId: string; body: CreateAgentSkillDto; }, options?: Options): RequestResult; /** * Upload a skill SKILL.md bundle via the API (no browser→GCS PUT) * * Accepts a .zip / .skill archive (capped at 5 MiB), uploads it server-side to the same GCS destination as the signed-URL flow, and returns the finalized file record. Prefer this over signed-upload + browser PUT when GCS CORS blocks direct uploads. Pass the returned file id to createOrganizationSkill. */ uploadBundle(parameters: { organizationId: string; file: Blob | File; }, options?: Options): RequestResult; /** * Soft-delete a skill * * Always allowed even while referenced — agents with a dangling ref silently stop mounting the skill on the next turn. Detail and used-by remain readable after delete. */ delete(parameters: { organizationId: string; skillId: string; }, options?: Options): RequestResult; /** * Get a skill with a signed URL for its SKILL.md bundle * * Resolves org and platform skills, including soft-deleted rows, so operators can still inspect a skill after delete (e.g. before checking used-by). Cross-org ids return 404. */ get(parameters: { organizationId: string; skillId: string; }, options?: Options): RequestResult; /** * Update a skill (name, description, and/or replace the bundle) * * Skills are mutable by design — replacing the bundle affects every referencing agent on its next turn. Platform-skill writes require staff admin. Soft-deleted skills cannot be updated. */ update(parameters: { organizationId: string; skillId: string; body: UpdateAgentSkillDto; }, options?: Options): RequestResult; /** * Get a skill’s SKILL.md body as plain text * * Fetches the skill bundle server-side and returns SKILL.md as text/plain (extracting from a zip when needed). Same org-scoping as skill detail — org members can read org + platform skills; soft-deleted skills remain resolvable. Prefer this over fetching the signed contentUrl from the browser (GCS CORS). */ getContent(parameters: { organizationId: string; skillId: string; }, options?: Options): RequestResult; } export declare class TuningRuns extends HeyApiClient { /** * Start a tuning session: train a run-config, evaluate checkpoints on a cadence * * Enqueues an asynchronous jobs_v2 row; the response returns immediately with the run id — poll the job resource to observe progress. */ create(parameters: { organizationId: string; body: CreateTuningRunDto; }, options?: Options): RequestResult; /** * Get the platform-trainer container JSON Schema contract bundle * * The response is identical for every organization -- this is a platform-version artifact, not organization-specific data. */ getTrainingContract(parameters: { organizationId: string; }, options?: Options): RequestResult; /** * Read a tuning_run job scoped to an organization */ get(parameters: { organizationId: string; jobV2Id: string; }, options?: Options): RequestResult; } export declare class GradingRuns extends HeyApiClient { /** * List grading sub-runs for a problem run */ listForProblemRun(parameters: { problemRunId: string; }, options?: Options): RequestResult; /** * Get grading run transcript as plain text * * Transcript persistence is best-effort, so a completed sub-run may not have one available. */ getTranscript(parameters: { problemRunId: string; gradingRunId: string; }, options?: Options): RequestResult; } export declare class FormAnswers extends HeyApiClient { /** * List answers for a problem version */ listForVersion(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Upsert answers for a problem version * * Idempotent: repeated calls overwrite the caller's previous answers in place. The form version must be published and the problem version must be unlocked. */ upsertForVersion(parameters: { problemVersionId: string; body: UpsertFormAnswerBodyDto; }, options?: Options): RequestResult; } export declare class ProblemVersions extends HeyApiClient { /** * List versions for a problem */ listForProblem(parameters: { problemId: string; }, options?: Options): RequestResult; /** * Create a new version for a problem * * Creates a new draft version, optionally copying content from an existing source version on the same problem. Rejected on template problems. */ create(parameters: { problemId: string; body: CreateProblemVersionDto; }, options?: Options): RequestResult; /** * Soft-delete a problem version * * Marks the version as deleted while retaining the row to keep historical job references intact. Permitted on both draft and locked versions; rejected on template problems. */ delete(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Get a single problem version */ get(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Update a problem version * * Patches editable fields on a draft version. Locked versions reject all edits. Rejected on template problems. */ update(parameters: { problemVersionId: string; body: UpdateProblemVersionDto; }, options?: Options): RequestResult; /** * Get the status of an AI operation * * Returns the current status and result payload of an asynchronous AI assist operation against this version. Poll this endpoint after launching an action to observe completion. */ getAiOperation(parameters: { problemVersionId: string; aiOperationId: string; }, options?: Options): RequestResult; /** * Lock a problem version to enable running * * Transitions a draft version to locked, freezing its content and making it eligible to be pinned by jobs and evaluations. Idempotent: locking an already-locked version is a no-op. Locking-stage QA gates must pass first. */ lock(parameters: { problemVersionId: string; body?: LockProblemVersionDto; }, options?: Options): RequestResult; } export declare class ProbeRuns extends HeyApiClient { /** * Get a probe-run by id (for polling) */ get(parameters: { runConfigProbeRunId: string; }, options?: Options): RequestResult; /** * Cancel an in-flight probe-run * * Transitions an in-flight probe-run to cancelled. Idempotent for already-terminal runs. The probe-run row remains visible in version history. */ cancel(parameters: { runConfigProbeRunId: string; }, options?: Options): RequestResult; /** * Read the in-flight transcript of a probe-run * * Proxies agent-service transcript events while the probe-run is pending or running; with the after cursor only newer events are returned. */ getLiveTranscript(parameters: { runConfigProbeRunId: string; after?: string; envelope?: 'true' | 'false'; }, options?: Options): RequestResult; } export declare class RunConfigVersions extends HeyApiClient { /** * Discard a draft version * * Discards an open draft and frees the single-open-draft slot on the run config. Locked versions cannot be discarded. */ discard(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Get a run config version by id */ get(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Update a draft version (config / probe / notes) * * Only draft versions accept updates; locked versions are immutable. Any mutation clears the version verified marker; re-running the probe before locking is recommended but not required. */ update(parameters: { runConfigVersionId: string; body: UpdateRunConfigVersionDto; }, options?: Options): RequestResult; /** * Clear the default pin if this version is the current default at its scope * * Clears the default-version pin only if the supplied version is the current default — a concurrent set for a different version cannot be silently clobbered. */ clearDefault(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Set a locked run-config version as the role-agnostic default at its run-config scope * * Pins a locked version as the default for its parent run config so it surfaces as the inherited default in lower scopes. Idempotent for the same run-config and version pair; rejects if a different version is already pinned at this scope. */ setDefault(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Populate the MCP tool catalogue from the last probe run * * Reads the harness's MCP tool catalogue captured by the version's last probe run and stores the discovered tools on the draft configuration. Requires a completed probe whose harness image exposes the catalogue on startup. */ discoverMcpTools(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Lock a draft; locked versions are immutable * * Transitions the version from draft to locked, sealing its payload and making it bindable to role slots. A passing probe is recommended but not required; locked versions cannot be modified — iterate by creating a new draft. */ lock(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Submit a probe against a draft version (async) * * Submits an asynchronous probe-run against a draft version; poll the returned probe-run until it reaches a terminal status. A passing probe marks the version as verified. Only one probe-run may be in flight per version at a time. */ probe(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * List probe-run history for a version (newest first) */ listProbeRuns(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; /** * Select a run-config version payload * * Returns the selected version payload and provenance. Consumer-specific defaults and inherited problem policy remain unresolved. */ resolve(parameters: { runConfigVersionId: string; }, options?: Options): RequestResult; } export declare class Rubrics extends HeyApiClient { /** * List rubrics for a problem version */ listForVersion(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Add a rubric to a problem version * * Creates a blank rubric on the version; prompt, weights, and grader configuration must be populated via a subsequent update. Rejects template problems. */ create(parameters: { problemVersionId: string; }, options?: Options): RequestResult; /** * Soft-delete a rubric * * Marks the rubric as deleted; existing rubric scores are retained for audit, but the rubric stops contributing to new gradings. Rejects template problems. */ delete(parameters: { problemVersionId: string; rubricId: string; }, options?: Options): RequestResult; /** * Update a rubric * * Honors environment-level field permission overrides. Rejects template problems. */ update(parameters: { problemVersionId: string; rubricId: string; body: UpdateRubricBodyDto; }, options?: Options): RequestResult; } export declare class Recursion extends HeyApiClient { static readonly __registry: HeyApiRegistry; constructor(args?: { client?: Client; key?: string; }); private _managedAgents?; get managedAgents(): ManagedAgents; private _sessions?; get sessions(): Sessions; private _computes?; get computes(): Computes; private _customerSecrets?; get customerSecrets(): CustomerSecrets; private _environments?; get environments(): Environments; private _problems?; get problems(): Problems; private _issues?; get issues(): Issues; private _synthesizers?; get synthesizers(): Synthesizers; private _costLimits?; get costLimits(): CostLimits; private _exports?; get exports(): Exports; private _environmentFiles?; get environmentFiles(): EnvironmentFiles; private _forms?; get forms(): Forms; private _imports?; get imports(): Imports; private _jobsV2?; get jobsV2(): JobsV2; private _qa?; get qa(): Qa; private _qaGates?; get qaGates(): QaGates; private _qaTriggers?; get qaTriggers(): QaTriggers; private _runConfigs?; get runConfigs(): RunConfigs; private _runConfigMenus?; get runConfigMenus(): RunConfigMenus; private _synthesizerRuns?; get synthesizerRuns(): SynthesizerRuns; private _evaluations?; get evaluations(): Evaluations; private _files?; get files(): Files; private _images?; get images(): Images; private _issueComments?; get issueComments(): IssueComments; private _problemRuns?; get problemRuns(): ProblemRuns; private _rubricScores?; get rubricScores(): RubricScores; private _marketplace?; get marketplace(): Marketplace; private _me?; get me(): Me; private _models?; get models(): Models; private _checkFixCycles?; get checkFixCycles(): CheckFixCycles; private _gitRepoClaims?; get gitRepoClaims(): GitRepoClaims; private _rolloutBatches?; get rolloutBatches(): RolloutBatches; private _runConfigRuns?; get runConfigRuns(): RunConfigRuns; private _agentSkills?; get agentSkills(): AgentSkills; private _tuningRuns?; get tuningRuns(): TuningRuns; private _gradingRuns?; get gradingRuns(): GradingRuns; private _formAnswers?; get formAnswers(): FormAnswers; private _problemVersions?; get problemVersions(): ProblemVersions; private _probeRuns?; get probeRuns(): ProbeRuns; private _runConfigVersions?; get runConfigVersions(): RunConfigVersions; private _rubrics?; get rubrics(): Rubrics; } export {};