@labelbox/rl-sdk 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +90 -0
  2. package/dist/client-options.d.ts +39 -0
  3. package/dist/client-options.js +29 -0
  4. package/dist/generated/client/client.gen.d.ts +2 -0
  5. package/dist/generated/client/client.gen.js +216 -0
  6. package/dist/generated/client/index.d.ts +8 -0
  7. package/dist/generated/client/index.js +6 -0
  8. package/dist/generated/client/types.gen.d.ts +120 -0
  9. package/dist/generated/client/types.gen.js +2 -0
  10. package/dist/generated/client/utils.gen.d.ts +37 -0
  11. package/dist/generated/client/utils.gen.js +228 -0
  12. package/dist/generated/client.gen.d.ts +12 -0
  13. package/dist/generated/client.gen.js +3 -0
  14. package/dist/generated/core/auth.gen.d.ts +18 -0
  15. package/dist/generated/core/auth.gen.js +14 -0
  16. package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
  17. package/dist/generated/core/bodySerializer.gen.js +57 -0
  18. package/dist/generated/core/params.gen.d.ts +43 -0
  19. package/dist/generated/core/params.gen.js +100 -0
  20. package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
  21. package/dist/generated/core/pathSerializer.gen.js +106 -0
  22. package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
  23. package/dist/generated/core/queryKeySerializer.gen.js +92 -0
  24. package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
  25. package/dist/generated/core/serverSentEvents.gen.js +132 -0
  26. package/dist/generated/core/types.gen.d.ts +78 -0
  27. package/dist/generated/core/types.gen.js +2 -0
  28. package/dist/generated/core/utils.gen.d.ts +19 -0
  29. package/dist/generated/core/utils.gen.js +87 -0
  30. package/dist/generated/index.d.ts +2 -0
  31. package/dist/generated/index.js +2 -0
  32. package/dist/generated/sdk.gen.d.ts +3054 -0
  33. package/dist/generated/sdk.gen.js +5962 -0
  34. package/dist/generated/types.gen.d.ts +39711 -0
  35. package/dist/generated/types.gen.js +2 -0
  36. package/dist/index.d.ts +21 -0
  37. package/dist/index.js +39 -0
  38. package/dist/nesting.d.ts +18 -0
  39. package/dist/nesting.js +75 -0
  40. package/dist/reference/concepts-reference.generated.d.ts +9 -0
  41. package/dist/reference/concepts-reference.generated.js +356 -0
  42. package/dist/reference/concepts-schema.d.ts +16 -0
  43. package/dist/reference/concepts-schema.js +39 -0
  44. package/dist/reference/concepts.d.ts +15 -0
  45. package/dist/reference/concepts.js +354 -0
  46. package/dist/reference/domains.d.ts +65 -0
  47. package/dist/reference/domains.js +32 -0
  48. package/dist/reference/recipes-reference.generated.d.ts +11 -0
  49. package/dist/reference/recipes-reference.generated.js +11415 -0
  50. package/dist/reference/recipes-schema.d.ts +676 -0
  51. package/dist/reference/recipes-schema.js +406 -0
  52. package/dist/reference/resources-reference.generated.d.ts +11 -0
  53. package/dist/reference/resources-reference.generated.js +7174 -0
  54. package/dist/reference/resources-schema.d.ts +78 -0
  55. package/dist/reference/resources-schema.js +71 -0
  56. package/dist/reference/schema.d.ts +153 -0
  57. package/dist/reference/schema.js +151 -0
  58. package/dist/reference/sdk-reference.generated.d.ts +10 -0
  59. package/dist/reference/sdk-reference.generated.js +65703 -0
  60. package/dist/reference/tutorials.d.ts +76 -0
  61. package/dist/reference/tutorials.js +65 -0
  62. package/dist/session-events.d.ts +92 -0
  63. package/dist/session-events.js +213 -0
  64. package/package.json +126 -0
@@ -0,0 +1,3054 @@
1
+ import { type Client, type Options as Options2, type TDataShape } from './client/index.js';
2
+ 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, CreateIssueBodyDto, CreateIssueCommentBodyDto, CreateProblemsDto, CreateProblemVersionDto, CreateProblemWithVersionDto, CreateQaConfigBodyDto, CreateQaGateBodyDto, CreateQaTriggerBodyDto, CreateRolloutBatchDto, CreateRunConfigDto, CreateRunConfigRunDto, CreateRunConfigVersionDto, CreateSynthesizerJobBodyDto, CreateTuningRunDto, DeleteManagedAgentsV1AgentsByAgentIdErrors, DeleteManagedAgentsV1AgentsByAgentIdResponses, DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors, DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses, DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors, DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, DeleteManagedAgentsV1SessionsBySessionIdErrors, DeleteManagedAgentsV1SessionsBySessionIdResponses, DeleteManagedAgentsV1SkillsBySkillIdErrors, DeleteManagedAgentsV1SkillsBySkillIdResponses, DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors, DeleteManagedAgentsV1TriggerBindingsByBindingIdResponses, DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, DeleteManagedAgentsV1VaultsByVaultIdErrors, DeleteManagedAgentsV1VaultsByVaultIdResponses, 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, GetManagedAgentsV1AgentsByAgentIdErrors, GetManagedAgentsV1AgentsByAgentIdLearningErrors, GetManagedAgentsV1AgentsByAgentIdLearningResponses, GetManagedAgentsV1AgentsByAgentIdResponses, GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors, GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses, GetManagedAgentsV1AgentsByAgentIdVersionsErrors, GetManagedAgentsV1AgentsByAgentIdVersionsResponses, GetManagedAgentsV1AgentsErrors, GetManagedAgentsV1AgentsResponses, GetManagedAgentsV1AnalyticsByFamilyErrors, GetManagedAgentsV1AnalyticsByFamilyResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors, GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses, GetManagedAgentsV1EnvironmentsErrors, GetManagedAgentsV1EnvironmentsResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsErrors, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesErrors, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdResponses, GetManagedAgentsV1IntegrationsConnectionsErrors, GetManagedAgentsV1IntegrationsConnectionsResponses, GetManagedAgentsV1IntegrationsProvidersErrors, GetManagedAgentsV1IntegrationsProvidersResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsErrors, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, GetManagedAgentsV1MemoryStoresErrors, GetManagedAgentsV1MemoryStoresResponses, GetManagedAgentsV1ModelProvidersErrors, GetManagedAgentsV1ModelProvidersResponses, GetManagedAgentsV1ModelRefsErrors, GetManagedAgentsV1ModelRefsResponses, GetManagedAgentsV1ModelsErrors, GetManagedAgentsV1ModelsResponses, GetManagedAgentsV1ReflectionsByReflectionIdErrors, GetManagedAgentsV1ReflectionsByReflectionIdResponses, GetManagedAgentsV1ReflectionsErrors, GetManagedAgentsV1ReflectionsResponses, GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultErrors, GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultResponses, GetManagedAgentsV1SandboxProvidersByProviderStatusErrors, GetManagedAgentsV1SandboxProvidersByProviderStatusResponses, GetManagedAgentsV1SandboxProvidersErrors, GetManagedAgentsV1SandboxProvidersResponses, GetManagedAgentsV1SessionsBySessionIdCostsErrors, GetManagedAgentsV1SessionsBySessionIdCostsResponses, GetManagedAgentsV1SessionsBySessionIdCostsSessionsErrors, GetManagedAgentsV1SessionsBySessionIdCostsSessionsResponses, GetManagedAgentsV1SessionsBySessionIdErrors, GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentErrors, GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentResponses, GetManagedAgentsV1SessionsBySessionIdEventsErrors, GetManagedAgentsV1SessionsBySessionIdEventsResponses, GetManagedAgentsV1SessionsBySessionIdOutcomesErrors, GetManagedAgentsV1SessionsBySessionIdOutcomesResponses, GetManagedAgentsV1SessionsBySessionIdResponses, GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdErrors, GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdResponses, GetManagedAgentsV1SessionsBySessionIdThreadsErrors, GetManagedAgentsV1SessionsBySessionIdThreadsResponses, GetManagedAgentsV1SessionsBySessionIdTreeErrors, GetManagedAgentsV1SessionsBySessionIdTreeResponses, GetManagedAgentsV1SessionsCostsErrors, GetManagedAgentsV1SessionsCostsResponses, GetManagedAgentsV1SessionsErrors, GetManagedAgentsV1SessionsResponses, GetManagedAgentsV1SessionsUsageErrors, GetManagedAgentsV1SessionsUsageResponses, GetManagedAgentsV1SkillsBySkillIdErrors, GetManagedAgentsV1SkillsBySkillIdResponses, GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdErrors, GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses, GetManagedAgentsV1SkillsBySkillIdVersionsErrors, GetManagedAgentsV1SkillsBySkillIdVersionsResponses, GetManagedAgentsV1SkillsErrors, GetManagedAgentsV1SkillsResponses, GetManagedAgentsV1TriggerBindingsErrors, GetManagedAgentsV1TriggerBindingsResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsErrors, GetManagedAgentsV1VaultsByVaultIdCredentialsResponses, GetManagedAgentsV1VaultsByVaultIdErrors, GetManagedAgentsV1VaultsByVaultIdResponses, GetManagedAgentsV1VaultsErrors, GetManagedAgentsV1VaultsResponses, 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, GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdGradingRunsErrors, GetV1ProblemRunsByProblemRunIdGradingRunsResponses, GetV1ProblemRunsByProblemRunIdResponses, GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdRubricScoresErrors, GetV1ProblemRunsByProblemRunIdRubricScoresResponses, GetV1ProblemRunsByProblemRunIdTranscriptErrors, GetV1ProblemRunsByProblemRunIdTranscriptLiveErrors, GetV1ProblemRunsByProblemRunIdTranscriptLiveResponses, GetV1ProblemRunsByProblemRunIdTranscriptResponses, 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, 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, ManagedAgentsAgent, ManagedAgentsCompleteIntegrationInstallRequest, ManagedAgentsCreateAgentRequest, ManagedAgentsCreateEnvironmentRequest, ManagedAgentsCreateTriggerBindingRequest, ManagedAgentsCreateVaultCredentialRequest, ManagedAgentsCreateVaultRequest, ManagedAgentsDefineOutcomeRequest, ManagedAgentsEnvironment, ManagedAgentsInterruptRequest, ManagedAgentsLearningConfigRequest, ManagedAgentsMemoryPinRequest, ManagedAgentsMemoryRequest, ManagedAgentsMemoryStoreRequest, ManagedAgentsProbeMcpServerRequest, ManagedAgentsSessionEventSendRequest, ManagedAgentsSkillRequest, ManagedAgentsStartPullRequestReviewRequest, ManagedAgentsStartSessionRequest, ManagedAgentsUpdateTriggerBindingRequest, ManagedAgentsUpdateVaultCredentialRequest, ManagedAgentsUpdateVaultRequest, PatchManagedAgentsV1AgentsByAgentIdErrors, PatchManagedAgentsV1AgentsByAgentIdResponses, PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors, PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses, PatchManagedAgentsV1SkillsBySkillIdErrors, PatchManagedAgentsV1SkillsBySkillIdResponses, 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, PostManagedAgentsV1AgentsByAgentIdLearningErrors, PostManagedAgentsV1AgentsByAgentIdLearningResponses, PostManagedAgentsV1AgentsByAgentIdReflectionsErrors, PostManagedAgentsV1AgentsByAgentIdReflectionsResponses, PostManagedAgentsV1AgentsErrors, PostManagedAgentsV1AgentsResponses, PostManagedAgentsV1EnvironmentsErrors, PostManagedAgentsV1EnvironmentsResponses, PostManagedAgentsV1IntegrationsByProviderInstallCompleteErrors, PostManagedAgentsV1IntegrationsByProviderInstallCompleteResponses, PostManagedAgentsV1IntegrationsByProviderInstallErrors, PostManagedAgentsV1IntegrationsByProviderInstallResponses, PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeErrors, PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponses, PostManagedAgentsV1McpProbeErrors, PostManagedAgentsV1McpProbeResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdActivateErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdActivateResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdPinErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdPinResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreErrors, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, PostManagedAgentsV1MemoryStoresErrors, PostManagedAgentsV1MemoryStoresResponses, PostManagedAgentsV1RepositoryAutomationPullRequestReviewsErrors, PostManagedAgentsV1RepositoryAutomationPullRequestReviewsResponses, PostManagedAgentsV1SessionsBySessionIdCancelErrors, PostManagedAgentsV1SessionsBySessionIdCancelResponses, PostManagedAgentsV1SessionsBySessionIdEventsErrors, PostManagedAgentsV1SessionsBySessionIdEventsResponses, PostManagedAgentsV1SessionsBySessionIdInterruptErrors, PostManagedAgentsV1SessionsBySessionIdInterruptResponses, PostManagedAgentsV1SessionsBySessionIdOutcomesErrors, PostManagedAgentsV1SessionsBySessionIdOutcomesResponses, PostManagedAgentsV1SessionsErrors, PostManagedAgentsV1SessionsResponses, PostManagedAgentsV1SkillsErrors, PostManagedAgentsV1SkillsResponses, PostManagedAgentsV1TriggerBindingsErrors, PostManagedAgentsV1TriggerBindingsResponses, PostManagedAgentsV1VaultsByVaultIdCredentialsErrors, PostManagedAgentsV1VaultsByVaultIdCredentialsResponses, PostManagedAgentsV1VaultsErrors, PostManagedAgentsV1VaultsResponses, 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, 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, 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, PutV1EnvironmentsByEnvironmentIdCostLimitsErrors, PutV1EnvironmentsByEnvironmentIdCostLimitsResponses, PutV1EnvironmentsByEnvironmentIdExternalIdErrors, PutV1EnvironmentsByEnvironmentIdExternalIdResponses, PutV1EnvironmentsByEnvironmentIdTemplateErrors, PutV1EnvironmentsByEnvironmentIdTemplateResponses, PutV1ProblemVersionsByProblemVersionIdFormAnswersErrors, PutV1ProblemVersionsByProblemVersionIdFormAnswersResponses, PutV1RunConfigVersionsByRunConfigVersionIdDefaultErrors, PutV1RunConfigVersionsByRunConfigVersionIdDefaultResponses, PutV1VersionsByProblemVersionIdLockErrors, PutV1VersionsByProblemVersionIdLockResponses, 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';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ declare class HeyApiClient {
17
+ protected client: Client;
18
+ constructor(args?: {
19
+ client?: Client;
20
+ });
21
+ }
22
+ declare class HeyApiRegistry<T> {
23
+ private readonly defaultKey;
24
+ private readonly instances;
25
+ get(key?: string): T;
26
+ set(value: T, key?: string): void;
27
+ }
28
+ export declare class ManagedAgents extends HeyApiClient {
29
+ /**
30
+ * List agents
31
+ *
32
+ * Returns every agent in the calling organization, each resolved to its latest immutable version. Soft-deleted agents are omitted, and the response is not paginated.
33
+ */
34
+ listAgents<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AgentsResponses, GetManagedAgentsV1AgentsErrors, ThrowOnError, "data">;
35
+ /**
36
+ * Create an agent and immutable version
37
+ *
38
+ * 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.
39
+ */
40
+ createAgent<ThrowOnError extends boolean = false>(parameters?: {
41
+ body?: ManagedAgentsCreateAgentRequest;
42
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1AgentsResponses, PostManagedAgentsV1AgentsErrors, ThrowOnError, "data">;
43
+ /**
44
+ * Soft delete agent
45
+ *
46
+ * 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.
47
+ */
48
+ deleteAgent<ThrowOnError extends boolean = false>(parameters: {
49
+ agent_id: string;
50
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1AgentsByAgentIdResponses, DeleteManagedAgentsV1AgentsByAgentIdErrors, ThrowOnError, "data">;
51
+ /**
52
+ * Get one agent
53
+ *
54
+ * 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.
55
+ */
56
+ getAgent<ThrowOnError extends boolean = false>(parameters: {
57
+ agent_id: string;
58
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AgentsByAgentIdResponses, GetManagedAgentsV1AgentsByAgentIdErrors, ThrowOnError, "data">;
59
+ /**
60
+ * Update agent and create a new immutable version
61
+ *
62
+ * Applies a partial update and returns the agent resolved to the new version. Agent versions are immutable, so every accepted update mints a new one rather than editing history; omitted fields keep their current values. Running sessions keep the version they started with.
63
+ */
64
+ updateAgent<ThrowOnError extends boolean = false>(parameters: {
65
+ agent_id: string;
66
+ body?: ManagedAgentsAgent;
67
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1AgentsByAgentIdResponses, PatchManagedAgentsV1AgentsByAgentIdErrors, ThrowOnError, "data">;
68
+ /**
69
+ * Get an agent's learning configuration
70
+ *
71
+ * Returns whether this agent learns from its own sessions, and on what schedule. The response is normalized, so the thresholds shown are the ones actually in force rather than the empty fields that mean "use the default".
72
+ */
73
+ getAgentLearning<ThrowOnError extends boolean = false>(parameters: {
74
+ agent_id: string;
75
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AgentsByAgentIdLearningResponses, GetManagedAgentsV1AgentsByAgentIdLearningErrors, ThrowOnError, "data">;
76
+ /**
77
+ * Set an agent's learning configuration
78
+ *
79
+ * Turns the loop on or off for one agent and sets its schedule, digest threshold, cooldown, and models. Enabling it makes each finished session distil into a report and periodically consolidates those into a candidate memory store; it never changes what a session reads until someone activates a candidate. Defaults are inert.
80
+ */
81
+ putAgentLearning<ThrowOnError extends boolean = false>(parameters: {
82
+ agent_id: string;
83
+ body?: ManagedAgentsLearningConfigRequest;
84
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1AgentsByAgentIdLearningResponses, PostManagedAgentsV1AgentsByAgentIdLearningErrors, ThrowOnError, "data">;
85
+ /**
86
+ * Consolidate an agent's memory now
87
+ *
88
+ * Starts a consolidation immediately rather than waiting for the schedule or the digest threshold. Refuses when one is already running for this agent, and when no session report has content yet, since a run over empty reports would spend a model call to conclude nothing.
89
+ */
90
+ startAgentReflection<ThrowOnError extends boolean = false>(parameters: {
91
+ agent_id: string;
92
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1AgentsByAgentIdReflectionsResponses, PostManagedAgentsV1AgentsByAgentIdReflectionsErrors, ThrowOnError, "data">;
93
+ /**
94
+ * List an agent's immutable version history
95
+ *
96
+ * Returns the agent's full immutable version history, oldest to newest, so a caller can see exactly which prompt, model, and toolset a past session ran with. The response is not paginated.
97
+ */
98
+ listAgentVersions<ThrowOnError extends boolean = false>(parameters: {
99
+ agent_id: string;
100
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AgentsByAgentIdVersionsResponses, GetManagedAgentsV1AgentsByAgentIdVersionsErrors, ThrowOnError, "data">;
101
+ /**
102
+ * Get one immutable agent version
103
+ *
104
+ * 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.
105
+ */
106
+ getAgentVersion<ThrowOnError extends boolean = false>(parameters: {
107
+ agent_id: string;
108
+ agent_version_id: string;
109
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses, GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors, ThrowOnError, "data">;
110
+ /**
111
+ * Read pre-aggregated usage or environment analytics
112
+ *
113
+ * Returns totals, a time series, and default breakdowns for one metric family over a time window. Figures come from a maintained projection rather than 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: they are merged from a fixed-bin histogram, which is what lets them combine across shards, buckets, and scopes at all. scope defaults to the caller's own workspace. tenant aggregates every workspace in the parent tenant organization and requires both a Tenant Admin role and an identity that carries a tenant id, so it is reachable by a service credential but not yet from a browser session. global is not reachable with this operation at all.
114
+ */
115
+ getAnalytics<ThrowOnError extends boolean = false>(parameters: {
116
+ family: 'managed_agent_usage' | 'managed_agent_turn' | 'managed_agent_environment';
117
+ scope?: 'workspace' | 'tenant';
118
+ workspace_id?: string;
119
+ from?: string;
120
+ to?: string;
121
+ granularity?: 'hour' | 'day';
122
+ launched_agent_id?: string;
123
+ executing_agent_id?: string;
124
+ executing_agent_version_id?: string;
125
+ model?: string;
126
+ project_source?: string;
127
+ project_id?: string;
128
+ tool_name?: string;
129
+ outcome?: 'in_flight' | 'completed' | 'failed' | 'ready' | 'pending';
130
+ sandbox_provider?: string;
131
+ environment_id?: string;
132
+ compute_class?: string;
133
+ machine_type?: string;
134
+ series_group_by?: string;
135
+ limit?: number;
136
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1AnalyticsByFamilyResponses, GetManagedAgentsV1AnalyticsByFamilyErrors, ThrowOnError, "data">;
137
+ /**
138
+ * List environments
139
+ *
140
+ * 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.
141
+ */
142
+ listEnvironments<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1EnvironmentsResponses, GetManagedAgentsV1EnvironmentsErrors, ThrowOnError, "data">;
143
+ /**
144
+ * Create environment
145
+ *
146
+ * 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: compute is allocated when a session that references the environment starts.
147
+ */
148
+ createEnvironment<ThrowOnError extends boolean = false>(parameters?: {
149
+ body?: ManagedAgentsCreateEnvironmentRequest;
150
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1EnvironmentsResponses, PostManagedAgentsV1EnvironmentsErrors, ThrowOnError, "data">;
151
+ /**
152
+ * Soft delete environment
153
+ *
154
+ * 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.
155
+ */
156
+ deleteEnvironment<ThrowOnError extends boolean = false>(parameters: {
157
+ environment_id: string;
158
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses, DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors, ThrowOnError, "data">;
159
+ /**
160
+ * Get environment
161
+ *
162
+ * 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.
163
+ */
164
+ getEnvironment<ThrowOnError extends boolean = false>(parameters: {
165
+ environment_id: string;
166
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses, GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors, ThrowOnError, "data">;
167
+ /**
168
+ * Update environment
169
+ *
170
+ * Applies a partial update and returns the stored environment; omitted fields keep their current values. A provider is validated only when the request actually names one. Sessions already running keep the spec they started with, so a change takes effect on the next session start.
171
+ */
172
+ updateEnvironment<ThrowOnError extends boolean = false>(parameters: {
173
+ environment_id: string;
174
+ body?: ManagedAgentsEnvironment;
175
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses, PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors, ThrowOnError, "data">;
176
+ /**
177
+ * List connected third-party accounts
178
+ *
179
+ * Returns the organization's connected third-party accounts, each with its provider, account login, resource selection, and state. A connection holds no secret material, so nothing here needs to be redacted.
180
+ */
181
+ listIntegrationConnections<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1IntegrationsConnectionsResponses, GetManagedAgentsV1IntegrationsConnectionsErrors, ThrowOnError, "data">;
182
+ /**
183
+ * Disconnect an account and retire the grants that used it
184
+ *
185
+ * Disconnects the account and retires every credential grant that referenced it, returning how many grants were revoked. Agents holding those grants lose access to the provider on their next session; existing sessions are not torn down.
186
+ */
187
+ deleteIntegrationConnection<ThrowOnError extends boolean = false>(parameters: {
188
+ connection_id: string;
189
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdResponses, DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors, ThrowOnError, "data">;
190
+ /**
191
+ * Get one connected account
192
+ *
193
+ * Returns one connected account. An unknown id, or one belonging to another organization, is reported as a 404.
194
+ */
195
+ getIntegrationConnection<ThrowOnError extends boolean = false>(parameters: {
196
+ connection_id: string;
197
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1IntegrationsConnectionsByConnectionIdResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors, ThrowOnError, "data">;
198
+ /**
199
+ * Check a connection against the provider and try minting a token
200
+ *
201
+ * Checks a connection against the provider and tries to mint a short-lived access token, returning what the provider reported. A suspended or revoked installation is still HTTP 200 with ok=false, so read that field rather than the status code.
202
+ */
203
+ probeIntegrationConnection<ThrowOnError extends boolean = false>(parameters: {
204
+ connection_id: string;
205
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponses, PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeErrors, ThrowOnError, "data">;
206
+ /**
207
+ * List the repositories a connection can reach, for the grant picker
208
+ *
209
+ * Returns the repositories this connection can reach, for building a grant picker. Results are paged by the 1-based page query parameter at up to 100 repositories per page; the list comes from the provider live, so it reflects the installation's current access.
210
+ */
211
+ listIntegrationRepositories<ThrowOnError extends boolean = false>(parameters: {
212
+ connection_id: string;
213
+ page?: number;
214
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesErrors, ThrowOnError, "data">;
215
+ /**
216
+ * List pull requests for a connected repository
217
+ */
218
+ listIntegrationPullRequests<ThrowOnError extends boolean = false>(parameters: {
219
+ connection_id: string;
220
+ repository: string;
221
+ state?: string;
222
+ page?: number;
223
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsResponses, GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsErrors, ThrowOnError, "data">;
224
+ /**
225
+ * List the native integrations this deployment supports
226
+ *
227
+ * Returns the third-party integrations this deployment supports. Providers that the deployment has not configured are listed too, with their configured state, so a caller can tell "not set up here" apart from "not offered".
228
+ */
229
+ listIntegrationProviders<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1IntegrationsProvidersResponses, GetManagedAgentsV1IntegrationsProvidersErrors, ThrowOnError, "data">;
230
+ /**
231
+ * Begin authorizing a third-party account connection
232
+ *
233
+ * Begins authorizing a third-party account connection and returns the provider URL to send the operator to, together with a single-use, short-lived state nonce. Nothing is connected until completeIntegrationInstall is called with that nonce.
234
+ */
235
+ startIntegrationInstall<ThrowOnError extends boolean = false>(parameters: {
236
+ provider: 'github';
237
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1IntegrationsByProviderInstallResponses, PostManagedAgentsV1IntegrationsByProviderInstallErrors, ThrowOnError, "data">;
238
+ /**
239
+ * Finish connecting a third-party account after the provider redirect
240
+ *
241
+ * Finishes an authorization begun by startIntegrationInstall and returns the created connection. The organization comes from the caller's own credentials and the state nonce, never from the provider redirect, and the selected account or installation is verified against the authorizing user before it is trusted. The state nonce is single-use.
242
+ */
243
+ completeIntegrationInstall<ThrowOnError extends boolean = false>(parameters: {
244
+ provider: 'github';
245
+ body?: ManagedAgentsCompleteIntegrationInstallRequest;
246
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1IntegrationsByProviderInstallCompleteResponses, PostManagedAgentsV1IntegrationsByProviderInstallCompleteErrors, ThrowOnError, "data">;
247
+ /**
248
+ * Test an MCP server connection and list its tools
249
+ *
250
+ * 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.
251
+ */
252
+ probeMcpServer<ThrowOnError extends boolean = false>(parameters?: {
253
+ body?: ManagedAgentsProbeMcpServerRequest;
254
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1McpProbeResponses, PostManagedAgentsV1McpProbeErrors, ThrowOnError, "data">;
255
+ /**
256
+ * List memory stores
257
+ *
258
+ * 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.
259
+ */
260
+ listMemoryStores<ThrowOnError extends boolean = false>(parameters?: {
261
+ agent_id?: string;
262
+ origin?: 'curated' | 'reflection';
263
+ status?: 'candidate' | 'active' | 'archived';
264
+ include_archived?: boolean;
265
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresResponses, GetManagedAgentsV1MemoryStoresErrors, ThrowOnError, "data">;
266
+ /**
267
+ * Create a memory store
268
+ *
269
+ * 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. Stores written by the consolidation loop are created by the platform and cannot be created here.
270
+ */
271
+ createMemoryStore<ThrowOnError extends boolean = false>(parameters?: {
272
+ body?: ManagedAgentsMemoryStoreRequest;
273
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresResponses, PostManagedAgentsV1MemoryStoresErrors, ThrowOnError, "data">;
274
+ /**
275
+ * Delete a memory store
276
+ *
277
+ * Removes a store and its memories from every read path. Prefer archiving when the history has any audit value.
278
+ */
279
+ deleteMemoryStore<ThrowOnError extends boolean = false>(parameters: {
280
+ memory_store_id: string;
281
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, ThrowOnError, "data">;
282
+ /**
283
+ * Get one memory store
284
+ *
285
+ * Returns one store, including how many memories it holds and whether it is a candidate awaiting review, the agent's live memory, or archived history.
286
+ */
287
+ getMemoryStore<ThrowOnError extends boolean = false>(parameters: {
288
+ memory_store_id: string;
289
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, ThrowOnError, "data">;
290
+ /**
291
+ * Update a memory store
292
+ *
293
+ * Renames a store or changes its description. An omitted field is left unchanged. An archived store is immutable.
294
+ */
295
+ updateMemoryStore<ThrowOnError extends boolean = false>(parameters: {
296
+ memory_store_id: string;
297
+ body?: ManagedAgentsMemoryStoreRequest;
298
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdErrors, ThrowOnError, "data">;
299
+ /**
300
+ * Activate a candidate memory store
301
+ *
302
+ * Promotes a candidate store produced by the consolidation loop to the agent's live memory, archiving whatever it replaces. This is the review gate: everything the loop produces is invisible to sessions until this call. It takes effect for sessions started afterwards, never for one already running, so no conversation's prompt changes underneath it. Rolling back is activating the store this one replaced.
303
+ */
304
+ activateMemoryStore<ThrowOnError extends boolean = false>(parameters: {
305
+ memory_store_id: string;
306
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdActivateResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdActivateErrors, ThrowOnError, "data">;
307
+ /**
308
+ * Archive a memory store
309
+ *
310
+ * Makes a store read-only and unattachable to new sessions. One way: there is no unarchive, because a store sessions have moved off should not become live again without someone reviewing what is in it.
311
+ */
312
+ archiveMemoryStore<ThrowOnError extends boolean = false>(parameters: {
313
+ memory_store_id: string;
314
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdArchiveErrors, ThrowOnError, "data">;
315
+ /**
316
+ * Browse a memory store
317
+ *
318
+ * 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: a listing that carried every body would cost what reading everything costs, which is the expense this tiering exists to avoid.
319
+ */
320
+ listMemories<ThrowOnError extends boolean = false>(parameters: {
321
+ memory_store_id: string;
322
+ path_prefix?: string;
323
+ depth?: number;
324
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, ThrowOnError, "data">;
325
+ /**
326
+ * Create a memory
327
+ *
328
+ * Adds one memory to a curated store. Does not overwrite: changing an existing path is an update, so a retried request cannot destroy content. A store written by the consolidation loop is not hand-editable, because editing it would put your text under a provenance saying the platform wrote it and the next consolidation would read it as its own prior conclusion.
329
+ */
330
+ createMemory<ThrowOnError extends boolean = false>(parameters: {
331
+ memory_store_id: string;
332
+ body?: ManagedAgentsMemoryRequest;
333
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesErrors, ThrowOnError, "data">;
334
+ /**
335
+ * Delete a memory
336
+ *
337
+ * 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.
338
+ */
339
+ deleteMemory<ThrowOnError extends boolean = false>(parameters: {
340
+ memory_store_id: string;
341
+ memory_id: string;
342
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, DeleteManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, ThrowOnError, "data">;
343
+ /**
344
+ * Read one memory
345
+ *
346
+ * Returns one memory including its full content and the content hash to pass back as an update precondition.
347
+ */
348
+ getMemory<ThrowOnError extends boolean = false>(parameters: {
349
+ memory_store_id: string;
350
+ memory_id: string;
351
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, ThrowOnError, "data">;
352
+ /**
353
+ * Update a memory
354
+ *
355
+ * 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, which is what keeps a console edit and a consolidation from silently clobbering each other. Every change mints an immutable version.
356
+ */
357
+ updateMemory<ThrowOnError extends boolean = false>(parameters: {
358
+ memory_store_id: string;
359
+ memory_id: string;
360
+ body?: ManagedAgentsMemoryRequest;
361
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdErrors, ThrowOnError, "data">;
362
+ /**
363
+ * Pin or unpin a memory
364
+ *
365
+ * Protects one memory from the consolidation loop, which will not retire or rewrite a pinned memory, or lifts that protection. Allowed on a store the loop itself wrote, unlike editing its content: pinning changes no text and no provenance, and a learned store is where a reviewer most often wants to say the loop may not touch this again.
366
+ */
367
+ setMemoryPinned<ThrowOnError extends boolean = false>(parameters: {
368
+ memory_store_id: string;
369
+ memory_id: string;
370
+ body?: ManagedAgentsMemoryPinRequest;
371
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdPinResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoriesByMemoryIdPinErrors, ThrowOnError, "data">;
372
+ /**
373
+ * Read one memory by path
374
+ *
375
+ * 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.
376
+ */
377
+ getMemoryByPath<ThrowOnError extends boolean = false>(parameters: {
378
+ memory_store_id: string;
379
+ path: string;
380
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryErrors, ThrowOnError, "data">;
381
+ /**
382
+ * List memory versions
383
+ *
384
+ * 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.
385
+ */
386
+ listMemoryVersions<ThrowOnError extends boolean = false>(parameters: {
387
+ memory_store_id: string;
388
+ memory_id?: string;
389
+ limit?: number;
390
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsErrors, ThrowOnError, "data">;
391
+ /**
392
+ * Get one memory version
393
+ *
394
+ * Returns one version including the content as it stood, unless the version has been redacted.
395
+ */
396
+ getMemoryVersion<ThrowOnError extends boolean = false>(parameters: {
397
+ memory_store_id: string;
398
+ memory_version_id: string;
399
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdResponses, GetManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdErrors, ThrowOnError, "data">;
400
+ /**
401
+ * Redact a memory version
402
+ *
403
+ * 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.
404
+ */
405
+ redactMemoryVersion<ThrowOnError extends boolean = false>(parameters: {
406
+ memory_store_id: string;
407
+ memory_version_id: string;
408
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRedactErrors, ThrowOnError, "data">;
409
+ /**
410
+ * Restore a memory version
411
+ *
412
+ * 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.
413
+ */
414
+ restoreMemoryVersion<ThrowOnError extends boolean = false>(parameters: {
415
+ memory_store_id: string;
416
+ memory_version_id: string;
417
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreResponses, PostManagedAgentsV1MemoryStoresByMemoryStoreIdMemoryVersionsByMemoryVersionIdRestoreErrors, ThrowOnError, "data">;
418
+ /**
419
+ * List model providers
420
+ *
421
+ * Returns the model providers registered by this organization, each with its provider type, base URL, and the name of the credential the runtime resolves for it. Secret values are never returned.
422
+ */
423
+ listModelProviders<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1ModelProvidersResponses, GetManagedAgentsV1ModelProvidersErrors, ThrowOnError, "data">;
424
+ /**
425
+ * List model references
426
+ *
427
+ * Returns this organization's catalog model references: named, reusable bindings of a provider and model that an agent can point at through model_ref_id instead of hard-coding a model string.
428
+ */
429
+ listModelRefs<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1ModelRefsResponses, GetManagedAgentsV1ModelRefsErrors, ThrowOnError, "data">;
430
+ /**
431
+ * List models the gateway can serve
432
+ *
433
+ * Returns the models the inference gateway can currently serve, sourced live from the gateway rather than stored per organization. The list reflects deployment configuration, so it can change without any write from this API.
434
+ */
435
+ listModels<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1ModelsResponses, GetManagedAgentsV1ModelsErrors, ThrowOnError, "data">;
436
+ /**
437
+ * List consolidation runs
438
+ *
439
+ * Returns memory consolidation runs, newest first. Each names the digests it read, the candidate store it produced, and the session that ran it -- streaming that session shows the consolidation reasoning in real time, because it is an ordinary agent session.
440
+ */
441
+ listReflections<ThrowOnError extends boolean = false>(parameters?: {
442
+ agent_id?: string;
443
+ status?: 'pending' | 'running' | 'completed' | 'failed' | 'canceled';
444
+ triggered_by?: 'schedule' | 'counter' | 'manual';
445
+ limit?: number;
446
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1ReflectionsResponses, GetManagedAgentsV1ReflectionsErrors, ThrowOnError, "data">;
447
+ /**
448
+ * Get one consolidation run
449
+ *
450
+ * Returns one run: its trigger, status, the sessions whose reports it read, the candidate store it wrote, and the driver session id. What the run spent is read from that driver session rather than copied here, because model cost settles after a session ends and a copy taken at the end of the run would not be corrected.
451
+ */
452
+ getReflection<ThrowOnError extends boolean = false>(parameters: {
453
+ reflection_id: string;
454
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1ReflectionsByReflectionIdResponses, GetManagedAgentsV1ReflectionsByReflectionIdErrors, ThrowOnError, "data">;
455
+ /**
456
+ * Start an exact-SHA GitHub pull request review
457
+ *
458
+ * Reachable with a Labelbox 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.
459
+ */
460
+ startPullRequestReview<ThrowOnError extends boolean = false>(parameters?: {
461
+ 'Idempotency-Key'?: string;
462
+ body?: ManagedAgentsStartPullRequestReviewRequest;
463
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1RepositoryAutomationPullRequestReviewsResponses, PostManagedAgentsV1RepositoryAutomationPullRequestReviewsErrors, ThrowOnError, "data">;
464
+ /**
465
+ * Get the trusted, diff-validated pull request review result
466
+ *
467
+ * Reachable with a Labelbox 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.
468
+ */
469
+ getPullRequestReviewResult<ThrowOnError extends boolean = false>(parameters: {
470
+ session_id: string;
471
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultResponses, GetManagedAgentsV1RepositoryAutomationPullRequestReviewsBySessionIdResultErrors, ThrowOnError, "data">;
472
+ /**
473
+ * List supported sandbox providers
474
+ *
475
+ * Returns the sandbox runtimes this deployment can run environments on, with the display name, description, whether the provider is the default, and whether it needs a credential. This is static service capability, not organization data, so every caller sees the same list.
476
+ */
477
+ listSandboxProviders<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SandboxProvidersResponses, GetManagedAgentsV1SandboxProvidersErrors, ThrowOnError, "data">;
478
+ /**
479
+ * Check sandbox provider connectivity
480
+ *
481
+ * 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 a Labelbox 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.
482
+ */
483
+ getSandboxProviderStatus<ThrowOnError extends boolean = false>(parameters: {
484
+ provider: 'runs' | 'self_hosted' | 'docker';
485
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SandboxProvidersByProviderStatusResponses, GetManagedAgentsV1SandboxProvidersByProviderStatusErrors, ThrowOnError, "data">;
486
+ /**
487
+ * List sessions
488
+ *
489
+ * Returns sessions in the calling organization, most recent first, filtered by any combination of status, kind, agent_id, and external source. kind accepts a comma-separated list, which is how a caller selects agent sessions without RL rollouts. Capped by limit (default 100, max 1000) rather than cursor-paginated.
490
+ */
491
+ listSessions<ThrowOnError extends boolean = false>(parameters?: {
492
+ status?: string;
493
+ kind?: string;
494
+ agent_id?: string;
495
+ external_source_type?: string;
496
+ external_source_id?: string;
497
+ root_only?: boolean;
498
+ limit?: number;
499
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsResponses, GetManagedAgentsV1SessionsErrors, ThrowOnError, "data">;
500
+ /**
501
+ * Start a managed session
502
+ *
503
+ * 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. Send an Idempotency-Key header to make retries safe: the same key with the same body returns the original session, and with a different body is rejected.
504
+ */
505
+ startSession<ThrowOnError extends boolean = false>(parameters?: {
506
+ 'Idempotency-Key'?: string;
507
+ body?: ManagedAgentsStartSessionRequest;
508
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SessionsResponses, PostManagedAgentsV1SessionsErrors, ThrowOnError, "data">;
509
+ /**
510
+ * Get exact model-cost summaries for a batch of sessions
511
+ */
512
+ listSessionModelCosts<ThrowOnError extends boolean = false>(parameters: {
513
+ session_ids: string;
514
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsCostsResponses, GetManagedAgentsV1SessionsCostsErrors, ThrowOnError, "data">;
515
+ /**
516
+ * Roll up token and cost totals for a batch of sessions
517
+ *
518
+ * 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.
519
+ */
520
+ listSessionUsage<ThrowOnError extends boolean = false>(parameters: {
521
+ session_ids: string;
522
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsUsageResponses, GetManagedAgentsV1SessionsUsageErrors, ThrowOnError, "data">;
523
+ /**
524
+ * Soft delete a session subtree (events retained)
525
+ *
526
+ * Soft deletes the session subtree: the session is cancelled if still running, its sandbox is torn down, and the rows disappear from reads. The transcript itself is retained, so this is not a data-erasure operation, and it cannot be undone through this API.
527
+ */
528
+ deleteSession<ThrowOnError extends boolean = false>(parameters: {
529
+ session_id: string;
530
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1SessionsBySessionIdResponses, DeleteManagedAgentsV1SessionsBySessionIdErrors, ThrowOnError, "data">;
531
+ /**
532
+ * Get session
533
+ *
534
+ * 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.
535
+ */
536
+ getSession<ThrowOnError extends boolean = false>(parameters: {
537
+ session_id: string;
538
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdResponses, GetManagedAgentsV1SessionsBySessionIdErrors, ThrowOnError, "data">;
539
+ /**
540
+ * Hard stop a session immediately
541
+ *
542
+ * Cancels the session's workflow and tears down its sandbox, stopping further compute cost. A session that already reached a terminal status is left as it is, so the call is safe to repeat.
543
+ */
544
+ cancelSession<ThrowOnError extends boolean = false>(parameters: {
545
+ session_id: string;
546
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SessionsBySessionIdCancelResponses, PostManagedAgentsV1SessionsBySessionIdCancelErrors, ThrowOnError, "data">;
547
+ /**
548
+ * Page exact model-cost attempts and charges for a session scope
549
+ */
550
+ getSessionModelCosts<ThrowOnError extends boolean = false>(parameters: {
551
+ session_id: string;
552
+ scope?: 'self' | 'subtree' | 'tree';
553
+ limit?: number;
554
+ page_token?: string;
555
+ model_cost_snapshot_token?: string;
556
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdCostsResponses, GetManagedAgentsV1SessionsBySessionIdCostsErrors, ThrowOnError, "data">;
557
+ /**
558
+ * Page session nodes and scoped model-cost summaries without loading events
559
+ */
560
+ listSessionModelCostNodes<ThrowOnError extends boolean = false>(parameters: {
561
+ session_id: string;
562
+ scope?: 'self' | 'subtree' | 'tree';
563
+ limit?: number;
564
+ page_token?: string;
565
+ model_cost_snapshot_token?: string;
566
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdCostsSessionsResponses, GetManagedAgentsV1SessionsBySessionIdCostsSessionsErrors, ThrowOnError, "data">;
567
+ /**
568
+ * Get root timeline events
569
+ *
570
+ * 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.
571
+ */
572
+ listSessionEvents<ThrowOnError extends boolean = false>(parameters: {
573
+ session_id: string;
574
+ after_event_id?: string;
575
+ limit?: number;
576
+ hydrate?: 'images';
577
+ payloads?: 'refs';
578
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdEventsResponses, GetManagedAgentsV1SessionsBySessionIdEventsErrors, ThrowOnError, "data">;
579
+ /**
580
+ * Append user/system events to a session
581
+ *
582
+ * Appends user or system events to a session and returns how many were accepted. A running session is signalled so the agent wakes and sees them; once the workflow is gone the events are appended to the transcript instead, which the temporal_signaled field distinguishes. 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.
583
+ */
584
+ sendSessionEvents<ThrowOnError extends boolean = false>(parameters: {
585
+ session_id: string;
586
+ body?: ManagedAgentsSessionEventSendRequest;
587
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SessionsBySessionIdEventsResponses, PostManagedAgentsV1SessionsBySessionIdEventsErrors, ThrowOnError, "data">;
588
+ /**
589
+ * Stream one authenticated complete event content document
590
+ *
591
+ * 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.
592
+ */
593
+ getSessionEventContent<ThrowOnError extends boolean = false>(parameters: {
594
+ session_id: string;
595
+ event_id: string;
596
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentResponses, GetManagedAgentsV1SessionsBySessionIdEventsByEventIdContentErrors, ThrowOnError, "data">;
597
+ /**
598
+ * Stop a running session at its next checkpoint
599
+ *
600
+ * Cooperatively stops a running session after its current model or tool step and leaves it idle so a later follow-up can resume it. temporal_signaled reports whether a live workflow received the request; false means there was nothing running to interrupt. Omit message to use a default one.
601
+ */
602
+ interruptSession<ThrowOnError extends boolean = false>(parameters: {
603
+ session_id: string;
604
+ body?: ManagedAgentsInterruptRequest;
605
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SessionsBySessionIdInterruptResponses, PostManagedAgentsV1SessionsBySessionIdInterruptErrors, ThrowOnError, "data">;
606
+ /**
607
+ * List a session's outcomes and grading history
608
+ *
609
+ * 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.
610
+ */
611
+ listSessionOutcomes<ThrowOnError extends boolean = false>(parameters: {
612
+ session_id: string;
613
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdOutcomesResponses, GetManagedAgentsV1SessionsBySessionIdOutcomesErrors, ThrowOnError, "data">;
614
+ /**
615
+ * Define what done looks like for a session
616
+ *
617
+ * 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.
618
+ */
619
+ defineSessionOutcome<ThrowOnError extends boolean = false>(parameters: {
620
+ session_id: string;
621
+ body?: ManagedAgentsDefineOutcomeRequest;
622
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SessionsBySessionIdOutcomesResponses, PostManagedAgentsV1SessionsBySessionIdOutcomesErrors, ThrowOnError, "data">;
623
+ /**
624
+ * List session threads
625
+ *
626
+ * 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.
627
+ */
628
+ listSessionThreads<ThrowOnError extends boolean = false>(parameters: {
629
+ session_id: string;
630
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdThreadsResponses, GetManagedAgentsV1SessionsBySessionIdThreadsErrors, ThrowOnError, "data">;
631
+ /**
632
+ * Get session thread
633
+ *
634
+ * 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.
635
+ */
636
+ getSessionThread<ThrowOnError extends boolean = false>(parameters: {
637
+ session_id: string;
638
+ thread_id: string;
639
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdResponses, GetManagedAgentsV1SessionsBySessionIdThreadsByThreadIdErrors, ThrowOnError, "data">;
640
+ /**
641
+ * Get root session tree and timeline
642
+ *
643
+ * 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.
644
+ */
645
+ getSessionTree<ThrowOnError extends boolean = false>(parameters: {
646
+ session_id: string;
647
+ hydrate?: 'images';
648
+ payloads?: 'refs';
649
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SessionsBySessionIdTreeResponses, GetManagedAgentsV1SessionsBySessionIdTreeErrors, ThrowOnError, "data">;
650
+ /**
651
+ * List skills
652
+ *
653
+ * Returns every skill in the calling organization, newest first. Soft-deleted skills are omitted, and the response is not paginated. 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.
654
+ */
655
+ listSkills<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SkillsResponses, GetManagedAgentsV1SkillsErrors, ThrowOnError, "data">;
656
+ /**
657
+ * Create a skill and immutable version
658
+ *
659
+ * 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.
660
+ */
661
+ createSkill<ThrowOnError extends boolean = false>(parameters?: {
662
+ body?: ManagedAgentsSkillRequest;
663
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1SkillsResponses, PostManagedAgentsV1SkillsErrors, ThrowOnError, "data">;
664
+ /**
665
+ * Soft delete skill
666
+ *
667
+ * 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.
668
+ */
669
+ deleteSkill<ThrowOnError extends boolean = false>(parameters: {
670
+ skill_id: string;
671
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1SkillsBySkillIdResponses, DeleteManagedAgentsV1SkillsBySkillIdErrors, ThrowOnError, "data">;
672
+ /**
673
+ * Get one skill
674
+ *
675
+ * Returns one skill's catalog entry, including the id of its latest version. A soft-deleted or unknown id is a 404.
676
+ */
677
+ getSkill<ThrowOnError extends boolean = false>(parameters: {
678
+ skill_id: string;
679
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SkillsBySkillIdResponses, GetManagedAgentsV1SkillsBySkillIdErrors, ThrowOnError, "data">;
680
+ /**
681
+ * Update a skill and create a new immutable version
682
+ *
683
+ * Replaces the skill's document and returns the skill resolved to the new version. Skill versions are immutable, so every accepted update mints a new one; a session that already resolved this skill keeps the version it started with, and the change takes effect in the next session.
684
+ */
685
+ updateSkill<ThrowOnError extends boolean = false>(parameters: {
686
+ skill_id: string;
687
+ body?: ManagedAgentsSkillRequest;
688
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1SkillsBySkillIdResponses, PatchManagedAgentsV1SkillsBySkillIdErrors, ThrowOnError, "data">;
689
+ /**
690
+ * List a skill's immutable version history
691
+ *
692
+ * 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.
693
+ */
694
+ listSkillVersions<ThrowOnError extends boolean = false>(parameters: {
695
+ skill_id: string;
696
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SkillsBySkillIdVersionsResponses, GetManagedAgentsV1SkillsBySkillIdVersionsErrors, ThrowOnError, "data">;
697
+ /**
698
+ * Get one immutable skill version
699
+ *
700
+ * 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.
701
+ */
702
+ getSkillVersion<ThrowOnError extends boolean = false>(parameters: {
703
+ skill_id: string;
704
+ skill_version_id: string;
705
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses, GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdErrors, ThrowOnError, "data">;
706
+ /**
707
+ * List a connection's wake rule bindings
708
+ *
709
+ * Reachable with a Labelbox 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.
710
+ */
711
+ listTriggerBindings<ThrowOnError extends boolean = false>(parameters: {
712
+ connection_id: string;
713
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1TriggerBindingsResponses, GetManagedAgentsV1TriggerBindingsErrors, ThrowOnError, "data">;
714
+ /**
715
+ * Create a wake rule binding provider events to an agent
716
+ *
717
+ * Reachable with a Labelbox 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.
718
+ */
719
+ upsertTriggerBinding<ThrowOnError extends boolean = false>(parameters?: {
720
+ body?: ManagedAgentsCreateTriggerBindingRequest;
721
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1TriggerBindingsResponses, PostManagedAgentsV1TriggerBindingsErrors, ThrowOnError, "data">;
722
+ /**
723
+ * Retire a wake rule binding
724
+ *
725
+ * Reachable with a Labelbox 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.
726
+ */
727
+ deleteTriggerBinding<ThrowOnError extends boolean = false>(parameters: {
728
+ binding_id: string;
729
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1TriggerBindingsByBindingIdResponses, DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors, ThrowOnError, "data">;
730
+ /**
731
+ * Partially update a repository or messaging automation trigger binding
732
+ *
733
+ * Reachable with a Labelbox 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.
734
+ */
735
+ updateTriggerBinding<ThrowOnError extends boolean = false>(parameters: {
736
+ binding_id: string;
737
+ body?: ManagedAgentsUpdateTriggerBindingRequest;
738
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1TriggerBindingsByBindingIdResponses, PatchManagedAgentsV1TriggerBindingsByBindingIdErrors, ThrowOnError, "data">;
739
+ /**
740
+ * List credential vaults
741
+ *
742
+ * 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.
743
+ */
744
+ listVaults<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1VaultsResponses, GetManagedAgentsV1VaultsErrors, ThrowOnError, "data">;
745
+ /**
746
+ * Create a credential vault
747
+ *
748
+ * 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.
749
+ */
750
+ createVault<ThrowOnError extends boolean = false>(parameters?: {
751
+ body?: ManagedAgentsCreateVaultRequest;
752
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1VaultsResponses, PostManagedAgentsV1VaultsErrors, ThrowOnError, "data">;
753
+ /**
754
+ * Soft delete a vault and hide its credentials
755
+ *
756
+ * 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.
757
+ */
758
+ deleteVault<ThrowOnError extends boolean = false>(parameters: {
759
+ vault_id: string;
760
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1VaultsByVaultIdResponses, DeleteManagedAgentsV1VaultsByVaultIdErrors, ThrowOnError, "data">;
761
+ /**
762
+ * Get a credential vault
763
+ *
764
+ * Returns one vault with its display name and metadata. Its credential references are listed separately by listVaultCredentials.
765
+ */
766
+ getVault<ThrowOnError extends boolean = false>(parameters: {
767
+ vault_id: string;
768
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1VaultsByVaultIdResponses, GetManagedAgentsV1VaultsByVaultIdErrors, ThrowOnError, "data">;
769
+ /**
770
+ * Rename a vault or replace its metadata
771
+ *
772
+ * 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.
773
+ */
774
+ updateVault<ThrowOnError extends boolean = false>(parameters: {
775
+ vault_id: string;
776
+ body?: ManagedAgentsUpdateVaultRequest;
777
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1VaultsByVaultIdResponses, PatchManagedAgentsV1VaultsByVaultIdErrors, ThrowOnError, "data">;
778
+ /**
779
+ * List a vault's credential references
780
+ *
781
+ * 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.
782
+ */
783
+ listVaultCredentials<ThrowOnError extends boolean = false>(parameters: {
784
+ vault_id: string;
785
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1VaultsByVaultIdCredentialsResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsErrors, ThrowOnError, "data">;
786
+ /**
787
+ * Register a credential reference in a vault
788
+ *
789
+ * 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). The secret is never echoed back on this or any later response.
790
+ */
791
+ createVaultCredential<ThrowOnError extends boolean = false>(parameters: {
792
+ vault_id: string;
793
+ body?: ManagedAgentsCreateVaultCredentialRequest;
794
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostManagedAgentsV1VaultsByVaultIdCredentialsResponses, PostManagedAgentsV1VaultsByVaultIdCredentialsErrors, ThrowOnError, "data">;
795
+ /**
796
+ * Soft delete a credential reference
797
+ *
798
+ * 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.
799
+ */
800
+ deleteVaultCredential<ThrowOnError extends boolean = false>(parameters: {
801
+ vault_id: string;
802
+ credential_id: string;
803
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, ThrowOnError, "data">;
804
+ /**
805
+ * Get one credential reference
806
+ *
807
+ * 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.
808
+ */
809
+ getVaultCredential<ThrowOnError extends boolean = false>(parameters: {
810
+ vault_id: string;
811
+ credential_id: string;
812
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, GetManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, ThrowOnError, "data">;
813
+ /**
814
+ * Rename a credential, rotate its reference, or change its egress bounds
815
+ *
816
+ * 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.
817
+ */
818
+ updateVaultCredential<ThrowOnError extends boolean = false>(parameters: {
819
+ vault_id: string;
820
+ credential_id: string;
821
+ body?: ManagedAgentsUpdateVaultCredentialRequest;
822
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses, PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors, ThrowOnError, "data">;
823
+ }
824
+ export declare class Computes extends HeyApiClient {
825
+ /**
826
+ * List the caller's persistent computes
827
+ */
828
+ list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ComputesResponses, GetV1ComputesErrors, ThrowOnError, "data">;
829
+ /**
830
+ * Create (spin up) a persistent compute reserved for the caller
831
+ *
832
+ * Provisions a long-lived compute sandbox reserved for the calling user in the target environment. Each user may hold at most one active compute per environment.
833
+ */
834
+ create<ThrowOnError extends boolean = false>(parameters: {
835
+ body: CreateComputeRequestDto;
836
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ComputesResponses, PostV1ComputesErrors, ThrowOnError, "data">;
837
+ /**
838
+ * Shut down (delete) a persistent compute
839
+ *
840
+ * Tears down the compute, releases the user's reservation slot, and destroys the persistent disk. The operation is destructive and not recoverable.
841
+ */
842
+ delete<ThrowOnError extends boolean = false>(parameters: {
843
+ computeId: string;
844
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1ComputesByComputeIdResponses, DeleteV1ComputesByComputeIdErrors, ThrowOnError, "data">;
845
+ /**
846
+ * Get a persistent compute owned by the caller
847
+ */
848
+ get<ThrowOnError extends boolean = false>(parameters: {
849
+ computeId: string;
850
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ComputesByComputeIdResponses, GetV1ComputesByComputeIdErrors, ThrowOnError, "data">;
851
+ /**
852
+ * Revoke all active access sessions on a compute
853
+ *
854
+ * Invalidates every outstanding access session on the compute, disconnecting any currently-attached browser session.
855
+ */
856
+ revokeAccessSessions<ThrowOnError extends boolean = false>(parameters: {
857
+ computeId: string;
858
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1ComputesByComputeIdAccessSessionsResponses, DeleteV1ComputesByComputeIdAccessSessionsErrors, ThrowOnError, "data">;
859
+ /**
860
+ * Mint a single-use, browser-redeemable access URL for a running compute
861
+ *
862
+ * 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.
863
+ */
864
+ mintAccessSession<ThrowOnError extends boolean = false>(parameters: {
865
+ computeId: string;
866
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ComputesByComputeIdAccessSessionsResponses, PostV1ComputesByComputeIdAccessSessionsErrors, ThrowOnError, "data">;
867
+ /**
868
+ * Execute a command inside a running compute
869
+ *
870
+ * 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.
871
+ */
872
+ execute<ThrowOnError extends boolean = false>(parameters: {
873
+ computeId: string;
874
+ body: ExecCommandRequestDto;
875
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ComputesByComputeIdExecResponses, PostV1ComputesByComputeIdExecErrors, ThrowOnError, "data">;
876
+ /**
877
+ * Start (wake) a persistent compute
878
+ *
879
+ * Resumes a stopped compute back to its running state, reattaching its persistent disk.
880
+ */
881
+ start<ThrowOnError extends boolean = false>(parameters: {
882
+ computeId: string;
883
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ComputesByComputeIdStartResponses, PostV1ComputesByComputeIdStartErrors, ThrowOnError, "data">;
884
+ /**
885
+ * Stop (sleep) a persistent compute
886
+ *
887
+ * Suspends a running compute, preserving its disk state so it can be resumed later. The compute keeps its reservation slot for the user.
888
+ */
889
+ stop<ThrowOnError extends boolean = false>(parameters: {
890
+ computeId: string;
891
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ComputesByComputeIdStopResponses, PostV1ComputesByComputeIdStopErrors, ThrowOnError, "data">;
892
+ }
893
+ export declare class CustomerSecrets extends HeyApiClient {
894
+ /**
895
+ * Create a customer secret at a scope
896
+ */
897
+ create<ThrowOnError extends boolean = false>(parameters: {
898
+ body: CreateCustomerSecretDto;
899
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1CustomerSecretsResponses, PostV1CustomerSecretsErrors, ThrowOnError, "data">;
900
+ /**
901
+ * Delete a customer secret (soft delete)
902
+ *
903
+ * Soft-deletes the customer secret. Attachments to run-config versions must be detached first; underlying Secret Manager versions are destroyed asynchronously.
904
+ */
905
+ delete<ThrowOnError extends boolean = false>(parameters: {
906
+ customerSecretId: string;
907
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1CustomerSecretsByCustomerSecretIdResponses, DeleteV1CustomerSecretsByCustomerSecretIdErrors, ThrowOnError, "data">;
908
+ /**
909
+ * Read a customer secret by id (metadata only, value never returned)
910
+ */
911
+ get<ThrowOnError extends boolean = false>(parameters: {
912
+ customerSecretId: string;
913
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1CustomerSecretsByCustomerSecretIdResponses, GetV1CustomerSecretsByCustomerSecretIdErrors, ThrowOnError, "data">;
914
+ /**
915
+ * Update a customer secret (metadata + optional value rotation)
916
+ *
917
+ * 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.
918
+ */
919
+ update<ThrowOnError extends boolean = false>(parameters: {
920
+ customerSecretId: string;
921
+ body: UpdateCustomerSecretDto;
922
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1CustomerSecretsByCustomerSecretIdResponses, PatchV1CustomerSecretsByCustomerSecretIdErrors, ThrowOnError, "data">;
923
+ /**
924
+ * List customer secrets attached to a run-config version
925
+ */
926
+ listAttachments<ThrowOnError extends boolean = false>(parameters: {
927
+ runConfigVersionId: string;
928
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsResponses, GetV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsErrors, ThrowOnError, "data">;
929
+ /**
930
+ * Detach a customer secret from a draft run-config version
931
+ *
932
+ * 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.
933
+ */
934
+ detach<ThrowOnError extends boolean = false>(parameters: {
935
+ runConfigVersionId: string;
936
+ customerSecretId: string;
937
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdErrors, ThrowOnError, "data">;
938
+ /**
939
+ * Attach a customer secret to a draft run-config version
940
+ *
941
+ * 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.
942
+ */
943
+ attach<ThrowOnError extends boolean = false>(parameters: {
944
+ runConfigVersionId: string;
945
+ customerSecretId: string;
946
+ body: AttachCustomerSecretDto;
947
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdResponses, PostV1RunConfigVersionsByRunConfigVersionIdCustomerSecretsByCustomerSecretIdErrors, ThrowOnError, "data">;
948
+ }
949
+ export declare class Environments extends HeyApiClient {
950
+ /**
951
+ * List all environments (paginated)
952
+ */
953
+ list<ThrowOnError extends boolean = false>(parameters?: {
954
+ limit?: number;
955
+ cursor?: string;
956
+ sortBy?: string;
957
+ sortDirection?: 'asc' | 'desc';
958
+ search?: string;
959
+ externalId?: string;
960
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsResponses, GetV1EnvironmentsErrors, ThrowOnError, "data">;
961
+ /**
962
+ * Upsert environment by externalId
963
+ *
964
+ * Idempotent on external ID: re-sending the same payload updates the existing environment in place.
965
+ */
966
+ upsert<ThrowOnError extends boolean = false>(parameters: {
967
+ body: CreateEnvironmentDto;
968
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsResponses, PostV1EnvironmentsErrors, ThrowOnError, "data">;
969
+ /**
970
+ * Get environment by external ID
971
+ */
972
+ getByExternalId<ThrowOnError extends boolean = false>(parameters: {
973
+ environmentExternalId: string;
974
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByExternalIdByEnvironmentExternalIdResponses, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdErrors, ThrowOnError, "data">;
975
+ /**
976
+ * Soft-delete an environment
977
+ *
978
+ * 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.
979
+ */
980
+ delete<ThrowOnError extends boolean = false>(parameters: {
981
+ environmentId: string;
982
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdResponses, DeleteV1EnvironmentsByEnvironmentIdErrors, ThrowOnError, "data">;
983
+ /**
984
+ * Get environment by ID
985
+ */
986
+ get<ThrowOnError extends boolean = false>(parameters: {
987
+ environmentId: string;
988
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdResponses, GetV1EnvironmentsByEnvironmentIdErrors, ThrowOnError, "data">;
989
+ /**
990
+ * Clear an environment's external ID
991
+ *
992
+ * 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.
993
+ */
994
+ detachExternalId<ThrowOnError extends boolean = false>(parameters: {
995
+ environmentId: string;
996
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdExternalIdResponses, DeleteV1EnvironmentsByEnvironmentIdExternalIdErrors, ThrowOnError, "data">;
997
+ /**
998
+ * Attach an external ID to an environment that has none
999
+ *
1000
+ * 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.
1001
+ */
1002
+ attachExternalId<ThrowOnError extends boolean = false>(parameters: {
1003
+ environmentId: string;
1004
+ body: AttachEnvironmentExternalIdDto;
1005
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1EnvironmentsByEnvironmentIdExternalIdResponses, PutV1EnvironmentsByEnvironmentIdExternalIdErrors, ThrowOnError, "data">;
1006
+ /**
1007
+ * Partially update environment settings
1008
+ *
1009
+ * 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.
1010
+ */
1011
+ updateSettings<ThrowOnError extends boolean = false>(parameters: {
1012
+ environmentId: string;
1013
+ body: UpdateEnvironmentSettingsDto;
1014
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1EnvironmentsByEnvironmentIdSettingsResponses, PatchV1EnvironmentsByEnvironmentIdSettingsErrors, ThrowOnError, "data">;
1015
+ /**
1016
+ * Get the template problem + version for an environment
1017
+ */
1018
+ getTemplate<ThrowOnError extends boolean = false>(parameters: {
1019
+ environmentId: string;
1020
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdTemplateResponses, GetV1EnvironmentsByEnvironmentIdTemplateErrors, ThrowOnError, "data">;
1021
+ /**
1022
+ * Ensure a template exists for the environment (idempotent)
1023
+ *
1024
+ * Returns the template problem and version, creating a fresh one if the environment did not yet have a template. Idempotent: safe to call repeatedly.
1025
+ */
1026
+ ensureTemplate<ThrowOnError extends boolean = false>(parameters: {
1027
+ environmentId: string;
1028
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1EnvironmentsByEnvironmentIdTemplateResponses, PutV1EnvironmentsByEnvironmentIdTemplateErrors, ThrowOnError, "data">;
1029
+ }
1030
+ export declare class Problems extends HeyApiClient {
1031
+ /**
1032
+ * Bulk soft-delete problems by external ID
1033
+ *
1034
+ * 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.
1035
+ */
1036
+ bulkDeleteByExternalId<ThrowOnError extends boolean = false>(parameters: {
1037
+ environmentExternalId: string;
1038
+ body: RemoveExternalIdsDto;
1039
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdDeletionsResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdDeletionsErrors, ThrowOnError, "data">;
1040
+ /**
1041
+ * Bulk reset problems to imported versions by external ID
1042
+ *
1043
+ * 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.
1044
+ */
1045
+ bulkResetByExternalId<ThrowOnError extends boolean = false>(parameters: {
1046
+ environmentExternalId: string;
1047
+ body: RemoveExternalIdsDto;
1048
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdResetsResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdResetsErrors, ThrowOnError, "data">;
1049
+ /**
1050
+ * List problems with per-row aggregates (table view)
1051
+ */
1052
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1053
+ environmentId: string;
1054
+ limit?: number;
1055
+ cursor?: string;
1056
+ sortDirection?: 'asc' | 'desc';
1057
+ search?: string;
1058
+ models?: Array<string>;
1059
+ avgScoreMetric?: 'avg' | 'min' | 'max';
1060
+ avgScoreMin?: number;
1061
+ avgScoreMax?: number;
1062
+ createdAtFrom?: string;
1063
+ createdAtTo?: string;
1064
+ enrichmentFilters: {
1065
+ [key: string]: Array<string>;
1066
+ };
1067
+ sortBy?: 'createdAt' | 'updatedAt' | 'latestVersionCreatedAt' | 'title' | 'externalId' | 'avgScore' | 'cost' | 'runs';
1068
+ sortByEnrichment?: string;
1069
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdProblemListItemsResponses, GetV1EnvironmentsByEnvironmentIdProblemListItemsErrors, ThrowOnError, "data">;
1070
+ /**
1071
+ * Aggregate stats over filtered problems (env-overview KPIs)
1072
+ */
1073
+ getStatsForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1074
+ environmentId: string;
1075
+ search?: string;
1076
+ models?: Array<string>;
1077
+ avgScoreMetric?: 'avg' | 'min' | 'max';
1078
+ avgScoreMin?: number;
1079
+ avgScoreMax?: number;
1080
+ createdAtFrom?: string;
1081
+ createdAtTo?: string;
1082
+ enrichmentFilters: {
1083
+ [key: string]: Array<string>;
1084
+ };
1085
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdProblemListStatsResponses, GetV1EnvironmentsByEnvironmentIdProblemListStatsErrors, ThrowOnError, "data">;
1086
+ /**
1087
+ * List lightweight problem summaries (id, title, lock state) for an environment
1088
+ */
1089
+ listSummariesForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1090
+ environmentId: string;
1091
+ search?: string;
1092
+ limit?: number;
1093
+ lockedOnly?: 'true' | 'false';
1094
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdProblemSummariesResponses, GetV1EnvironmentsByEnvironmentIdProblemSummariesErrors, ThrowOnError, "data">;
1095
+ /**
1096
+ * Bulk-upsert problems for an environment (idempotent by externalId)
1097
+ *
1098
+ * Idempotent on external ID and safe to retry: external IDs that already resolve to existing problems are returned unchanged.
1099
+ */
1100
+ bulkUpsert<ThrowOnError extends boolean = false>(parameters: {
1101
+ environmentId: string;
1102
+ body: CreateProblemsDto;
1103
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdProblemsResponses, PostV1EnvironmentsByEnvironmentIdProblemsErrors, ThrowOnError, "data">;
1104
+ /**
1105
+ * Look up problems by external ID in an environment
1106
+ *
1107
+ * Resolves a batch of external IDs to full problem records within the environment. Unresolved IDs are silently absent from the result.
1108
+ */
1109
+ listByExternalIds<ThrowOnError extends boolean = false>(parameters: {
1110
+ environmentId: string;
1111
+ externalIds: Array<string>;
1112
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdProblemsByExternalIdsResponses, GetV1EnvironmentsByEnvironmentIdProblemsByExternalIdsErrors, ThrowOnError, "data">;
1113
+ /**
1114
+ * Upsert a problem with its first version (idempotent)
1115
+ *
1116
+ * Idempotent and safe to retry: existing problem/version rows are returned unchanged.
1117
+ */
1118
+ upsertWithVersion<ThrowOnError extends boolean = false>(parameters: {
1119
+ environmentId: string;
1120
+ body: CreateProblemWithVersionDto;
1121
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdProblemsWithVersionResponses, PostV1EnvironmentsByEnvironmentIdProblemsWithVersionErrors, ThrowOnError, "data">;
1122
+ /**
1123
+ * Soft-delete a problem
1124
+ *
1125
+ * Marks the problem as deleted. The row is retained for audit and recovery but is hidden from listings and unavailable for new runs.
1126
+ */
1127
+ delete<ThrowOnError extends boolean = false>(parameters: {
1128
+ problemId: string;
1129
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1ProblemsByProblemIdResponses, DeleteV1ProblemsByProblemIdErrors, ThrowOnError, "data">;
1130
+ /**
1131
+ * Get a problem by ID
1132
+ */
1133
+ get<ThrowOnError extends boolean = false>(parameters: {
1134
+ problemId: string;
1135
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdResponses, GetV1ProblemsByProblemIdErrors, ThrowOnError, "data">;
1136
+ /**
1137
+ * Update a problem (title, description, domain)
1138
+ */
1139
+ update<ThrowOnError extends boolean = false>(parameters: {
1140
+ problemId: string;
1141
+ body: UpdateProblemDto;
1142
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1ProblemsByProblemIdResponses, PatchV1ProblemsByProblemIdErrors, ThrowOnError, "data">;
1143
+ /**
1144
+ * Check whether any problem run has completed for this problem
1145
+ */
1146
+ hasCompletedRun<ThrowOnError extends boolean = false>(parameters: {
1147
+ problemId: string;
1148
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdHasCompletedRunResponses, GetV1ProblemsByProblemIdHasCompletedRunErrors, ThrowOnError, "data">;
1149
+ /**
1150
+ * Reset a problem to its imported baseline
1151
+ *
1152
+ * 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.
1153
+ */
1154
+ reset<ThrowOnError extends boolean = false>(parameters: {
1155
+ problemId: string;
1156
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemsByProblemIdResetResponses, PostV1ProblemsByProblemIdResetErrors, ThrowOnError, "data">;
1157
+ }
1158
+ export declare class Issues extends HeyApiClient {
1159
+ /**
1160
+ * List issues for a problem by external ID
1161
+ */
1162
+ listByProblemExternalId<ThrowOnError extends boolean = false>(parameters: {
1163
+ environmentExternalId: string;
1164
+ problemExternalId: string;
1165
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesResponses, GetV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesErrors, ThrowOnError, "data">;
1166
+ /**
1167
+ * Create an issue for a problem by external ID
1168
+ */
1169
+ createByProblemExternalId<ThrowOnError extends boolean = false>(parameters: {
1170
+ environmentExternalId: string;
1171
+ problemExternalId: string;
1172
+ body: CreateIssueBodyDto;
1173
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesResponses, PostV1EnvironmentsByExternalIdByEnvironmentExternalIdProblemsByExternalIdByProblemExternalIdIssuesErrors, ThrowOnError, "data">;
1174
+ /**
1175
+ * Soft-delete an issue
1176
+ */
1177
+ delete<ThrowOnError extends boolean = false>(parameters: {
1178
+ issueId: string;
1179
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1IssuesByIssueIdResponses, DeleteV1IssuesByIssueIdErrors, ThrowOnError, "data">;
1180
+ /**
1181
+ * Get an issue by ID
1182
+ */
1183
+ get<ThrowOnError extends boolean = false>(parameters: {
1184
+ issueId: string;
1185
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1IssuesByIssueIdResponses, GetV1IssuesByIssueIdErrors, ThrowOnError, "data">;
1186
+ /**
1187
+ * Update an issue
1188
+ */
1189
+ update<ThrowOnError extends boolean = false>(parameters: {
1190
+ issueId: string;
1191
+ body: UpdateIssueBodyDto;
1192
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1IssuesByIssueIdResponses, PatchV1IssuesByIssueIdErrors, ThrowOnError, "data">;
1193
+ /**
1194
+ * List issues for a problem
1195
+ */
1196
+ listForProblem<ThrowOnError extends boolean = false>(parameters: {
1197
+ problemId: string;
1198
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdIssuesResponses, GetV1ProblemsByProblemIdIssuesErrors, ThrowOnError, "data">;
1199
+ /**
1200
+ * Create an issue for a problem
1201
+ *
1202
+ * A referenced entity, if supplied, must belong to the same problem; otherwise the request is rejected as not found.
1203
+ */
1204
+ create<ThrowOnError extends boolean = false>(parameters: {
1205
+ problemId: string;
1206
+ body: CreateIssueBodyDto;
1207
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemsByProblemIdIssuesResponses, PostV1ProblemsByProblemIdIssuesErrors, ThrowOnError, "data">;
1208
+ }
1209
+ export declare class Synthesizers extends HeyApiClient {
1210
+ /**
1211
+ * Get a hardcoded built-in synthesizer by key
1212
+ *
1213
+ * Built-in synthesizers live in code and apply to every environment; the path environment only scopes the caller.
1214
+ */
1215
+ getBuiltIn<ThrowOnError extends boolean = false>(parameters: {
1216
+ environmentId: string;
1217
+ builtInSynthesizerKey: 'improve-prompt' | 'generate-tools' | 'generate-rubrics';
1218
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdBuiltInSynthesizersByBuiltInSynthesizerKeyResponses, GetV1EnvironmentsByEnvironmentIdBuiltInSynthesizersByBuiltInSynthesizerKeyErrors, ThrowOnError, "data">;
1219
+ /**
1220
+ * List synthesizers for an environment
1221
+ *
1222
+ * Built-in synthesizers come first, followed by any user-created ones in the environment.
1223
+ */
1224
+ list<ThrowOnError extends boolean = false>(parameters: {
1225
+ environmentId: string;
1226
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdSynthesizerJobsResponses, GetV1EnvironmentsByEnvironmentIdSynthesizerJobsErrors, ThrowOnError, "data">;
1227
+ /**
1228
+ * Create a synthesizer job
1229
+ */
1230
+ create<ThrowOnError extends boolean = false>(parameters: {
1231
+ environmentId: string;
1232
+ body: CreateSynthesizerJobBodyDto;
1233
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdSynthesizerJobsResponses, PostV1EnvironmentsByEnvironmentIdSynthesizerJobsErrors, ThrowOnError, "data">;
1234
+ /**
1235
+ * Soft-delete a synthesizer job
1236
+ *
1237
+ * Hides the job from future runs while retaining existing runs and transcripts for audit. Built-in synthesizers cannot be deleted.
1238
+ */
1239
+ delete<ThrowOnError extends boolean = false>(parameters: {
1240
+ synthesizerJobId: string;
1241
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1SynthesizerJobsBySynthesizerJobIdResponses, DeleteV1SynthesizerJobsBySynthesizerJobIdErrors, ThrowOnError, "data">;
1242
+ /**
1243
+ * Get a synthesizer job
1244
+ */
1245
+ get<ThrowOnError extends boolean = false>(parameters: {
1246
+ synthesizerJobId: string;
1247
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1SynthesizerJobsBySynthesizerJobIdResponses, GetV1SynthesizerJobsBySynthesizerJobIdErrors, ThrowOnError, "data">;
1248
+ /**
1249
+ * Update a synthesizer job
1250
+ *
1251
+ * Updates take effect on subsequent runs; in-flight runs continue with the definition they captured at submission time. Built-in synthesizers are not editable.
1252
+ */
1253
+ update<ThrowOnError extends boolean = false>(parameters: {
1254
+ synthesizerJobId: string;
1255
+ body: UpdateSynthesizerJobBodyDto;
1256
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1SynthesizerJobsBySynthesizerJobIdResponses, PatchV1SynthesizerJobsBySynthesizerJobIdErrors, ThrowOnError, "data">;
1257
+ /**
1258
+ * Attach a file to a synthesizer job (mounted into agent container)
1259
+ *
1260
+ * Attaches a previously uploaded file so it is mounted into the agent container on subsequent runs.
1261
+ */
1262
+ attachFile<ThrowOnError extends boolean = false>(parameters: {
1263
+ synthesizerJobId: string;
1264
+ body: AttachSynthesizerJobFileBodyDto;
1265
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1SynthesizerJobsBySynthesizerJobIdFilesResponses, PostV1SynthesizerJobsBySynthesizerJobIdFilesErrors, ThrowOnError, "data">;
1266
+ /**
1267
+ * Detach a file from a synthesizer job
1268
+ *
1269
+ * Removes the job-to-file association; the underlying file itself is not deleted and may remain attached to other jobs.
1270
+ */
1271
+ detachFile<ThrowOnError extends boolean = false>(parameters: {
1272
+ synthesizerJobId: string;
1273
+ synthesizerJobFileId: string;
1274
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1SynthesizerJobsBySynthesizerJobIdFilesBySynthesizerJobFileIdResponses, DeleteV1SynthesizerJobsBySynthesizerJobIdFilesBySynthesizerJobFileIdErrors, ThrowOnError, "data">;
1275
+ }
1276
+ export declare class CostLimits extends HeyApiClient {
1277
+ /**
1278
+ * List cost limits for an environment
1279
+ */
1280
+ list<ThrowOnError extends boolean = false>(parameters: {
1281
+ environmentId: string;
1282
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdCostLimitsResponses, GetV1EnvironmentsByEnvironmentIdCostLimitsErrors, ThrowOnError, "data">;
1283
+ /**
1284
+ * Create or update a cost limit
1285
+ *
1286
+ * Idempotent: re-sending the same payload updates the limit in place.
1287
+ */
1288
+ upsert<ThrowOnError extends boolean = false>(parameters: {
1289
+ environmentId: string;
1290
+ body: CreateCostLimitDto;
1291
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1EnvironmentsByEnvironmentIdCostLimitsResponses, PutV1EnvironmentsByEnvironmentIdCostLimitsErrors, ThrowOnError, "data">;
1292
+ /**
1293
+ * Get cost status for a problem
1294
+ */
1295
+ getProblemStatus<ThrowOnError extends boolean = false>(parameters: {
1296
+ environmentId: string;
1297
+ problemId: string;
1298
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdCostLimitsProblemStatusByProblemIdResponses, GetV1EnvironmentsByEnvironmentIdCostLimitsProblemStatusByProblemIdErrors, ThrowOnError, "data">;
1299
+ /**
1300
+ * Delete a cost limit
1301
+ *
1302
+ * 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.
1303
+ */
1304
+ delete<ThrowOnError extends boolean = false>(parameters: {
1305
+ environmentId: string;
1306
+ costLimitId: string;
1307
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdCostLimitsByCostLimitIdResponses, DeleteV1EnvironmentsByEnvironmentIdCostLimitsByCostLimitIdErrors, ThrowOnError, "data">;
1308
+ }
1309
+ export declare class Exports extends HeyApiClient {
1310
+ /**
1311
+ * List exports for an environment
1312
+ */
1313
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1314
+ environmentId: string;
1315
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdExportsResponses, GetV1EnvironmentsByEnvironmentIdExportsErrors, ThrowOnError, "data">;
1316
+ /**
1317
+ * Create a problem-archive export for an environment
1318
+ *
1319
+ * 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.
1320
+ */
1321
+ create<ThrowOnError extends boolean = false>(parameters: {
1322
+ environmentId: string;
1323
+ body: CreateExportBodyDto;
1324
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdExportsResponses, PostV1EnvironmentsByEnvironmentIdExportsErrors, ThrowOnError, "data">;
1325
+ /**
1326
+ * Get a problem-archive export by ID
1327
+ */
1328
+ get<ThrowOnError extends boolean = false>(parameters: {
1329
+ exportId: string;
1330
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ExportsByExportIdResponses, GetV1ExportsByExportIdErrors, ThrowOnError, "data">;
1331
+ /**
1332
+ * Cancel an active problem-archive export
1333
+ *
1334
+ * Stops an in-flight export job. Already-completed, cancelled, or failed exports are not cancellable.
1335
+ */
1336
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1337
+ exportId: string;
1338
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ExportsByExportIdCancelResponses, PostV1ExportsByExportIdCancelErrors, ThrowOnError, "data">;
1339
+ }
1340
+ export declare class EnvironmentFiles extends HeyApiClient {
1341
+ /**
1342
+ * List files attached to an environment, filtered by type
1343
+ */
1344
+ list<ThrowOnError extends boolean = false>(parameters: {
1345
+ environmentId: string;
1346
+ type: 'instructions' | 'agent-input';
1347
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdFilesResponses, GetV1EnvironmentsByEnvironmentIdFilesErrors, ThrowOnError, "data">;
1348
+ /**
1349
+ * Finalize environment files uploaded directly to GCS via signed URLs
1350
+ *
1351
+ * 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).
1352
+ */
1353
+ finalizeUploads<ThrowOnError extends boolean = false>(parameters: {
1354
+ environmentId: string;
1355
+ body: FinalizeEnvironmentFileUploadsRequestDto;
1356
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdFilesFinalizeUploadsResponses, PostV1EnvironmentsByEnvironmentIdFilesFinalizeUploadsErrors, ThrowOnError, "data">;
1357
+ /**
1358
+ * Generate signed URLs for direct-to-GCS environment file uploads
1359
+ *
1360
+ * 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.
1361
+ */
1362
+ createSignedUploadUrls<ThrowOnError extends boolean = false>(parameters: {
1363
+ environmentId: string;
1364
+ body: CreateEnvironmentFileUploadUrlsRequestDto;
1365
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdFilesSignedUploadUrlsResponses, PostV1EnvironmentsByEnvironmentIdFilesSignedUploadUrlsErrors, ThrowOnError, "data">;
1366
+ /**
1367
+ * Soft-delete an environment file
1368
+ *
1369
+ * 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.
1370
+ */
1371
+ delete<ThrowOnError extends boolean = false>(parameters: {
1372
+ environmentId: string;
1373
+ environmentFileId: string;
1374
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdFilesByEnvironmentFileIdResponses, DeleteV1EnvironmentsByEnvironmentIdFilesByEnvironmentFileIdErrors, ThrowOnError, "data">;
1375
+ }
1376
+ export declare class Forms extends HeyApiClient {
1377
+ /**
1378
+ * Detach the env's attached form bundle
1379
+ *
1380
+ * 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.
1381
+ */
1382
+ detachFromEnvironment<ThrowOnError extends boolean = false>(parameters: {
1383
+ environmentId: string;
1384
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdFormsResponses, DeleteV1EnvironmentsByEnvironmentIdFormsErrors, ThrowOnError, "data">;
1385
+ /**
1386
+ * Get the env's attached form bundle (or null)
1387
+ */
1388
+ getForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1389
+ environmentId: string;
1390
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdFormsResponses, GetV1EnvironmentsByEnvironmentIdFormsErrors, ThrowOnError, "data">;
1391
+ /**
1392
+ * Create and attach a new form bundle to an environment
1393
+ *
1394
+ * 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.
1395
+ */
1396
+ createForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1397
+ environmentId: string;
1398
+ body: CreateAndAttachFormBodyDto;
1399
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdFormsResponses, PostV1EnvironmentsByEnvironmentIdFormsErrors, ThrowOnError, "data">;
1400
+ /**
1401
+ * Attach an existing form bundle to an environment
1402
+ *
1403
+ * 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.
1404
+ */
1405
+ attachToEnvironment<ThrowOnError extends boolean = false>(parameters: {
1406
+ environmentId: string;
1407
+ formId: string;
1408
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdFormsByFormIdResponses, PostV1EnvironmentsByEnvironmentIdFormsByFormIdErrors, ThrowOnError, "data">;
1409
+ /**
1410
+ * Get a single bundle with its versions
1411
+ */
1412
+ get<ThrowOnError extends boolean = false>(parameters: {
1413
+ formId: string;
1414
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1FormsByFormIdResponses, GetV1FormsByFormIdErrors, ThrowOnError, "data">;
1415
+ /**
1416
+ * Update bundle-level metadata
1417
+ */
1418
+ update<ThrowOnError extends boolean = false>(parameters: {
1419
+ formId: string;
1420
+ body: UpdateFormBodyDto;
1421
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1FormsByFormIdResponses, PatchV1FormsByFormIdErrors, ThrowOnError, "data">;
1422
+ /**
1423
+ * Create a new draft version of a bundle
1424
+ *
1425
+ * 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.
1426
+ */
1427
+ createVersion<ThrowOnError extends boolean = false>(parameters: {
1428
+ formId: string;
1429
+ body: CreateFormVersionBodyDto;
1430
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1FormsByFormIdVersionsResponses, PostV1FormsByFormIdVersionsErrors, ThrowOnError, "data">;
1431
+ /**
1432
+ * Soft-delete a draft version
1433
+ *
1434
+ * 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.
1435
+ */
1436
+ deleteVersion<ThrowOnError extends boolean = false>(parameters: {
1437
+ formId: string;
1438
+ formVersionId: string;
1439
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1FormsByFormIdVersionsByFormVersionIdResponses, DeleteV1FormsByFormIdVersionsByFormVersionIdErrors, ThrowOnError, "data">;
1440
+ /**
1441
+ * Edit a draft version (full schema replace)
1442
+ *
1443
+ * 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.
1444
+ */
1445
+ updateVersion<ThrowOnError extends boolean = false>(parameters: {
1446
+ formId: string;
1447
+ formVersionId: string;
1448
+ body: UpdateFormVersionBodyDto;
1449
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1FormsByFormIdVersionsByFormVersionIdResponses, PatchV1FormsByFormIdVersionsByFormVersionIdErrors, ThrowOnError, "data">;
1450
+ /**
1451
+ * Publish a draft version
1452
+ *
1453
+ * 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.
1454
+ */
1455
+ publishVersion<ThrowOnError extends boolean = false>(parameters: {
1456
+ formId: string;
1457
+ formVersionId: string;
1458
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1FormsByFormIdVersionsByFormVersionIdPublishResponses, PostV1FormsByFormIdVersionsByFormVersionIdPublishErrors, ThrowOnError, "data">;
1459
+ /**
1460
+ * List form bundles in an organization catalog
1461
+ */
1462
+ listForOrganization<ThrowOnError extends boolean = false>(parameters: {
1463
+ organizationId: string;
1464
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdFormsResponses, GetV1OrganizationsByOrganizationIdFormsErrors, ThrowOnError, "data">;
1465
+ /**
1466
+ * Create and attach a new form bundle to an organization catalog
1467
+ *
1468
+ * 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.
1469
+ */
1470
+ createForOrganization<ThrowOnError extends boolean = false>(parameters: {
1471
+ organizationId: string;
1472
+ body: CreateAndAttachFormBodyDto;
1473
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdFormsResponses, PostV1OrganizationsByOrganizationIdFormsErrors, ThrowOnError, "data">;
1474
+ /**
1475
+ * Detach a form bundle from an organization catalog
1476
+ *
1477
+ * Soft-deletes the organization attachment without deleting the bundle.
1478
+ */
1479
+ detachFromOrganization<ThrowOnError extends boolean = false>(parameters: {
1480
+ organizationId: string;
1481
+ formId: string;
1482
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1OrganizationsByOrganizationIdFormsByFormIdResponses, DeleteV1OrganizationsByOrganizationIdFormsByFormIdErrors, ThrowOnError, "data">;
1483
+ /**
1484
+ * Detach the problem's form override
1485
+ *
1486
+ * 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.
1487
+ */
1488
+ detachFromProblem<ThrowOnError extends boolean = false>(parameters: {
1489
+ problemId: string;
1490
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1ProblemsByProblemIdFormsResponses, DeleteV1ProblemsByProblemIdFormsErrors, ThrowOnError, "data">;
1491
+ /**
1492
+ * Resolve the active form bundle for a problem
1493
+ *
1494
+ * 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.
1495
+ */
1496
+ resolveForProblem<ThrowOnError extends boolean = false>(parameters: {
1497
+ problemId: string;
1498
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdFormsResponses, GetV1ProblemsByProblemIdFormsErrors, ThrowOnError, "data">;
1499
+ /**
1500
+ * Create and attach a new form bundle as a problem-level override
1501
+ *
1502
+ * 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.
1503
+ */
1504
+ createForProblem<ThrowOnError extends boolean = false>(parameters: {
1505
+ problemId: string;
1506
+ body: CreateAndAttachFormBodyDto;
1507
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemsByProblemIdFormsResponses, PostV1ProblemsByProblemIdFormsErrors, ThrowOnError, "data">;
1508
+ /**
1509
+ * Get the problem's override form bundle (or null)
1510
+ */
1511
+ getProblemOverride<ThrowOnError extends boolean = false>(parameters: {
1512
+ problemId: string;
1513
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdFormsOverrideResponses, GetV1ProblemsByProblemIdFormsOverrideErrors, ThrowOnError, "data">;
1514
+ /**
1515
+ * Attach an existing form bundle as a problem-level override
1516
+ *
1517
+ * Attaches an existing bundle as a problem-level override. The problem must not already have an active override link.
1518
+ */
1519
+ attachToProblem<ThrowOnError extends boolean = false>(parameters: {
1520
+ problemId: string;
1521
+ formId: string;
1522
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemsByProblemIdFormsByFormIdResponses, PostV1ProblemsByProblemIdFormsByFormIdErrors, ThrowOnError, "data">;
1523
+ }
1524
+ export declare class Imports extends HeyApiClient {
1525
+ /**
1526
+ * List imports for an environment
1527
+ */
1528
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1529
+ environmentId: string;
1530
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdImportsResponses, GetV1EnvironmentsByEnvironmentIdImportsErrors, ThrowOnError, "data">;
1531
+ /**
1532
+ * Initiate a file import and get a signed upload URL
1533
+ *
1534
+ * 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.
1535
+ */
1536
+ initiate<ThrowOnError extends boolean = false>(parameters: {
1537
+ environmentId: string;
1538
+ body: InitiateImportBodyDto;
1539
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdImportsInitiateResponses, PostV1EnvironmentsByEnvironmentIdImportsInitiateErrors, ThrowOnError, "data">;
1540
+ /**
1541
+ * Get platform-imposed import limits from Cloud Run job config
1542
+ */
1543
+ getPlatformLimits<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ImportsPlatformLimitsResponses, GetV1ImportsPlatformLimitsErrors, ThrowOnError, "data">;
1544
+ /**
1545
+ * Get an import by ID
1546
+ *
1547
+ * Poll this endpoint to observe the progress of an asynchronous import job.
1548
+ */
1549
+ get<ThrowOnError extends boolean = false>(parameters: {
1550
+ importId: string;
1551
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ImportsByImportIdResponses, GetV1ImportsByImportIdErrors, ThrowOnError, "data">;
1552
+ /**
1553
+ * Cancel an active import
1554
+ *
1555
+ * Stops an in-flight import. Problems and versions created before cancellation are retained — there is no rollback.
1556
+ */
1557
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1558
+ importId: string;
1559
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ImportsByImportIdCancelResponses, PostV1ImportsByImportIdCancelErrors, ThrowOnError, "data">;
1560
+ /**
1561
+ * Confirm file upload and start import processing
1562
+ *
1563
+ * 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.
1564
+ */
1565
+ confirmUpload<ThrowOnError extends boolean = false>(parameters: {
1566
+ importId: string;
1567
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ImportsByImportIdConfirmUploadResponses, PostV1ImportsByImportIdConfirmUploadErrors, ThrowOnError, "data">;
1568
+ }
1569
+ export declare class JobsV2 extends HeyApiClient {
1570
+ /**
1571
+ * List jobs_v2 rows linked to an environment
1572
+ */
1573
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1574
+ environmentId: string;
1575
+ limit?: number;
1576
+ cursor?: string;
1577
+ sortBy?: string;
1578
+ sortDirection?: 'asc' | 'desc';
1579
+ search?: string;
1580
+ type?: string;
1581
+ root?: 'true' | 'false';
1582
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdJobsV2Responses, GetV1EnvironmentsByEnvironmentIdJobsV2Errors, ThrowOnError, "data">;
1583
+ /**
1584
+ * Soft-delete a jobs_v2 row
1585
+ *
1586
+ * Only terminal jobs (completed, failed, cancelled) can be deleted. Non-terminal jobs must be cancelled first.
1587
+ */
1588
+ deleteForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1589
+ environmentId: string;
1590
+ jobV2Id: string;
1591
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdResponses, DeleteV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdErrors, ThrowOnError, "data">;
1592
+ /**
1593
+ * Read a jobs_v2 row scoped to an environment
1594
+ */
1595
+ getForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1596
+ environmentId: string;
1597
+ jobV2Id: string;
1598
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdResponses, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdErrors, ThrowOnError, "data">;
1599
+ /**
1600
+ * Cancel a jobs_v2 row and its non-terminal descendants
1601
+ *
1602
+ * Cascades to every non-terminal descendant in one transaction. Cancelling already-terminal jobs is a no-op.
1603
+ */
1604
+ cancelForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1605
+ environmentId: string;
1606
+ jobV2Id: string;
1607
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdCancelResponses, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdCancelErrors, ThrowOnError, "data">;
1608
+ /**
1609
+ * List the children of a jobs_v2 row
1610
+ */
1611
+ listChildrenForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1612
+ environmentId: string;
1613
+ jobV2Id: string;
1614
+ limit?: number;
1615
+ cursor?: string;
1616
+ sortBy?: string;
1617
+ sortDirection?: 'asc' | 'desc';
1618
+ search?: string;
1619
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdChildrenResponses, GetV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdChildrenErrors, ThrowOnError, "data">;
1620
+ /**
1621
+ * Re-execute a terminal jobs_v2 row as a fresh run
1622
+ *
1623
+ * 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.
1624
+ */
1625
+ rerunForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1626
+ environmentId: string;
1627
+ jobV2Id: string;
1628
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdRerunResponses, PostV1EnvironmentsByEnvironmentIdJobsV2ByJobV2IdRerunErrors, ThrowOnError, "data">;
1629
+ /**
1630
+ * List jobs_v2 rows linked to an organization
1631
+ */
1632
+ listForOrganization<ThrowOnError extends boolean = false>(parameters: {
1633
+ organizationId: string;
1634
+ limit?: number;
1635
+ cursor?: string;
1636
+ sortBy?: string;
1637
+ sortDirection?: 'asc' | 'desc';
1638
+ search?: string;
1639
+ type?: string;
1640
+ root?: 'true' | 'false';
1641
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2Responses, GetV1OrganizationsByOrganizationIdJobsV2Errors, ThrowOnError, "data">;
1642
+ /**
1643
+ * Read a jobs_v2 row scoped to an organization
1644
+ */
1645
+ getForOrganization<ThrowOnError extends boolean = false>(parameters: {
1646
+ organizationId: string;
1647
+ jobV2Id: string;
1648
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdErrors, ThrowOnError, "data">;
1649
+ /**
1650
+ * Cancel an org-scoped jobs_v2 row and its non-terminal descendants
1651
+ *
1652
+ * Cascades to every non-terminal descendant in one transaction. Cancelling already-terminal jobs is a no-op.
1653
+ */
1654
+ cancelForOrganization<ThrowOnError extends boolean = false>(parameters: {
1655
+ organizationId: string;
1656
+ jobV2Id: string;
1657
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdJobsV2ByJobV2IdCancelResponses, PostV1OrganizationsByOrganizationIdJobsV2ByJobV2IdCancelErrors, ThrowOnError, "data">;
1658
+ /**
1659
+ * List the children of an org-scoped jobs_v2 row
1660
+ */
1661
+ listChildrenForOrganization<ThrowOnError extends boolean = false>(parameters: {
1662
+ organizationId: string;
1663
+ jobV2Id: string;
1664
+ limit?: number;
1665
+ cursor?: string;
1666
+ sortBy?: string;
1667
+ sortDirection?: 'asc' | 'desc';
1668
+ search?: string;
1669
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdChildrenResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdChildrenErrors, ThrowOnError, "data">;
1670
+ /**
1671
+ * Read the raw agent-service event log for an org-scoped jobs_v2 row
1672
+ *
1673
+ * 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. Empty when the job has no agent-service run yet.
1674
+ */
1675
+ getEventLogForOrganization<ThrowOnError extends boolean = false>(parameters: {
1676
+ organizationId: string;
1677
+ jobV2Id: string;
1678
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventLogResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventLogErrors, ThrowOnError, "data">;
1679
+ /**
1680
+ * Read the latest telemetry snapshot for an org-scoped jobs_v2 row
1681
+ */
1682
+ getEventsForOrganization<ThrowOnError extends boolean = false>(parameters: {
1683
+ organizationId: string;
1684
+ jobV2Id: string;
1685
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventsResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdEventsErrors, ThrowOnError, "data">;
1686
+ /**
1687
+ * Read this job's own output files for an org-scoped jobs_v2 row
1688
+ *
1689
+ * 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.
1690
+ */
1691
+ getOutputFilesForOrganization<ThrowOnError extends boolean = false>(parameters: {
1692
+ organizationId: string;
1693
+ jobV2Id: string;
1694
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdOutputFilesResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdOutputFilesErrors, ThrowOnError, "data">;
1695
+ /**
1696
+ * Read a rollout's trace events for an org-scoped jobs_v2 row
1697
+ *
1698
+ * Verifies rolloutRunId was reported by this job's own ingested telemetry before proxying agent-service, and bounds the returned event window.
1699
+ */
1700
+ getRolloutEventsForOrganization<ThrowOnError extends boolean = false>(parameters: {
1701
+ organizationId: string;
1702
+ jobV2Id: string;
1703
+ rolloutRunId: string;
1704
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdEventsResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdEventsErrors, ThrowOnError, "data">;
1705
+ /**
1706
+ * Read a rollout's output files for an org-scoped jobs_v2 row
1707
+ *
1708
+ * 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.
1709
+ */
1710
+ getRolloutOutputFilesForOrganization<ThrowOnError extends boolean = false>(parameters: {
1711
+ organizationId: string;
1712
+ jobV2Id: string;
1713
+ rolloutRunId: string;
1714
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdFilesResponses, GetV1OrganizationsByOrganizationIdJobsV2ByJobV2IdRolloutsByRolloutRunIdFilesErrors, ThrowOnError, "data">;
1715
+ }
1716
+ export declare class Qa extends HeyApiClient {
1717
+ /**
1718
+ * List QA configs for an environment
1719
+ *
1720
+ * Sensitive env-var values are redacted in each entry.
1721
+ */
1722
+ listConfigsForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1723
+ environmentId: string;
1724
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaConfigsResponses, GetV1EnvironmentsByEnvironmentIdQaConfigsErrors, ThrowOnError, "data">;
1725
+ /**
1726
+ * Create a QA config
1727
+ *
1728
+ * Stores the supplied env-var values write-only; sensitive values are redacted from the response and from every subsequent read.
1729
+ */
1730
+ createConfig<ThrowOnError extends boolean = false>(parameters: {
1731
+ environmentId: string;
1732
+ body: CreateQaConfigBodyDto;
1733
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaConfigsResponses, PostV1EnvironmentsByEnvironmentIdQaConfigsErrors, ThrowOnError, "data">;
1734
+ /**
1735
+ * List QA jobs for an environment
1736
+ *
1737
+ * Each row carries a null result payload to keep responses small; fetch a single job to retrieve its full inline result.
1738
+ */
1739
+ listJobsForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1740
+ environmentId: string;
1741
+ limit?: number;
1742
+ cursor?: string;
1743
+ sortBy?: string;
1744
+ sortDirection?: 'asc' | 'desc';
1745
+ search?: string;
1746
+ grade?: string;
1747
+ scoreMax?: number;
1748
+ scoreMin?: number;
1749
+ problemSearch?: string;
1750
+ status?: string;
1751
+ kind?: string;
1752
+ qaConfigId?: string;
1753
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaJobsResponses, GetV1EnvironmentsByEnvironmentIdQaJobsErrors, ThrowOnError, "data">;
1754
+ /**
1755
+ * Trigger an individual QA job
1756
+ *
1757
+ * 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.
1758
+ */
1759
+ triggerJob<ThrowOnError extends boolean = false>(parameters: {
1760
+ environmentId: string;
1761
+ body: TriggerQaJobBodyDto;
1762
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaJobsResponses, PostV1EnvironmentsByEnvironmentIdQaJobsErrors, ThrowOnError, "data">;
1763
+ /**
1764
+ * Trigger a batch of QA jobs
1765
+ *
1766
+ * 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.
1767
+ */
1768
+ triggerJobBatch<ThrowOnError extends boolean = false>(parameters: {
1769
+ environmentId: string;
1770
+ body: TriggerQaJobBatchBodyDto;
1771
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaJobsBatchResponses, PostV1EnvironmentsByEnvironmentIdQaJobsBatchErrors, ThrowOnError, "data">;
1772
+ /**
1773
+ * List distinct grade values for QA jobs in an environment
1774
+ */
1775
+ listGradesForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1776
+ environmentId: string;
1777
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaJobsGradesResponses, GetV1EnvironmentsByEnvironmentIdQaJobsGradesErrors, ThrowOnError, "data">;
1778
+ /**
1779
+ * Get a QA job with inline result
1780
+ *
1781
+ * Returns the full inline result payload. Poll this endpoint for still-running jobs until the status reaches a terminal value.
1782
+ */
1783
+ getJob<ThrowOnError extends boolean = false>(parameters: {
1784
+ environmentId: string;
1785
+ qaJobId: string;
1786
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdErrors, ThrowOnError, "data">;
1787
+ /**
1788
+ * Cancel a running QA job
1789
+ *
1790
+ * 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.
1791
+ */
1792
+ cancelJob<ThrowOnError extends boolean = false>(parameters: {
1793
+ environmentId: string;
1794
+ qaJobId: string;
1795
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdCancelResponses, PostV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdCancelErrors, ThrowOnError, "data">;
1796
+ /**
1797
+ * Get the persisted transcript for a QA job
1798
+ *
1799
+ * Returns the persisted transcript captured when the job reached a terminal state. In-progress jobs have no persisted transcript yet.
1800
+ */
1801
+ getJobTranscript<ThrowOnError extends boolean = false>(parameters: {
1802
+ environmentId: string;
1803
+ qaJobId: string;
1804
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptErrors, ThrowOnError, "data">;
1805
+ /**
1806
+ * Proxy live transcript from agent service for active QA jobs
1807
+ *
1808
+ * Proxies the in-memory event stream from the agent service for an active job, serialized as a JSON array of events. Only available while the job is pending, submitting, or running.
1809
+ */
1810
+ getLiveJobTranscript<ThrowOnError extends boolean = false>(parameters: {
1811
+ environmentId: string;
1812
+ qaJobId: string;
1813
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptLiveResponses, GetV1EnvironmentsByEnvironmentIdQaJobsByQaJobIdTranscriptLiveErrors, ThrowOnError, "data">;
1814
+ /**
1815
+ * Get the latest oracle QA result for a problem version
1816
+ *
1817
+ * 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".
1818
+ */
1819
+ getOracleResult<ThrowOnError extends boolean = false>(parameters: {
1820
+ environmentId: string;
1821
+ problemVersionId: string;
1822
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdOracleQaResultResponses, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdOracleQaResultErrors, ThrowOnError, "data">;
1823
+ /**
1824
+ * Soft-delete a QA config
1825
+ *
1826
+ * 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.
1827
+ */
1828
+ deleteConfig<ThrowOnError extends boolean = false>(parameters: {
1829
+ qaConfigId: string;
1830
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1QaConfigsByQaConfigIdResponses, DeleteV1QaConfigsByQaConfigIdErrors, ThrowOnError, "data">;
1831
+ /**
1832
+ * Get a QA config
1833
+ *
1834
+ * Sensitive env-var values are redacted in the response.
1835
+ */
1836
+ getConfig<ThrowOnError extends boolean = false>(parameters: {
1837
+ qaConfigId: string;
1838
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1QaConfigsByQaConfigIdResponses, GetV1QaConfigsByQaConfigIdErrors, ThrowOnError, "data">;
1839
+ /**
1840
+ * Update a QA config
1841
+ *
1842
+ * Future jobs triggered against this config use the updated settings. Sensitive env-var values supplied in the body are not echoed back.
1843
+ */
1844
+ updateConfig<ThrowOnError extends boolean = false>(parameters: {
1845
+ qaConfigId: string;
1846
+ body: UpdateQaConfigBodyDto;
1847
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1QaConfigsByQaConfigIdResponses, PatchV1QaConfigsByQaConfigIdErrors, ThrowOnError, "data">;
1848
+ /**
1849
+ * Attach a file to a QA config
1850
+ *
1851
+ * 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.
1852
+ */
1853
+ attachConfigFile<ThrowOnError extends boolean = false>(parameters: {
1854
+ qaConfigId: string;
1855
+ body: AttachQaConfigFileBodyDto;
1856
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1QaConfigsByQaConfigIdFilesResponses, PostV1QaConfigsByQaConfigIdFilesErrors, ThrowOnError, "data">;
1857
+ /**
1858
+ * Detach a file from a QA config
1859
+ *
1860
+ * 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.
1861
+ */
1862
+ detachConfigFile<ThrowOnError extends boolean = false>(parameters: {
1863
+ qaConfigId: string;
1864
+ qaConfigFileId: string;
1865
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1QaConfigsByQaConfigIdFilesByQaConfigFileIdResponses, DeleteV1QaConfigsByQaConfigIdFilesByQaConfigFileIdErrors, ThrowOnError, "data">;
1866
+ }
1867
+ export declare class QaGates extends HeyApiClient {
1868
+ /**
1869
+ * List QA gates for an environment
1870
+ */
1871
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1872
+ environmentId: string;
1873
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaGatesResponses, GetV1EnvironmentsByEnvironmentIdQaGatesErrors, ThrowOnError, "data">;
1874
+ /**
1875
+ * Create a QA gate
1876
+ *
1877
+ * Attaches a QA config to a stage transition. At most one gate exists per environment and QA config; duplicate attempts conflict.
1878
+ */
1879
+ create<ThrowOnError extends boolean = false>(parameters: {
1880
+ environmentId: string;
1881
+ body: CreateQaGateBodyDto;
1882
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaGatesResponses, PostV1EnvironmentsByEnvironmentIdQaGatesErrors, ThrowOnError, "data">;
1883
+ /**
1884
+ * Remove a QA gate
1885
+ *
1886
+ * Soft-deletes the gate. Subsequent stage transitions no longer require this QA config to pass.
1887
+ */
1888
+ delete<ThrowOnError extends boolean = false>(parameters: {
1889
+ environmentId: string;
1890
+ qaGateId: string;
1891
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdQaGatesByQaGateIdResponses, DeleteV1EnvironmentsByEnvironmentIdQaGatesByQaGateIdErrors, ThrowOnError, "data">;
1892
+ /**
1893
+ * Check QA gate status for a version
1894
+ */
1895
+ getStatus<ThrowOnError extends boolean = false>(parameters: {
1896
+ environmentId: string;
1897
+ problemVersionId: string;
1898
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdQaGateStatusResponses, GetV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdQaGateStatusErrors, ThrowOnError, "data">;
1899
+ /**
1900
+ * Request stage clearance by checking QA gates (with optional override)
1901
+ *
1902
+ * 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.
1903
+ */
1904
+ requestStageClearance<ThrowOnError extends boolean = false>(parameters: {
1905
+ environmentId: string;
1906
+ problemVersionId: string;
1907
+ body: StageClearanceRequestBodyDto;
1908
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdStageClearanceResponses, PostV1EnvironmentsByEnvironmentIdVersionsByProblemVersionIdStageClearanceErrors, ThrowOnError, "data">;
1909
+ }
1910
+ export declare class QaTriggers extends HeyApiClient {
1911
+ /**
1912
+ * List QA triggers for an environment
1913
+ */
1914
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1915
+ environmentId: string;
1916
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdQaTriggersResponses, GetV1EnvironmentsByEnvironmentIdQaTriggersErrors, ThrowOnError, "data">;
1917
+ /**
1918
+ * Create a QA trigger
1919
+ *
1920
+ * 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.
1921
+ */
1922
+ create<ThrowOnError extends boolean = false>(parameters: {
1923
+ environmentId: string;
1924
+ body: CreateQaTriggerBodyDto;
1925
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdQaTriggersResponses, PostV1EnvironmentsByEnvironmentIdQaTriggersErrors, ThrowOnError, "data">;
1926
+ /**
1927
+ * Remove a QA trigger
1928
+ *
1929
+ * Soft-deletes the trigger. The event no longer fires a QA job for this config.
1930
+ */
1931
+ delete<ThrowOnError extends boolean = false>(parameters: {
1932
+ environmentId: string;
1933
+ qaTriggerId: string;
1934
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EnvironmentsByEnvironmentIdQaTriggersByQaTriggerIdResponses, DeleteV1EnvironmentsByEnvironmentIdQaTriggersByQaTriggerIdErrors, ThrowOnError, "data">;
1935
+ }
1936
+ export declare class RunConfigs extends HeyApiClient {
1937
+ /**
1938
+ * Get the run-config default inherited at an environment scope
1939
+ *
1940
+ * 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.
1941
+ */
1942
+ getInheritedDefaultForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1943
+ environmentId: string;
1944
+ problemId?: string;
1945
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigDefaultsInheritedResponses, GetV1EnvironmentsByEnvironmentIdRunConfigDefaultsInheritedErrors, ThrowOnError, "data">;
1946
+ /**
1947
+ * List env-scope run configs
1948
+ */
1949
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1950
+ environmentId: string;
1951
+ tags?: string;
1952
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigsResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsErrors, ThrowOnError, "data">;
1953
+ /**
1954
+ * List bindable run configs for an environment
1955
+ *
1956
+ * Returns the compact bindable catalog for environment binding selectors: system, owning-organization, and environment scopes with locked-version summaries only.
1957
+ */
1958
+ listBindableForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1959
+ environmentId: string;
1960
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigsBindableResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsBindableErrors, ThrowOnError, "data">;
1961
+ /**
1962
+ * List soft-deleted env-scope run configs
1963
+ */
1964
+ listReapedForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1965
+ environmentId: string;
1966
+ limit?: number;
1967
+ cursor?: string;
1968
+ sortBy?: string;
1969
+ sortDirection?: 'asc' | 'desc';
1970
+ search?: string;
1971
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigsReapedResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsReapedErrors, ThrowOnError, "data">;
1972
+ /**
1973
+ * List snapshot run configs with their version for this env
1974
+ *
1975
+ * 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.
1976
+ */
1977
+ listSnapshotsForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1978
+ environmentId: string;
1979
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigsSnapshotsResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsSnapshotsErrors, ThrowOnError, "data">;
1980
+ /**
1981
+ * List run configs visible at or above this env
1982
+ *
1983
+ * Returns the cascade of run configs at this env, its parent org, and all system-scope rows.
1984
+ */
1985
+ listVisibleForEnvironment<ThrowOnError extends boolean = false>(parameters: {
1986
+ environmentId: string;
1987
+ tags?: string;
1988
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigsVisibleResponses, GetV1EnvironmentsByEnvironmentIdRunConfigsVisibleErrors, ThrowOnError, "data">;
1989
+ /**
1990
+ * List org-scope run configs
1991
+ */
1992
+ listForOrganization<ThrowOnError extends boolean = false>(parameters: {
1993
+ organizationId: string;
1994
+ tags?: string;
1995
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRunConfigsResponses, GetV1OrganizationsByOrganizationIdRunConfigsErrors, ThrowOnError, "data">;
1996
+ /**
1997
+ * List soft-deleted org-scope run configs
1998
+ */
1999
+ listReapedForOrganization<ThrowOnError extends boolean = false>(parameters: {
2000
+ organizationId: string;
2001
+ limit?: number;
2002
+ cursor?: string;
2003
+ sortBy?: string;
2004
+ sortDirection?: 'asc' | 'desc';
2005
+ search?: string;
2006
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRunConfigsReapedResponses, GetV1OrganizationsByOrganizationIdRunConfigsReapedErrors, ThrowOnError, "data">;
2007
+ /**
2008
+ * List run configs visible at or above this org
2009
+ *
2010
+ * Returns the cascade of run configs at this org plus all system-scope rows.
2011
+ */
2012
+ listVisibleForOrganization<ThrowOnError extends boolean = false>(parameters: {
2013
+ organizationId: string;
2014
+ tags?: string;
2015
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRunConfigsVisibleResponses, GetV1OrganizationsByOrganizationIdRunConfigsVisibleErrors, ThrowOnError, "data">;
2016
+ /**
2017
+ * List problem-scope run configs
2018
+ */
2019
+ listForProblem<ThrowOnError extends boolean = false>(parameters: {
2020
+ problemId: string;
2021
+ tags?: string;
2022
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdRunConfigsResponses, GetV1ProblemsByProblemIdRunConfigsErrors, ThrowOnError, "data">;
2023
+ /**
2024
+ * List soft-deleted problem-scope run configs
2025
+ */
2026
+ listReapedForProblem<ThrowOnError extends boolean = false>(parameters: {
2027
+ problemId: string;
2028
+ limit?: number;
2029
+ cursor?: string;
2030
+ sortBy?: string;
2031
+ sortDirection?: 'asc' | 'desc';
2032
+ search?: string;
2033
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdRunConfigsReapedResponses, GetV1ProblemsByProblemIdRunConfigsReapedErrors, ThrowOnError, "data">;
2034
+ /**
2035
+ * List run configs visible at or above this problem
2036
+ *
2037
+ * Returns the cascade of run configs at this problem, its parent env, its parent org, and all system-scope rows.
2038
+ */
2039
+ listVisibleForProblem<ThrowOnError extends boolean = false>(parameters: {
2040
+ problemId: string;
2041
+ tags?: string;
2042
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdRunConfigsVisibleResponses, GetV1ProblemsByProblemIdRunConfigsVisibleErrors, ThrowOnError, "data">;
2043
+ /**
2044
+ * Create a run config (identity + v1 draft)
2045
+ *
2046
+ * 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.
2047
+ */
2048
+ create<ThrowOnError extends boolean = false>(parameters: {
2049
+ body: CreateRunConfigDto;
2050
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigsResponses, PostV1RunConfigsErrors, ThrowOnError, "data">;
2051
+ /**
2052
+ * List soft-deleted system-scope run configs
2053
+ */
2054
+ listReapedForSystem<ThrowOnError extends boolean = false>(parameters?: {
2055
+ limit?: number;
2056
+ cursor?: string;
2057
+ sortBy?: string;
2058
+ sortDirection?: 'asc' | 'desc';
2059
+ search?: string;
2060
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigsReapedResponses, GetV1RunConfigsReapedErrors, ThrowOnError, "data">;
2061
+ /**
2062
+ * List system-scope run configs
2063
+ */
2064
+ listForSystem<ThrowOnError extends boolean = false>(parameters?: {
2065
+ tags?: string;
2066
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigsSystemResponses, GetV1RunConfigsSystemErrors, ThrowOnError, "data">;
2067
+ /**
2068
+ * List run configs visible at or above system scope
2069
+ */
2070
+ listVisibleForSystem<ThrowOnError extends boolean = false>(parameters?: {
2071
+ tags?: string;
2072
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigsSystemVisibleResponses, GetV1RunConfigsSystemVisibleErrors, ThrowOnError, "data">;
2073
+ /**
2074
+ * Soft-delete a run config
2075
+ *
2076
+ * Soft-deletes the run config along with all of its versions; rows remain in the database for audit. Rejects when any of its locked versions are still bound to an environment or problem role slot.
2077
+ */
2078
+ delete<ThrowOnError extends boolean = false>(parameters: {
2079
+ runConfigId: string;
2080
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1RunConfigsByRunConfigIdResponses, DeleteV1RunConfigsByRunConfigIdErrors, ThrowOnError, "data">;
2081
+ /**
2082
+ * Get a run config by id (identity only)
2083
+ *
2084
+ * Returns identity fields only and does not include any version payload.
2085
+ */
2086
+ get<ThrowOnError extends boolean = false>(parameters: {
2087
+ runConfigId: string;
2088
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigsByRunConfigIdResponses, GetV1RunConfigsByRunConfigIdErrors, ThrowOnError, "data">;
2089
+ /**
2090
+ * Update a run config (identity fields only)
2091
+ *
2092
+ * Patches identity-level fields only and does not touch any version payload or default-version pin.
2093
+ */
2094
+ update<ThrowOnError extends boolean = false>(parameters: {
2095
+ runConfigId: string;
2096
+ body: UpdateRunConfigDto;
2097
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1RunConfigsByRunConfigIdResponses, PatchV1RunConfigsByRunConfigIdErrors, ThrowOnError, "data">;
2098
+ /**
2099
+ * Restore a soft-deleted run config from the recycle bin
2100
+ *
2101
+ * 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.
2102
+ */
2103
+ restore<ThrowOnError extends boolean = false>(parameters: {
2104
+ runConfigId: string;
2105
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigsByRunConfigIdRestoreResponses, PostV1RunConfigsByRunConfigIdRestoreErrors, ThrowOnError, "data">;
2106
+ /**
2107
+ * List versions of a run config (newest first)
2108
+ */
2109
+ listVersions<ThrowOnError extends boolean = false>(parameters: {
2110
+ runConfigId: string;
2111
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigsByRunConfigIdVersionsResponses, GetV1RunConfigsByRunConfigIdVersionsErrors, ThrowOnError, "data">;
2112
+ /**
2113
+ * Create a new draft version on a run config
2114
+ *
2115
+ * 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.
2116
+ */
2117
+ createVersion<ThrowOnError extends boolean = false>(parameters: {
2118
+ runConfigId: string;
2119
+ body: CreateRunConfigVersionDto;
2120
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigsByRunConfigIdVersionsResponses, PostV1RunConfigsByRunConfigIdVersionsErrors, ThrowOnError, "data">;
2121
+ }
2122
+ export declare class RunConfigMenus extends HeyApiClient {
2123
+ /**
2124
+ * Add a version to an env slot menu
2125
+ */
2126
+ addEntry<ThrowOnError extends boolean = false>(parameters: {
2127
+ environmentId: string;
2128
+ role: 'solver' | 'grader' | 'qa' | 'synthesizer';
2129
+ body: AddMenuEntryBodyDto;
2130
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EnvironmentsByEnvironmentIdRunConfigMenusByRoleEntriesResponses, PostV1EnvironmentsByEnvironmentIdRunConfigMenusByRoleEntriesErrors, ThrowOnError, "data">;
2131
+ /**
2132
+ * Get run-config menu readiness for an environment
2133
+ */
2134
+ getReadiness<ThrowOnError extends boolean = false>(parameters: {
2135
+ environmentId: string;
2136
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdRunConfigReadinessResponses, GetV1EnvironmentsByEnvironmentIdRunConfigReadinessErrors, ThrowOnError, "data">;
2137
+ }
2138
+ export declare class SynthesizerRuns extends HeyApiClient {
2139
+ /**
2140
+ * List synthesizer runs across an entire environment
2141
+ */
2142
+ listForEnvironment<ThrowOnError extends boolean = false>(parameters: {
2143
+ environmentId: string;
2144
+ limit?: number;
2145
+ cursor?: string;
2146
+ sortBy?: string;
2147
+ sortDirection?: 'asc' | 'desc';
2148
+ search?: string;
2149
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EnvironmentsByEnvironmentIdSynthesizerRunsResponses, GetV1EnvironmentsByEnvironmentIdSynthesizerRunsErrors, ThrowOnError, "data">;
2150
+ /**
2151
+ * List synthesizer runs for a problem version
2152
+ */
2153
+ listForVersion<ThrowOnError extends boolean = false>(parameters: {
2154
+ problemVersionId: string;
2155
+ limit?: number;
2156
+ cursor?: string;
2157
+ sortBy?: string;
2158
+ sortDirection?: 'asc' | 'desc';
2159
+ search?: string;
2160
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdSynthesizerRunsResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsErrors, ThrowOnError, "data">;
2161
+ /**
2162
+ * Trigger a synthesizer run on a problem version
2163
+ *
2164
+ * 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.
2165
+ */
2166
+ trigger<ThrowOnError extends boolean = false>(parameters: {
2167
+ problemVersionId: string;
2168
+ body: TriggerSynthesizerRunBodyDto;
2169
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdSynthesizerRunsResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsErrors, ThrowOnError, "data">;
2170
+ /**
2171
+ * Get a synthesizer run
2172
+ */
2173
+ get<ThrowOnError extends boolean = false>(parameters: {
2174
+ problemVersionId: string;
2175
+ synthesizerRunId: string;
2176
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdErrors, ThrowOnError, "data">;
2177
+ /**
2178
+ * Apply approved targets from a synthesizer run
2179
+ *
2180
+ * 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.
2181
+ */
2182
+ apply<ThrowOnError extends boolean = false>(parameters: {
2183
+ problemVersionId: string;
2184
+ synthesizerRunId: string;
2185
+ body: ApplySynthesizerRunBodyDto;
2186
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdApplyResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdApplyErrors, ThrowOnError, "data">;
2187
+ /**
2188
+ * Cancel a running synthesizer run
2189
+ *
2190
+ * Aborts an in-flight run, stopping the agent harness container and transitioning the run to cancelled. Idempotent for already-terminal runs.
2191
+ */
2192
+ cancel<ThrowOnError extends boolean = false>(parameters: {
2193
+ problemVersionId: string;
2194
+ synthesizerRunId: string;
2195
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdCancelResponses, PostV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdCancelErrors, ThrowOnError, "data">;
2196
+ /**
2197
+ * Get the persisted transcript for a synthesizer run
2198
+ *
2199
+ * Returns the persisted transcript captured when the run reached a terminal state. In-progress runs have no persisted transcript yet.
2200
+ */
2201
+ getTranscript<ThrowOnError extends boolean = false>(parameters: {
2202
+ problemVersionId: string;
2203
+ synthesizerRunId: string;
2204
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptErrors, ThrowOnError, "data">;
2205
+ /**
2206
+ * Proxy live transcript from agent service for active synthesizer runs
2207
+ *
2208
+ * Proxies the in-memory event stream from the agent service for an active run, serialized as a JSON array of events. Only available while the run is pending or running.
2209
+ */
2210
+ getLiveTranscript<ThrowOnError extends boolean = false>(parameters: {
2211
+ problemVersionId: string;
2212
+ synthesizerRunId: string;
2213
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptLiveResponses, GetV1VersionsByProblemVersionIdSynthesizerRunsBySynthesizerRunIdTranscriptLiveErrors, ThrowOnError, "data">;
2214
+ }
2215
+ export declare class Evaluations extends HeyApiClient {
2216
+ /**
2217
+ * List evaluations
2218
+ */
2219
+ list<ThrowOnError extends boolean = false>(parameters?: {
2220
+ limit?: number;
2221
+ cursor?: string;
2222
+ sortBy?: string;
2223
+ sortDirection?: 'asc' | 'desc';
2224
+ search?: string;
2225
+ tags?: string;
2226
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EvaluationsResponses, GetV1EvaluationsErrors, ThrowOnError, "data">;
2227
+ /**
2228
+ * Create an evaluation
2229
+ *
2230
+ * 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.
2231
+ */
2232
+ create<ThrowOnError extends boolean = false>(parameters: {
2233
+ body: CreateEvaluationBodyDto;
2234
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EvaluationsResponses, PostV1EvaluationsErrors, ThrowOnError, "data">;
2235
+ /**
2236
+ * Bulk-create evaluations (v2)
2237
+ *
2238
+ * 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.
2239
+ */
2240
+ bulkCreate<ThrowOnError extends boolean = false>(parameters: {
2241
+ body: CreateEvaluationBodyDto;
2242
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EvaluationsBulkResponses, PostV1EvaluationsBulkErrors, ThrowOnError, "data">;
2243
+ /**
2244
+ * Soft-delete an evaluation
2245
+ *
2246
+ * Marks the evaluation as deleted. Runs and rubric scores are kept for audit but the evaluation no longer surfaces in listings. Delete does not cancel still-running evaluations.
2247
+ */
2248
+ delete<ThrowOnError extends boolean = false>(parameters: {
2249
+ evaluationId: string;
2250
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1EvaluationsByEvaluationIdResponses, DeleteV1EvaluationsByEvaluationIdErrors, ThrowOnError, "data">;
2251
+ /**
2252
+ * Get evaluation detail
2253
+ */
2254
+ get<ThrowOnError extends boolean = false>(parameters: {
2255
+ evaluationId: string;
2256
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EvaluationsByEvaluationIdResponses, GetV1EvaluationsByEvaluationIdErrors, ThrowOnError, "data">;
2257
+ /**
2258
+ * Cancel a running evaluation
2259
+ *
2260
+ * 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.
2261
+ */
2262
+ cancel<ThrowOnError extends boolean = false>(parameters: {
2263
+ evaluationId: string;
2264
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EvaluationsByEvaluationIdCancelResponses, PostV1EvaluationsByEvaluationIdCancelErrors, ThrowOnError, "data">;
2265
+ /**
2266
+ * List evaluation-results exports for an evaluation
2267
+ */
2268
+ listExports<ThrowOnError extends boolean = false>(parameters: {
2269
+ evaluationId: string;
2270
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EvaluationsByEvaluationIdExportsResponses, GetV1EvaluationsByEvaluationIdExportsErrors, ThrowOnError, "data">;
2271
+ /**
2272
+ * Create an evaluation-results export
2273
+ *
2274
+ * 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.
2275
+ */
2276
+ createExport<ThrowOnError extends boolean = false>(parameters: {
2277
+ evaluationId: string;
2278
+ body: CreateEvaluationExportBodyDto;
2279
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EvaluationsByEvaluationIdExportsResponses, PostV1EvaluationsByEvaluationIdExportsErrors, ThrowOnError, "data">;
2280
+ /**
2281
+ * Get an evaluation-results export by ID
2282
+ */
2283
+ getExport<ThrowOnError extends boolean = false>(parameters: {
2284
+ evaluationId: string;
2285
+ exportId: string;
2286
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EvaluationsByEvaluationIdExportsByExportIdResponses, GetV1EvaluationsByEvaluationIdExportsByExportIdErrors, ThrowOnError, "data">;
2287
+ /**
2288
+ * Cancel an active evaluation-results export
2289
+ *
2290
+ * Stops an in-flight export job. Already-completed exports are not cancellable, and cancelled exports stay accessible for download until their signed URL expires.
2291
+ */
2292
+ cancelExport<ThrowOnError extends boolean = false>(parameters: {
2293
+ evaluationId: string;
2294
+ exportId: string;
2295
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1EvaluationsByEvaluationIdExportsByExportIdCancelResponses, PostV1EvaluationsByEvaluationIdExportsByExportIdCancelErrors, ThrowOnError, "data">;
2296
+ /**
2297
+ * Get aggregated evaluation results matrix
2298
+ */
2299
+ getResults<ThrowOnError extends boolean = false>(parameters: {
2300
+ evaluationId: string;
2301
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1EvaluationsByEvaluationIdResultsResponses, GetV1EvaluationsByEvaluationIdResultsErrors, ThrowOnError, "data">;
2302
+ }
2303
+ export declare class Files extends HeyApiClient {
2304
+ /**
2305
+ * Finalize files uploaded directly to GCS via signed URLs
2306
+ *
2307
+ * 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.
2308
+ */
2309
+ finalizeUploads<ThrowOnError extends boolean = false>(parameters: {
2310
+ body: FinalizeUploadRequestDto;
2311
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1FilesFinalizeUploadsResponses, PostV1FilesFinalizeUploadsErrors, ThrowOnError, "data">;
2312
+ /**
2313
+ * Generate signed URLs for direct-to-GCS file uploads
2314
+ *
2315
+ * 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.
2316
+ */
2317
+ createSignedUploadUrls<ThrowOnError extends boolean = false>(parameters: {
2318
+ body: SignedUploadUrlRequestDto;
2319
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1FilesSignedUploadUrlsResponses, PostV1FilesSignedUploadUrlsErrors, ThrowOnError, "data">;
2320
+ /**
2321
+ * Download a file
2322
+ */
2323
+ download<ThrowOnError extends boolean = false>(parameters: {
2324
+ problemFileId: string;
2325
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1FilesByProblemFileIdDownloadResponses, GetV1FilesByProblemFileIdDownloadErrors, ThrowOnError, "data">;
2326
+ /**
2327
+ * Batch-resolve org-scoped file metadata
2328
+ *
2329
+ * 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.
2330
+ */
2331
+ batchOrganizationFileMetadata<ThrowOnError extends boolean = false>(parameters: {
2332
+ organizationId: string;
2333
+ body: BatchOrganizationFileMetadataRequestDto;
2334
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdFilesMetadataResponses, PostV1OrganizationsByOrganizationIdFilesMetadataErrors, ThrowOnError, "data">;
2335
+ /**
2336
+ * List files attached to a problem version
2337
+ */
2338
+ listForVersion<ThrowOnError extends boolean = false>(parameters: {
2339
+ problemVersionId: string;
2340
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdFilesResponses, GetV1VersionsByProblemVersionIdFilesErrors, ThrowOnError, "data">;
2341
+ /**
2342
+ * Attach a file to a problem version
2343
+ */
2344
+ attach<ThrowOnError extends boolean = false>(parameters: {
2345
+ problemVersionId: string;
2346
+ body: AttachFileDto;
2347
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdFilesResponses, PostV1VersionsByProblemVersionIdFilesErrors, ThrowOnError, "data">;
2348
+ /**
2349
+ * Attach multiple files to a problem version in a single transaction
2350
+ *
2351
+ * Atomic batch: either every file attaches or none. Enforces per-environment file-size caps and the aggregate version-size cap.
2352
+ */
2353
+ bulkAttach<ThrowOnError extends boolean = false>(parameters: {
2354
+ problemVersionId: string;
2355
+ body: BulkAttachFilesDto;
2356
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdFilesBulkResponses, PostV1VersionsByProblemVersionIdFilesBulkErrors, ThrowOnError, "data">;
2357
+ /**
2358
+ * Detach a file from a problem version
2359
+ *
2360
+ * Removes only the version-to-file binding. The underlying file row remains attachable to other versions.
2361
+ */
2362
+ detach<ThrowOnError extends boolean = false>(parameters: {
2363
+ problemVersionId: string;
2364
+ problemVersionFileId: string;
2365
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1VersionsByProblemVersionIdFilesByProblemVersionFileIdResponses, DeleteV1VersionsByProblemVersionIdFilesByProblemVersionFileIdErrors, ThrowOnError, "data">;
2366
+ /**
2367
+ * Update gold standard status for a file attachment
2368
+ *
2369
+ * Mount paths must be unique within the version. Reserved mount paths are rejected.
2370
+ */
2371
+ updateGoldStandard<ThrowOnError extends boolean = false>(parameters: {
2372
+ problemVersionId: string;
2373
+ problemVersionFileId: string;
2374
+ body: UpdateGoldStandardDto;
2375
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdGoldStandardResponses, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdGoldStandardErrors, ThrowOnError, "data">;
2376
+ /**
2377
+ * Update tags for a file attachment
2378
+ */
2379
+ updateTags<ThrowOnError extends boolean = false>(parameters: {
2380
+ problemVersionId: string;
2381
+ problemVersionFileId: string;
2382
+ body: UpdateFileTagsDto;
2383
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdTagsResponses, PatchV1VersionsByProblemVersionIdFilesByProblemVersionFileIdTagsErrors, ThrowOnError, "data">;
2384
+ }
2385
+ export declare class Images extends HeyApiClient {
2386
+ /**
2387
+ * List available container images
2388
+ */
2389
+ list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ImagesResponses, GetV1ImagesErrors, ThrowOnError, "data">;
2390
+ /**
2391
+ * Get image detail including available models
2392
+ */
2393
+ get<ThrowOnError extends boolean = false>(parameters: {
2394
+ imageId: string;
2395
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ImagesByImageIdResponses, GetV1ImagesByImageIdErrors, ThrowOnError, "data">;
2396
+ }
2397
+ export declare class IssueComments extends HeyApiClient {
2398
+ /**
2399
+ * List comments for an issue (paginated)
2400
+ */
2401
+ list<ThrowOnError extends boolean = false>(parameters: {
2402
+ issueId: string;
2403
+ limit?: number;
2404
+ cursor?: string;
2405
+ sortBy?: string;
2406
+ sortDirection?: 'asc' | 'desc';
2407
+ search?: string;
2408
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1IssuesByIssueIdCommentsResponses, GetV1IssuesByIssueIdCommentsErrors, ThrowOnError, "data">;
2409
+ /**
2410
+ * Create a comment on an issue
2411
+ */
2412
+ create<ThrowOnError extends boolean = false>(parameters: {
2413
+ issueId: string;
2414
+ body: CreateIssueCommentBodyDto;
2415
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1IssuesByIssueIdCommentsResponses, PostV1IssuesByIssueIdCommentsErrors, ThrowOnError, "data">;
2416
+ /**
2417
+ * Soft-delete a comment
2418
+ */
2419
+ delete<ThrowOnError extends boolean = false>(parameters: {
2420
+ issueId: string;
2421
+ issueCommentId: string;
2422
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1IssuesByIssueIdCommentsByIssueCommentIdResponses, DeleteV1IssuesByIssueIdCommentsByIssueCommentIdErrors, ThrowOnError, "data">;
2423
+ /**
2424
+ * Update a comment
2425
+ */
2426
+ update<ThrowOnError extends boolean = false>(parameters: {
2427
+ issueId: string;
2428
+ issueCommentId: string;
2429
+ body: UpdateIssueCommentBodyDto;
2430
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1IssuesByIssueIdCommentsByIssueCommentIdResponses, PatchV1IssuesByIssueIdCommentsByIssueCommentIdErrors, ThrowOnError, "data">;
2431
+ }
2432
+ export declare class ProblemRuns extends HeyApiClient {
2433
+ /**
2434
+ * List problem runs for a job
2435
+ *
2436
+ * 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.
2437
+ *
2438
+ * @deprecated
2439
+ */
2440
+ listForJob<ThrowOnError extends boolean = false>(parameters: {
2441
+ jobId: string;
2442
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1JobsByJobIdProblemRunsResponses, GetV1JobsByJobIdProblemRunsErrors, ThrowOnError, "data">;
2443
+ /**
2444
+ * Bulk-create problem runs
2445
+ *
2446
+ * 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.
2447
+ */
2448
+ bulkCreate<ThrowOnError extends boolean = false>(parameters: {
2449
+ body: BulkCreateProblemRunsRequestDto;
2450
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemRunsBulkResponses, PostV1ProblemRunsBulkErrors, ThrowOnError, "data">;
2451
+ /**
2452
+ * Get a single problem run
2453
+ */
2454
+ get<ThrowOnError extends boolean = false>(parameters: {
2455
+ problemRunId: string;
2456
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdResponses, GetV1ProblemRunsByProblemRunIdErrors, ThrowOnError, "data">;
2457
+ /**
2458
+ * List output files for a problem run
2459
+ *
2460
+ * Each returned file carries a short-lived signed download URL that bypasses auth and expires after a brief window.
2461
+ */
2462
+ listOutputFiles<ThrowOnError extends boolean = false>(parameters: {
2463
+ problemRunId: string;
2464
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdFilesResponses, GetV1ProblemRunsByProblemRunIdFilesErrors, ThrowOnError, "data">;
2465
+ /**
2466
+ * Get transcript content as plain text
2467
+ *
2468
+ * Returns the persisted transcript stored when the run completed. In-flight runs do not yet have a persisted transcript.
2469
+ */
2470
+ getTranscript<ThrowOnError extends boolean = false>(parameters: {
2471
+ problemRunId: string;
2472
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdTranscriptErrors, ThrowOnError, "data">;
2473
+ /**
2474
+ * Stream the in-flight transcript for an active run
2475
+ *
2476
+ * 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.
2477
+ */
2478
+ getLiveTranscript<ThrowOnError extends boolean = false>(parameters: {
2479
+ problemRunId: string;
2480
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdTranscriptLiveResponses, GetV1ProblemRunsByProblemRunIdTranscriptLiveErrors, ThrowOnError, "data">;
2481
+ /**
2482
+ * List one directory level of a run's live output workspace
2483
+ *
2484
+ * 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.
2485
+ */
2486
+ listWorkspaceEntries<ThrowOnError extends boolean = false>(parameters: {
2487
+ problemRunId: string;
2488
+ path?: string;
2489
+ limit?: number;
2490
+ cursor?: string;
2491
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdWorkspaceEntriesResponses, GetV1ProblemRunsByProblemRunIdWorkspaceEntriesErrors, ThrowOnError, "data">;
2492
+ /**
2493
+ * Resolve a download URL for one live workspace file
2494
+ *
2495
+ * 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.
2496
+ */
2497
+ getWorkspaceFileDownloadUrl<ThrowOnError extends boolean = false>(parameters: {
2498
+ problemRunId: string;
2499
+ path: string;
2500
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdWorkspaceFileDownloadUrlResponses, GetV1ProblemRunsByProblemRunIdWorkspaceFileDownloadUrlErrors, ThrowOnError, "data">;
2501
+ /**
2502
+ * List problem runs for a problem
2503
+ *
2504
+ * Returns every problem-run associated with the problem, newest first, regardless of which (if any) rl-gym job produced it. Includes runs imported from Taiga (provenance="taiga", job_id=NULL). Capped at 200 rows; the truncated flag signals over-cap views.
2505
+ */
2506
+ listForProblem<ThrowOnError extends boolean = false>(parameters: {
2507
+ problemId: string;
2508
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdProblemRunsResponses, GetV1ProblemsByProblemIdProblemRunsErrors, ThrowOnError, "data">;
2509
+ }
2510
+ export declare class RubricScores extends HeyApiClient {
2511
+ /**
2512
+ * List rubric scores across all problem runs in a job
2513
+ *
2514
+ * 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.
2515
+ *
2516
+ * @deprecated
2517
+ */
2518
+ listForJob<ThrowOnError extends boolean = false>(parameters: {
2519
+ jobId: string;
2520
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1JobsByJobIdRubricScoresResponses, GetV1JobsByJobIdRubricScoresErrors, ThrowOnError, "data">;
2521
+ /**
2522
+ * List rubric scores for a problem run
2523
+ */
2524
+ listForProblemRun<ThrowOnError extends boolean = false>(parameters: {
2525
+ problemRunId: string;
2526
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdRubricScoresResponses, GetV1ProblemRunsByProblemRunIdRubricScoresErrors, ThrowOnError, "data">;
2527
+ /**
2528
+ * Get rubric score grading transcript as plain text
2529
+ */
2530
+ getTranscript<ThrowOnError extends boolean = false>(parameters: {
2531
+ problemRunId: string;
2532
+ rubricScoreId: string;
2533
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdRubricScoresByRubricScoreIdTranscriptErrors, ThrowOnError, "data">;
2534
+ }
2535
+ export declare class Marketplace extends HeyApiClient {
2536
+ /**
2537
+ * List marketplace images
2538
+ *
2539
+ * Marketplace images are shared across all organizations.
2540
+ */
2541
+ listImages<ThrowOnError extends boolean = false>(parameters?: {
2542
+ search?: string;
2543
+ limit?: number;
2544
+ offset?: number;
2545
+ sort?: 'recent' | 'name' | 'tags';
2546
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1MarketplaceImagesResponses, GetV1MarketplaceImagesErrors, ThrowOnError, "data">;
2547
+ /**
2548
+ * Get a single marketplace image by ID
2549
+ */
2550
+ getImage<ThrowOnError extends boolean = false>(parameters: {
2551
+ marketplaceImageId: string;
2552
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1MarketplaceImagesByMarketplaceImageIdResponses, GetV1MarketplaceImagesByMarketplaceImageIdErrors, ThrowOnError, "data">;
2553
+ }
2554
+ export declare class Me extends HeyApiClient {
2555
+ /**
2556
+ * Returns the internal user ID of the current user
2557
+ */
2558
+ getIdentity<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1MeIdentityResponses, GetV1MeIdentityErrors, ThrowOnError, "data">;
2559
+ /**
2560
+ * Returns the permissions of the current user
2561
+ *
2562
+ * Discovery endpoint that intentionally requires no permission of its own. Service-to-service callers, which carry no user identity, receive an empty array.
2563
+ */
2564
+ getPermissions<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1MePermissionsResponses, GetV1MePermissionsErrors, ThrowOnError, "data">;
2565
+ }
2566
+ export declare class Models extends HeyApiClient {
2567
+ /**
2568
+ * List available built-in models
2569
+ */
2570
+ list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ModelsResponses, GetV1ModelsErrors, ThrowOnError, "data">;
2571
+ }
2572
+ export declare class CheckFixCycles extends HeyApiClient {
2573
+ /**
2574
+ * Start an autofix cycle: check a fork PR each wave and spawn a fix attempt on red
2575
+ *
2576
+ * Enqueues an asynchronous job; the response returns immediately with the cycle id — poll the job resource to observe progress.
2577
+ */
2578
+ create<ThrowOnError extends boolean = false>(parameters: {
2579
+ organizationId: string;
2580
+ body: CreateCheckFixCycleDto;
2581
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdCheckFixCyclesResponses, PostV1OrganizationsByOrganizationIdCheckFixCyclesErrors, ThrowOnError, "data">;
2582
+ /**
2583
+ * Read a check_fix_cycle job scoped to an organization
2584
+ */
2585
+ get<ThrowOnError extends boolean = false>(parameters: {
2586
+ organizationId: string;
2587
+ jobV2Id: string;
2588
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdCheckFixCyclesByJobV2IdResponses, GetV1OrganizationsByOrganizationIdCheckFixCyclesByJobV2IdErrors, ThrowOnError, "data">;
2589
+ }
2590
+ export declare class GitRepoClaims extends HeyApiClient {
2591
+ /**
2592
+ * Claim a per-Aligner Forgejo repo + push token for a coding task problem
2593
+ */
2594
+ create<ThrowOnError extends boolean = false>(parameters: {
2595
+ organizationId: string;
2596
+ body: CreateGitRepoClaimDto;
2597
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdGitRepoClaimsResponses, PostV1OrganizationsByOrganizationIdGitRepoClaimsErrors, ThrowOnError, "data">;
2598
+ }
2599
+ export declare class RolloutBatches extends HeyApiClient {
2600
+ /**
2601
+ * Run an M×N matrix of agents over a dataset via agent-service
2602
+ *
2603
+ * 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.
2604
+ */
2605
+ create<ThrowOnError extends boolean = false>(parameters: {
2606
+ organizationId: string;
2607
+ body: CreateRolloutBatchDto;
2608
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdRolloutBatchesResponses, PostV1OrganizationsByOrganizationIdRolloutBatchesErrors, ThrowOnError, "data">;
2609
+ /**
2610
+ * Read a rollout_batch job scoped to an organization
2611
+ */
2612
+ get<ThrowOnError extends boolean = false>(parameters: {
2613
+ organizationId: string;
2614
+ jobV2Id: string;
2615
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResponses, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdErrors, ThrowOnError, "data">;
2616
+ /**
2617
+ * Read the raw per-rollout results of a rollout_batch job
2618
+ *
2619
+ * 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.
2620
+ */
2621
+ getResults<ThrowOnError extends boolean = false>(parameters: {
2622
+ organizationId: string;
2623
+ jobV2Id: string;
2624
+ limit?: number;
2625
+ cursor?: string;
2626
+ sortBy?: string;
2627
+ sortDirection?: 'asc' | 'desc';
2628
+ search?: string;
2629
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResultsResponses, GetV1OrganizationsByOrganizationIdRolloutBatchesByJobV2IdResultsErrors, ThrowOnError, "data">;
2630
+ }
2631
+ export declare class RunConfigRuns extends HeyApiClient {
2632
+ /**
2633
+ * Run a locked run-config version to terminal via agent-service
2634
+ *
2635
+ * Enqueues an asynchronous jobs_v2 row; the response returns immediately with the run id — poll the job resource to observe progress.
2636
+ */
2637
+ create<ThrowOnError extends boolean = false>(parameters: {
2638
+ organizationId: string;
2639
+ body: CreateRunConfigRunDto;
2640
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdRunConfigRunsResponses, PostV1OrganizationsByOrganizationIdRunConfigRunsErrors, ThrowOnError, "data">;
2641
+ /**
2642
+ * Read a run_config_run job scoped to an organization
2643
+ */
2644
+ get<ThrowOnError extends boolean = false>(parameters: {
2645
+ organizationId: string;
2646
+ jobV2Id: string;
2647
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdResponses, GetV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdErrors, ThrowOnError, "data">;
2648
+ /**
2649
+ * Cancel a run_config_run job scoped to an organization
2650
+ */
2651
+ cancel<ThrowOnError extends boolean = false>(parameters: {
2652
+ organizationId: string;
2653
+ jobV2Id: string;
2654
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdCancelResponses, PostV1OrganizationsByOrganizationIdRunConfigRunsByJobV2IdCancelErrors, ThrowOnError, "data">;
2655
+ }
2656
+ export declare class AgentSkills extends HeyApiClient {
2657
+ /**
2658
+ * List org skills plus platform skills
2659
+ */
2660
+ list<ThrowOnError extends boolean = false>(parameters: {
2661
+ organizationId: string;
2662
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdSkillsResponses, GetV1OrganizationsByOrganizationIdSkillsErrors, ThrowOnError, "data">;
2663
+ /**
2664
+ * Create an org skill (or a platform skill when platform=true)
2665
+ *
2666
+ * 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.
2667
+ */
2668
+ create<ThrowOnError extends boolean = false>(parameters: {
2669
+ organizationId: string;
2670
+ body: CreateAgentSkillDto;
2671
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdSkillsResponses, PostV1OrganizationsByOrganizationIdSkillsErrors, ThrowOnError, "data">;
2672
+ /**
2673
+ * Upload a skill SKILL.md bundle via the API (no browser→GCS PUT)
2674
+ *
2675
+ * 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.
2676
+ */
2677
+ uploadBundle<ThrowOnError extends boolean = false>(parameters: {
2678
+ organizationId: string;
2679
+ file: Blob | File;
2680
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdSkillsUploadResponses, PostV1OrganizationsByOrganizationIdSkillsUploadErrors, ThrowOnError, "data">;
2681
+ /**
2682
+ * Soft-delete a skill
2683
+ *
2684
+ * 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.
2685
+ */
2686
+ delete<ThrowOnError extends boolean = false>(parameters: {
2687
+ organizationId: string;
2688
+ skillId: string;
2689
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, DeleteV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, ThrowOnError, "data">;
2690
+ /**
2691
+ * Get a skill with a signed URL for its SKILL.md bundle
2692
+ *
2693
+ * 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.
2694
+ */
2695
+ get<ThrowOnError extends boolean = false>(parameters: {
2696
+ organizationId: string;
2697
+ skillId: string;
2698
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, GetV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, ThrowOnError, "data">;
2699
+ /**
2700
+ * Update a skill (name, description, and/or replace the bundle)
2701
+ *
2702
+ * 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.
2703
+ */
2704
+ update<ThrowOnError extends boolean = false>(parameters: {
2705
+ organizationId: string;
2706
+ skillId: string;
2707
+ body: UpdateAgentSkillDto;
2708
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1OrganizationsByOrganizationIdSkillsBySkillIdResponses, PatchV1OrganizationsByOrganizationIdSkillsBySkillIdErrors, ThrowOnError, "data">;
2709
+ /**
2710
+ * Get a skill’s SKILL.md body as plain text
2711
+ *
2712
+ * 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).
2713
+ */
2714
+ getContent<ThrowOnError extends boolean = false>(parameters: {
2715
+ organizationId: string;
2716
+ skillId: string;
2717
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdSkillsBySkillIdContentResponses, GetV1OrganizationsByOrganizationIdSkillsBySkillIdContentErrors, ThrowOnError, "data">;
2718
+ }
2719
+ export declare class TuningRuns extends HeyApiClient {
2720
+ /**
2721
+ * Start a tuning session: train a run-config, evaluate checkpoints on a cadence
2722
+ *
2723
+ * Enqueues an asynchronous jobs_v2 row; the response returns immediately with the run id — poll the job resource to observe progress.
2724
+ */
2725
+ create<ThrowOnError extends boolean = false>(parameters: {
2726
+ organizationId: string;
2727
+ body: CreateTuningRunDto;
2728
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1OrganizationsByOrganizationIdTuningRunsResponses, PostV1OrganizationsByOrganizationIdTuningRunsErrors, ThrowOnError, "data">;
2729
+ /**
2730
+ * Get the platform-trainer container JSON Schema contract bundle
2731
+ *
2732
+ * The response is identical for every organization -- this is a platform-version artifact, not organization-specific data.
2733
+ */
2734
+ getTrainingContract<ThrowOnError extends boolean = false>(parameters: {
2735
+ organizationId: string;
2736
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdTuningRunsTrainingContractResponses, GetV1OrganizationsByOrganizationIdTuningRunsTrainingContractErrors, ThrowOnError, "data">;
2737
+ /**
2738
+ * Read a tuning_run job scoped to an organization
2739
+ */
2740
+ get<ThrowOnError extends boolean = false>(parameters: {
2741
+ organizationId: string;
2742
+ jobV2Id: string;
2743
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1OrganizationsByOrganizationIdTuningRunsByJobV2IdResponses, GetV1OrganizationsByOrganizationIdTuningRunsByJobV2IdErrors, ThrowOnError, "data">;
2744
+ }
2745
+ export declare class GradingRuns extends HeyApiClient {
2746
+ /**
2747
+ * List grading sub-runs for a problem run
2748
+ */
2749
+ listForProblemRun<ThrowOnError extends boolean = false>(parameters: {
2750
+ problemRunId: string;
2751
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdGradingRunsResponses, GetV1ProblemRunsByProblemRunIdGradingRunsErrors, ThrowOnError, "data">;
2752
+ /**
2753
+ * Get grading run transcript as plain text
2754
+ *
2755
+ * Transcript persistence is best-effort, so a completed sub-run may not have one available.
2756
+ */
2757
+ getTranscript<ThrowOnError extends boolean = false>(parameters: {
2758
+ problemRunId: string;
2759
+ gradingRunId: string;
2760
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptResponses, GetV1ProblemRunsByProblemRunIdGradingRunsByGradingRunIdTranscriptErrors, ThrowOnError, "data">;
2761
+ }
2762
+ export declare class FormAnswers extends HeyApiClient {
2763
+ /**
2764
+ * List answers for a problem version
2765
+ */
2766
+ listForVersion<ThrowOnError extends boolean = false>(parameters: {
2767
+ problemVersionId: string;
2768
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemVersionsByProblemVersionIdFormAnswersResponses, GetV1ProblemVersionsByProblemVersionIdFormAnswersErrors, ThrowOnError, "data">;
2769
+ /**
2770
+ * Upsert answers for a problem version
2771
+ *
2772
+ * Idempotent: repeated calls overwrite the caller's previous answers in place. The form version must be published and the problem version must be unlocked.
2773
+ */
2774
+ upsertForVersion<ThrowOnError extends boolean = false>(parameters: {
2775
+ problemVersionId: string;
2776
+ body: UpsertFormAnswerBodyDto;
2777
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1ProblemVersionsByProblemVersionIdFormAnswersResponses, PutV1ProblemVersionsByProblemVersionIdFormAnswersErrors, ThrowOnError, "data">;
2778
+ }
2779
+ export declare class ProblemVersions extends HeyApiClient {
2780
+ /**
2781
+ * List versions for a problem
2782
+ */
2783
+ listForProblem<ThrowOnError extends boolean = false>(parameters: {
2784
+ problemId: string;
2785
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1ProblemsByProblemIdVersionsResponses, GetV1ProblemsByProblemIdVersionsErrors, ThrowOnError, "data">;
2786
+ /**
2787
+ * Create a new version for a problem
2788
+ *
2789
+ * Creates a new draft version, optionally copying content from an existing source version on the same problem. Rejected on template problems.
2790
+ */
2791
+ create<ThrowOnError extends boolean = false>(parameters: {
2792
+ problemId: string;
2793
+ body: CreateProblemVersionDto;
2794
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1ProblemsByProblemIdVersionsResponses, PostV1ProblemsByProblemIdVersionsErrors, ThrowOnError, "data">;
2795
+ /**
2796
+ * Soft-delete a problem version
2797
+ *
2798
+ * 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.
2799
+ */
2800
+ delete<ThrowOnError extends boolean = false>(parameters: {
2801
+ problemVersionId: string;
2802
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1VersionsByProblemVersionIdResponses, DeleteV1VersionsByProblemVersionIdErrors, ThrowOnError, "data">;
2803
+ /**
2804
+ * Get a single problem version
2805
+ */
2806
+ get<ThrowOnError extends boolean = false>(parameters: {
2807
+ problemVersionId: string;
2808
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdResponses, GetV1VersionsByProblemVersionIdErrors, ThrowOnError, "data">;
2809
+ /**
2810
+ * Update a problem version
2811
+ *
2812
+ * Patches editable fields on a draft version. Locked versions reject all edits. Rejected on template problems.
2813
+ */
2814
+ update<ThrowOnError extends boolean = false>(parameters: {
2815
+ problemVersionId: string;
2816
+ body: UpdateProblemVersionDto;
2817
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1VersionsByProblemVersionIdResponses, PatchV1VersionsByProblemVersionIdErrors, ThrowOnError, "data">;
2818
+ /**
2819
+ * Get the status of an AI operation
2820
+ *
2821
+ * 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.
2822
+ */
2823
+ getAiOperation<ThrowOnError extends boolean = false>(parameters: {
2824
+ problemVersionId: string;
2825
+ aiOperationId: string;
2826
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdAiOperationsByAiOperationIdResponses, GetV1VersionsByProblemVersionIdAiOperationsByAiOperationIdErrors, ThrowOnError, "data">;
2827
+ /**
2828
+ * Lock a problem version to enable running
2829
+ *
2830
+ * 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.
2831
+ */
2832
+ lock<ThrowOnError extends boolean = false>(parameters: {
2833
+ problemVersionId: string;
2834
+ body?: LockProblemVersionDto;
2835
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1VersionsByProblemVersionIdLockResponses, PutV1VersionsByProblemVersionIdLockErrors, ThrowOnError, "data">;
2836
+ }
2837
+ export declare class ProbeRuns extends HeyApiClient {
2838
+ /**
2839
+ * Get a probe-run by id (for polling)
2840
+ */
2841
+ get<ThrowOnError extends boolean = false>(parameters: {
2842
+ runConfigProbeRunId: string;
2843
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigProbeRunsByRunConfigProbeRunIdResponses, GetV1RunConfigProbeRunsByRunConfigProbeRunIdErrors, ThrowOnError, "data">;
2844
+ /**
2845
+ * Cancel an in-flight probe-run
2846
+ *
2847
+ * Transitions an in-flight probe-run to cancelled. Idempotent for already-terminal runs. The probe-run row remains visible in version history.
2848
+ */
2849
+ cancel<ThrowOnError extends boolean = false>(parameters: {
2850
+ runConfigProbeRunId: string;
2851
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigProbeRunsByRunConfigProbeRunIdCancelResponses, PostV1RunConfigProbeRunsByRunConfigProbeRunIdCancelErrors, ThrowOnError, "data">;
2852
+ }
2853
+ export declare class RunConfigVersions extends HeyApiClient {
2854
+ /**
2855
+ * Discard a draft version
2856
+ *
2857
+ * Discards an open draft and frees the single-open-draft slot on the run config. Locked versions cannot be discarded.
2858
+ */
2859
+ discard<ThrowOnError extends boolean = false>(parameters: {
2860
+ runConfigVersionId: string;
2861
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1RunConfigVersionsByRunConfigVersionIdResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdErrors, ThrowOnError, "data">;
2862
+ /**
2863
+ * Get a run config version by id
2864
+ */
2865
+ get<ThrowOnError extends boolean = false>(parameters: {
2866
+ runConfigVersionId: string;
2867
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigVersionsByRunConfigVersionIdResponses, GetV1RunConfigVersionsByRunConfigVersionIdErrors, ThrowOnError, "data">;
2868
+ /**
2869
+ * Update a draft version (config / probe / notes)
2870
+ *
2871
+ * 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.
2872
+ */
2873
+ update<ThrowOnError extends boolean = false>(parameters: {
2874
+ runConfigVersionId: string;
2875
+ body: UpdateRunConfigVersionDto;
2876
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1RunConfigVersionsByRunConfigVersionIdResponses, PatchV1RunConfigVersionsByRunConfigVersionIdErrors, ThrowOnError, "data">;
2877
+ /**
2878
+ * Clear the default pin if this version is the current default at its scope
2879
+ *
2880
+ * 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.
2881
+ */
2882
+ clearDefault<ThrowOnError extends boolean = false>(parameters: {
2883
+ runConfigVersionId: string;
2884
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1RunConfigVersionsByRunConfigVersionIdDefaultResponses, DeleteV1RunConfigVersionsByRunConfigVersionIdDefaultErrors, ThrowOnError, "data">;
2885
+ /**
2886
+ * Set a locked run-config version as the role-agnostic default at its run-config scope
2887
+ *
2888
+ * 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.
2889
+ */
2890
+ setDefault<ThrowOnError extends boolean = false>(parameters: {
2891
+ runConfigVersionId: string;
2892
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PutV1RunConfigVersionsByRunConfigVersionIdDefaultResponses, PutV1RunConfigVersionsByRunConfigVersionIdDefaultErrors, ThrowOnError, "data">;
2893
+ /**
2894
+ * Populate the MCP tool catalogue from the last probe run
2895
+ *
2896
+ * 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.
2897
+ */
2898
+ discoverMcpTools<ThrowOnError extends boolean = false>(parameters: {
2899
+ runConfigVersionId: string;
2900
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigVersionsByRunConfigVersionIdDiscoverMcpToolsResponses, PostV1RunConfigVersionsByRunConfigVersionIdDiscoverMcpToolsErrors, ThrowOnError, "data">;
2901
+ /**
2902
+ * Lock a draft; locked versions are immutable
2903
+ *
2904
+ * 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.
2905
+ */
2906
+ lock<ThrowOnError extends boolean = false>(parameters: {
2907
+ runConfigVersionId: string;
2908
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigVersionsByRunConfigVersionIdLockResponses, PostV1RunConfigVersionsByRunConfigVersionIdLockErrors, ThrowOnError, "data">;
2909
+ /**
2910
+ * Submit a probe against a draft version (async)
2911
+ *
2912
+ * 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.
2913
+ */
2914
+ probe<ThrowOnError extends boolean = false>(parameters: {
2915
+ runConfigVersionId: string;
2916
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1RunConfigVersionsByRunConfigVersionIdProbeResponses, PostV1RunConfigVersionsByRunConfigVersionIdProbeErrors, ThrowOnError, "data">;
2917
+ /**
2918
+ * List probe-run history for a version (newest first)
2919
+ */
2920
+ listProbeRuns<ThrowOnError extends boolean = false>(parameters: {
2921
+ runConfigVersionId: string;
2922
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigVersionsByRunConfigVersionIdProbeRunsResponses, GetV1RunConfigVersionsByRunConfigVersionIdProbeRunsErrors, ThrowOnError, "data">;
2923
+ /**
2924
+ * Resolve a run-config version to its effective payload
2925
+ *
2926
+ * Returns the version with its stored config merged against harness and role defaults, yielding the effective payload that the agent service would receive.
2927
+ */
2928
+ resolve<ThrowOnError extends boolean = false>(parameters: {
2929
+ runConfigVersionId: string;
2930
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1RunConfigVersionsByRunConfigVersionIdResolveResponses, GetV1RunConfigVersionsByRunConfigVersionIdResolveErrors, ThrowOnError, "data">;
2931
+ }
2932
+ export declare class Rubrics extends HeyApiClient {
2933
+ /**
2934
+ * List rubrics for a problem version
2935
+ */
2936
+ listForVersion<ThrowOnError extends boolean = false>(parameters: {
2937
+ problemVersionId: string;
2938
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetV1VersionsByProblemVersionIdRubricsResponses, GetV1VersionsByProblemVersionIdRubricsErrors, ThrowOnError, "data">;
2939
+ /**
2940
+ * Add a rubric to a problem version
2941
+ *
2942
+ * Creates a blank rubric on the version; prompt, weights, and grader configuration must be populated via a subsequent update. Rejects template problems.
2943
+ */
2944
+ create<ThrowOnError extends boolean = false>(parameters: {
2945
+ problemVersionId: string;
2946
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostV1VersionsByProblemVersionIdRubricsResponses, PostV1VersionsByProblemVersionIdRubricsErrors, ThrowOnError, "data">;
2947
+ /**
2948
+ * Soft-delete a rubric
2949
+ *
2950
+ * Marks the rubric as deleted; existing rubric scores are retained for audit, but the rubric stops contributing to new gradings. Rejects template problems.
2951
+ */
2952
+ delete<ThrowOnError extends boolean = false>(parameters: {
2953
+ problemVersionId: string;
2954
+ rubricId: string;
2955
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteV1VersionsByProblemVersionIdRubricsByRubricIdResponses, DeleteV1VersionsByProblemVersionIdRubricsByRubricIdErrors, ThrowOnError, "data">;
2956
+ /**
2957
+ * Update a rubric
2958
+ *
2959
+ * Honors environment-level field permission overrides. Rejects template problems.
2960
+ */
2961
+ update<ThrowOnError extends boolean = false>(parameters: {
2962
+ problemVersionId: string;
2963
+ rubricId: string;
2964
+ body: UpdateRubricBodyDto;
2965
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchV1VersionsByProblemVersionIdRubricsByRubricIdResponses, PatchV1VersionsByProblemVersionIdRubricsByRubricIdErrors, ThrowOnError, "data">;
2966
+ }
2967
+ export declare class Recursion extends HeyApiClient {
2968
+ static readonly __registry: HeyApiRegistry<Recursion>;
2969
+ constructor(args?: {
2970
+ client?: Client;
2971
+ key?: string;
2972
+ });
2973
+ private _managedAgents?;
2974
+ get managedAgents(): ManagedAgents;
2975
+ private _computes?;
2976
+ get computes(): Computes;
2977
+ private _customerSecrets?;
2978
+ get customerSecrets(): CustomerSecrets;
2979
+ private _environments?;
2980
+ get environments(): Environments;
2981
+ private _problems?;
2982
+ get problems(): Problems;
2983
+ private _issues?;
2984
+ get issues(): Issues;
2985
+ private _synthesizers?;
2986
+ get synthesizers(): Synthesizers;
2987
+ private _costLimits?;
2988
+ get costLimits(): CostLimits;
2989
+ private _exports?;
2990
+ get exports(): Exports;
2991
+ private _environmentFiles?;
2992
+ get environmentFiles(): EnvironmentFiles;
2993
+ private _forms?;
2994
+ get forms(): Forms;
2995
+ private _imports?;
2996
+ get imports(): Imports;
2997
+ private _jobsV2?;
2998
+ get jobsV2(): JobsV2;
2999
+ private _qa?;
3000
+ get qa(): Qa;
3001
+ private _qaGates?;
3002
+ get qaGates(): QaGates;
3003
+ private _qaTriggers?;
3004
+ get qaTriggers(): QaTriggers;
3005
+ private _runConfigs?;
3006
+ get runConfigs(): RunConfigs;
3007
+ private _runConfigMenus?;
3008
+ get runConfigMenus(): RunConfigMenus;
3009
+ private _synthesizerRuns?;
3010
+ get synthesizerRuns(): SynthesizerRuns;
3011
+ private _evaluations?;
3012
+ get evaluations(): Evaluations;
3013
+ private _files?;
3014
+ get files(): Files;
3015
+ private _images?;
3016
+ get images(): Images;
3017
+ private _issueComments?;
3018
+ get issueComments(): IssueComments;
3019
+ private _problemRuns?;
3020
+ get problemRuns(): ProblemRuns;
3021
+ private _rubricScores?;
3022
+ get rubricScores(): RubricScores;
3023
+ private _marketplace?;
3024
+ get marketplace(): Marketplace;
3025
+ private _me?;
3026
+ get me(): Me;
3027
+ private _models?;
3028
+ get models(): Models;
3029
+ private _checkFixCycles?;
3030
+ get checkFixCycles(): CheckFixCycles;
3031
+ private _gitRepoClaims?;
3032
+ get gitRepoClaims(): GitRepoClaims;
3033
+ private _rolloutBatches?;
3034
+ get rolloutBatches(): RolloutBatches;
3035
+ private _runConfigRuns?;
3036
+ get runConfigRuns(): RunConfigRuns;
3037
+ private _agentSkills?;
3038
+ get agentSkills(): AgentSkills;
3039
+ private _tuningRuns?;
3040
+ get tuningRuns(): TuningRuns;
3041
+ private _gradingRuns?;
3042
+ get gradingRuns(): GradingRuns;
3043
+ private _formAnswers?;
3044
+ get formAnswers(): FormAnswers;
3045
+ private _problemVersions?;
3046
+ get problemVersions(): ProblemVersions;
3047
+ private _probeRuns?;
3048
+ get probeRuns(): ProbeRuns;
3049
+ private _runConfigVersions?;
3050
+ get runConfigVersions(): RunConfigVersions;
3051
+ private _rubrics?;
3052
+ get rubrics(): Rubrics;
3053
+ }
3054
+ export {};