@deepraxis/sdk 0.1.1-dev.bdcd5e6 → 0.1.1-dev.bf2443c

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 (38) hide show
  1. package/METHODS.md +1330 -198
  2. package/README.md +5 -5
  3. package/dist/automation.d.ts +61 -0
  4. package/dist/core/client.d.ts +11 -1
  5. package/dist/core/client.js +13 -0
  6. package/dist/core/credentials.d.ts +12 -3
  7. package/dist/core/credentials.js +22 -2
  8. package/dist/core/errors.d.ts +6 -0
  9. package/dist/core/errors.js +8 -0
  10. package/dist/core/transport.d.ts +10 -1
  11. package/dist/core/transport.js +13 -2
  12. package/dist/generated/index.d.ts +2 -2
  13. package/dist/generated/index.js +1 -1
  14. package/dist/generated/sdk.gen.d.ts +2670 -312
  15. package/dist/generated/sdk.gen.js +8790 -1947
  16. package/dist/generated/types.gen.d.ts +85474 -47659
  17. package/dist/helpers/application-build.d.ts +10 -0
  18. package/dist/helpers/application-build.js +98 -0
  19. package/dist/helpers/application-publish.d.ts +8 -0
  20. package/dist/helpers/application-publish.js +26 -9
  21. package/dist/helpers/browser-actions.d.ts +102 -0
  22. package/dist/helpers/browser-actions.js +146 -0
  23. package/dist/helpers/browser-connect.d.ts +109 -0
  24. package/dist/helpers/browser-connect.js +402 -0
  25. package/dist/helpers/browser-decisions.d.ts +88 -0
  26. package/dist/helpers/browser-decisions.js +137 -0
  27. package/dist/helpers/browser-documentation.d.ts +2 -0
  28. package/dist/helpers/browser-documentation.js +56 -0
  29. package/dist/helpers/file-upload.d.ts +2 -2
  30. package/dist/helpers/sandbox-templates.d.ts +121 -0
  31. package/dist/helpers/sandbox-templates.js +60 -0
  32. package/dist/index.d.ts +6 -0
  33. package/dist/index.js +3 -0
  34. package/dist/operations.generated.d.ts +36 -13349
  35. package/dist/operations.generated.js +19063 -5132
  36. package/dist/resources.generated.d.ts +1300 -262
  37. package/dist/resources.generated.js +688 -1
  38. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape } from './client/index.js';
2
- import type { AgentsArchiveData, AgentsArchiveErrors, AgentsArchiveResponses, AgentsCreateData, AgentsCreateErrors, AgentsCreateResponses, AgentsListData, AgentsListErrors, AgentsListResponses, AgentsRetrieveData, AgentsRetrieveErrors, AgentsRetrieveResponses, AgentsUpdateData, AgentsUpdateErrors, AgentsUpdateResponses, AgentsVersionsListData, AgentsVersionsListErrors, AgentsVersionsListResponses, ApplicationCreateAssetUploadSessionData, ApplicationCreateAssetUploadSessionErrors, ApplicationCreateAssetUploadSessionResponses, ApplicationCreateDeploymentData, ApplicationCreateDeploymentErrors, ApplicationCreateDeploymentResponses, ApplicationCreateGrantData, ApplicationCreateGrantErrors, ApplicationCreateGrantResponses, ApplicationCreateVersionData, ApplicationCreateVersionErrors, ApplicationCreateVersionResponses, ApplicationCreateWorkerData, ApplicationCreateWorkerErrors, ApplicationCreateWorkerResponses, ApplicationDeleteGrantData, ApplicationDeleteGrantErrors, ApplicationDeleteGrantResponses, ApplicationDeleteSecretData, ApplicationDeleteSecretErrors, ApplicationDeleteSecretResponses, ApplicationDeleteWorkerData, ApplicationDeleteWorkerErrors, ApplicationDeleteWorkerResponses, ApplicationGetDeploymentData, ApplicationGetDeploymentErrors, ApplicationGetDeploymentResponses, ApplicationGetSubdomainData, ApplicationGetSubdomainErrors, ApplicationGetSubdomainResponses, ApplicationGetVersionAssetManifestData, ApplicationGetVersionAssetManifestErrors, ApplicationGetVersionAssetManifestResponses, ApplicationGetVersionData, ApplicationGetVersionErrors, ApplicationGetVersionResponses, ApplicationGetWorkerData, ApplicationGetWorkerErrors, ApplicationGetWorkerResponses, ApplicationListComponentsData, ApplicationListComponentsErrors, ApplicationListComponentsResponses, ApplicationListDeploymentsData, ApplicationListDeploymentsErrors, ApplicationListDeploymentsResponses, ApplicationListEventsData, ApplicationListEventsErrors, ApplicationListEventsResponses, ApplicationListGrantsData, ApplicationListGrantsErrors, ApplicationListGrantsResponses, ApplicationListSecretsData, ApplicationListSecretsErrors, ApplicationListSecretsResponses, ApplicationListVersionsData, ApplicationListVersionsErrors, ApplicationListVersionsResponses, ApplicationListWorkersData, ApplicationListWorkersErrors, ApplicationListWorkersResponses, ApplicationPutSecretData, ApplicationPutSecretErrors, ApplicationPutSecretResponses, ApplicationPutSubdomainData, ApplicationPutSubdomainErrors, ApplicationPutSubdomainResponses, ApplicationRestoreWorkerData, ApplicationRestoreWorkerErrors, ApplicationRestoreWorkerResponses, ApplicationUpdateWorkerData, ApplicationUpdateWorkerErrors, ApplicationUpdateWorkerResponses, ApplicationUploadAssetsData, ApplicationUploadAssetsErrors, ApplicationUploadAssetsResponses, ApplyAgentVersionData, ApplyAgentVersionErrors, ApplyAgentVersionResponses, AutomationActionsArchiveData, AutomationActionsArchiveErrors, AutomationActionsArchiveResponses, AutomationActionsCreateData, AutomationActionsCreateErrors, AutomationActionsCreateResponses, AutomationActionsDependentsData, AutomationActionsDependentsErrors, AutomationActionsDependentsResponses, AutomationActionsGetData, AutomationActionsGetErrors, AutomationActionsGetResponses, AutomationActionsInvocationsData, AutomationActionsInvocationsErrors, AutomationActionsInvocationsResponses, AutomationActionsListData, AutomationActionsListErrors, AutomationActionsListResponses, AutomationActionsRestoreData, AutomationActionsRestoreErrors, AutomationActionsRestoreResponses, AutomationActionsRevisionData, AutomationActionsRevisionErrors, AutomationActionsRevisionResponses, AutomationActionsRevisionsData, AutomationActionsRevisionsErrors, AutomationActionsRevisionsResponses, AutomationActionsRollbackData, AutomationActionsRollbackErrors, AutomationActionsRollbackResponses, AutomationActionsUpdateData, AutomationActionsUpdateErrors, AutomationActionsUpdateResponses, AutomationHooksReceiveData, AutomationHooksReceiveErrors, AutomationHooksReceiveResponses, AutomationResolveResolveData, AutomationResolveResolveErrors, AutomationResolveResolveResponses, AutomationRunsArtifactsData, AutomationRunsArtifactsErrors, AutomationRunsArtifactsResponses, AutomationRunsCallsData, AutomationRunsCallsErrors, AutomationRunsCallsResponses, AutomationRunsCancelData, AutomationRunsCancelErrors, AutomationRunsCancelResponses, AutomationRunsCompleteWaitData, AutomationRunsCompleteWaitErrors, AutomationRunsCompleteWaitResponses, AutomationRunsCreateData, AutomationRunsCreateErrors, AutomationRunsCreateResponses, AutomationRunsEventsData, AutomationRunsEventsErrors, AutomationRunsEventsResponses, AutomationRunsGetData, AutomationRunsGetErrors, AutomationRunsGetResponses, AutomationRunsListData, AutomationRunsListErrors, AutomationRunsListResponses, AutomationRunsLogsData, AutomationRunsLogsErrors, AutomationRunsLogsResponses, AutomationRunsRerunData, AutomationRunsRerunErrors, AutomationRunsRerunResponses, AutomationRunsResumeData, AutomationRunsResumeErrors, AutomationRunsResumeResponses, AutomationRunsSourceData, AutomationRunsSourceErrors, AutomationRunsSourceResponses, AutomationRunsSuspendData, AutomationRunsSuspendErrors, AutomationRunsSuspendResponses, AutomationRunsTasksData, AutomationRunsTasksErrors, AutomationRunsTasksResponses, AutomationRunsWaitsData, AutomationRunsWaitsErrors, AutomationRunsWaitsResponses, AutomationScriptsArchiveData, AutomationScriptsArchiveErrors, AutomationScriptsArchiveResponses, AutomationScriptsCreateData, AutomationScriptsCreateErrors, AutomationScriptsCreateResponses, AutomationScriptsDeleteDistTagData, AutomationScriptsDeleteDistTagErrors, AutomationScriptsDeleteDistTagResponses, AutomationScriptsDeprecateData, AutomationScriptsDeprecateErrors, AutomationScriptsDeprecateResponses, AutomationScriptsDistTagsData, AutomationScriptsDistTagsErrors, AutomationScriptsDistTagsResponses, AutomationScriptsGetData, AutomationScriptsGetErrors, AutomationScriptsGetResponses, AutomationScriptsListData, AutomationScriptsListErrors, AutomationScriptsListResponses, AutomationScriptsPatchData, AutomationScriptsPatchErrors, AutomationScriptsPatchResponses, AutomationScriptsPublishData, AutomationScriptsPublishErrors, AutomationScriptsPublishResponses, AutomationScriptsRestoreData, AutomationScriptsRestoreErrors, AutomationScriptsRestoreResponses, AutomationScriptsSetDistTagData, AutomationScriptsSetDistTagErrors, AutomationScriptsSetDistTagResponses, AutomationScriptsVersionData, AutomationScriptsVersionErrors, AutomationScriptsVersionResponses, AutomationScriptsVersionsData, AutomationScriptsVersionsErrors, AutomationScriptsVersionsResponses, AutomationTargetsTargetsData, AutomationTargetsTargetsErrors, AutomationTargetsTargetsResponses, AutomationTriggersCreateData, AutomationTriggersCreateErrors, AutomationTriggersCreateResponses, AutomationTriggersDeleteData, AutomationTriggersDeleteErrors, AutomationTriggersDeleteResponses, AutomationTriggersFireData, AutomationTriggersFireErrors, AutomationTriggersFireResponses, AutomationTriggersFiringsData, AutomationTriggersFiringsErrors, AutomationTriggersFiringsResponses, AutomationTriggersGetData, AutomationTriggersGetErrors, AutomationTriggersGetResponses, AutomationTriggersListData, AutomationTriggersListErrors, AutomationTriggersListResponses, AutomationTriggersPatchData, AutomationTriggersPatchErrors, AutomationTriggersPatchResponses, AutomationTriggersPauseData, AutomationTriggersPauseErrors, AutomationTriggersPauseResponses, AutomationTriggersPreviewData, AutomationTriggersPreviewErrors, AutomationTriggersPreviewResponses, AutomationTriggersResumeData, AutomationTriggersResumeErrors, AutomationTriggersResumeResponses, AutomationTriggersRotateWebhookData, AutomationTriggersRotateWebhookErrors, AutomationTriggersRotateWebhookResponses, AutomationValidateValidateData, AutomationValidateValidateErrors, AutomationValidateValidateResponses, AutomationWorkflowsArchiveData, AutomationWorkflowsArchiveErrors, AutomationWorkflowsArchiveResponses, AutomationWorkflowsCreateData, AutomationWorkflowsCreateErrors, AutomationWorkflowsCreateResponses, AutomationWorkflowsDeleteDistTagData, AutomationWorkflowsDeleteDistTagErrors, AutomationWorkflowsDeleteDistTagResponses, AutomationWorkflowsDeprecateData, AutomationWorkflowsDeprecateErrors, AutomationWorkflowsDeprecateResponses, AutomationWorkflowsDistTagsData, AutomationWorkflowsDistTagsErrors, AutomationWorkflowsDistTagsResponses, AutomationWorkflowsGetData, AutomationWorkflowsGetErrors, AutomationWorkflowsGetResponses, AutomationWorkflowsListData, AutomationWorkflowsListErrors, AutomationWorkflowsListResponses, AutomationWorkflowsPatchData, AutomationWorkflowsPatchErrors, AutomationWorkflowsPatchResponses, AutomationWorkflowsPublishData, AutomationWorkflowsPublishErrors, AutomationWorkflowsPublishResponses, AutomationWorkflowsRestoreData, AutomationWorkflowsRestoreErrors, AutomationWorkflowsRestoreResponses, AutomationWorkflowsSetDistTagData, AutomationWorkflowsSetDistTagErrors, AutomationWorkflowsSetDistTagResponses, AutomationWorkflowsVersionData, AutomationWorkflowsVersionErrors, AutomationWorkflowsVersionResponses, AutomationWorkflowsVersionsData, AutomationWorkflowsVersionsErrors, AutomationWorkflowsVersionsResponses, BlockCustomerData, BlockCustomerErrors, BlockCustomerResponses, BrowserCloseSessionData, BrowserCloseSessionErrors, BrowserCloseSessionResponses, BrowserCompleteHandoffData, BrowserCompleteHandoffErrors, BrowserCompleteHandoffResponses, BrowserConnectData, BrowserConnectErrors, BrowserCreateContextData, BrowserCreateContextErrors, BrowserCreateContextResponses, BrowserCreateSessionData, BrowserCreateSessionErrors, BrowserCreateSessionResponses, BrowserDeleteContextData, BrowserDeleteContextErrors, BrowserDeleteContextResponses, BrowserGetContextData, BrowserGetContextErrors, BrowserGetContextResponses, BrowserGetDebugData, BrowserGetDebugErrors, BrowserGetDebugResponses, BrowserGetSessionData, BrowserGetSessionErrors, BrowserGetSessionResponses, BrowserListContextsData, BrowserListContextsErrors, BrowserListContextsResponses, BrowserListEventsData, BrowserListEventsErrors, BrowserListEventsResponses, BrowserListSessionsData, BrowserListSessionsErrors, BrowserListSessionsResponses, BrowserLiveViewData, BrowserLiveViewErrors, BrowserRequestHandoffData, BrowserRequestHandoffErrors, BrowserRequestHandoffResponses, BrowserSeleniumUnsupportedData, BrowserSeleniumUnsupportedErrors, BrowserStreamSessionData, BrowserStreamSessionResponse, BrowserStreamSessionResponses, BrowserUpdateContextData, BrowserUpdateContextErrors, BrowserUpdateContextResponses, BrowserViewerHeartbeatData, BrowserViewerHeartbeatErrors, BrowserViewerHeartbeatResponses, CancelResponseData, CancelResponseErrors, CancelResponseResponses, CompactResponseData, CompactResponseErrors, CompactResponseResponses, CompactSessionData, CompactSessionErrors, CompactSessionResponses, ComputersArchiveData, ComputersArchiveErrors, ComputersArchiveResponses, ComputersAttachmentsCreateData, ComputersAttachmentsCreateErrors, ComputersAttachmentsCreateResponses, ComputersCreateData, ComputersCreateErrors, ComputersCreateResponses, ComputersDeleteData, ComputersDeleteErrors, ComputersDeleteResponses, ComputersFilesContentData, ComputersFilesContentErrors, ComputersFilesContentResponses, ComputersFilesListData, ComputersFilesListErrors, ComputersFilesListResponses, ComputersListData, ComputersListErrors, ComputersListResponses, ComputersRetrieveData, ComputersRetrieveErrors, ComputersRetrieveResponses, ComputersUpdateData, ComputersUpdateErrors, ComputersUpdateResponses, ConnectComputerData, ConnectComputerErrors, ConnectComputerResponses, CountResponseInputTokensData, CountResponseInputTokensErrors, CountResponseInputTokensResponses, CountTokensData, CountTokensErrors, CountTokensResponses, CreateAudioSpeechData, CreateAudioSpeechErrors, CreateAudioSpeechResponses, CreateAudioTranscriptionData, CreateAudioTranscriptionErrors, CreateAudioTranscriptionResponses, CreateChatCompletionData, CreateChatCompletionErrors, CreateChatCompletionResponses, CreateConversationData, CreateConversationItemsData, CreateConversationItemsErrors, CreateConversationItemsResponses, CreateConversationResponses, CreateCustomerAccessTokenData, CreateCustomerAccessTokenErrors, CreateCustomerAccessTokenResponses, CreateCustomerGrantCodeData, CreateCustomerGrantCodeErrors, CreateCustomerGrantCodeResponses, CreateEmbeddingData, CreateEmbeddingErrors, CreateEmbeddingResponses, CreateImageData, CreateImageErrors, CreateImageResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOcrData, CreateOcrErrors, CreateOcrResponses, CreateOrganizationFeedbackData, CreateOrganizationFeedbackErrors, CreateOrganizationFeedbackMessageData, CreateOrganizationFeedbackMessageErrors, CreateOrganizationFeedbackMessageResponses, CreateOrganizationFeedbackResponses, CreateResponseData, CreateResponseErrors, CreateResponseResponses, CreateVideoData, CreateVideoErrors, CreateVideoResponses, DatabaseAddFieldData, DatabaseAddFieldErrors, DatabaseAddFieldResponses, DatabaseCreateDatabaseData, DatabaseCreateDatabaseErrors, DatabaseCreateDatabaseResponses, DatabaseCreateTableData, DatabaseCreateTableErrors, DatabaseCreateTableResponses, DatabaseDeleteData, DatabaseDeleteDatabaseData, DatabaseDeleteDatabaseErrors, DatabaseDeleteDatabaseResponses, DatabaseDeleteErrors, DatabaseDeleteFieldData, DatabaseDeleteFieldErrors, DatabaseDeleteFieldResponses, DatabaseDeleteResponses, DatabaseDeleteTableData, DatabaseDeleteTableErrors, DatabaseDeleteTableResponses, DatabaseGetDatabaseData, DatabaseGetDatabaseErrors, DatabaseGetDatabaseResponses, DatabaseGetTableData, DatabaseGetTableErrors, DatabaseGetTableResponses, DatabaseHeadData, DatabaseHeadErrors, DatabaseHeadResponses, DatabaseInsertData, DatabaseInsertErrors, DatabaseInsertResponses, DatabaseListDatabasesData, DatabaseListDatabasesErrors, DatabaseListDatabasesResponses, DatabaseListEventsData, DatabaseListEventsErrors, DatabaseListEventsResponses, DatabaseListTablesData, DatabaseListTablesErrors, DatabaseListTablesResponses, DatabasePurgeDatabaseData, DatabasePurgeDatabaseErrors, DatabasePurgeDatabaseResponses, DatabaseRestoreDatabaseData, DatabaseRestoreDatabaseErrors, DatabaseRestoreDatabaseResponses, DatabaseSelectData, DatabaseSelectErrors, DatabaseSelectResponses, DatabaseUpdateData, DatabaseUpdateDatabaseData, DatabaseUpdateDatabaseErrors, DatabaseUpdateDatabaseResponses, DatabaseUpdateErrors, DatabaseUpdateFieldData, DatabaseUpdateFieldErrors, DatabaseUpdateFieldResponses, DatabaseUpdateResponses, DatabaseUpdateTableData, DatabaseUpdateTableErrors, DatabaseUpdateTableResponses, DeleteConversationData, DeleteConversationErrors, DeleteConversationItemData, DeleteConversationItemErrors, DeleteConversationItemResponses, DeleteConversationResponses, DeleteCurrentCustomerAccessTokenData, DeleteCurrentCustomerAccessTokenErrors, DeleteCurrentCustomerAccessTokenResponses, DeleteCustomerData, DeleteCustomerErrors, DeleteCustomerResponses, DeleteResponseData, DeleteResponseResponses, DeleteRunFeedbackData, DeleteRunFeedbackErrors, DeleteRunFeedbackResponses, DeleteSandboxV1SandboxesBySandboxIdData, DeleteSandboxV1SandboxesBySandboxIdErrors, DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SnapshotsBySnapshotIdData, DeleteSandboxV1SnapshotsBySnapshotIdErrors, DeleteSandboxV1SnapshotsBySnapshotIdResponses, DeleteSandboxV1VolumesByVolumeIdData, DeleteSandboxV1VolumesByVolumeIdErrors, DeleteSandboxV1VolumesByVolumeIdResponses, DeleteVideoData, DeleteVideoErrors, DeleteVideoResponses, DeploymentRunsListData, DeploymentRunsListErrors, DeploymentRunsListResponses, DeploymentRunsRetrieveData, DeploymentRunsRetrieveErrors, DeploymentRunsRetrieveResponses, DeploymentsArchiveData, DeploymentsArchiveErrors, DeploymentsArchiveResponses, DeploymentsCreateData, DeploymentsCreateErrors, DeploymentsCreateResponses, DeploymentsListData, DeploymentsListErrors, DeploymentsListResponses, DeploymentsPauseData, DeploymentsPauseErrors, DeploymentsPauseResponses, DeploymentsRetrieveData, DeploymentsRetrieveErrors, DeploymentsRetrieveResponses, DeploymentsRunData, DeploymentsRunErrors, DeploymentsRunResponses, DeploymentsUnpauseData, DeploymentsUnpauseErrors, DeploymentsUnpauseResponses, DeploymentsUpdateData, DeploymentsUpdateErrors, DeploymentsUpdateResponses, DownloadVideoContentData, DownloadVideoContentErrors, DownloadVideoContentResponses, EditImageData, EditImageErrors, EditImageResponses, EnvironmentsArchiveData, EnvironmentsArchiveErrors, EnvironmentsArchiveResponses, EnvironmentsCreateData, EnvironmentsCreateErrors, EnvironmentsCreateResponses, EnvironmentsListData, EnvironmentsListErrors, EnvironmentsListResponses, EnvironmentsRetrieveData, EnvironmentsRetrieveErrors, EnvironmentsRetrieveResponses, EnvironmentsUpdateData, EnvironmentsUpdateErrors, EnvironmentsUpdateResponses, ExportOrganizationChargesData, ExportOrganizationChargesErrors, ExportOrganizationChargesResponses, ExtendSandboxData, ExtendSandboxErrors, ExtendSandboxResponses, FileAddUploadPartData, FileAddUploadPartErrors, FileAddUploadPartResponses, FileCancelUploadData, FileCancelUploadErrors, FileCancelUploadResponses, FileCompleteUploadData, FileCompleteUploadErrors, FileCompleteUploadResponses, FileCreateFileData, FileCreateFileErrors, FileCreateFileResponses, FileCreateUploadData, FileCreateUploadErrors, FileCreateUploadResponses, FileDeleteFileData, FileDeleteFileErrors, FileDeleteFileResponses, FileListFilesData, FileListFilesErrors, FileListFilesResponses, FileRetrieveFileContentData, FileRetrieveFileContentErrors, FileRetrieveFileContentResponses, FileRetrieveFileData, FileRetrieveFileErrors, FileRetrieveFileResponses, ForkSessionData, ForkSessionErrors, ForkSessionResponses, GetAgentAppearanceData, GetAgentAppearanceErrors, GetAgentAppearanceResponses, GetCustomerData, GetCustomerDeletionData, GetCustomerDeletionErrors, GetCustomerDeletionResponses, GetCustomerErrors, GetCustomerResponses, GetGenerationData, GetGenerationErrors, GetGenerationResponses, GetObservedProcessOutputData, GetObservedProcessOutputErrors, GetObservedProcessOutputResponses, GetOrganizationEventData, GetOrganizationEventErrors, GetOrganizationEventResponses, GetOrganizationFeedbackCountsData, GetOrganizationFeedbackCountsErrors, GetOrganizationFeedbackCountsResponses, GetOrganizationFeedbackData, GetOrganizationFeedbackErrors, GetOrganizationFeedbackResponses, GetSandboxV1SandboxesBySandboxIdData, GetSandboxV1SandboxesBySandboxIdErrors, GetSandboxV1SandboxesBySandboxIdLogsData, GetSandboxV1SandboxesBySandboxIdLogsErrors, GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdMetricsData, GetSandboxV1SandboxesBySandboxIdMetricsErrors, GetSandboxV1SandboxesBySandboxIdMetricsResponses, GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesData, GetSandboxV1SandboxesErrors, GetSandboxV1SandboxesResponses, GetSandboxV1SnapshotsData, GetSandboxV1SnapshotsErrors, GetSandboxV1SnapshotsResponses, GetSandboxV1TemplatesData, GetSandboxV1TemplatesErrors, GetSandboxV1TemplatesResponses, GetSandboxV1VolumesByVolumeIdData, GetSandboxV1VolumesByVolumeIdErrors, GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesData, GetSandboxV1VolumesErrors, GetSandboxV1VolumesResponses, GetSessionBackgroundTaskOutputData, GetSessionBackgroundTaskOutputErrors, GetSessionBackgroundTaskOutputResponses, GetSessionCompactionData, GetSessionCompactionErrors, GetSessionCompactionResponses, GetSessionContextData, GetSessionContextErrors, GetSessionContextResponses, HealthCheckData, HealthCheckResponses, KnowledgeAttachFileData, KnowledgeAttachFileErrors, KnowledgeAttachFileResponses, KnowledgeCancelFileBatchData, KnowledgeCancelFileBatchErrors, KnowledgeCancelFileBatchResponses, KnowledgeCreateFileBatchData, KnowledgeCreateFileBatchErrors, KnowledgeCreateFileBatchResponses, KnowledgeCreateVectorStoreData, KnowledgeCreateVectorStoreErrors, KnowledgeCreateVectorStoreResponses, KnowledgeDeleteVectorStoreData, KnowledgeDeleteVectorStoreErrors, KnowledgeDeleteVectorStoreResponses, KnowledgeListBatchFilesData, KnowledgeListBatchFilesErrors, KnowledgeListBatchFilesResponses, KnowledgeListEventsData, KnowledgeListEventsErrors, KnowledgeListEventsResponses, KnowledgeListFilesData, KnowledgeListFilesErrors, KnowledgeListFilesResponses, KnowledgeListSegmentsData, KnowledgeListSegmentsErrors, KnowledgeListSegmentsResponses, KnowledgeListVectorStoresData, KnowledgeListVectorStoresErrors, KnowledgeListVectorStoresResponses, KnowledgePurgeVectorStoreData, KnowledgePurgeVectorStoreErrors, KnowledgePurgeVectorStoreResponses, KnowledgeRemoveFileData, KnowledgeRemoveFileErrors, KnowledgeRemoveFileResponses, KnowledgeRestoreVectorStoreData, KnowledgeRestoreVectorStoreErrors, KnowledgeRestoreVectorStoreResponses, KnowledgeRetrieveFileBatchData, KnowledgeRetrieveFileBatchErrors, KnowledgeRetrieveFileBatchResponses, KnowledgeRetrieveFileContentData, KnowledgeRetrieveFileContentErrors, KnowledgeRetrieveFileContentResponses, KnowledgeRetrieveFileData, KnowledgeRetrieveFileErrors, KnowledgeRetrieveFileResponses, KnowledgeRetrieveSegmentData, KnowledgeRetrieveSegmentErrors, KnowledgeRetrieveSegmentResponses, KnowledgeRetrieveVectorStoreData, KnowledgeRetrieveVectorStoreErrors, KnowledgeRetrieveVectorStoreResponses, KnowledgeRetryFileData, KnowledgeRetryFileErrors, KnowledgeRetryFileResponses, KnowledgeSearchVectorStoreData, KnowledgeSearchVectorStoreErrors, KnowledgeSearchVectorStoreResponses, KnowledgeUpdateFileData, KnowledgeUpdateFileErrors, KnowledgeUpdateFileResponses, KnowledgeUpdateVectorStoreData, KnowledgeUpdateVectorStoreErrors, KnowledgeUpdateVectorStoreResponses, ListConversationItemsData, ListConversationItemsErrors, ListConversationItemsResponses, ListCustomersData, ListCustomersErrors, ListCustomersResponses, ListModelsData, ListModelsErrors, ListModelsResponses, ListObservedProcessesData, ListObservedProcessesErrors, ListObservedProcessesResponses, ListOrganizationCostsData, ListOrganizationCostsErrors, ListOrganizationCostsResponses, ListOrganizationEventsData, ListOrganizationEventsErrors, ListOrganizationEventsResponses, ListOrganizationFeedbackData, ListOrganizationFeedbackErrors, ListOrganizationFeedbackMessagesData, ListOrganizationFeedbackMessagesErrors, ListOrganizationFeedbackMessagesResponses, ListOrganizationFeedbackResponses, ListOrganizationUsageData, ListOrganizationUsageErrors, ListOrganizationUsageResponses, ListResponseInputItemsData, ListResponseInputItemsResponses, ListSandboxFilesData, ListSandboxFilesErrors, ListSandboxFilesResponses, ListSessionBackgroundTasksData, ListSessionBackgroundTasksErrors, ListSessionBackgroundTasksResponses, ListSessionCompactionsData, ListSessionCompactionsErrors, ListSessionCompactionsResponses, ListToolsetsData, ListToolsetsErrors, ListToolsetsResponses, ListVideosData, ListVideosErrors, ListVideosResponses, MakeSandboxDirectoryData, MakeSandboxDirectoryErrors, MakeSandboxDirectoryResponses, MediaBatchAssetsData, MediaBatchAssetsErrors, MediaBatchAssetsResponses, MediaCreateBatchData, MediaCreateBatchErrors, MediaCreateBatchResponses, MediaCreateLibraryData, MediaCreateLibraryErrors, MediaCreateLibraryResponses, MediaDeleteAssetData, MediaDeleteAssetErrors, MediaDeleteAssetResponses, MediaDeleteLibraryData, MediaDeleteLibraryErrors, MediaDeleteLibraryResponses, MediaExpressionSearchData, MediaExpressionSearchErrors, MediaExpressionSearchResponses, MediaGetAssetData, MediaGetAssetErrors, MediaGetAssetResponses, MediaGetBatchData, MediaGetBatchErrors, MediaGetBatchResponses, MediaGetJobData, MediaGetJobErrors, MediaGetJobResponses, MediaGetLibraryData, MediaGetLibraryErrors, MediaGetLibraryResponses, MediaImportAssetData, MediaImportAssetErrors, MediaImportAssetResponses, MediaListAssetsData, MediaListAssetsErrors, MediaListAssetsResponses, MediaListEventsData, MediaListEventsErrors, MediaListEventsResponses, MediaListFoldersData, MediaListFoldersErrors, MediaListFoldersResponses, MediaListLibrariesData, MediaListLibrariesErrors, MediaListLibrariesResponses, MediaListUnderstandingsData, MediaListUnderstandingsErrors, MediaListUnderstandingsResponses, MediaPurgeLibraryData, MediaPurgeLibraryErrors, MediaPurgeLibraryResponses, MediaReprocessAssetData, MediaReprocessAssetErrors, MediaReprocessAssetResponses, MediaRestoreLibraryData, MediaRestoreLibraryErrors, MediaRestoreLibraryResponses, MediaSearchData, MediaSearchErrors, MediaSearchResponses, MediaSemanticSearchData, MediaSemanticSearchErrors, MediaSemanticSearchResponses, MediaUpdateAssetData, MediaUpdateAssetErrors, MediaUpdateAssetResponses, MediaUpdateLibraryData, MediaUpdateLibraryErrors, MediaUpdateLibraryResponses, MediaUploadAssetData, MediaUploadAssetErrors, MediaUploadAssetResponses, MediaVisualSearchData, MediaVisualSearchErrors, MediaVisualSearchResponses, MetaMethodsRetrieveData, MetaMethodsRetrieveErrors, MetaMethodsRetrieveResponses, MetaMethodsSearchData, MetaMethodsSearchErrors, MetaMethodsSearchResponses, PostSandboxV1SandboxesBySandboxIdConnectData, PostSandboxV1SandboxesBySandboxIdConnectErrors, PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdForkData, PostSandboxV1SandboxesBySandboxIdForkErrors, PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdPauseData, PostSandboxV1SandboxesBySandboxIdPauseErrors, PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsData, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdTimeoutData, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesData, PostSandboxV1SandboxesErrors, PostSandboxV1SandboxesResponses, PostSandboxV1VolumesData, PostSandboxV1VolumesErrors, PostSandboxV1VolumesResponses, PutSandboxV1SandboxesBySandboxIdNetworkData, PutSandboxV1SandboxesBySandboxIdNetworkErrors, PutSandboxV1SandboxesBySandboxIdNetworkResponses, ReadSandboxFileData, ReadSandboxFileErrors, ReadSandboxFileResponses, ReleaseComputerLeaseData, ReleaseComputerLeaseErrors, ReleaseComputerLeaseResponses, RemixVideoData, RemixVideoErrors, RemoveSandboxFileData, RemoveSandboxFileErrors, RemoveSandboxFileResponses, RenameSandboxData, RenameSandboxErrors, RenameSandboxResponses, RenewComputerLeaseData, RenewComputerLeaseErrors, RenewComputerLeaseResponses, RenewCustomerAccessTokenData, RenewCustomerAccessTokenErrors, RenewCustomerAccessTokenResponses, RerankData, RerankErrors, RerankResponses, RetrieveConversationData, RetrieveConversationErrors, RetrieveConversationItemData, RetrieveConversationItemErrors, RetrieveConversationItemResponses, RetrieveConversationResponses, RetrieveModelData, RetrieveModelErrors, RetrieveModelResponses, RetrieveResponseData, RetrieveResponseResponses, RetrieveVideoData, RetrieveVideoErrors, RetrieveVideoResponses, RevokeCustomerTokensData, RevokeCustomerTokensErrors, RevokeCustomerTokensResponses, RunSandboxCommandData, RunSandboxCommandErrors, RunSandboxCommandResponses, SearchCrawlData, SearchCrawlErrors, SearchCrawlResponses, SearchExtractData, SearchExtractErrors, SearchExtractResponses, SearchMapData, SearchMapErrors, SearchMapResponses, SearchSearchData, SearchSearchErrors, SearchSearchResponses, SessionsArchiveData, SessionsArchiveErrors, SessionsArchiveResponses, SessionsCreateData, SessionsCreateErrors, SessionsCreateResponses, SessionsDeleteData, SessionsDeleteErrors, SessionsDeleteResponses, SessionsEventsListData, SessionsEventsListErrors, SessionsEventsListResponses, SessionsEventsSendData, SessionsEventsSendErrors, SessionsEventsSendResponses, SessionsEventsStreamData, SessionsEventsStreamResponse, SessionsEventsStreamResponses, SessionsListData, SessionsListErrors, SessionsListResponses, SessionsResourcesAddData, SessionsResourcesAddErrors, SessionsResourcesAddResponses, SessionsResourcesDeleteData, SessionsResourcesDeleteErrors, SessionsResourcesDeleteResponses, SessionsResourcesListData, SessionsResourcesListErrors, SessionsResourcesListResponses, SessionsResourcesRetrieveData, SessionsResourcesRetrieveErrors, SessionsResourcesRetrieveResponses, SessionsRetrieveData, SessionsRetrieveErrors, SessionsRetrieveResponses, SessionsThreadsArchiveData, SessionsThreadsArchiveErrors, SessionsThreadsArchiveResponses, SessionsThreadsEventsListData, SessionsThreadsEventsListErrors, SessionsThreadsEventsListResponses, SessionsThreadsEventsStreamData, SessionsThreadsEventsStreamResponse, SessionsThreadsEventsStreamResponses, SessionsThreadsListData, SessionsThreadsListErrors, SessionsThreadsListResponses, SessionsThreadsRetrieveData, SessionsThreadsRetrieveErrors, SessionsThreadsRetrieveResponses, SessionsUpdateData, SessionsUpdateErrors, SessionsUpdateResponses, SetRunFeedbackData, SetRunFeedbackErrors, SetRunFeedbackResponses, SkillsCreateData, SkillsCreateErrors, SkillsCreateResponses, SkillsDeleteData, SkillsDeleteErrors, SkillsDeleteResponses, SkillsListData, SkillsListErrors, SkillsListResponses, SkillsRetrieveData, SkillsRetrieveErrors, SkillsRetrieveResponses, SkillsVersionsCreateData, SkillsVersionsCreateErrors, SkillsVersionsCreateResponses, SkillsVersionsDeleteData, SkillsVersionsDeleteErrors, SkillsVersionsDeleteResponses, SkillsVersionsDownloadData, SkillsVersionsDownloadErrors, SkillsVersionsDownloadResponses, SkillsVersionsListData, SkillsVersionsListErrors, SkillsVersionsListResponses, SkillsVersionsRetrieveData, SkillsVersionsRetrieveErrors, SkillsVersionsRetrieveResponses, StopSessionBackgroundTaskData, StopSessionBackgroundTaskErrors, StopSessionBackgroundTaskResponses, TicketDeleteCommentsIdData, TicketDeleteCommentsIdErrors, TicketDeleteCommentsIdReactionsContentData, TicketDeleteCommentsIdReactionsContentErrors, TicketDeleteCommentsIdReactionsContentResponses, TicketDeleteCommentsIdResponses, TicketDeleteLabelsNameData, TicketDeleteLabelsNameErrors, TicketDeleteLabelsNameResponses, TicketDeleteMilestonesNumberData, TicketDeleteMilestonesNumberErrors, TicketDeleteMilestonesNumberResponses, TicketDeleteTicketsNumberDependenciesBlockedByNData, TicketDeleteTicketsNumberDependenciesBlockedByNErrors, TicketDeleteTicketsNumberDependenciesBlockedByNResponses, TicketDeleteTicketsNumberLockData, TicketDeleteTicketsNumberLockErrors, TicketDeleteTicketsNumberLockResponses, TicketDeleteTicketsNumberReactionsContentData, TicketDeleteTicketsNumberReactionsContentErrors, TicketDeleteTicketsNumberReactionsContentResponses, TicketDeleteTicketsNumberRelationsNData, TicketDeleteTicketsNumberRelationsNErrors, TicketDeleteTicketsNumberRelationsNResponses, TicketDeleteTicketsNumberSubTicketsChildData, TicketDeleteTicketsNumberSubTicketsChildErrors, TicketDeleteTicketsNumberSubTicketsChildResponses, TicketGetActivityData, TicketGetActivityErrors, TicketGetActivityResponses, TicketGetCommentsIdData, TicketGetCommentsIdErrors, TicketGetCommentsIdReactionsData, TicketGetCommentsIdReactionsErrors, TicketGetCommentsIdReactionsResponses, TicketGetCommentsIdResponses, TicketGetLabelsData, TicketGetLabelsErrors, TicketGetLabelsResponses, TicketGetMilestonesData, TicketGetMilestonesErrors, TicketGetMilestonesNumberData, TicketGetMilestonesNumberErrors, TicketGetMilestonesNumberResponses, TicketGetMilestonesResponses, TicketGetRepositoriesData, TicketGetRepositoriesErrors, TicketGetRepositoriesResponses, TicketGetTicketsData, TicketGetTicketsErrors, TicketGetTicketsNumberCommentsData, TicketGetTicketsNumberCommentsErrors, TicketGetTicketsNumberCommentsResponses, TicketGetTicketsNumberData, TicketGetTicketsNumberDependenciesBlockedByData, TicketGetTicketsNumberDependenciesBlockedByErrors, TicketGetTicketsNumberDependenciesBlockedByResponses, TicketGetTicketsNumberDependenciesBlockingData, TicketGetTicketsNumberDependenciesBlockingErrors, TicketGetTicketsNumberDependenciesBlockingResponses, TicketGetTicketsNumberErrors, TicketGetTicketsNumberEventsData, TicketGetTicketsNumberEventsErrors, TicketGetTicketsNumberEventsResponses, TicketGetTicketsNumberReactionsData, TicketGetTicketsNumberReactionsErrors, TicketGetTicketsNumberReactionsResponses, TicketGetTicketsNumberRelationsData, TicketGetTicketsNumberRelationsErrors, TicketGetTicketsNumberRelationsResponses, TicketGetTicketsNumberResponses, TicketGetTicketsNumberSubTicketsData, TicketGetTicketsNumberSubTicketsErrors, TicketGetTicketsNumberSubTicketsResponses, TicketGetTicketsResponses, TicketGetTypesData, TicketGetTypesErrors, TicketGetTypesResponses, TicketPatchCommentsIdData, TicketPatchCommentsIdErrors, TicketPatchCommentsIdResponses, TicketPatchLabelsNameData, TicketPatchLabelsNameErrors, TicketPatchLabelsNameResponses, TicketPatchMilestonesNumberData, TicketPatchMilestonesNumberErrors, TicketPatchMilestonesNumberResponses, TicketPatchTicketsNumberData, TicketPatchTicketsNumberErrors, TicketPatchTicketsNumberResponses, TicketPostCommentsIdReactionsData, TicketPostCommentsIdReactionsErrors, TicketPostCommentsIdReactionsResponses, TicketPostLabelsData, TicketPostLabelsErrors, TicketPostLabelsResponses, TicketPostMilestonesData, TicketPostMilestonesErrors, TicketPostMilestonesResponses, TicketPostTicketsData, TicketPostTicketsErrors, TicketPostTicketsNumberCommentsData, TicketPostTicketsNumberCommentsErrors, TicketPostTicketsNumberCommentsResponses, TicketPostTicketsNumberDependenciesBlockedByData, TicketPostTicketsNumberDependenciesBlockedByErrors, TicketPostTicketsNumberDependenciesBlockedByResponses, TicketPostTicketsNumberReactionsData, TicketPostTicketsNumberReactionsErrors, TicketPostTicketsNumberReactionsResponses, TicketPostTicketsNumberRelationsData, TicketPostTicketsNumberRelationsErrors, TicketPostTicketsNumberRelationsResponses, TicketPostTicketsNumberSubTicketsData, TicketPostTicketsNumberSubTicketsErrors, TicketPostTicketsNumberSubTicketsResponses, TicketPostTicketsResponses, TicketPutTicketsNumberLockData, TicketPutTicketsNumberLockErrors, TicketPutTicketsNumberLockResponses, UnarchiveAgentData, UnarchiveAgentErrors, UnarchiveAgentResponses, UnblockCustomerData, UnblockCustomerErrors, UnblockCustomerResponses, UpdateConversationData, UpdateConversationErrors, UpdateConversationResponses, UpgradeSandboxData, UpgradeSandboxErrors, UpgradeSandboxResponses, VaultArchiveSecretData, VaultArchiveSecretErrors, VaultArchiveSecretResponses, VaultArchiveVaultData, VaultArchiveVaultErrors, VaultArchiveVaultResponses, VaultAuthorizationCallbackData, VaultAuthorizationCallbackResponses, VaultCheckVaultsData, VaultCheckVaultsErrors, VaultCheckVaultsResponses, VaultConnectContinueData, VaultConnectDenyData, VaultConnectDenyResponses, VaultConnectPageData, VaultConnectPageErrors, VaultConnectPageResponses, VaultCreateAuthorizationData, VaultCreateAuthorizationErrors, VaultCreateAuthorizationResponses, VaultCreateSecretData, VaultCreateSecretErrors, VaultCreateSecretResponses, VaultCreateVaultData, VaultCreateVaultErrors, VaultCreateVaultResponses, VaultDeleteSecretData, VaultDeleteSecretErrors, VaultDeleteSecretResponses, VaultDeleteVaultData, VaultDeleteVaultErrors, VaultDeleteVaultResponses, VaultGetAuthorizationData, VaultGetAuthorizationErrors, VaultGetAuthorizationResponses, VaultGetReturnUrlsData, VaultGetReturnUrlsErrors, VaultGetReturnUrlsResponses, VaultGetSecretData, VaultGetSecretErrors, VaultGetSecretResponses, VaultGetVaultData, VaultGetVaultErrors, VaultGetVaultResponses, VaultImportSecretsData, VaultImportSecretsErrors, VaultImportSecretsResponses, VaultListEventsData, VaultListEventsErrors, VaultListEventsResponses, VaultListSecretsData, VaultListSecretsErrors, VaultListSecretsResponses, VaultListTemplatesData, VaultListTemplatesErrors, VaultListTemplatesResponses, VaultListVaultsData, VaultListVaultsErrors, VaultListVaultsResponses, VaultOAuthClientMetadataData, VaultOAuthClientMetadataResponses, VaultRefreshSecretData, VaultRefreshSecretErrors, VaultRefreshSecretResponses, VaultSetReturnUrlsData, VaultSetReturnUrlsErrors, VaultSetReturnUrlsResponses, VaultUpdateSecretData, VaultUpdateSecretErrors, VaultUpdateSecretResponses, VaultUpdateVaultData, VaultUpdateVaultErrors, VaultUpdateVaultResponses, VaultValidateSecretData, VaultValidateSecretErrors, VaultValidateSecretResponses, WriteSandboxFileData, WriteSandboxFileErrors, WriteSandboxFileResponses } from './types.gen.js';
2
+ import type { AgentsArchiveData, AgentsArchiveErrors, AgentsArchiveResponses, AgentsCreateData, AgentsCreateErrors, AgentsCreateResponses, AgentsListData, AgentsListErrors, AgentsListResponses, AgentsRetrieveData, AgentsRetrieveErrors, AgentsRetrieveResponses, AgentsUpdateData, AgentsUpdateErrors, AgentsUpdateResponses, AgentsVersionsListData, AgentsVersionsListErrors, AgentsVersionsListResponses, AlignOrganizationObjectiveData, AlignOrganizationObjectiveErrors, AlignOrganizationObjectiveResponses, AmendOrganizationDepartmentCharterData, AmendOrganizationDepartmentCharterErrors, AmendOrganizationDepartmentCharterResponses, ApplicationCreateAssetUploadSessionData, ApplicationCreateAssetUploadSessionErrors, ApplicationCreateAssetUploadSessionResponses, ApplicationCreateDeploymentData, ApplicationCreateDeploymentErrors, ApplicationCreateDeploymentResponses, ApplicationCreateGrantData, ApplicationCreateGrantErrors, ApplicationCreateGrantResponses, ApplicationCreateVersionData, ApplicationCreateVersionErrors, ApplicationCreateVersionResponses, ApplicationCreateWorkerData, ApplicationCreateWorkerErrors, ApplicationCreateWorkerResponses, ApplicationDeleteGrantData, ApplicationDeleteGrantErrors, ApplicationDeleteGrantResponses, ApplicationDeleteSecretData, ApplicationDeleteSecretErrors, ApplicationDeleteSecretResponses, ApplicationDeleteWorkerData, ApplicationDeleteWorkerErrors, ApplicationDeleteWorkerResponses, ApplicationGetDeploymentData, ApplicationGetDeploymentErrors, ApplicationGetDeploymentResponses, ApplicationGetSubdomainData, ApplicationGetSubdomainErrors, ApplicationGetSubdomainResponses, ApplicationGetVersionAssetManifestData, ApplicationGetVersionAssetManifestErrors, ApplicationGetVersionAssetManifestResponses, ApplicationGetVersionData, ApplicationGetVersionErrors, ApplicationGetVersionResponses, ApplicationGetWorkerData, ApplicationGetWorkerErrors, ApplicationGetWorkerResponses, ApplicationListComponentsData, ApplicationListComponentsErrors, ApplicationListComponentsResponses, ApplicationListDeploymentsData, ApplicationListDeploymentsErrors, ApplicationListDeploymentsResponses, ApplicationListEventsData, ApplicationListEventsErrors, ApplicationListEventsResponses, ApplicationListGrantsData, ApplicationListGrantsErrors, ApplicationListGrantsResponses, ApplicationListSecretsData, ApplicationListSecretsErrors, ApplicationListSecretsResponses, ApplicationListVersionsData, ApplicationListVersionsErrors, ApplicationListVersionsResponses, ApplicationListWorkersData, ApplicationListWorkersErrors, ApplicationListWorkersResponses, ApplicationPutSecretData, ApplicationPutSecretErrors, ApplicationPutSecretResponses, ApplicationPutSubdomainData, ApplicationPutSubdomainErrors, ApplicationPutSubdomainResponses, ApplicationRestoreWorkerData, ApplicationRestoreWorkerErrors, ApplicationRestoreWorkerResponses, ApplicationUpdateWorkerData, ApplicationUpdateWorkerErrors, ApplicationUpdateWorkerResponses, ApplicationUploadAssetsData, ApplicationUploadAssetsErrors, ApplicationUploadAssetsResponses, ApplyAgentVersionData, ApplyAgentVersionErrors, ApplyAgentVersionResponses, AssignTemplateTagsData, AssignTemplateTagsErrors, AssignTemplateTagsResponses, AutomationActionsArchiveData, AutomationActionsArchiveErrors, AutomationActionsArchiveResponses, AutomationActionsCreateData, AutomationActionsCreateErrors, AutomationActionsCreateResponses, AutomationActionsDependentsData, AutomationActionsDependentsErrors, AutomationActionsDependentsResponses, AutomationActionsGetData, AutomationActionsGetErrors, AutomationActionsGetResponses, AutomationActionsInvocationsData, AutomationActionsInvocationsErrors, AutomationActionsInvocationsResponses, AutomationActionsListData, AutomationActionsListErrors, AutomationActionsListResponses, AutomationActionsRestoreData, AutomationActionsRestoreErrors, AutomationActionsRestoreResponses, AutomationActionsRevisionData, AutomationActionsRevisionErrors, AutomationActionsRevisionResponses, AutomationActionsRevisionsData, AutomationActionsRevisionsErrors, AutomationActionsRevisionsResponses, AutomationActionsRollbackData, AutomationActionsRollbackErrors, AutomationActionsRollbackResponses, AutomationActionsUpdateData, AutomationActionsUpdateErrors, AutomationActionsUpdateResponses, AutomationHooksReceiveData, AutomationHooksReceiveErrors, AutomationHooksReceiveResponses, AutomationHumanTasksCancelData, AutomationHumanTasksCancelErrors, AutomationHumanTasksCancelResponses, AutomationHumanTasksDelegateData, AutomationHumanTasksDelegateErrors, AutomationHumanTasksDelegateResponses, AutomationHumanTasksGetData, AutomationHumanTasksGetErrors, AutomationHumanTasksGetResponses, AutomationHumanTasksListData, AutomationHumanTasksListErrors, AutomationHumanTasksListResponses, AutomationHumanTasksRespondData, AutomationHumanTasksRespondErrors, AutomationHumanTasksRespondResponses, AutomationResolveResolveData, AutomationResolveResolveErrors, AutomationResolveResolveResponses, AutomationRunsArtifactsData, AutomationRunsArtifactsErrors, AutomationRunsArtifactsResponses, AutomationRunsCallsData, AutomationRunsCallsErrors, AutomationRunsCallsResponses, AutomationRunsCancelData, AutomationRunsCancelErrors, AutomationRunsCancelResponses, AutomationRunsCompleteWaitData, AutomationRunsCompleteWaitErrors, AutomationRunsCompleteWaitResponses, AutomationRunsCreateData, AutomationRunsCreateErrors, AutomationRunsCreateResponses, AutomationRunsEventsData, AutomationRunsEventsErrors, AutomationRunsEventsResponses, AutomationRunsGetData, AutomationRunsGetErrors, AutomationRunsGetResponses, AutomationRunsListData, AutomationRunsListErrors, AutomationRunsListResponses, AutomationRunsLogsData, AutomationRunsLogsErrors, AutomationRunsLogsResponses, AutomationRunsRerunData, AutomationRunsRerunErrors, AutomationRunsRerunResponses, AutomationRunsResumeData, AutomationRunsResumeErrors, AutomationRunsResumeResponses, AutomationRunsSourceData, AutomationRunsSourceErrors, AutomationRunsSourceResponses, AutomationRunsSuspendData, AutomationRunsSuspendErrors, AutomationRunsSuspendResponses, AutomationRunsTasksData, AutomationRunsTasksErrors, AutomationRunsTasksResponses, AutomationRunsWaitsData, AutomationRunsWaitsErrors, AutomationRunsWaitsResponses, AutomationScriptsArchiveData, AutomationScriptsArchiveErrors, AutomationScriptsArchiveResponses, AutomationScriptsCreateData, AutomationScriptsCreateErrors, AutomationScriptsCreateResponses, AutomationScriptsDeleteDistTagData, AutomationScriptsDeleteDistTagErrors, AutomationScriptsDeleteDistTagResponses, AutomationScriptsDeprecateData, AutomationScriptsDeprecateErrors, AutomationScriptsDeprecateResponses, AutomationScriptsDistTagsData, AutomationScriptsDistTagsErrors, AutomationScriptsDistTagsResponses, AutomationScriptsGetData, AutomationScriptsGetErrors, AutomationScriptsGetResponses, AutomationScriptsListData, AutomationScriptsListErrors, AutomationScriptsListResponses, AutomationScriptsPatchData, AutomationScriptsPatchErrors, AutomationScriptsPatchResponses, AutomationScriptsPublishData, AutomationScriptsPublishErrors, AutomationScriptsPublishResponses, AutomationScriptsRestoreData, AutomationScriptsRestoreErrors, AutomationScriptsRestoreResponses, AutomationScriptsSetDistTagData, AutomationScriptsSetDistTagErrors, AutomationScriptsSetDistTagResponses, AutomationScriptsVaultsDeleteData, AutomationScriptsVaultsDeleteErrors, AutomationScriptsVaultsDeleteResponses, AutomationScriptsVaultsListData, AutomationScriptsVaultsListErrors, AutomationScriptsVaultsListResponses, AutomationScriptsVaultsSetData, AutomationScriptsVaultsSetErrors, AutomationScriptsVaultsSetResponses, AutomationScriptsVersionData, AutomationScriptsVersionErrors, AutomationScriptsVersionResponses, AutomationScriptsVersionsData, AutomationScriptsVersionsErrors, AutomationScriptsVersionsResponses, AutomationTargetsTargetsData, AutomationTargetsTargetsErrors, AutomationTargetsTargetsResponses, AutomationTriggersCreateData, AutomationTriggersCreateErrors, AutomationTriggersCreateResponses, AutomationTriggersDeleteData, AutomationTriggersDeleteErrors, AutomationTriggersDeleteResponses, AutomationTriggersFireData, AutomationTriggersFireErrors, AutomationTriggersFireResponses, AutomationTriggersFiringsData, AutomationTriggersFiringsErrors, AutomationTriggersFiringsResponses, AutomationTriggersGetData, AutomationTriggersGetErrors, AutomationTriggersGetResponses, AutomationTriggersListData, AutomationTriggersListErrors, AutomationTriggersListResponses, AutomationTriggersPatchData, AutomationTriggersPatchErrors, AutomationTriggersPatchResponses, AutomationTriggersPauseData, AutomationTriggersPauseErrors, AutomationTriggersPauseResponses, AutomationTriggersPreviewData, AutomationTriggersPreviewErrors, AutomationTriggersPreviewResponses, AutomationTriggersResumeData, AutomationTriggersResumeErrors, AutomationTriggersResumeResponses, AutomationTriggersRotateWebhookData, AutomationTriggersRotateWebhookErrors, AutomationTriggersRotateWebhookResponses, AutomationValidateValidateData, AutomationValidateValidateErrors, AutomationValidateValidateResponses, AutomationWorkflowsArchiveData, AutomationWorkflowsArchiveErrors, AutomationWorkflowsArchiveResponses, AutomationWorkflowsCreateData, AutomationWorkflowsCreateErrors, AutomationWorkflowsCreateResponses, AutomationWorkflowsDeleteDistTagData, AutomationWorkflowsDeleteDistTagErrors, AutomationWorkflowsDeleteDistTagResponses, AutomationWorkflowsDeprecateData, AutomationWorkflowsDeprecateErrors, AutomationWorkflowsDeprecateResponses, AutomationWorkflowsDistTagsData, AutomationWorkflowsDistTagsErrors, AutomationWorkflowsDistTagsResponses, AutomationWorkflowsGetData, AutomationWorkflowsGetErrors, AutomationWorkflowsGetResponses, AutomationWorkflowsListData, AutomationWorkflowsListErrors, AutomationWorkflowsListResponses, AutomationWorkflowsPatchData, AutomationWorkflowsPatchErrors, AutomationWorkflowsPatchResponses, AutomationWorkflowsPublishData, AutomationWorkflowsPublishErrors, AutomationWorkflowsPublishResponses, AutomationWorkflowsRestoreData, AutomationWorkflowsRestoreErrors, AutomationWorkflowsRestoreResponses, AutomationWorkflowsSetDistTagData, AutomationWorkflowsSetDistTagErrors, AutomationWorkflowsSetDistTagResponses, AutomationWorkflowsVaultsDeleteData, AutomationWorkflowsVaultsDeleteErrors, AutomationWorkflowsVaultsDeleteResponses, AutomationWorkflowsVaultsListData, AutomationWorkflowsVaultsListErrors, AutomationWorkflowsVaultsListResponses, AutomationWorkflowsVaultsSetData, AutomationWorkflowsVaultsSetErrors, AutomationWorkflowsVaultsSetResponses, AutomationWorkflowsVersionData, AutomationWorkflowsVersionErrors, AutomationWorkflowsVersionResponses, AutomationWorkflowsVersionsData, AutomationWorkflowsVersionsErrors, AutomationWorkflowsVersionsResponses, BlockCustomerData, BlockCustomerErrors, BlockCustomerResponses, BrowserCloseSessionData, BrowserCloseSessionErrors, BrowserCloseSessionResponses, BrowserCompleteHandoffData, BrowserCompleteHandoffErrors, BrowserCompleteHandoffResponses, BrowserConnectData, BrowserConnectErrors, BrowserCreateContextData, BrowserCreateContextErrors, BrowserCreateContextResponses, BrowserCreateSessionData, BrowserCreateSessionErrors, BrowserCreateSessionResponses, BrowserDeleteContextData, BrowserDeleteContextErrors, BrowserDeleteContextResponses, BrowserGetContextData, BrowserGetContextErrors, BrowserGetContextResponses, BrowserGetDebugData, BrowserGetDebugErrors, BrowserGetDebugResponses, BrowserGetSessionData, BrowserGetSessionErrors, BrowserGetSessionFrameData, BrowserGetSessionFrameErrors, BrowserGetSessionFrameResponses, BrowserGetSessionResponses, BrowserListContextsData, BrowserListContextsErrors, BrowserListContextsResponses, BrowserListEventsData, BrowserListEventsErrors, BrowserListEventsResponses, BrowserListSessionsData, BrowserListSessionsErrors, BrowserListSessionsResponses, BrowserLiveViewData, BrowserLiveViewErrors, BrowserRequestHandoffData, BrowserRequestHandoffErrors, BrowserRequestHandoffResponses, BrowserRunPageActionData, BrowserRunPageActionErrors, BrowserRunPageActionResponses, BrowserSeleniumUnsupportedData, BrowserSeleniumUnsupportedErrors, BrowserStreamSessionData, BrowserStreamSessionFramesData, BrowserStreamSessionFramesResponse, BrowserStreamSessionFramesResponses, BrowserStreamSessionResponse, BrowserStreamSessionResponses, BrowserUpdateContextData, BrowserUpdateContextErrors, BrowserUpdateContextResponses, BrowserViewerHeartbeatData, BrowserViewerHeartbeatErrors, BrowserViewerHeartbeatResponses, CancelResponseData, CancelResponseErrors, CancelResponseResponses, CanvasCreateCanvasData, CanvasCreateCanvasErrors, CanvasCreateCanvasResponses, CanvasCreateCollectionData, CanvasCreateCollectionErrors, CanvasCreateCollectionResponses, CanvasDeleteCanvasData, CanvasDeleteCanvasErrors, CanvasDeleteCanvasResponses, CanvasDeleteCollectionData, CanvasDeleteCollectionErrors, CanvasDeleteCollectionResponses, CanvasExecuteData, CanvasExecuteErrors, CanvasExecuteResponses, CanvasListCanvasesData, CanvasListCanvasesErrors, CanvasListCanvasesResponses, CanvasListCollectionsData, CanvasListCollectionsErrors, CanvasListCollectionsResponses, CanvasListImagesData, CanvasListImagesErrors, CanvasListImagesResponses, CanvasListNodesData, CanvasListNodesErrors, CanvasListNodesResponses, CanvasListVersionsData, CanvasListVersionsErrors, CanvasListVersionsResponses, CanvasRestoreCanvasData, CanvasRestoreCanvasErrors, CanvasRestoreCanvasResponses, CanvasRetrieveCanvasData, CanvasRetrieveCanvasErrors, CanvasRetrieveCanvasResponses, CanvasRetrieveCollectionData, CanvasRetrieveCollectionErrors, CanvasRetrieveCollectionResponses, CanvasUpdateCanvasData, CanvasUpdateCanvasErrors, CanvasUpdateCanvasResponses, CanvasUpdateCollectionData, CanvasUpdateCollectionErrors, CanvasUpdateCollectionResponses, CloseOrganizationPeriodData, CloseOrganizationPeriodErrors, CloseOrganizationPeriodResponses, CloseOrganizationPositionData, CloseOrganizationPositionErrors, CloseOrganizationPositionResponses, CompactResponseData, CompactResponseErrors, CompactResponseResponses, CompactSessionData, CompactSessionErrors, CompactSessionResponses, ComputersArchiveData, ComputersArchiveErrors, ComputersArchiveResponses, ComputersAttachmentsCreateData, ComputersAttachmentsCreateErrors, ComputersAttachmentsCreateResponses, ComputersCreateData, ComputersCreateErrors, ComputersCreateResponses, ComputersDeleteData, ComputersDeleteErrors, ComputersDeleteResponses, ComputersFilesContentData, ComputersFilesContentErrors, ComputersFilesContentResponses, ComputersFilesConvertData, ComputersFilesConvertErrors, ComputersFilesConvertResponses, ComputersFilesListData, ComputersFilesListErrors, ComputersFilesListResponses, ComputersListData, ComputersListErrors, ComputersListResponses, ComputersRetrieveData, ComputersRetrieveErrors, ComputersRetrieveResponses, ComputersUpdateData, ComputersUpdateErrors, ComputersUpdateResponses, ConnectComputerData, ConnectComputerErrors, ConnectComputerResponses, CountResponseInputTokensData, CountResponseInputTokensErrors, CountResponseInputTokensResponses, CountTokensData, CountTokensErrors, CountTokensResponses, CreateAgentConsolidationData, CreateAgentConsolidationErrors, CreateAgentConsolidationResponses, CreateAudioSpeechData, CreateAudioSpeechErrors, CreateAudioSpeechResponses, CreateAudioTranscriptionData, CreateAudioTranscriptionErrors, CreateAudioTranscriptionResponses, CreateChatCompletionData, CreateChatCompletionErrors, CreateChatCompletionResponses, CreateConversationData, CreateConversationItemsData, CreateConversationItemsErrors, CreateConversationItemsResponses, CreateConversationResponses, CreateCustomerAccessTokenData, CreateCustomerAccessTokenErrors, CreateCustomerAccessTokenResponses, CreateCustomerGrantCodeData, CreateCustomerGrantCodeErrors, CreateCustomerGrantCodeResponses, CreateEmbeddingData, CreateEmbeddingErrors, CreateEmbeddingResponses, CreateImageData, CreateImageErrors, CreateImageResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOcrData, CreateOcrErrors, CreateOcrResponses, CreateOrganizationFeedbackData, CreateOrganizationFeedbackErrors, CreateOrganizationFeedbackMessageData, CreateOrganizationFeedbackMessageErrors, CreateOrganizationFeedbackMessageResponses, CreateOrganizationFeedbackResponses, CreateResponseData, CreateResponseErrors, CreateResponseResponses, CreateSystemoneData, CreateSystemoneErrors, CreateSystemoneResponses, CreateVideoData, CreateVideoErrors, CreateVideoResponses, CrmAssociationsCreateData, CrmAssociationsCreateDefaultData, CrmAssociationsCreateDefaultErrors, CrmAssociationsCreateDefaultResponses, CrmAssociationsCreateErrors, CrmAssociationsCreateResponses, CrmAssociationsListData, CrmAssociationsListErrors, CrmAssociationsListResponses, CrmAssociationsRemoveData, CrmAssociationsRemoveErrors, CrmAssociationsRemoveResponses, CrmChangesRevertData, CrmChangesRevertErrors, CrmChangesRevertResponses, CrmLayoutsRetrieveData, CrmLayoutsRetrieveErrors, CrmLayoutsRetrieveResponses, CrmLayoutsUpdateData, CrmLayoutsUpdateErrors, CrmLayoutsUpdateResponses, CrmLeadsQualifyData, CrmLeadsQualifyErrors, CrmLeadsQualifyResponses, CrmObjectsArchiveData, CrmObjectsArchiveErrors, CrmObjectsArchiveResponses, CrmObjectsBatchArchiveData, CrmObjectsBatchArchiveErrors, CrmObjectsBatchArchiveResponses, CrmObjectsBatchCreateData, CrmObjectsBatchCreateErrors, CrmObjectsBatchCreateResponses, CrmObjectsBatchReadData, CrmObjectsBatchReadErrors, CrmObjectsBatchReadResponses, CrmObjectsBatchUpdateData, CrmObjectsBatchUpdateErrors, CrmObjectsBatchUpdateResponses, CrmObjectsBatchUpsertData, CrmObjectsBatchUpsertErrors, CrmObjectsBatchUpsertResponses, CrmObjectsCreateData, CrmObjectsCreateErrors, CrmObjectsCreateResponses, CrmObjectsListData, CrmObjectsListErrors, CrmObjectsListResponses, CrmObjectsRetrieveData, CrmObjectsRetrieveErrors, CrmObjectsRetrieveResponses, CrmObjectsSearchData, CrmObjectsSearchErrors, CrmObjectsSearchResponses, CrmObjectsUpdateData, CrmObjectsUpdateErrors, CrmObjectsUpdateResponses, CrmPipelinesArchiveData, CrmPipelinesArchiveErrors, CrmPipelinesArchiveResponses, CrmPipelinesCreateData, CrmPipelinesCreateErrors, CrmPipelinesCreateResponses, CrmPipelinesListData, CrmPipelinesListErrors, CrmPipelinesListResponses, CrmPipelinesRetrieveData, CrmPipelinesRetrieveErrors, CrmPipelinesRetrieveResponses, CrmPipelinesStagesArchiveData, CrmPipelinesStagesArchiveErrors, CrmPipelinesStagesArchiveResponses, CrmPipelinesStagesCreateData, CrmPipelinesStagesCreateErrors, CrmPipelinesStagesCreateResponses, CrmPipelinesStagesUpdateData, CrmPipelinesStagesUpdateErrors, CrmPipelinesStagesUpdateResponses, CrmPipelinesUpdateData, CrmPipelinesUpdateErrors, CrmPipelinesUpdateResponses, CrmPropertiesArchiveData, CrmPropertiesArchiveErrors, CrmPropertiesArchiveResponses, CrmPropertiesCreateData, CrmPropertiesCreateErrors, CrmPropertiesCreateResponses, CrmPropertiesGroupsCreateData, CrmPropertiesGroupsCreateErrors, CrmPropertiesGroupsCreateResponses, CrmPropertiesGroupsListData, CrmPropertiesGroupsListErrors, CrmPropertiesGroupsListResponses, CrmPropertiesListData, CrmPropertiesListErrors, CrmPropertiesListResponses, CrmPropertiesRetrieveData, CrmPropertiesRetrieveErrors, CrmPropertiesRetrieveResponses, CrmPropertiesUpdateData, CrmPropertiesUpdateErrors, CrmPropertiesUpdateResponses, CrmSchemasCreateData, CrmSchemasCreateErrors, CrmSchemasCreateResponses, CrmSchemasListData, CrmSchemasListErrors, CrmSchemasListResponses, CutCancelExportData, CutCancelExportErrors, CutCancelExportResponses, CutCreateAnalysisData, CutCreateAnalysisErrors, CutCreateAnalysisResponses, CutCreateBindingData, CutCreateBindingErrors, CutCreateBindingResponses, CutCreateExportData, CutCreateExportErrors, CutCreateExportResponses, CutCreateProjectData, CutCreateProjectErrors, CutCreateProjectResponses, CutCreateRenderData, CutCreateRenderErrors, CutCreateRenderResponses, CutCreateVersionData, CutCreateVersionErrors, CutCreateVersionResponses, CutDeleteBindingData, CutDeleteBindingErrors, CutDeleteBindingResponses, CutDeleteProjectData, CutDeleteProjectErrors, CutDeleteProjectResponses, CutExecuteData, CutExecuteErrors, CutExecuteResponses, CutImportMediaData, CutImportMediaErrors, CutImportMediaResponses, CutListBindingsData, CutListBindingsErrors, CutListBindingsResponses, CutListExportsData, CutListExportsErrors, CutListExportsResponses, CutListFramesData, CutListFramesErrors, CutListFramesResponses, CutListProjectsData, CutListProjectsErrors, CutListProjectsResponses, CutListVersionsData, CutListVersionsErrors, CutListVersionsResponses, CutRestoreVersionData, CutRestoreVersionErrors, CutRestoreVersionResponses, CutRetrieveExportData, CutRetrieveExportErrors, CutRetrieveExportResponses, CutRetrieveProjectData, CutRetrieveProjectErrors, CutRetrieveProjectResponses, CutRetrieveRenderData, CutRetrieveRenderErrors, CutRetrieveRenderResponses, CutRetrieveStateData, CutRetrieveStateErrors, CutRetrieveStateResponses, CutRetrieveTimelineData, CutRetrieveTimelineErrors, CutRetrieveTimelineResponses, CutUndeleteProjectData, CutUndeleteProjectErrors, CutUndeleteProjectResponses, CutUpdateProjectData, CutUpdateProjectErrors, CutUpdateProjectResponses, DatabaseAddFieldData, DatabaseAddFieldErrors, DatabaseAddFieldResponses, DatabaseCreateDatabaseData, DatabaseCreateDatabaseErrors, DatabaseCreateDatabaseResponses, DatabaseCreateTableData, DatabaseCreateTableErrors, DatabaseCreateTableResponses, DatabaseDeleteData, DatabaseDeleteDatabaseData, DatabaseDeleteDatabaseErrors, DatabaseDeleteDatabaseResponses, DatabaseDeleteErrors, DatabaseDeleteFieldData, DatabaseDeleteFieldErrors, DatabaseDeleteFieldResponses, DatabaseDeleteResponses, DatabaseDeleteTableData, DatabaseDeleteTableErrors, DatabaseDeleteTableResponses, DatabaseGetDatabaseData, DatabaseGetDatabaseErrors, DatabaseGetDatabaseResponses, DatabaseGetTableData, DatabaseGetTableErrors, DatabaseGetTableResponses, DatabaseHeadData, DatabaseHeadErrors, DatabaseHeadResponses, DatabaseInsertData, DatabaseInsertErrors, DatabaseInsertResponses, DatabaseListDatabasesData, DatabaseListDatabasesErrors, DatabaseListDatabasesResponses, DatabaseListEventsData, DatabaseListEventsErrors, DatabaseListEventsResponses, DatabaseListTablesData, DatabaseListTablesErrors, DatabaseListTablesResponses, DatabasePurgeDatabaseData, DatabasePurgeDatabaseErrors, DatabasePurgeDatabaseResponses, DatabaseRestoreDatabaseData, DatabaseRestoreDatabaseErrors, DatabaseRestoreDatabaseResponses, DatabaseSelectData, DatabaseSelectErrors, DatabaseSelectResponses, DatabaseUpdateData, DatabaseUpdateDatabaseData, DatabaseUpdateDatabaseErrors, DatabaseUpdateDatabaseResponses, DatabaseUpdateErrors, DatabaseUpdateFieldData, DatabaseUpdateFieldErrors, DatabaseUpdateFieldResponses, DatabaseUpdateResponses, DatabaseUpdateTableData, DatabaseUpdateTableErrors, DatabaseUpdateTableResponses, DefineOrganizationJobData, DefineOrganizationJobErrors, DefineOrganizationJobResponses, DefineOrganizationLadderData, DefineOrganizationLadderErrors, DefineOrganizationLadderResponses, DeleteConversationData, DeleteConversationErrors, DeleteConversationItemData, DeleteConversationItemErrors, DeleteConversationItemResponses, DeleteConversationResponses, DeleteCurrentCustomerAccessTokenData, DeleteCurrentCustomerAccessTokenErrors, DeleteCurrentCustomerAccessTokenResponses, DeleteCustomerData, DeleteCustomerErrors, DeleteCustomerResponses, DeleteResponseData, DeleteResponseResponses, DeleteRunFeedbackData, DeleteRunFeedbackErrors, DeleteRunFeedbackResponses, DeleteSandboxV1SandboxesBySandboxIdData, DeleteSandboxV1SandboxesBySandboxIdErrors, DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SnapshotsBySnapshotIdData, DeleteSandboxV1SnapshotsBySnapshotIdErrors, DeleteSandboxV1SnapshotsBySnapshotIdResponses, DeleteSandboxV1VolumesByVolumeIdData, DeleteSandboxV1VolumesByVolumeIdErrors, DeleteSandboxV1VolumesByVolumeIdResponses, DeleteTemplateTagsData, DeleteTemplateTagsErrors, DeleteTemplateTagsResponses, DeleteUserTemplateData, DeleteUserTemplateErrors, DeleteUserTemplateResponses, DeleteVideoData, DeleteVideoErrors, DeleteVideoResponses, DeploymentRunsListData, DeploymentRunsListErrors, DeploymentRunsListResponses, DeploymentRunsRetrieveData, DeploymentRunsRetrieveErrors, DeploymentRunsRetrieveResponses, DeploymentsArchiveData, DeploymentsArchiveErrors, DeploymentsArchiveResponses, DeploymentsCreateData, DeploymentsCreateErrors, DeploymentsCreateResponses, DeploymentsListData, DeploymentsListErrors, DeploymentsListResponses, DeploymentsPauseData, DeploymentsPauseErrors, DeploymentsPauseResponses, DeploymentsRetrieveData, DeploymentsRetrieveErrors, DeploymentsRetrieveResponses, DeploymentsRunData, DeploymentsRunErrors, DeploymentsRunResponses, DeploymentsUnpauseData, DeploymentsUnpauseErrors, DeploymentsUnpauseResponses, DeploymentsUpdateData, DeploymentsUpdateErrors, DeploymentsUpdateResponses, DesignateOrganizationPositionHeadData, DesignateOrganizationPositionHeadErrors, DesignateOrganizationPositionHeadResponses, DevopsChangesAbandonData, DevopsChangesAbandonErrors, DevopsChangesAbandonResponses, DevopsChangesCreateData, DevopsChangesCreateErrors, DevopsChangesCreateResponses, DevopsChangesGetData, DevopsChangesGetErrors, DevopsChangesGetResponses, DevopsChangesListData, DevopsChangesListErrors, DevopsChangesListResponses, DevopsChangesMarkLastSliceData, DevopsChangesMarkLastSliceErrors, DevopsChangesMarkLastSliceResponses, DevopsConnectionsCompleteData, DevopsConnectionsCompleteErrors, DevopsConnectionsCompleteResponses, DevopsConnectionsCreateData, DevopsConnectionsCreateErrors, DevopsConnectionsCreateResponses, DevopsConnectionsGetData, DevopsConnectionsGetErrors, DevopsConnectionsGetResponses, DevopsConnectionsListData, DevopsConnectionsListErrors, DevopsConnectionsListRepositoriesData, DevopsConnectionsListRepositoriesErrors, DevopsConnectionsListRepositoriesResponses, DevopsConnectionsListResponses, DevopsEnvironmentsCheckpointsListData, DevopsEnvironmentsCheckpointsListErrors, DevopsEnvironmentsCheckpointsListResponses, DevopsEnvironmentsListData, DevopsEnvironmentsListErrors, DevopsEnvironmentsListResponses, DevopsEnvironmentsRollbackData, DevopsEnvironmentsRollbackErrors, DevopsEnvironmentsRollbackResponses, DevopsEnvironmentsUpdateData, DevopsEnvironmentsUpdateErrors, DevopsEnvironmentsUpdateResponses, DevopsFlagsArchiveData, DevopsFlagsArchiveErrors, DevopsFlagsArchiveResponses, DevopsFlagsConcludeData, DevopsFlagsConcludeErrors, DevopsFlagsConcludeResponses, DevopsFlagsCreateData, DevopsFlagsCreateErrors, DevopsFlagsCreateResponses, DevopsFlagsGetData, DevopsFlagsGetErrors, DevopsFlagsGetResponses, DevopsFlagsListData, DevopsFlagsListErrors, DevopsFlagsListResponses, DevopsFlagsUpdateData, DevopsFlagsUpdateEnvironmentData, DevopsFlagsUpdateEnvironmentErrors, DevopsFlagsUpdateEnvironmentResponses, DevopsFlagsUpdateErrors, DevopsFlagsUpdateResponses, DevopsProgressiveRolloutsCreateData, DevopsProgressiveRolloutsCreateErrors, DevopsProgressiveRolloutsCreateResponses, DevopsProgressiveRolloutsGetData, DevopsProgressiveRolloutsGetErrors, DevopsProgressiveRolloutsGetResponses, DevopsProgressiveRolloutsPauseData, DevopsProgressiveRolloutsPauseErrors, DevopsProgressiveRolloutsPauseResponses, DevopsProgressiveRolloutsResumeData, DevopsProgressiveRolloutsResumeErrors, DevopsProgressiveRolloutsResumeResponses, DevopsProgressiveRolloutsRollbackData, DevopsProgressiveRolloutsRollbackErrors, DevopsProgressiveRolloutsRollbackResponses, DevopsProjectsGetData, DevopsProjectsGetErrors, DevopsProjectsGetResponses, DevopsProjectsListData, DevopsProjectsListErrors, DevopsProjectsListResponses, DevopsProjectsUpdateData, DevopsProjectsUpdateErrors, DevopsProjectsUpdateResponses, DevopsPromotionsApproveData, DevopsPromotionsApproveErrors, DevopsPromotionsApproveResponses, DevopsPromotionsCancelData, DevopsPromotionsCancelErrors, DevopsPromotionsCancelResponses, DevopsPromotionsConcludeData, DevopsPromotionsConcludeErrors, DevopsPromotionsConcludeResponses, DevopsPromotionsCreateData, DevopsPromotionsCreateErrors, DevopsPromotionsCreateResponses, DevopsPromotionsGetData, DevopsPromotionsGetErrors, DevopsPromotionsGetResponses, DevopsPromotionsListData, DevopsPromotionsListErrors, DevopsPromotionsListResponses, DevopsPromotionsRetryData, DevopsPromotionsRetryErrors, DevopsPromotionsRetryResponses, DevopsPullRequestsGetData, DevopsPullRequestsGetErrors, DevopsPullRequestsGetResponses, DevopsPullRequestsListData, DevopsPullRequestsListErrors, DevopsPullRequestsListResponses, DevopsPullRequestsMergeData, DevopsPullRequestsMergeErrors, DevopsPullRequestsMergeResponses, DevopsPullRequestsRecordVerdictData, DevopsPullRequestsRecordVerdictErrors, DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRerunGateData, DevopsPullRequestsRerunGateErrors, DevopsPullRequestsRerunGateResponses, DevopsReleasesAbandonData, DevopsReleasesAbandonErrors, DevopsReleasesAbandonResponses, DevopsReleasesCreateData, DevopsReleasesCreateErrors, DevopsReleasesCreateResponses, DevopsReleasesGetData, DevopsReleasesGetErrors, DevopsReleasesGetResponses, DevopsReleasesListData, DevopsReleasesListErrors, DevopsReleasesListResponses, DevopsRolloutsGetData, DevopsRolloutsGetErrors, DevopsRolloutsGetResponses, DevopsRolloutsListData, DevopsRolloutsListErrors, DevopsRolloutsListResponses, DevopsSegmentsCreateData, DevopsSegmentsCreateErrors, DevopsSegmentsCreateResponses, DevopsSegmentsListData, DevopsSegmentsListErrors, DevopsSegmentsListResponses, DevopsSegmentsUpdateData, DevopsSegmentsUpdateErrors, DevopsSegmentsUpdateResponses, DevopsTargetsListData, DevopsTargetsListErrors, DevopsTargetsListResponses, DevopsTargetsRefreshData, DevopsTargetsRefreshErrors, DevopsTargetsRefreshResponses, DevopsTestCasesGetData, DevopsTestCasesGetErrors, DevopsTestCasesGetResponses, DevopsTestCasesListData, DevopsTestCasesListErrors, DevopsTestCasesListResponses, DevopsTestCatalogGetData, DevopsTestCatalogGetErrors, DevopsTestCatalogGetResponses, DevopsTestExecutionsGetData, DevopsTestExecutionsGetErrors, DevopsTestExecutionsGetResponses, DevopsTestExecutionsListData, DevopsTestExecutionsListErrors, DevopsTestExecutionsListResponses, DevopsTestPlansCreateData, DevopsTestPlansCreateErrors, DevopsTestPlansCreateResponses, DevopsTestPlansDeleteData, DevopsTestPlansDeleteErrors, DevopsTestPlansDeleteResponses, DevopsTestPlansGetData, DevopsTestPlansGetErrors, DevopsTestPlansGetResponses, DevopsTestPlansListData, DevopsTestPlansListErrors, DevopsTestPlansListResponses, DevopsTestPlansPauseData, DevopsTestPlansPauseErrors, DevopsTestPlansPauseResponses, DevopsTestPlansResumeData, DevopsTestPlansResumeErrors, DevopsTestPlansResumeResponses, DevopsTestPlansUpdateData, DevopsTestPlansUpdateErrors, DevopsTestPlansUpdateResponses, DevopsTestReportsUploadData, DevopsTestReportsUploadErrors, DevopsTestReportsUploadResponses, DevopsTestRunsCancelData, DevopsTestRunsCancelErrors, DevopsTestRunsCancelResponses, DevopsTestRunsCreateData, DevopsTestRunsCreateErrors, DevopsTestRunsCreateResponses, DevopsTestRunsGetData, DevopsTestRunsGetErrors, DevopsTestRunsGetResponses, DevopsTestRunsListData, DevopsTestRunsListErrors, DevopsTestRunsListResponses, DevopsTestRunsRetryFailedData, DevopsTestRunsRetryFailedErrors, DevopsTestRunsRetryFailedResponses, DevopsTestSuitesGetData, DevopsTestSuitesGetErrors, DevopsTestSuitesGetResponses, DevopsTestSuitesListData, DevopsTestSuitesListErrors, DevopsTestSuitesListResponses, DevopsTofuStateDeleteData, DevopsTofuStateDeleteErrors, DevopsTofuStateDeleteResponses, DevopsTofuStateGetData, DevopsTofuStateGetErrors, DevopsTofuStateGetResponses, DevopsTofuStateLockData, DevopsTofuStateLockErrors, DevopsTofuStateLockResponses, DevopsTofuStateUnlockData, DevopsTofuStateUnlockErrors, DevopsTofuStateUnlockResponses, DevopsTofuStateWriteData, DevopsTofuStateWriteErrors, DevopsTofuStateWriteResponses, DevopsUnitsConnectData, DevopsUnitsConnectErrors, DevopsUnitsConnectResponses, DevopsUnitsCreateData, DevopsUnitsCreateErrors, DevopsUnitsCreateResponses, DevopsUnitsDeleteData, DevopsUnitsDeleteErrors, DevopsUnitsDeleteResponses, DevopsUnitsExecData, DevopsUnitsExecErrors, DevopsUnitsExecResponses, DevopsUnitsFetchData, DevopsUnitsFetchErrors, DevopsUnitsFetchResponses, DevopsUnitsGetData, DevopsUnitsGetErrors, DevopsUnitsGetResponses, DevopsUnitsListData, DevopsUnitsListErrors, DevopsUnitsListResponses, DevopsUnitsPushData, DevopsUnitsPushErrors, DevopsUnitsPushResponses, DevopsUnitsStartData, DevopsUnitsStartErrors, DevopsUnitsStartResponses, DevopsUnitsStopData, DevopsUnitsStopErrors, DevopsUnitsStopResponses, DevopsUnitsTransitionsListData, DevopsUnitsTransitionsListErrors, DevopsUnitsTransitionsListResponses, DevopsWorkspacesGetData, DevopsWorkspacesGetErrors, DevopsWorkspacesGetResponses, DevopsWorkspacesListData, DevopsWorkspacesListErrors, DevopsWorkspacesListResponses, DevopsWorkspacesUpdateData, DevopsWorkspacesUpdateErrors, DevopsWorkspacesUpdateResponses, DissolveOrganizationDepartmentData, DissolveOrganizationDepartmentErrors, DissolveOrganizationDepartmentResponses, DownloadVideoContentData, DownloadVideoContentErrors, DownloadVideoContentResponses, EditImageData, EditImageErrors, EditImageResponses, EnvironmentsArchiveData, EnvironmentsArchiveErrors, EnvironmentsArchiveResponses, EnvironmentsCreateData, EnvironmentsCreateErrors, EnvironmentsCreateResponses, EnvironmentsListData, EnvironmentsListErrors, EnvironmentsListResponses, EnvironmentsRetrieveData, EnvironmentsRetrieveErrors, EnvironmentsRetrieveResponses, EnvironmentsUpdateData, EnvironmentsUpdateErrors, EnvironmentsUpdateResponses, EstablishOrganizationDepartmentData, EstablishOrganizationDepartmentErrors, EstablishOrganizationDepartmentResponses, ExportOrganizationChargesData, ExportOrganizationChargesErrors, ExportOrganizationChargesResponses, ExtendSandboxData, ExtendSandboxErrors, ExtendSandboxResponses, FileAddUploadPartData, FileAddUploadPartErrors, FileAddUploadPartResponses, FileCancelUploadData, FileCancelUploadErrors, FileCancelUploadResponses, FileCompleteUploadData, FileCompleteUploadErrors, FileCompleteUploadResponses, FileCreateContentUrlData, FileCreateContentUrlErrors, FileCreateContentUrlResponses, FileCreateFileData, FileCreateFileErrors, FileCreateFileResponses, FileCreateSignedUploadData, FileCreateSignedUploadErrors, FileCreateSignedUploadResponses, FileCreateUploadData, FileCreateUploadErrors, FileCreateUploadResponses, FileDeleteFileData, FileDeleteFileErrors, FileDeleteFileResponses, FileListFilesData, FileListFilesErrors, FileListFilesResponses, FileRetrieveFileContentData, FileRetrieveFileContentErrors, FileRetrieveFileContentResponses, FileRetrieveFileData, FileRetrieveFileErrors, FileRetrieveFileResponses, FileRetrieveUploadData, FileRetrieveUploadErrors, FileRetrieveUploadResponses, FileRevokeContentLinkData, FileRevokeContentLinkErrors, FileRevokeContentLinkResponses, ForkSessionData, ForkSessionErrors, ForkSessionResponses, FreezeOrganizationPositionData, FreezeOrganizationPositionErrors, FreezeOrganizationPositionResponses, GetAgentAppearanceData, GetAgentAppearanceErrors, GetAgentAppearanceResponses, GetAgentConsolidationData, GetAgentConsolidationErrors, GetAgentConsolidationResponses, GetCustomerData, GetCustomerDeletionData, GetCustomerDeletionErrors, GetCustomerDeletionResponses, GetCustomerErrors, GetCustomerResponses, GetGenerationData, GetGenerationErrors, GetGenerationResponses, GetObservedProcessOutputData, GetObservedProcessOutputErrors, GetObservedProcessOutputResponses, GetOrganizationActorData, GetOrganizationActorErrors, GetOrganizationActorResponses, GetOrganizationAssignmentData, GetOrganizationAssignmentErrors, GetOrganizationAssignmentResponses, GetOrganizationDepartmentData, GetOrganizationDepartmentErrors, GetOrganizationDepartmentResponses, GetOrganizationEventData, GetOrganizationEventErrors, GetOrganizationEventResponses, GetOrganizationFeedbackCountsData, GetOrganizationFeedbackCountsErrors, GetOrganizationFeedbackCountsResponses, GetOrganizationFeedbackData, GetOrganizationFeedbackErrors, GetOrganizationFeedbackResponses, GetOrganizationJobData, GetOrganizationJobErrors, GetOrganizationJobResponses, GetOrganizationKeyResultData, GetOrganizationKeyResultErrors, GetOrganizationKeyResultResponses, GetOrganizationLadderData, GetOrganizationLadderErrors, GetOrganizationLadderResponses, GetOrganizationObjectiveData, GetOrganizationObjectiveErrors, GetOrganizationObjectiveResponses, GetOrganizationPeriodData, GetOrganizationPeriodErrors, GetOrganizationPeriodResponses, GetOrganizationPositionData, GetOrganizationPositionErrors, GetOrganizationPositionResponses, GetSandboxEventsData, GetSandboxEventsErrors, GetSandboxEventsResponses, GetSandboxTaskLogData, GetSandboxTaskLogErrors, GetSandboxTaskLogResponses, GetSandboxV1SandboxesBySandboxIdData, GetSandboxV1SandboxesBySandboxIdErrors, GetSandboxV1SandboxesBySandboxIdLogsData, GetSandboxV1SandboxesBySandboxIdLogsErrors, GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdMetricsData, GetSandboxV1SandboxesBySandboxIdMetricsErrors, GetSandboxV1SandboxesBySandboxIdMetricsResponses, GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesData, GetSandboxV1SandboxesErrors, GetSandboxV1SandboxesResponses, GetSandboxV1SnapshotsData, GetSandboxV1SnapshotsErrors, GetSandboxV1SnapshotsResponses, GetSandboxV1VolumesByVolumeIdData, GetSandboxV1VolumesByVolumeIdErrors, GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesData, GetSandboxV1VolumesErrors, GetSandboxV1VolumesResponses, GetSessionBackgroundTaskOutputData, GetSessionBackgroundTaskOutputErrors, GetSessionBackgroundTaskOutputResponses, GetSessionCompactionData, GetSessionCompactionErrors, GetSessionCompactionResponses, GetSessionContextData, GetSessionContextErrors, GetSessionContextResponses, GetTemplateBuildStatusData, GetTemplateBuildStatusErrors, GetTemplateBuildStatusResponses, GetTemplateWithBuildsData, GetTemplateWithBuildsErrors, GetTemplateWithBuildsResponses, GradeOrganizationObjectiveData, GradeOrganizationObjectiveErrors, GradeOrganizationObjectiveResponses, HealthCheckData, HealthCheckResponses, HireOrganizationPositionData, HireOrganizationPositionErrors, HireOrganizationPositionResponses, KnowledgeAttachFileData, KnowledgeAttachFileErrors, KnowledgeAttachFileResponses, KnowledgeCancelFileBatchData, KnowledgeCancelFileBatchErrors, KnowledgeCancelFileBatchResponses, KnowledgeCreateFileBatchData, KnowledgeCreateFileBatchErrors, KnowledgeCreateFileBatchResponses, KnowledgeCreateVectorStoreData, KnowledgeCreateVectorStoreErrors, KnowledgeCreateVectorStoreResponses, KnowledgeDeleteVectorStoreData, KnowledgeDeleteVectorStoreErrors, KnowledgeDeleteVectorStoreResponses, KnowledgeListBatchFilesData, KnowledgeListBatchFilesErrors, KnowledgeListBatchFilesResponses, KnowledgeListEventsData, KnowledgeListEventsErrors, KnowledgeListEventsResponses, KnowledgeListFilesData, KnowledgeListFilesErrors, KnowledgeListFilesResponses, KnowledgeListSegmentsData, KnowledgeListSegmentsErrors, KnowledgeListSegmentsResponses, KnowledgeListVectorStoresData, KnowledgeListVectorStoresErrors, KnowledgeListVectorStoresResponses, KnowledgePurgeVectorStoreData, KnowledgePurgeVectorStoreErrors, KnowledgePurgeVectorStoreResponses, KnowledgeRemoveFileData, KnowledgeRemoveFileErrors, KnowledgeRemoveFileResponses, KnowledgeRestoreVectorStoreData, KnowledgeRestoreVectorStoreErrors, KnowledgeRestoreVectorStoreResponses, KnowledgeRetrieveFileBatchData, KnowledgeRetrieveFileBatchErrors, KnowledgeRetrieveFileBatchResponses, KnowledgeRetrieveFileContentData, KnowledgeRetrieveFileContentErrors, KnowledgeRetrieveFileContentResponses, KnowledgeRetrieveFileData, KnowledgeRetrieveFileErrors, KnowledgeRetrieveFileResponses, KnowledgeRetrieveSegmentData, KnowledgeRetrieveSegmentErrors, KnowledgeRetrieveSegmentResponses, KnowledgeRetrieveVectorStoreData, KnowledgeRetrieveVectorStoreErrors, KnowledgeRetrieveVectorStoreResponses, KnowledgeRetryFileData, KnowledgeRetryFileErrors, KnowledgeRetryFileResponses, KnowledgeSearchVectorStoreData, KnowledgeSearchVectorStoreErrors, KnowledgeSearchVectorStoreResponses, KnowledgeUpdateFileData, KnowledgeUpdateFileErrors, KnowledgeUpdateFileResponses, KnowledgeUpdateVectorStoreData, KnowledgeUpdateVectorStoreErrors, KnowledgeUpdateVectorStoreResponses, ListAgentEventsData, ListAgentEventsErrors, ListAgentEventsResponses, ListConversationItemsData, ListConversationItemsErrors, ListConversationItemsResponses, ListCustomersData, ListCustomersErrors, ListCustomersResponses, ListModelsData, ListModelsErrors, ListModelsResponses, ListObservedProcessesData, ListObservedProcessesErrors, ListObservedProcessesResponses, ListOrganizationActorsData, ListOrganizationActorsErrors, ListOrganizationActorsResponses, ListOrganizationAssignmentsData, ListOrganizationAssignmentsErrors, ListOrganizationAssignmentsResponses, ListOrganizationCostsData, ListOrganizationCostsErrors, ListOrganizationCostsResponses, ListOrganizationDepartmentsData, ListOrganizationDepartmentsErrors, ListOrganizationDepartmentsResponses, ListOrganizationEventsData, ListOrganizationEventsErrors, ListOrganizationEventsResponses, ListOrganizationFeedbackData, ListOrganizationFeedbackErrors, ListOrganizationFeedbackMessagesData, ListOrganizationFeedbackMessagesErrors, ListOrganizationFeedbackMessagesResponses, ListOrganizationFeedbackResponses, ListOrganizationJobsData, ListOrganizationJobsErrors, ListOrganizationJobsResponses, ListOrganizationKeyResultsData, ListOrganizationKeyResultsErrors, ListOrganizationKeyResultsResponses, ListOrganizationLaddersData, ListOrganizationLaddersErrors, ListOrganizationLaddersResponses, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, ListOrganizationObjectivesData, ListOrganizationObjectivesErrors, ListOrganizationObjectivesResponses, ListOrganizationPeriodsData, ListOrganizationPeriodsErrors, ListOrganizationPeriodsResponses, ListOrganizationPositionsData, ListOrganizationPositionsErrors, ListOrganizationPositionsResponses, ListOrganizationUsageData, ListOrganizationUsageErrors, ListOrganizationUsageResponses, ListResponseInputItemsData, ListResponseInputItemsResponses, ListSandboxFilesData, ListSandboxFilesErrors, ListSandboxFilesResponses, ListSandboxTemplatesData, ListSandboxTemplatesErrors, ListSandboxTemplatesResponses, ListSessionBackgroundTasksData, ListSessionBackgroundTasksErrors, ListSessionBackgroundTasksResponses, ListSessionCompactionsData, ListSessionCompactionsErrors, ListSessionCompactionsResponses, ListTemplateTagsData, ListTemplateTagsErrors, ListTemplateTagsResponses, ListToolsetsData, ListToolsetsErrors, ListToolsetsResponses, ListVideosData, ListVideosErrors, ListVideosResponses, MakePrimaryOrganizationAssignmentData, MakePrimaryOrganizationAssignmentErrors, MakePrimaryOrganizationAssignmentResponses, MakeSandboxDirectoryData, MakeSandboxDirectoryErrors, MakeSandboxDirectoryResponses, MediaBatchAssetsData, MediaBatchAssetsErrors, MediaBatchAssetsResponses, MediaCancelJobData, MediaCancelJobErrors, MediaCancelJobResponses, MediaCreateBatchData, MediaCreateBatchErrors, MediaCreateBatchResponses, MediaCreateDeliveryTokenData, MediaCreateDeliveryTokenErrors, MediaCreateDeliveryTokenResponses, MediaCreateFrameUrlsData, MediaCreateFrameUrlsErrors, MediaCreateFrameUrlsResponses, MediaCreateLibraryData, MediaCreateLibraryErrors, MediaCreateLibraryResponses, MediaCreateMaterialData, MediaCreateMaterialErrors, MediaCreateMaterialResponses, MediaCreateSpeechData, MediaCreateSpeechErrors, MediaCreateSpeechResponses, MediaDeleteAssetData, MediaDeleteAssetErrors, MediaDeleteAssetResponses, MediaDeleteLibraryData, MediaDeleteLibraryErrors, MediaDeleteLibraryResponses, MediaEditAssetData, MediaEditAssetErrors, MediaEditAssetResponses, MediaExpressionSearchData, MediaExpressionSearchErrors, MediaExpressionSearchResponses, MediaGenerateImageData, MediaGenerateImageErrors, MediaGenerateImageResponses, MediaGenerateVideoData, MediaGenerateVideoErrors, MediaGenerateVideoResponses, MediaGetAssetData, MediaGetAssetErrors, MediaGetAssetLineageData, MediaGetAssetLineageErrors, MediaGetAssetLineageResponses, MediaGetAssetResponses, MediaGetBatchData, MediaGetBatchErrors, MediaGetBatchResponses, MediaGetDefaultLibraryData, MediaGetDefaultLibraryErrors, MediaGetDefaultLibraryResponses, MediaGetGenerationCapabilitiesData, MediaGetGenerationCapabilitiesErrors, MediaGetGenerationCapabilitiesResponses, MediaGetJobData, MediaGetJobErrors, MediaGetJobResponses, MediaGetLibraryData, MediaGetLibraryErrors, MediaGetLibraryResponses, MediaGetMaterialData, MediaGetMaterialErrors, MediaGetMaterialResponses, MediaImportAssetData, MediaImportAssetErrors, MediaImportAssetResponses, MediaListAssetsData, MediaListAssetsErrors, MediaListAssetsResponses, MediaListEventsData, MediaListEventsErrors, MediaListEventsResponses, MediaListFoldersData, MediaListFoldersErrors, MediaListFoldersResponses, MediaListJobsData, MediaListJobsErrors, MediaListJobsResponses, MediaListLibrariesData, MediaListLibrariesErrors, MediaListLibrariesResponses, MediaListUnderstandingsByLibraryData, MediaListUnderstandingsByLibraryErrors, MediaListUnderstandingsByLibraryResponses, MediaListUnderstandingsData, MediaListUnderstandingsErrors, MediaListUnderstandingsResponses, MediaPurgeLibraryData, MediaPurgeLibraryErrors, MediaPurgeLibraryResponses, MediaReprocessAssetData, MediaReprocessAssetErrors, MediaReprocessAssetResponses, MediaRestoreAssetVersionData, MediaRestoreAssetVersionErrors, MediaRestoreAssetVersionResponses, MediaRestoreLibraryData, MediaRestoreLibraryErrors, MediaRestoreLibraryResponses, MediaSearchData, MediaSearchErrors, MediaSearchResponses, MediaSemanticSearchData, MediaSemanticSearchErrors, MediaSemanticSearchResponses, MediaSetDefaultLibraryData, MediaSetDefaultLibraryErrors, MediaSetDefaultLibraryResponses, MediaUnderstandingFailureSummaryData, MediaUnderstandingFailureSummaryErrors, MediaUnderstandingFailureSummaryResponses, MediaUpdateAssetData, MediaUpdateAssetErrors, MediaUpdateAssetResponses, MediaUpdateLibraryData, MediaUpdateLibraryErrors, MediaUpdateLibraryResponses, MediaUpdateMaterialData, MediaUpdateMaterialErrors, MediaUpdateMaterialResponses, MediaUploadAssetData, MediaUploadAssetErrors, MediaUploadAssetResponses, MediaVisualSearchData, MediaVisualSearchErrors, MediaVisualSearchResponses, MetaDocsRetrieveData, MetaDocsRetrieveErrors, MetaDocsRetrieveResponses, MetaDocsSearchData, MetaDocsSearchErrors, MetaDocsSearchResponses, MetaMethodsRetrieveData, MetaMethodsRetrieveErrors, MetaMethodsRetrieveResponses, MetaMethodsSearchData, MetaMethodsSearchErrors, MetaMethodsSearchResponses, OntologyApplyChangesetData, OntologyApplyChangesetErrors, OntologyApplyChangesetResponses, OntologyCreateNodeData, OntologyCreateNodeErrors, OntologyCreateNodeResponses, OntologyCreateRelationData, OntologyCreateRelationErrors, OntologyCreateRelationResponses, OntologyInvalidateRelationData, OntologyInvalidateRelationErrors, OntologyInvalidateRelationResponses, OntologyListNodesData, OntologyListNodesErrors, OntologyListNodesResponses, OntologyListRelationsData, OntologyListRelationsErrors, OntologyListRelationsResponses, OntologyListTypesData, OntologyListTypesErrors, OntologyListTypesResponses, OntologyMergeNodeData, OntologyMergeNodeErrors, OntologyMergeNodeResponses, OntologyNeighborhoodData, OntologyNeighborhoodErrors, OntologyNeighborhoodResponses, OntologyRegisterTypeData, OntologyRegisterTypeErrors, OntologyRetrieveNodeData, OntologyRetrieveNodeErrors, OntologyRetrieveNodeResponses, OntologyRetrieveRelationData, OntologyRetrieveRelationErrors, OntologyRetrieveRelationResponses, OntologyRetrieveTypeData, OntologyRetrieveTypeErrors, OntologyRetrieveTypeResponses, OntologySearchData, OntologySearchErrors, OntologySearchResponses, OntologyUpdateNodeData, OntologyUpdateNodeErrors, OntologyUpdateNodeResponses, OpenOrganizationPeriodData, OpenOrganizationPeriodErrors, OpenOrganizationPeriodResponses, OpenOrganizationPositionsData, OpenOrganizationPositionsErrors, OpenOrganizationPositionsResponses, PostSandboxV1SandboxesBySandboxIdConnectData, PostSandboxV1SandboxesBySandboxIdConnectErrors, PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdForkData, PostSandboxV1SandboxesBySandboxIdForkErrors, PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdPauseData, PostSandboxV1SandboxesBySandboxIdPauseErrors, PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsData, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdTimeoutData, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesData, PostSandboxV1SandboxesErrors, PostSandboxV1SandboxesResponses, PostSandboxV1VolumesData, PostSandboxV1VolumesErrors, PostSandboxV1VolumesResponses, PutSandboxV1SandboxesBySandboxIdNetworkData, PutSandboxV1SandboxesBySandboxIdNetworkErrors, PutSandboxV1SandboxesBySandboxIdNetworkResponses, ReadSandboxFileData, ReadSandboxFileErrors, ReadSandboxFileResponses, ReassignOrganizationPositionManagerData, ReassignOrganizationPositionManagerErrors, ReassignOrganizationPositionManagerResponses, RegradeOrganizationPositionData, RegradeOrganizationPositionErrors, RegradeOrganizationPositionResponses, ReleaseComputerLeaseData, ReleaseComputerLeaseErrors, ReleaseComputerLeaseResponses, RemixVideoData, RemixVideoErrors, RemoveSandboxFileData, RemoveSandboxFileErrors, RemoveSandboxFileResponses, RenameSandboxData, RenameSandboxErrors, RenameSandboxResponses, RenewComputerLeaseData, RenewComputerLeaseErrors, RenewComputerLeaseResponses, RenewCustomerAccessTokenData, RenewCustomerAccessTokenErrors, RenewCustomerAccessTokenResponses, ReorganizeOrganizationDepartmentData, ReorganizeOrganizationDepartmentErrors, ReorganizeOrganizationDepartmentResponses, ReplaceOrganizationPositionHolderData, ReplaceOrganizationPositionHolderErrors, ReplaceOrganizationPositionHolderResponses, RequestTemplateBuildData, RequestTemplateBuildErrors, RequestTemplateBuildResponses, RerankData, RerankErrors, RerankResponses, ResolveTemplateAliasData, ResolveTemplateAliasErrors, ResolveTemplateAliasResponses, RetireOrganizationJobData, RetireOrganizationJobErrors, RetireOrganizationJobResponses, RetrieveConversationData, RetrieveConversationErrors, RetrieveConversationItemData, RetrieveConversationItemErrors, RetrieveConversationItemResponses, RetrieveConversationResponses, RetrieveModelData, RetrieveModelErrors, RetrieveModelResponses, RetrieveResponseData, RetrieveResponseResponses, RetrieveVideoData, RetrieveVideoErrors, RetrieveVideoResponses, ReviseOrganizationJobData, ReviseOrganizationJobErrors, ReviseOrganizationJobResponses, ReviseOrganizationKeyResultData, ReviseOrganizationKeyResultErrors, ReviseOrganizationKeyResultResponses, ReviseOrganizationLadderData, ReviseOrganizationLadderErrors, ReviseOrganizationLadderResponses, ReviseOrganizationObjectiveData, ReviseOrganizationObjectiveErrors, ReviseOrganizationObjectiveResponses, ReviseOrganizationPositionData, ReviseOrganizationPositionErrors, ReviseOrganizationPositionResponses, RevokeCustomerTokensData, RevokeCustomerTokensErrors, RevokeCustomerTokensResponses, RunSandboxCommandData, RunSandboxCommandErrors, RunSandboxCommandResponses, SearchCrawlData, SearchCrawlErrors, SearchCrawlResponses, SearchExtractData, SearchExtractErrors, SearchExtractResponses, SearchMapData, SearchMapErrors, SearchMapResponses, SearchSearchData, SearchSearchErrors, SearchSearchResponses, SendAgentEventsData, SendAgentEventsErrors, SendAgentEventsResponses, SessionsArchiveData, SessionsArchiveErrors, SessionsArchiveResponses, SessionsCreateData, SessionsCreateErrors, SessionsCreateResponses, SessionsDeleteData, SessionsDeleteErrors, SessionsDeleteResponses, SessionsEventsListData, SessionsEventsListErrors, SessionsEventsListResponses, SessionsEventsSendData, SessionsEventsSendErrors, SessionsEventsSendResponses, SessionsEventsStreamData, SessionsEventsStreamResponse, SessionsEventsStreamResponses, SessionsListData, SessionsListErrors, SessionsListResponses, SessionsResourcesAddData, SessionsResourcesAddErrors, SessionsResourcesAddResponses, SessionsResourcesDeleteData, SessionsResourcesDeleteErrors, SessionsResourcesDeleteResponses, SessionsResourcesListData, SessionsResourcesListErrors, SessionsResourcesListResponses, SessionsResourcesRetrieveData, SessionsResourcesRetrieveErrors, SessionsResourcesRetrieveResponses, SessionsRetrieveData, SessionsRetrieveErrors, SessionsRetrieveResponses, SessionsThreadsArchiveData, SessionsThreadsArchiveErrors, SessionsThreadsArchiveResponses, SessionsThreadsEventsListData, SessionsThreadsEventsListErrors, SessionsThreadsEventsListResponses, SessionsThreadsEventsStreamData, SessionsThreadsEventsStreamResponse, SessionsThreadsEventsStreamResponses, SessionsThreadsListData, SessionsThreadsListErrors, SessionsThreadsListResponses, SessionsThreadsRetrieveData, SessionsThreadsRetrieveErrors, SessionsThreadsRetrieveResponses, SessionsUpdateData, SessionsUpdateErrors, SessionsUpdateResponses, SetOrganizationKeyResultData, SetOrganizationKeyResultErrors, SetOrganizationKeyResultResponses, SetOrganizationObjectiveData, SetOrganizationObjectiveErrors, SetOrganizationObjectiveResponses, SetRunFeedbackData, SetRunFeedbackErrors, SetRunFeedbackResponses, SkillsCreateData, SkillsCreateErrors, SkillsCreateResponses, SkillsDeleteData, SkillsDeleteErrors, SkillsDeleteResponses, SkillsListData, SkillsListErrors, SkillsListResponses, SkillsRetrieveData, SkillsRetrieveErrors, SkillsRetrieveResponses, SkillsVersionsCreateData, SkillsVersionsCreateErrors, SkillsVersionsCreateResponses, SkillsVersionsDeleteData, SkillsVersionsDeleteErrors, SkillsVersionsDeleteResponses, SkillsVersionsDownloadData, SkillsVersionsDownloadErrors, SkillsVersionsDownloadResponses, SkillsVersionsListData, SkillsVersionsListErrors, SkillsVersionsListResponses, SkillsVersionsRetrieveData, SkillsVersionsRetrieveErrors, SkillsVersionsRetrieveResponses, StartSandboxTaskData, StartSandboxTaskErrors, StartSandboxTaskResponses, StartTemplateBuildData, StartTemplateBuildErrors, StartTemplateBuildResponses, StopSessionBackgroundTaskData, StopSessionBackgroundTaskErrors, StopSessionBackgroundTaskResponses, StreamAgentEventsData, StreamAgentEventsResponse, StreamAgentEventsResponses, StudioCodexesCreateData, StudioCodexesCreateErrors, StudioCodexesCreateResponses, StudioCodexesDeleteData, StudioCodexesDeleteErrors, StudioCodexesDeleteResponses, StudioCodexesGetData, StudioCodexesGetErrors, StudioCodexesGetResponses, StudioCodexesListData, StudioCodexesListErrors, StudioCodexesListResponses, StudioCodexesUpdateData, StudioCodexesUpdateErrors, StudioCodexesUpdateResponses, StudioDraftsCreateData, StudioDraftsCreateErrors, StudioDraftsCreateResponses, StudioDraftsExportData, StudioDraftsExportErrors, StudioDraftsExportResponses, StudioDraftsGetData, StudioDraftsGetErrors, StudioDraftsGetResponses, StudioDraftsListData, StudioDraftsListErrors, StudioDraftsListResponses, StudioDraftsOutlineData, StudioDraftsOutlineErrors, StudioDraftsOutlineResponses, StudioDraftsRebaseData, StudioDraftsRebaseErrors, StudioDraftsRebaseResponses, StudioDraftsReviewData, StudioDraftsReviewErrors, StudioDraftsReviewResponses, StudioDraftsStatusData, StudioDraftsStatusErrors, StudioDraftsStatusResponses, StudioDraftsUpdateBriefData, StudioDraftsUpdateBriefErrors, StudioDraftsUpdateBriefResponses, StudioDraftsUpdateData, StudioDraftsUpdateErrors, StudioDraftsUpdateResponses, StudioEntriesCreateData, StudioEntriesCreateErrors, StudioEntriesCreateResponses, StudioEntriesDeleteData, StudioEntriesDeleteErrors, StudioEntriesDeleteResponses, StudioEntriesGetData, StudioEntriesGetErrors, StudioEntriesGetResponses, StudioEntriesListData, StudioEntriesListErrors, StudioEntriesListResponses, StudioEntriesUpdateData, StudioEntriesUpdateErrors, StudioEntriesUpdateResponses, StudioForeshadowsDeleteData, StudioForeshadowsDeleteErrors, StudioForeshadowsDeleteResponses, StudioForeshadowsListData, StudioForeshadowsListErrors, StudioForeshadowsListResponses, StudioForeshadowsUpsertData, StudioForeshadowsUpsertErrors, StudioForeshadowsUpsertResponses, StudioGenresGetData, StudioGenresGetErrors, StudioGenresGetResponses, StudioGenresListData, StudioGenresListErrors, StudioGenresListResponses, StudioPlatformsGetData, StudioPlatformsGetErrors, StudioPlatformsGetResponses, StudioPlatformsListData, StudioPlatformsListErrors, StudioPlatformsListResponses, StudioProgressionsCreateData, StudioProgressionsCreateErrors, StudioProgressionsCreateResponses, StudioProgressionsDeleteData, StudioProgressionsDeleteErrors, StudioProgressionsDeleteResponses, StudioProgressionsListData, StudioProgressionsListErrors, StudioProgressionsListResponses, StudioRenditionsContentUrlData, StudioRenditionsContentUrlErrors, StudioRenditionsContentUrlResponses, StudioRenditionsCreateData, StudioRenditionsCreateErrors, StudioRenditionsCreateResponses, StudioRenditionsDeleteData, StudioRenditionsDeleteErrors, StudioRenditionsDeleteResponses, StudioRenditionsGetData, StudioRenditionsGetErrors, StudioRenditionsGetResponses, StudioRenditionsListData, StudioRenditionsListErrors, StudioRenditionsListResponses, StudioRenditionsPublishData, StudioRenditionsPublishErrors, StudioRenditionsPublishResponses, StudioRenditionsRenderData, StudioRenditionsRenderErrors, StudioRenditionsRenderResponses, StudioRenditionsUpdateData, StudioRenditionsUpdateErrors, StudioRenditionsUpdateResponses, StudioStylesCreateData, StudioStylesCreateErrors, StudioStylesCreateResponses, StudioStylesDeleteData, StudioStylesDeleteErrors, StudioStylesDeleteResponses, StudioStylesGetData, StudioStylesGetErrors, StudioStylesGetResponses, StudioStylesListData, StudioStylesListErrors, StudioStylesListResponses, StudioStylesUpdateData, StudioStylesUpdateErrors, StudioStylesUpdateResponses, StudioTemplatesCreateData, StudioTemplatesCreateErrors, StudioTemplatesCreateResponses, StudioTemplatesDeleteData, StudioTemplatesDeleteErrors, StudioTemplatesDeleteResponses, StudioTemplatesGetData, StudioTemplatesGetErrors, StudioTemplatesGetResponses, StudioTemplatesListData, StudioTemplatesListErrors, StudioTemplatesListResponses, StudioThemesCreateData, StudioThemesCreateErrors, StudioThemesCreateResponses, StudioThemesDeleteData, StudioThemesDeleteErrors, StudioThemesDeleteResponses, StudioThemesGetData, StudioThemesGetErrors, StudioThemesGetResponses, StudioThemesListData, StudioThemesListErrors, StudioThemesListResponses, StudioThemesUpdateData, StudioThemesUpdateErrors, StudioThemesUpdateResponses, StudioUnitsBatchCreateData, StudioUnitsBatchCreateErrors, StudioUnitsBatchCreateResponses, StudioUnitsBatchUpdateData, StudioUnitsBatchUpdateErrors, StudioUnitsBatchUpdateResponses, StudioUnitsContextData, StudioUnitsContextErrors, StudioUnitsContextResponses, StudioUnitsCreateData, StudioUnitsCreateErrors, StudioUnitsCreateResponses, StudioUnitsGetData, StudioUnitsGetErrors, StudioUnitsGetResponses, StudioUnitsMoveData, StudioUnitsMoveErrors, StudioUnitsMoveResponses, StudioUnitsPatchBlocksData, StudioUnitsPatchBlocksErrors, StudioUnitsPatchBlocksResponses, StudioUnitsUpdateData, StudioUnitsUpdateErrors, StudioUnitsUpdateResponses, StudioWorksCreateData, StudioWorksCreateErrors, StudioWorksCreateResponses, StudioWorksGetData, StudioWorksGetErrors, StudioWorksGetResponses, StudioWorksListData, StudioWorksListErrors, StudioWorksListResponses, StudioWorksResolveData, StudioWorksResolveErrors, StudioWorksResolveResponses, StudioWorksReviewersCreateData, StudioWorksReviewersCreateErrors, StudioWorksReviewersCreateResponses, StudioWorksReviewersDeleteData, StudioWorksReviewersDeleteErrors, StudioWorksReviewersDeleteResponses, StudioWorksReviewersListData, StudioWorksReviewersListErrors, StudioWorksReviewersListResponses, StudioWorksReviewersUpdateData, StudioWorksReviewersUpdateErrors, StudioWorksReviewersUpdateResponses, StudioWorksReviewsCancelData, StudioWorksReviewsCancelErrors, StudioWorksReviewsCancelResponses, StudioWorksReviewsCreateData, StudioWorksReviewsCreateErrors, StudioWorksReviewsCreateResponses, StudioWorksReviewSettingsRetrieveData, StudioWorksReviewSettingsRetrieveErrors, StudioWorksReviewSettingsRetrieveResponses, StudioWorksReviewSettingsUpdateData, StudioWorksReviewSettingsUpdateErrors, StudioWorksReviewSettingsUpdateResponses, StudioWorksReviewsListData, StudioWorksReviewsListErrors, StudioWorksReviewsListResponses, StudioWorksReviewsRetrieveData, StudioWorksReviewsRetrieveErrors, StudioWorksReviewsRetrieveResponses, StudioWorksUpdateData, StudioWorksUpdateErrors, StudioWorksUpdateResponses, TerminateOrganizationAssignmentData, TerminateOrganizationAssignmentErrors, TerminateOrganizationAssignmentResponses, TicketDeleteCommentsIdData, TicketDeleteCommentsIdErrors, TicketDeleteCommentsIdReactionsContentData, TicketDeleteCommentsIdReactionsContentErrors, TicketDeleteCommentsIdReactionsContentResponses, TicketDeleteCommentsIdResponses, TicketDeleteLabelsNameData, TicketDeleteLabelsNameErrors, TicketDeleteLabelsNameResponses, TicketDeleteMilestonesNumberData, TicketDeleteMilestonesNumberErrors, TicketDeleteMilestonesNumberResponses, TicketDeleteTicketsNumberDependenciesBlockedByNData, TicketDeleteTicketsNumberDependenciesBlockedByNErrors, TicketDeleteTicketsNumberDependenciesBlockedByNResponses, TicketDeleteTicketsNumberLockData, TicketDeleteTicketsNumberLockErrors, TicketDeleteTicketsNumberLockResponses, TicketDeleteTicketsNumberReactionsContentData, TicketDeleteTicketsNumberReactionsContentErrors, TicketDeleteTicketsNumberReactionsContentResponses, TicketDeleteTicketsNumberRelationsNData, TicketDeleteTicketsNumberRelationsNErrors, TicketDeleteTicketsNumberRelationsNResponses, TicketDeleteTicketsNumberSubTicketsChildData, TicketDeleteTicketsNumberSubTicketsChildErrors, TicketDeleteTicketsNumberSubTicketsChildResponses, TicketGetActivityData, TicketGetActivityErrors, TicketGetActivityResponses, TicketGetCommentsIdData, TicketGetCommentsIdErrors, TicketGetCommentsIdReactionsData, TicketGetCommentsIdReactionsErrors, TicketGetCommentsIdReactionsResponses, TicketGetCommentsIdResponses, TicketGetLabelsData, TicketGetLabelsErrors, TicketGetLabelsResponses, TicketGetMilestonesData, TicketGetMilestonesErrors, TicketGetMilestonesNumberData, TicketGetMilestonesNumberErrors, TicketGetMilestonesNumberResponses, TicketGetMilestonesResponses, TicketGetRepositoriesData, TicketGetRepositoriesErrors, TicketGetRepositoriesResponses, TicketGetTicketsData, TicketGetTicketsErrors, TicketGetTicketsNumberCommentsData, TicketGetTicketsNumberCommentsErrors, TicketGetTicketsNumberCommentsResponses, TicketGetTicketsNumberData, TicketGetTicketsNumberDependenciesBlockedByData, TicketGetTicketsNumberDependenciesBlockedByErrors, TicketGetTicketsNumberDependenciesBlockedByResponses, TicketGetTicketsNumberDependenciesBlockingData, TicketGetTicketsNumberDependenciesBlockingErrors, TicketGetTicketsNumberDependenciesBlockingResponses, TicketGetTicketsNumberErrors, TicketGetTicketsNumberEventsData, TicketGetTicketsNumberEventsErrors, TicketGetTicketsNumberEventsResponses, TicketGetTicketsNumberReactionsData, TicketGetTicketsNumberReactionsErrors, TicketGetTicketsNumberReactionsResponses, TicketGetTicketsNumberRelationsData, TicketGetTicketsNumberRelationsErrors, TicketGetTicketsNumberRelationsResponses, TicketGetTicketsNumberResponses, TicketGetTicketsNumberSubTicketsData, TicketGetTicketsNumberSubTicketsErrors, TicketGetTicketsNumberSubTicketsResponses, TicketGetTicketsResponses, TicketGetTypesData, TicketGetTypesErrors, TicketGetTypesResponses, TicketPatchCommentsIdData, TicketPatchCommentsIdErrors, TicketPatchCommentsIdResponses, TicketPatchLabelsNameData, TicketPatchLabelsNameErrors, TicketPatchLabelsNameResponses, TicketPatchMilestonesNumberData, TicketPatchMilestonesNumberErrors, TicketPatchMilestonesNumberResponses, TicketPatchRepositoriesIdData, TicketPatchRepositoriesIdErrors, TicketPatchRepositoriesIdResponses, TicketPatchTicketsNumberData, TicketPatchTicketsNumberErrors, TicketPatchTicketsNumberResponses, TicketPostCommentsIdReactionsData, TicketPostCommentsIdReactionsErrors, TicketPostCommentsIdReactionsResponses, TicketPostLabelsData, TicketPostLabelsErrors, TicketPostLabelsResponses, TicketPostMilestonesData, TicketPostMilestonesErrors, TicketPostMilestonesResponses, TicketPostTicketsData, TicketPostTicketsErrors, TicketPostTicketsNumberCommentsData, TicketPostTicketsNumberCommentsErrors, TicketPostTicketsNumberCommentsResponses, TicketPostTicketsNumberDependenciesBlockedByData, TicketPostTicketsNumberDependenciesBlockedByErrors, TicketPostTicketsNumberDependenciesBlockedByResponses, TicketPostTicketsNumberReactionsData, TicketPostTicketsNumberReactionsErrors, TicketPostTicketsNumberReactionsResponses, TicketPostTicketsNumberRelationsData, TicketPostTicketsNumberRelationsErrors, TicketPostTicketsNumberRelationsResponses, TicketPostTicketsNumberSubTicketsData, TicketPostTicketsNumberSubTicketsErrors, TicketPostTicketsNumberSubTicketsResponses, TicketPostTicketsResponses, TicketPutTicketsNumberLockData, TicketPutTicketsNumberLockErrors, TicketPutTicketsNumberLockResponses, TransferOrganizationAssignmentData, TransferOrganizationAssignmentErrors, TransferOrganizationAssignmentResponses, UnarchiveAgentData, UnarchiveAgentErrors, UnarchiveAgentResponses, UnblockCustomerData, UnblockCustomerErrors, UnblockCustomerResponses, UnfreezeOrganizationPositionData, UnfreezeOrganizationPositionErrors, UnfreezeOrganizationPositionResponses, UpdateConversationData, UpdateConversationErrors, UpdateConversationResponses, UpgradeSandboxData, UpgradeSandboxErrors, UpgradeSandboxResponses, VaultArchiveSecretData, VaultArchiveSecretErrors, VaultArchiveSecretResponses, VaultArchiveVaultData, VaultArchiveVaultErrors, VaultArchiveVaultResponses, VaultAuthorizationCallbackData, VaultAuthorizationCallbackResponses, VaultCheckVaultsData, VaultCheckVaultsErrors, VaultCheckVaultsResponses, VaultConnectContinueData, VaultConnectDenyData, VaultConnectDenyResponses, VaultConnectPageData, VaultConnectPageErrors, VaultConnectPageResponses, VaultCreateAuthorizationData, VaultCreateAuthorizationErrors, VaultCreateAuthorizationResponses, VaultCreateSecretData, VaultCreateSecretErrors, VaultCreateSecretResponses, VaultCreateVaultData, VaultCreateVaultErrors, VaultCreateVaultResponses, VaultDeleteSecretData, VaultDeleteSecretErrors, VaultDeleteSecretResponses, VaultDeleteVaultData, VaultDeleteVaultErrors, VaultDeleteVaultResponses, VaultGetAuthorizationData, VaultGetAuthorizationErrors, VaultGetAuthorizationResponses, VaultGetReturnUrlsData, VaultGetReturnUrlsErrors, VaultGetReturnUrlsResponses, VaultGetSecretData, VaultGetSecretErrors, VaultGetSecretResponses, VaultGetVaultData, VaultGetVaultErrors, VaultGetVaultResponses, VaultImportSecretsData, VaultImportSecretsErrors, VaultImportSecretsResponses, VaultListEventsData, VaultListEventsErrors, VaultListEventsResponses, VaultListSecretsData, VaultListSecretsErrors, VaultListSecretsResponses, VaultListTemplatesData, VaultListTemplatesErrors, VaultListTemplatesResponses, VaultListVaultsData, VaultListVaultsErrors, VaultListVaultsResponses, VaultOAuthClientMetadataData, VaultOAuthClientMetadataResponses, VaultRefreshSecretData, VaultRefreshSecretErrors, VaultRefreshSecretResponses, VaultSetReturnUrlsData, VaultSetReturnUrlsErrors, VaultSetReturnUrlsResponses, VaultUpdateSecretData, VaultUpdateSecretErrors, VaultUpdateSecretResponses, VaultUpdateVaultData, VaultUpdateVaultErrors, VaultUpdateVaultResponses, VaultValidateSecretData, VaultValidateSecretErrors, VaultValidateSecretResponses, WriteSandboxFileData, WriteSandboxFileErrors, WriteSandboxFileResponses } from './types.gen.js';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -13,10 +13,40 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
13
13
  */
14
14
  meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
15
15
  };
16
+ /**
17
+ * Read your conversation with an agent
18
+ *
19
+ * Read your conversation with a personal or general agent: the events of your own main session with that agent, the same page sessions.events.list returns — same query parameters, same data + next_page envelope, same event shapes. {agent_id} takes the agent_… id, the eight character identity number or the handle; a service or assume agent answers 400. Use it to collect a reply, to find tool calls waiting for approval, or to learn the real session id without ever asking for one.
20
+ */
21
+ export declare const listAgentEvents: <ThrowOnError extends boolean = false>(options: Options<ListAgentEventsData, ThrowOnError>) => RequestResult<ListAgentEventsResponses, ListAgentEventsErrors, ThrowOnError>;
22
+ /**
23
+ * Send events to an agent
24
+ *
25
+ * Talk to a personal or general agent: the message goes to your own main session with that agent — one entry per person, created on first use and the same every time after — so no session id is needed. This is sessions.events.send addressed by the agent instead of the session: the same body (user.message with exactly one nonempty text block, user.interrupt, user.tool_confirmation, user.custom_tool_result, user.steer, user.withdraw), the same acknowledgement and the same billing. {agent_id} takes the agent_… id, the eight character identity number or the handle. A service or assume agent answers 400 — it has no main session: reach a service agent over A2A, or open a session explicitly with sessions.create. Read the reply with agents.events.list, or follow it while it is produced with agents.events.stream. Example: POST /agent/v1/agents/agent_example/events with {"events":[{"type":"user.message","content":[{"type":"text","text":"你好"}]}]}.
26
+ */
27
+ export declare const sendAgentEvents: <ThrowOnError extends boolean = false>(options: Options<SendAgentEventsData, ThrowOnError>) => RequestResult<SendAgentEventsResponses, SendAgentEventsErrors, ThrowOnError>;
28
+ /**
29
+ * Follow your conversation with an agent live
30
+ *
31
+ * Follow your conversation with a personal or general agent live over Server-Sent Events: the stream of your own main session with that agent, the same stream sessions.events.stream opens, event_deltas[] previews included. {agent_id} takes the agent_… id, the eight character identity number or the handle; a service or assume agent answers 400. Closing the stream only drops your subscription and does not stop the agent; read past events with agents.events.list.
32
+ */
33
+ export declare const streamAgentEvents: <ThrowOnError extends boolean = false>(options: Options<StreamAgentEventsData, ThrowOnError, StreamAgentEventsResponse>) => Promise<ServerSentEventsResult<StreamAgentEventsResponses>>;
34
+ /**
35
+ * Feed an agent an experience
36
+ *
37
+ * Feed an agent an experience it did not live through, so it remembers it the way it remembers a conversation it had: send the messages (or one text) and when it happened, and the agent encodes it as an engram and links the people and things in it. Use it to give an agent a history from outside (an imported chat log, a meeting, a benchmark conversation); to talk to an agent now use agents.events.send, and to change what an agent is told on every turn edit its instructions. The experience becomes a session of this agent marked praxis_origin imported, whose events carry the times you give, and the session is archived at once, which is the boundary that starts consolidation; recall can read the episode back like any archived session. Send exactly one of messages (at most 200, oldest first, role user or assistant, at most 60000 characters in all, at least one user message) or text (one user message); occurred_at is required, an RFC 3339 time that is not in the future, and is the time the engram is stamped with; each message's at defaults to occurred_at and may not be later than it. about lists entity or ref: ids the experience is about, kept as hints. idempotency_key is scoped to this agent: the same key with the same body returns the first consolidation and writes no second engram, the same key with a different body is 409 IDEMPOTENCY_CONFLICT; without a key the body itself is the key. Returns 202 with id, session_id and status queued; poll agents.consolidations.retrieve until done. The pass is billed as the agent's session usage, like any consolidation. Example: POST /agent/v1/agents/agent_example/consolidations with {"text":"I moved to Lyon in March.","occurred_at":"2026-03-04T09:30:00Z"}.
38
+ */
39
+ export declare const createAgentConsolidation: <ThrowOnError extends boolean = false>(options: Options<CreateAgentConsolidationData, ThrowOnError>) => RequestResult<CreateAgentConsolidationResponses, CreateAgentConsolidationErrors, ThrowOnError>;
40
+ /**
41
+ * Read how a consolidation went
42
+ *
43
+ * Read how one consolidation started with agents.consolidations.create is going: status is queued until the pass starts, running while it works, done when the engram is written and failed with an error when the pass gave up. A done consolidation carries engram_id, the engram it wrote, when it wrote one; an experience with nothing worth keeping is done without it. consolidation_id is the id create returned; session_id is the imported session that holds the episode, readable with sessions.events.list. Poll every few seconds; a pass usually finishes within a minute. An id that does not belong to this agent returns 404 CONSOLIDATION_NOT_FOUND.
44
+ */
45
+ export declare const getAgentConsolidation: <ThrowOnError extends boolean = false>(options: Options<GetAgentConsolidationData, ThrowOnError>) => RequestResult<GetAgentConsolidationResponses, GetAgentConsolidationErrors, ThrowOnError>;
16
46
  /**
17
47
  * Apply Agent Version
18
48
  *
19
- * Apply a version from agents.versions.list by its version number. This idempotent operation changes active_version without creating a version; existing sessions and tokens keep their version. The response is the latest saved agent with its current active_version. Missing versions return 404 Agent version not found; archived agents return 409 Agent is archived. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.
49
+ * Apply a saved version from agents.versions.list for new sessions and newly issued tokens, without creating a version. Existing sessions and tokens retain their version. The response contains the effective configuration with version equal to active_version and latest_version naming the newest saved version. Missing versions return 404; archived agents return 409. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.
20
50
  */
21
51
  export declare const applyAgentVersion: <ThrowOnError extends boolean = false>(options: Options<ApplyAgentVersionData, ThrowOnError>) => RequestResult<ApplyAgentVersionResponses, ApplyAgentVersionErrors, ThrowOnError>;
22
52
  /**
@@ -148,7 +178,7 @@ export declare const computersList: <ThrowOnError extends boolean = false>(optio
148
178
  /**
149
179
  * Create Computer
150
180
  *
151
- * Create a durable computer: a named machine whose files outlive sessions, for personal agents.
181
+ * Create a durable computer: a named machine whose files outlive sessions, for general and personal agents.
152
182
  *
153
183
  * Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
154
184
  */
@@ -209,6 +239,14 @@ export declare const computersFilesList: <ThrowOnError extends boolean = false>(
209
239
  * Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
210
240
  */
211
241
  export declare const computersFilesContent: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesContentData, ThrowOnError>) => RequestResult<ComputersFilesContentResponses, ComputersFilesContentErrors, ThrowOnError>;
242
+ /**
243
+ * Convert a Computer Document to PDF
244
+ *
245
+ * Convert an Office document (docx, doc, ppt, pptx, rtf, odt; up to 16 MiB) to PDF inside a platform-owned ephemeral document sandbox, whatever machine family the computer itself runs on. Returns base64 PDF bytes.
246
+ *
247
+ * Praxis extension: the preview conversion endpoint. The browser never parses an untrusted document — LibreOffice runs only inside an ephemeral document-family sandbox and the converter instance is killed after use. The file stays tenant-owned; non-convertible types answer EXTENSION_NOT_CONVERTIBLE and a failed conversion answers CONVERSION_FAILED.
248
+ */
249
+ export declare const computersFilesConvert: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesConvertData, ThrowOnError>) => RequestResult<ComputersFilesConvertResponses, ComputersFilesConvertErrors, ThrowOnError>;
212
250
  /**
213
251
  * Connect computer
214
252
  *
@@ -286,7 +324,7 @@ export declare const stopSessionBackgroundTask: <ThrowOnError extends boolean =
286
324
  *
287
325
  * Request session context compaction and retrieve an operation receipt.
288
326
  *
289
- * Available only on /agent/v1. The body may be omitted or {}. Optional instructions must be a string and is forwarded unchanged. Idempotency-Key is forwarded unchanged; a UUID is generated when absent. Returns { type: session_compaction, id, status, reason? }, where id is the operation ID. queued/running return 202; skipped/succeeded/failed return 200. Non-string instructions return 400 invalid_request_error. Missing or inaccessible managed sessions return 404 not_found_error.
327
+ * Available only on /agent/v1. The body may be omitted or {}. Optional instructions must be a string and is forwarded unchanged. Idempotency-Key is forwarded unchanged; a UUID is generated when absent. Returns { type: session_compaction, id, status, reason? }, where id is the operation ID. queued/running return 202; skipped/succeeded/failed/cancelled return 200. Non-string instructions return 400 invalid_request_error. Missing or inaccessible managed sessions return 404 not_found_error.
290
328
  */
291
329
  export declare const compactSession: <ThrowOnError extends boolean = false>(options: Options<CompactSessionData, ThrowOnError>) => RequestResult<CompactSessionResponses, CompactSessionErrors, ThrowOnError>;
292
330
  /**
@@ -302,7 +340,7 @@ export declare const getSessionCompaction: <ThrowOnError extends boolean = false
302
340
  *
303
341
  * Read session compaction history and summaries.
304
342
  *
305
- * Available only on /agent/v1. Returns { data: [...] }. Each entry contains type, id, event_id, trigger, status, model, compacted_message_count, input_tokens_before, input_tokens_after, summary, error and created_at, as recorded by the service. Missing or inaccessible managed sessions return 404 not_found_error.
343
+ * Available only on /agent/v1. Returns { data: [...], active }. active is the queued or running compaction ({ type: session_compaction, id, status, trigger: manual|auto|idle }), or null when none; manual work takes precedence. Each data entry contains type, id, event_id, trigger, status, model, compacted_message_count, input_tokens_before, input_tokens_after, summary, error and created_at, as recorded by the service. Missing or inaccessible managed sessions return 404 not_found_error.
306
344
  */
307
345
  export declare const listSessionCompactions: <ThrowOnError extends boolean = false>(options: Options<ListSessionCompactionsData, ThrowOnError>) => RequestResult<ListSessionCompactionsResponses, ListSessionCompactionsErrors, ThrowOnError>;
308
346
  /**
@@ -347,6 +385,12 @@ export declare const browserGetDebug: <ThrowOnError extends boolean = false>(opt
347
385
  * 按事件序号升序读取指定会话的事件账本,包含生命周期和接管等事件,不包含页面点击或输入内容。可按 types 筛选,并将 nextCursor 原样传入读取后续页。
348
386
  */
349
387
  export declare const browserListEvents: <ThrowOnError extends boolean = false>(options: Options<BrowserListEventsData, ThrowOnError>) => RequestResult<BrowserListEventsResponses, BrowserListEventsErrors, ThrowOnError>;
388
+ /**
389
+ * 执行页面动作
390
+ *
391
+ * 在会话的浏览器里执行一个页面动作并返回结果,由浏览器服务执行,客户端不需要 Playwright。同一会话的动作按到达顺序串行执行,单个动作 30 秒内完成。先用 snapshot 读取页面:元素带 [ref=eN],click、fill、select 按 ref 操作;ref 只在最近一次快照里有效,页面跳转后失效(409 ACTION_REF_STALE,重新 snapshot)。省略 tab 时作用于当前标签页。
392
+ */
393
+ export declare const browserRunPageAction: <ThrowOnError extends boolean = false>(options: Options<BrowserRunPageActionData, ThrowOnError>) => RequestResult<BrowserRunPageActionResponses, BrowserRunPageActionErrors, ThrowOnError>;
350
394
  /**
351
395
  * 请求人工接管
352
396
  *
@@ -365,10 +409,16 @@ export declare const browserCompleteHandoff: <ThrowOnError extends boolean = fal
365
409
  * 登记运行中会话的观看者仍在线,以免无人连接时因空闲被释放。观看页面可见期间为同一观看者重复发送相同 viewerId;停止观看后停止发送,过期心跳不再计为在线。
366
410
  */
367
411
  export declare const browserViewerHeartbeat: <ThrowOnError extends boolean = false>(options: Options<BrowserViewerHeartbeatData, ThrowOnError>) => RequestResult<BrowserViewerHeartbeatResponses, BrowserViewerHeartbeatErrors, ThrowOnError>;
412
+ /**
413
+ * 读取会话只读画面帧
414
+ *
415
+ * 读取会话的一张只读画面帧(JPEG 字节)。创建者可读,同组织其他成员只在该会话声明为组织可见时可读;其余情况一律返回 404 SESSION_NOT_FOUND,不提示会话是否存在。响应体没有任何可控制浏览器的凭据,且不接受任何动作参数。
416
+ */
417
+ export declare const browserGetSessionFrame: <ThrowOnError extends boolean = false>(options: Options<BrowserGetSessionFrameData, ThrowOnError>) => RequestResult<BrowserGetSessionFrameResponses, BrowserGetSessionFrameErrors, ThrowOnError>;
368
418
  /**
369
419
  * 列出浏览器上下文
370
420
  *
371
- * 分页列出当前账户保存的登录态,按登录态 ID 升序排列。每项返回名称、标签及保存内容的统计信息;将 nextCursor 原样传入读取下一页,直到其为 null。
421
+ * 分页列出当前账户保存的登录态,按登录态 ID 升序排列。每项返回名称、标签及保存内容的统计信息;将 nextCursor 原样传入读取下一页,直到其为 null。传 name 时只返回该名称的登录态;名称在当前账户内唯一,所以最多一条。
372
422
  */
373
423
  export declare const browserListContexts: <ThrowOnError extends boolean = false>(options?: Options<BrowserListContextsData, ThrowOnError>) => RequestResult<BrowserListContextsResponses, BrowserListContextsErrors, ThrowOnError>;
374
424
  /**
@@ -413,6 +463,12 @@ export declare const browserLiveView: <ThrowOnError extends boolean = false>(opt
413
463
  * SSE:event 为 snapshot、session、pages、action、event 或 end,data 为对应 JSON。先发送 snapshot 快照,再推送实时变化和 ping 注释;end 后关闭。不支持按 Last-Event-ID 历史重放。
414
464
  */
415
465
  export declare const browserStreamSession: <ThrowOnError extends boolean = false>(options: Options<BrowserStreamSessionData, ThrowOnError, BrowserStreamSessionResponse>) => Promise<ServerSentEventsResult<BrowserStreamSessionResponses>>;
466
+ /**
467
+ * 订阅会话只读画面
468
+ *
469
+ * SSE:只推送只读画面帧,event 为 frame 或 end,data 为帧的 JSON 或 null;帧 data 是 JPEG 的 base64 编码,ts 是浏览器产生该帧的时刻(epoch 毫秒),约每秒最多 5 帧。评论 ping 每 15 秒一次,end 后关闭。这条通道与 /sessions/{sessionId}/stream 相互独立:它的消息只含画面,绝不含 wsUrl、signingKey、connectUrl、debuggerUrl、debuggerFullscreenUrl。创建者可订阅,同组织其他成员只在该会话声明为组织可见时可订阅;其余情况一律返回 404 SESSION_NOT_FOUND。
470
+ */
471
+ export declare const browserStreamSessionFrames: <ThrowOnError extends boolean = false>(options: Options<BrowserStreamSessionFramesData, ThrowOnError, BrowserStreamSessionFramesResponse>) => Promise<ServerSentEventsResult<BrowserStreamSessionFramesResponses>>;
416
472
  /**
417
473
  * 读取 Selenium 不支持提示
418
474
  *
@@ -428,7 +484,7 @@ export declare const fileListFiles: <ThrowOnError extends boolean = false>(optio
428
484
  /**
429
485
  * Upload file
430
486
  *
431
- * Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data, assistants and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File(["Return within 23 days."], "policy.txt", { type: "text/plain" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–2592000), or praxis[expires_in_seconds] (3600–7776000), never both. Without expiry, the file persists until deleted.
487
+ * Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data, assistants and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File(["Return within 23 days."], "policy.txt", { type: "text/plain" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–7776000). Without expiry, the file persists until deleted.
432
488
  */
433
489
  export declare const fileCreateFile: <ThrowOnError extends boolean = false>(options: Options<FileCreateFileData, ThrowOnError>) => RequestResult<FileCreateFileResponses, FileCreateFileErrors, ThrowOnError>;
434
490
  /**
@@ -452,19 +508,19 @@ export declare const fileRetrieveFileContent: <ThrowOnError extends boolean = fa
452
508
  /**
453
509
  * Create an upload
454
510
  *
455
- * Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 2 GiB (2147483648 bytes) and only user_data, assistants and vision purposes. Add parts of at most 64000000 bytes and complete within one hour. Optional part_size enables fixed-size, retryable parts. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.
511
+ * Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 20 GiB (21474836480 bytes) and only user_data, assistants and vision purposes. Send parts of at most 64000000 bytes; an unfinished upload waits for them for 7 days, so a client can create → send parts → query GET /file/v1/uploads/{upload_id} → resend only the missing parts → complete. Optional part_size fixes every part length and makes each numbered part retryable with identical bytes. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.
456
512
  */
457
513
  export declare const fileCreateUpload: <ThrowOnError extends boolean = false>(options: Options<FileCreateUploadData, ThrowOnError>) => RequestResult<FileCreateUploadResponses, FileCreateUploadErrors, ThrowOnError>;
458
514
  /**
459
515
  * Add an upload part
460
516
  *
461
- * Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.
517
+ * Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID, and query GET /file/v1/uploads/{upload_id} to see which numbers already arrived. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.
462
518
  */
463
519
  export declare const fileAddUploadPart: <ThrowOnError extends boolean = false>(options: Options<FileAddUploadPartData, ThrowOnError>) => RequestResult<FileAddUploadPartResponses, FileAddUploadPartErrors, ThrowOnError>;
464
520
  /**
465
521
  * Complete an upload
466
522
  *
467
- * Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.
523
+ * Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. When parts were lost, query GET /file/v1/uploads/{upload_id} and resend them before completing. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.
468
524
  */
469
525
  export declare const fileCompleteUpload: <ThrowOnError extends boolean = false>(options: Options<FileCompleteUploadData, ThrowOnError>) => RequestResult<FileCompleteUploadResponses, FileCompleteUploadErrors, ThrowOnError>;
470
526
  /**
@@ -473,6 +529,30 @@ export declare const fileCompleteUpload: <ThrowOnError extends boolean = false>(
473
529
  * Cancel an unfinished upload using upload_id from create and release its reserved storage. Further parts and completion are rejected. Cancelling an already cancelled upload returns the same terminal result; a completed upload cannot be cancelled. Delete its resulting file instead.
474
530
  */
475
531
  export declare const fileCancelUpload: <ThrowOnError extends boolean = false>(options: Options<FileCancelUploadData, ThrowOnError>) => RequestResult<FileCancelUploadResponses, FileCancelUploadErrors, ThrowOnError>;
532
+ /**
533
+ * Retrieve an upload
534
+ *
535
+ * Read the state of an unfinished upload — its status, declared bytes, fixed part_size and the parts it already holds (received_parts, each with part_number, bytes and sha256). After a break or a failed part, call it to resend only the missing numbers, then complete. A cancelled or expired upload is refused; a completed one returns its file. A missing or other-organization upload returns 404.
536
+ */
537
+ export declare const fileRetrieveUpload: <ThrowOnError extends boolean = false>(options: Options<FileRetrieveUploadData, ThrowOnError>) => RequestResult<FileRetrieveUploadResponses, FileRetrieveUploadErrors, ThrowOnError>;
538
+ /**
539
+ * Create a one-time upload URL
540
+ *
541
+ * Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {"filename":"photo.png","bytes":2048,"content_type":"image/png"}.
542
+ */
543
+ export declare const fileCreateSignedUpload: <ThrowOnError extends boolean = false>(options: Options<FileCreateSignedUploadData, ThrowOnError>) => RequestResult<FileCreateSignedUploadResponses, FileCreateSignedUploadErrors, ThrowOnError>;
544
+ /**
545
+ * Create a download URL
546
+ *
547
+ * Download a file's bytes to a local disk from a coding agent without sending them through the model. Use file_id from file creation or listing, then run curl -fsSL -o <filename> '<url>' locally with the returned URL; GET needs no Authorization header. The link is reusable until expiry and supports a single byte Range (for example Range: bytes=0-9 returns 206). Revoke it with files.contentLinks.revoke, passing the token after /c/ in the URL. Expired, revoked, invalid or cross-organization URLs return 404. Lifetime defaults to 900 seconds and is at most 604800 seconds. Issuance requires the same credential and file-read access as files.retrieveContent; a processing file returns 409 FILE_NOT_READY, so poll files.retrieve until active before retrying. A missing, expired or other-organization file returns 404. Each issuance creates a new link. OpenAI Files has no signed download URL; this follows S3 presigned GET semantics. Example body: {"ttl_seconds":3600}.
548
+ */
549
+ export declare const fileCreateContentUrl: <ThrowOnError extends boolean = false>(options: Options<FileCreateContentUrlData, ThrowOnError>) => RequestResult<FileCreateContentUrlResponses, FileCreateContentUrlErrors, ThrowOnError>;
550
+ /**
551
+ * Revoke a file content link
552
+ *
553
+ * Stop a previously issued content link from reading a file. Obtain the link with files.contentUrl.create. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within 15 minutes; the file and other links remain available. Only current IAM capability tokens can be revoked; legacy content links expire at the migration deadline. Example body: {"token":"<token from /c/>"}.
554
+ */
555
+ export declare const fileRevokeContentLink: <ThrowOnError extends boolean = false>(options: Options<FileRevokeContentLinkData, ThrowOnError>) => RequestResult<FileRevokeContentLinkResponses, FileRevokeContentLinkErrors, ThrowOnError>;
476
556
  /**
477
557
  * Health Check
478
558
  *
@@ -507,6 +587,18 @@ export declare const metaMethodsSearch: <ThrowOnError extends boolean = false>(o
507
587
  *
508
588
  */
509
589
  export declare const metaMethodsRetrieve: <ThrowOnError extends boolean = false>(options: Options<MetaMethodsRetrieveData, ThrowOnError>) => RequestResult<MetaMethodsRetrieveResponses, MetaMethodsRetrieveErrors, ThrowOnError>;
590
+ /**
591
+ * Read documentation Markdown
592
+ *
593
+ * Read a platform guide or reference before implementing an unfamiliar capability. Public; no API key required. Take path from praxis.meta.docs.search, or use developers/automation/guides/write-workflow. Append #heading-id to path to read only that section, including its subsections. Encode the hash as %23 over HTTP; SDK callers pass it in the path string. lang defaults to zh; en selects the English page. Unknown pages or anchors return DOC_NOT_FOUND; search again for a valid path.
594
+ */
595
+ export declare const metaDocsRetrieve: <ThrowOnError extends boolean = false>(options: Options<MetaDocsRetrieveData, ThrowOnError>) => RequestResult<MetaDocsRetrieveResponses, MetaDocsRetrieveErrors, ThrowOnError>;
596
+ /**
597
+ * Search platform documentation
598
+ *
599
+ * Find guides and references by keyword before reading them with praxis.meta.docs.retrieve. Public; no API key required. Matches documentation titles, headings and page text without case sensitivity; all query words must occur. q is required; limit defaults to 20 and accepts 1–50. lang defaults to zh or use en for English. Returns paths, page titles, canonical URLs and short matching snippets; no matches returns an empty array.
600
+ */
601
+ export declare const metaDocsSearch: <ThrowOnError extends boolean = false>(options: Options<MetaDocsSearchData, ThrowOnError>) => RequestResult<MetaDocsSearchResponses, MetaDocsSearchErrors, ThrowOnError>;
510
602
  /**
511
603
  * List Models
512
604
  *
@@ -555,6 +647,12 @@ export declare const downloadVideoContent: <ThrowOnError extends boolean = false
555
647
  * Not supported in this release; always returns 400.
556
648
  */
557
649
  export declare const remixVideo: <ThrowOnError extends boolean = false>(options: Options<RemixVideoData, ThrowOnError>) => RequestResult<unknown, RemixVideoErrors, ThrowOnError>;
650
+ /**
651
+ * Ask structured decision questions
652
+ *
653
+ * Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.
654
+ */
655
+ export declare const createSystemone: <ThrowOnError extends boolean = false>(options: Options<CreateSystemoneData, ThrowOnError>) => RequestResult<CreateSystemoneResponses, CreateSystemoneErrors, ThrowOnError>;
558
656
  /**
559
657
  * Transcribe audio
560
658
  *
@@ -705,6 +803,12 @@ export declare const compactResponse: <ThrowOnError extends boolean = false>(opt
705
803
  * Request an input-token count for Responses input. Unlike OpenAI, this operation is unavailable and returns 501; use the documented Messages token-count operation only when its input shape and estimation limits fit your task.
706
804
  */
707
805
  export declare const countResponseInputTokens: <ThrowOnError extends boolean = false>(options: Options<CountResponseInputTokensData, ThrowOnError>) => RequestResult<CountResponseInputTokensResponses, CountResponseInputTokensErrors, ThrowOnError>;
806
+ /**
807
+ * List organization members
808
+ *
809
+ * Concepts follow GitHub org members: find a person's user id, for example to assign an approver to an approval task. Lists only members of the organization behind your API key or runtime token, ordered by joined_at ascending (membership id breaks ties). Ask the user who should approve, then use that member's id. Emails are visible only within this organization. The request cannot select another organization. Pass next_page unchanged as page; null means the end. Read-only; no usage charge. Example: GET /organization/v1/members?limit=20.
810
+ */
811
+ export declare const listOrganizationMembers: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationMembersData, ThrowOnError>) => RequestResult<ListOrganizationMembersResponses, ListOrganizationMembersErrors, ThrowOnError>;
708
812
  /**
709
813
  * List your organization's feedback
710
814
  *
@@ -776,6 +880,294 @@ export declare const getOrganizationEvent: <ThrowOnError extends boolean = false
776
880
  *
777
881
  */
778
882
  export declare const exportOrganizationCharges: <ThrowOnError extends boolean = false>(options: Options<ExportOrganizationChargesData, ThrowOnError>) => RequestResult<ExportOrganizationChargesResponses, ExportOrganizationChargesErrors, ThrowOnError>;
883
+ /**
884
+ * List departments
885
+ *
886
+ * Lists the departments of your organization's tree, including the root department; use it to find a department id or to walk the tree one level at a time with parent_id. Dissolved departments are included unless you filter status=active. Filters combine with AND. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/departments?status=active.
887
+ */
888
+ export declare const listOrganizationDepartments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationDepartmentsData, ThrowOnError>) => RequestResult<ListOrganizationDepartmentsResponses, ListOrganizationDepartmentsErrors, ThrowOnError>;
889
+ /**
890
+ * Establish a department
891
+ *
892
+ * Creates a department under an existing active parent department; use it to grow the tree, and use reorganize to rename or move one that already exists. order defaults to one after the last active sibling. The new department has no head position and no charter: open a position in it, then designate that position as head. Requires an organization owner or admin, or the head of the parent department or of a department above it. Errors: 400 INVALID_PARAMS for a missing or empty name, a name over 100 characters, an unknown body field or an active sibling with the same name; 403 PERMISSION_DENIED; 404 DEPARTMENT_NOT_FOUND when the parent does not exist; 409 DEPARTMENT_DISSOLVED when the parent is dissolved. Example body: {"parent_id":"dept_123","name":"Support"}.
893
+ */
894
+ export declare const establishOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<EstablishOrganizationDepartmentData, ThrowOnError>) => RequestResult<EstablishOrganizationDepartmentResponses, EstablishOrganizationDepartmentErrors, ThrowOnError>;
895
+ /**
896
+ * Get a department
897
+ *
898
+ * Reads one department with its head position id and its charter, including the charter revision you need before amending the charter. Read-only. Errors: 404 DEPARTMENT_NOT_FOUND when the id is not a department of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
899
+ */
900
+ export declare const getOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationDepartmentData, ThrowOnError>) => RequestResult<GetOrganizationDepartmentResponses, GetOrganizationDepartmentErrors, ThrowOnError>;
901
+ /**
902
+ * Reorganize a department
903
+ *
904
+ * Renames a department, moves it under another parent, or changes its sort order; send at least one of parent_id, name and order. Sub-departments and positions move with it. Requires an organization owner or admin. The root department is the organization itself: its name is the organization's name and cannot be changed here (rename the organization in its settings), and it can never be moved, but its order can change. Errors: 400 INVALID_PARAMS when no field is given, a name is empty or over 100 characters, or a department already has that name under the same parent; 400 DEPARTMENT_CYCLE when the new parent is the department itself or one of its descendants; 403 PERMISSION_DENIED; 404 DEPARTMENT_NOT_FOUND for the department or the new parent; 409 DEPARTMENT_DISSOLVED when either is dissolved; 409 DEPARTMENT_ROOT_IMMUTABLE when parent_id or name is sent for the root.
905
+ */
906
+ export declare const reorganizeOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<ReorganizeOrganizationDepartmentData, ThrowOnError>) => RequestResult<ReorganizeOrganizationDepartmentResponses, ReorganizeOrganizationDepartmentErrors, ThrowOnError>;
907
+ /**
908
+ * Dissolve a department
909
+ *
910
+ * Dissolves an empty department: it leaves the active tree, keeps its record for history, and takes no new sub-departments or positions. This API has no operation to reopen it. Requires an organization owner or admin. The department must have no active sub-department and no position that is not closed; dissolve or close those first. Takes no body. Errors: 403 PERMISSION_DENIED; 404 DEPARTMENT_NOT_FOUND; 409 DEPARTMENT_NOT_EMPTY while an active sub-department or an unclosed position remains; 409 DEPARTMENT_ROOT_IMMUTABLE for the root; 409 DEPARTMENT_DISSOLVED when it is already dissolved.
911
+ */
912
+ export declare const dissolveOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<DissolveOrganizationDepartmentData, ThrowOnError>) => RequestResult<DissolveOrganizationDepartmentResponses, DissolveOrganizationDepartmentErrors, ThrowOnError>;
913
+ /**
914
+ * Amend a department charter
915
+ *
916
+ * Replaces the charter of a department: free-text rules that apply to the department and are inherited by every department below it. Send the charter.revision you last read as expected_revision (0 when the department has no charter yet); each successful amendment raises the revision by one. Requires an organization owner or admin, or the head of the department or of a department above it. Errors: 400 INVALID_PARAMS for text over 2000 characters or a non-integer expected_revision; 403 PERMISSION_DENIED; 404 DEPARTMENT_NOT_FOUND; 409 DEPARTMENT_DISSOLVED; 409 REVISION_CONFLICT when the charter moved on, so get the department again, merge your change and retry with its revision.
917
+ */
918
+ export declare const amendOrganizationDepartmentCharter: <ThrowOnError extends boolean = false>(options: Options<AmendOrganizationDepartmentCharterData, ThrowOnError>) => RequestResult<AmendOrganizationDepartmentCharterResponses, AmendOrganizationDepartmentCharterErrors, ThrowOnError>;
919
+ /**
920
+ * List jobs
921
+ *
922
+ * Lists the jobs of your organization ordered by code; use it to find the job_id to open positions from. Retired jobs are included unless you filter status=active. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
923
+ */
924
+ export declare const listOrganizationJobs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationJobsData, ThrowOnError>) => RequestResult<ListOrganizationJobsResponses, ListOrganizationJobsErrors, ThrowOnError>;
925
+ /**
926
+ * Define a job
927
+ *
928
+ * Creates a job: a reusable template of duties and methods that is copied onto each position opened from it. The new job starts at revision 1 and status active. code is your own unique key for the job inside the organization. level_ids restricts the levels positions of this job may carry (empty or omitted allows any level). Requires an organization owner or admin. Errors: 400 INVALID_PARAMS for an empty or duplicate code, a name over 100 characters, text over 4000 characters or an unknown body field; 403 PERMISSION_DENIED; 404 JOB_LEVEL_NOT_FOUND when a level id does not exist. Example body: {"code":"support-agent","name":"Support agent","duties":"Answer customer tickets."}.
929
+ */
930
+ export declare const defineOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationJobData, ThrowOnError>) => RequestResult<DefineOrganizationJobResponses, DefineOrganizationJobErrors, ThrowOnError>;
931
+ /**
932
+ * Get a job
933
+ *
934
+ * Reads one job with its current revision, which you need before revising it. Read-only. Errors: 404 JOB_NOT_FOUND when the id is not a job of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
935
+ */
936
+ export declare const getOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationJobData, ThrowOnError>) => RequestResult<GetOrganizationJobResponses, GetOrganizationJobErrors, ThrowOnError>;
937
+ /**
938
+ * Revise a job
939
+ *
940
+ * Changes the name, duties, methods or allowed levels of a job; send expected_revision and at least one of those fields. Positions already opened keep their own copy and level, and only positions opened afterwards use the revised text. level_ids replaces the whole list. Each success raises the job revision by one. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS when no field is given or a value breaks its limits; 403 PERMISSION_DENIED; 404 JOB_NOT_FOUND; 404 JOB_LEVEL_NOT_FOUND when a level id does not exist; 409 REVISION_CONFLICT when the job moved on, so get the job again and retry with its revision.
941
+ */
942
+ export declare const reviseOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationJobData, ThrowOnError>) => RequestResult<ReviseOrganizationJobResponses, ReviseOrganizationJobErrors, ThrowOnError>;
943
+ /**
944
+ * Retire a job
945
+ *
946
+ * Retires a job so no new position can be opened from it; positions already opened are unchanged. Retiring a job that is already retired returns it unchanged. Takes no body. Requires an organization owner or admin. Errors: 403 PERMISSION_DENIED; 404 JOB_NOT_FOUND.
947
+ */
948
+ export declare const retireOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<RetireOrganizationJobData, ThrowOnError>) => RequestResult<RetireOrganizationJobResponses, RetireOrganizationJobErrors, ThrowOnError>;
949
+ /**
950
+ * List job ladders
951
+ *
952
+ * Lists the job ladders of your organization, oldest first, each with its levels in ascending order; use it to find the level ids for jobs and positions. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
953
+ */
954
+ export declare const listOrganizationLadders: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationLaddersData, ThrowOnError>) => RequestResult<ListOrganizationLaddersResponses, ListOrganizationLaddersErrors, ThrowOnError>;
955
+ /**
956
+ * Define a job ladder
957
+ *
958
+ * Creates a job ladder: a named, ordered set of job levels such as junior to senior. Each level gets its own id (lvl_...), which jobs and positions refer to. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS for an empty name, an empty levels array, two levels with the same order or an unknown body field; 403 PERMISSION_DENIED. Example body: {"name":"Support","levels":[{"name":"Junior","order":1},{"name":"Senior","order":2}]}.
959
+ */
960
+ export declare const defineOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationLadderData, ThrowOnError>) => RequestResult<DefineOrganizationLadderResponses, DefineOrganizationLadderErrors, ThrowOnError>;
961
+ /**
962
+ * Get a job ladder
963
+ *
964
+ * Reads one job ladder with its levels in ascending order. Read-only. Errors: 404 LADDER_NOT_FOUND when the id is not a ladder of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
965
+ */
966
+ export declare const getOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationLadderData, ThrowOnError>) => RequestResult<GetOrganizationLadderResponses, GetOrganizationLadderErrors, ThrowOnError>;
967
+ /**
968
+ * Revise a job ladder
969
+ *
970
+ * Replaces all levels of a ladder with the array you send. A level with an id keeps that id and takes the new name and order, a level without an id is created, and an existing level you leave out is deleted. A level cannot be deleted while an open position or a job's level_ids still refers to it; first regrade those positions or revise those jobs. Send name to rename the ladder; leave it out to keep the name. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS for an empty levels array, duplicate order values, a level id sent twice or a level that is still referenced; 403 PERMISSION_DENIED; 404 LADDER_NOT_FOUND; 404 JOB_LEVEL_NOT_FOUND when a level id does not belong to this ladder.
971
+ */
972
+ export declare const reviseOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationLadderData, ThrowOnError>) => RequestResult<ReviseOrganizationLadderResponses, ReviseOrganizationLadderErrors, ThrowOnError>;
973
+ /**
974
+ * List positions
975
+ *
976
+ * Lists positions across the organization ordered by department and then number, vacant ones included; narrow it with department_id, job_id, status or is_head. Filters combine with AND. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100, a non-boolean is_head or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/positions?department_id=dept_123&status=active.
977
+ */
978
+ export declare const listOrganizationPositions: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPositionsData, ThrowOnError>) => RequestResult<ListOrganizationPositionsResponses, ListOrganizationPositionsErrors, ThrowOnError>;
979
+ /**
980
+ * Open positions
981
+ *
982
+ * Opens one or more vacant positions in a department, optionally from a job: the job's name becomes the title and its duties and methods are copied onto each position. Without job_id a title is required. Positions get consecutive numbers in the department that are never reused. Open a position and then hire into it; the root department's head position already exists and is held by the organization's owner, seated automatically when the organization is first used. request_id makes the call idempotent: repeating it returns the first result and opens nothing more. Requires an organization owner or admin, or the head of the department or of a department above it. Errors: 400 INVALID_PARAMS for a count outside 1 to 100, a missing request_id or an unknown body field; 400 POSITION_NAME_REQUIRED without job_id and title; 400 JOB_LEVEL_OUT_OF_RANGE when the job does not allow the level; 403 PERMISSION_DENIED; 404 DEPARTMENT_NOT_FOUND, JOB_NOT_FOUND, JOB_LEVEL_NOT_FOUND or POSITION_NOT_FOUND; 409 DEPARTMENT_DISSOLVED, JOB_RETIRED or POSITION_CLOSED (the reports_to target). Example body: {"department_id":"dept_123","job_id":"jpr_123","count":2,"request_id":"open-support-2026-11"}.
983
+ */
984
+ export declare const openOrganizationPositions: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPositionsData, ThrowOnError>) => RequestResult<OpenOrganizationPositionsResponses, OpenOrganizationPositionsErrors, ThrowOnError>;
985
+ /**
986
+ * Get a position
987
+ *
988
+ * Reads one position with its derived effective_reports_to line. Read-only. Errors: 404 POSITION_NOT_FOUND when the id is not a position of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
989
+ */
990
+ export declare const getOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPositionData, ThrowOnError>) => RequestResult<GetOrganizationPositionResponses, GetOrganizationPositionErrors, ThrowOnError>;
991
+ /**
992
+ * Revise a position
993
+ *
994
+ * Changes the title, duties or methods of one position; the job it was opened from is not touched, and the position's own copy is what changes. Sending no field returns the position unchanged. Requires an organization owner or admin, or the head of the position's department or of a department above it. A frozen position can still be revised. Errors: 400 INVALID_PARAMS for an empty title, a title over 100 characters or text over 4000 characters; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 409 POSITION_CLOSED.
995
+ */
996
+ export declare const reviseOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationPositionData, ThrowOnError>) => RequestResult<ReviseOrganizationPositionResponses, ReviseOrganizationPositionErrors, ThrowOnError>;
997
+ /**
998
+ * Close a position
999
+ *
1000
+ * Closes a vacant position for good; its number stays used and the record stays for history. A closed head position stops being the head, so the department has no head until you designate another. Closing a closed position returns it unchanged. Takes no body. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 409 POSITION_OCCUPIED while someone still holds the position.
1001
+ */
1002
+ export declare const closeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPositionData, ThrowOnError>) => RequestResult<CloseOrganizationPositionResponses, CloseOrganizationPositionErrors, ThrowOnError>;
1003
+ /**
1004
+ * Freeze a position
1005
+ *
1006
+ * Freezes a vacant position to keep it without using it, for example while hiring is paused; unfreeze brings it back. Freezing a frozen position returns it unchanged. Takes no body. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 409 POSITION_CLOSED; 409 POSITION_OCCUPIED while someone still holds the position.
1007
+ */
1008
+ export declare const freezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<FreezeOrganizationPositionData, ThrowOnError>) => RequestResult<FreezeOrganizationPositionResponses, FreezeOrganizationPositionErrors, ThrowOnError>;
1009
+ /**
1010
+ * Unfreeze a position
1011
+ *
1012
+ * Returns a frozen position to active. Unfreezing an active position returns it unchanged. Takes no body. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 409 POSITION_CLOSED.
1013
+ */
1014
+ export declare const unfreezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<UnfreezeOrganizationPositionData, ThrowOnError>) => RequestResult<UnfreezeOrganizationPositionResponses, UnfreezeOrganizationPositionErrors, ThrowOnError>;
1015
+ /**
1016
+ * Reassign a position's manager
1017
+ *
1018
+ * Sets the position this position reports to, or sends null to return to the default line: the head position of its department, and for a head position the head of the parent department. Requires an organization owner or admin, or the head of the position's department or of a department above it. The target may be in any department. Errors: 400 REPORTING_CYCLE when the new line would loop back to this position; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND for the position or the target; 409 POSITION_CLOSED when either is closed.
1019
+ */
1020
+ export declare const reassignOrganizationPositionManager: <ThrowOnError extends boolean = false>(options: Options<ReassignOrganizationPositionManagerData, ThrowOnError>) => RequestResult<ReassignOrganizationPositionManagerResponses, ReassignOrganizationPositionManagerErrors, ThrowOnError>;
1021
+ /**
1022
+ * Regrade a position
1023
+ *
1024
+ * Sets the job level of a position. If the position was opened from a job that lists allowed levels, the level must be one of them. Requires an organization owner or admin; a department head cannot regrade. Errors: 400 JOB_LEVEL_OUT_OF_RANGE when the job does not allow the level; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 404 JOB_LEVEL_NOT_FOUND; 409 POSITION_CLOSED.
1025
+ */
1026
+ export declare const regradeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<RegradeOrganizationPositionData, ThrowOnError>) => RequestResult<RegradeOrganizationPositionResponses, RegradeOrganizationPositionErrors, ThrowOnError>;
1027
+ /**
1028
+ * Designate a department head position
1029
+ *
1030
+ * Makes this position the head of its department; the previous head position stays an ordinary position. The head is a position, not a person, and positions in the department with no explicit manager report to it. Takes no body. Requires an organization owner or admin. Errors: 400 REPORTING_CYCLE when the change would make a position report into its own line; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 409 POSITION_CLOSED or POSITION_FROZEN, because only an active position can be head.
1031
+ */
1032
+ export declare const designateOrganizationPositionHead: <ThrowOnError extends boolean = false>(options: Options<DesignateOrganizationPositionHeadData, ThrowOnError>) => RequestResult<DesignateOrganizationPositionHeadResponses, DesignateOrganizationPositionHeadErrors, ThrowOnError>;
1033
+ /**
1034
+ * Hire into a position
1035
+ *
1036
+ * Seats an existing member or agent in a vacant position; use it to fill a position that nobody holds, and use replace_holder to swap the current holder in one step. An actor is a person (human:usr_...) or an agent (agent:agent_...), treated identically, and must exist in your organization and not be archived. The position must be active and vacant, and a position has at most one active assignment. An actor may hold several positions, and exactly one of its active assignments is primary: omit primary to make the first assignment primary and later ones concurrent; primary true makes this one primary and turns the previous primary into a concurrent one; primary false for an actor that holds nothing is refused. request_id makes the call idempotent: repeating it returns the first assignment and seats nobody else. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 400 INVALID_PARAMS for a missing request_id, a candidate.kind other than member, an empty candidate.actor, a non-boolean primary or an unknown body field; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 404 ACTOR_NOT_FOUND when the actor is not an active member or agent of your organization; 409 POSITION_FROZEN, POSITION_CLOSED or POSITION_OCCUPIED; 409 PRIMARY_ASSIGNMENT_REQUIRED for primary false on an actor that holds nothing. Example body: {"candidate":{"kind":"member","actor":"human:usr_123"},"request_id":"hire-support-1"}.
1037
+ */
1038
+ export declare const hireOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<HireOrganizationPositionData, ThrowOnError>) => RequestResult<HireOrganizationPositionResponses, HireOrganizationPositionErrors, ThrowOnError>;
1039
+ /**
1040
+ * Replace a position's holder
1041
+ *
1042
+ * Ends the current holder's assignment with reason replaced and seats the successor in the same step, so the position is never vacant in between; the ended assignment records the successor's assignment id as successor_assignment_id. Nothing the predecessor learned or remembered passes to the successor, because experience belongs to the actor, not the position. The successor must exist in your organization and not be archived; it becomes primary if it holds nothing else, otherwise a concurrent assignment. If the predecessor was primary and holds other positions, the earliest of those becomes its primary. request_id makes the call idempotent: repeating it returns the first result and replaces nobody again. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 400 INVALID_PARAMS for a missing successor or request_id, a successor that already holds this position or an unknown body field; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 404 ACTOR_NOT_FOUND for the successor; 409 POSITION_VACANT when nobody holds the position, so use hire instead. Example body: {"successor":"agent:agent_123","request_id":"replace-support-1"}.
1043
+ */
1044
+ export declare const replaceOrganizationPositionHolder: <ThrowOnError extends boolean = false>(options: Options<ReplaceOrganizationPositionHolderData, ThrowOnError>) => RequestResult<ReplaceOrganizationPositionHolderResponses, ReplaceOrganizationPositionHolderErrors, ThrowOnError>;
1045
+ /**
1046
+ * List assignments
1047
+ *
1048
+ * Lists assignments, newest start first, each tying one actor (person or agent) to one position; use it to see who holds what, or the history of a position or an actor. Ended assignments are included unless you filter active=true. Filters combine with AND. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100, a non-boolean active or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/assignments?position_id=pos_123&active=true.
1049
+ */
1050
+ export declare const listOrganizationAssignments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationAssignmentsData, ThrowOnError>) => RequestResult<ListOrganizationAssignmentsResponses, ListOrganizationAssignmentsErrors, ThrowOnError>;
1051
+ /**
1052
+ * Get an assignment
1053
+ *
1054
+ * Reads one assignment, current or ended, with who appointed and ended it and, for a replaced holder, the successor's assignment id. Read-only. Errors: 404 ASSIGNMENT_NOT_FOUND when the id is not an assignment of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
1055
+ */
1056
+ export declare const getOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationAssignmentData, ThrowOnError>) => RequestResult<GetOrganizationAssignmentResponses, GetOrganizationAssignmentErrors, ThrowOnError>;
1057
+ /**
1058
+ * Transfer an assignment to another position
1059
+ *
1060
+ * Moves the actor from its current position to another vacant one: the current assignment ends with reason transferred and a new one starts in the target position, keeping the primary flag, so a primary assignment stays primary. Use it for a move or promotion; use terminate when the actor leaves the position without another. Only a current assignment can be transferred. The target must be active and vacant. Needs write rights over both departments: an organization owner or admin, or a head whose department is, or is above, both the department being left and the target's department. Errors: 400 INVALID_PARAMS for a missing to_position_id or a target equal to the current position; 403 PERMISSION_DENIED; 404 ASSIGNMENT_NOT_FOUND for an unknown or already ended assignment; 404 POSITION_NOT_FOUND for the target; 409 POSITION_FROZEN, POSITION_CLOSED or POSITION_OCCUPIED for the target. Example body: {"to_position_id":"pos_456"}.
1061
+ */
1062
+ export declare const transferOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<TransferOrganizationAssignmentData, ThrowOnError>) => RequestResult<TransferOrganizationAssignmentResponses, TransferOrganizationAssignmentErrors, ThrowOnError>;
1063
+ /**
1064
+ * End an assignment
1065
+ *
1066
+ * Ends a current assignment with the reason you give; the position becomes vacant and the assignment stays as history that never revives. If it was the actor's primary and the actor still holds other positions, the earliest of those becomes primary. Use transfer instead to move the actor to another position. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 400 INVALID_PARAMS for a missing reason or one outside the list; 403 PERMISSION_DENIED; 404 ASSIGNMENT_NOT_FOUND for an unknown or already ended assignment. Example body: {"reason":"resigned"}.
1067
+ */
1068
+ export declare const terminateOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<TerminateOrganizationAssignmentData, ThrowOnError>) => RequestResult<TerminateOrganizationAssignmentResponses, TerminateOrganizationAssignmentErrors, ThrowOnError>;
1069
+ /**
1070
+ * Make an assignment primary
1071
+ *
1072
+ * Makes this assignment the actor's primary one; the actor's previous primary becomes a concurrent assignment in the same step. Use it when an actor holds several positions and its main one changes. An assignment that is already primary is returned unchanged. Takes no body. Requires an organization owner or admin; a department head cannot call this. Errors: 403 PERMISSION_DENIED; 404 ASSIGNMENT_NOT_FOUND for an unknown or ended assignment.
1073
+ */
1074
+ export declare const makePrimaryOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<MakePrimaryOrganizationAssignmentData, ThrowOnError>) => RequestResult<MakePrimaryOrganizationAssignmentResponses, MakePrimaryOrganizationAssignmentErrors, ThrowOnError>;
1075
+ /**
1076
+ * List actors holding positions
1077
+ *
1078
+ * Lists every actor, person or agent, that currently holds at least one position, ordered by actor address, each with its primary position and all positions it holds; use it to see who works where. Actors holding nothing are not listed. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/actors?department_id=dept_123.
1079
+ */
1080
+ export declare const listOrganizationActors: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationActorsData, ThrowOnError>) => RequestResult<ListOrganizationActorsResponses, ListOrganizationActorsErrors, ThrowOnError>;
1081
+ /**
1082
+ * Get the position chain of an actor
1083
+ *
1084
+ * Reads where an actor, person or agent, sits in the organization: its primary position and its concurrent positions, each with the department path from the root down with every level's charter, the job, title and level name, the manager (the first filled position up the reporting line), the position's own duties and methods, and objectives. Use it to answer who this actor is and what it is responsible for. An actor that holds no position is not an error: primary is null and concurrent is empty. Read-only. Errors: 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
1085
+ */
1086
+ export declare const getOrganizationActor: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationActorData, ThrowOnError>) => RequestResult<GetOrganizationActorResponses, GetOrganizationActorErrors, ThrowOnError>;
1087
+ /**
1088
+ * List periods
1089
+ *
1090
+ * Lists the periods of your organization's OKR calendar, newest start first; use it to find the period_id to set objectives in, or to see which periods are still open for grading. Closed periods are included. Filter cadence to read one level of the calendar. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/periods?cadence=quarter.
1091
+ */
1092
+ export declare const listOrganizationPeriods: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPeriodsData, ThrowOnError>) => RequestResult<ListOrganizationPeriodsResponses, ListOrganizationPeriodsErrors, ThrowOnError>;
1093
+ /**
1094
+ * Open a period
1095
+ *
1096
+ * Opens a period in your organization's single OKR calendar of years, halves and quarters; objectives are set inside a period. Its status is derived, never sent: planning before start_on, active from start_on through end_on inclusive, grading after end_on, and closed only when you close it. Periods of the same cadence never overlap. Give parent_id to place a half or quarter inside a coarser period (year > half > quarter) that contains its whole range. Dates are calendar dates, and today is read as the UTC date. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS for an empty name, a name over 100 characters, a cadence outside the list, a date that is not YYYY-MM-DD, start_on after end_on or an unknown body field; 400 PERIOD_OVERLAP when a period of the same cadence already covers part of the range, or the parent is not coarser or does not contain the range; 403 PERMISSION_DENIED; 404 PERIOD_NOT_FOUND when parent_id does not exist. Example body: {"name":"2026 Q4","cadence":"quarter","start_on":"2026-10-01","end_on":"2026-12-31"}.
1097
+ */
1098
+ export declare const openOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPeriodData, ThrowOnError>) => RequestResult<OpenOrganizationPeriodResponses, OpenOrganizationPeriodErrors, ThrowOnError>;
1099
+ /**
1100
+ * Get a period
1101
+ *
1102
+ * Reads one period with its derived status, so you can tell whether it is still planning, active, in grading or closed. Read-only. Errors: 404 PERIOD_NOT_FOUND when the id is not a period of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
1103
+ */
1104
+ export declare const getOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPeriodData, ThrowOnError>) => RequestResult<GetOrganizationPeriodResponses, GetOrganizationPeriodErrors, ThrowOnError>;
1105
+ /**
1106
+ * Close a period
1107
+ *
1108
+ * Closes a period once its objectives are graded: closed is the only status you set yourself, and it never reverts. After it, objectives and key results of the period can no longer be set or revised. Closing does not grade or change any objective. Closing a period that is already closed returns it unchanged. Takes no body. Requires an organization owner or admin. Errors: 403 PERMISSION_DENIED; 404 PERIOD_NOT_FOUND.
1109
+ */
1110
+ export declare const closeOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPeriodData, ThrowOnError>) => RequestResult<CloseOrganizationPeriodResponses, CloseOrganizationPeriodErrors, ThrowOnError>;
1111
+ /**
1112
+ * List objectives
1113
+ *
1114
+ * Lists objectives, oldest first, each with its scope, the parents it aligns to and, once graded, its result and score; use it to find an objective id or to read one period or one department's objectives. Filters combine with AND. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/objectives?period_id=prd_6d1f0c3a9b8e4a27a5c4e7d2f1b90a38&status=active.
1115
+ */
1116
+ export declare const listOrganizationObjectives: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationObjectivesData, ThrowOnError>) => RequestResult<ListOrganizationObjectivesResponses, ListOrganizationObjectivesErrors, ThrowOnError>;
1117
+ /**
1118
+ * Set an objective
1119
+ *
1120
+ * Sets an objective: what a department or a position is trying to reach in one open period. It hangs on a department or a position of your organization's tree, and company objectives hang on the root department. It starts active with no parents; align it to higher objectives with the align operation, and add key results with the key results operations. Requires an organization owner or admin, or the head of the objective's home department (the department itself, or the department of the position). Errors: 400 INVALID_PARAMS for an empty title, a title over 200 characters, a description over 2000 characters, a scope kind outside the list or an unknown body field; 403 PERMISSION_DENIED; 404 PERIOD_NOT_FOUND, DEPARTMENT_NOT_FOUND or POSITION_NOT_FOUND; 409 PERIOD_CLOSED, DEPARTMENT_DISSOLVED or POSITION_CLOSED. Example body: {"period_id":"prd_6d1f0c3a9b8e4a27a5c4e7d2f1b90a38","scope":{"kind":"department","id":"dept_4c2e9a17d0b34f58a6e1b3c7d9f20e84"},"title":"Cut first-response time"}.
1121
+ */
1122
+ export declare const setOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<SetOrganizationObjectiveData, ThrowOnError>) => RequestResult<SetOrganizationObjectiveResponses, SetOrganizationObjectiveErrors, ThrowOnError>;
1123
+ /**
1124
+ * Get an objective
1125
+ *
1126
+ * Reads one objective with its scope, the parents it aligns to with their weights, its status and, once graded, its result, score and grade note. Its key results are read with the key results list filtered by objective_id. Read-only. Errors: 404 OBJECTIVE_NOT_FOUND when the id is not an objective of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
1127
+ */
1128
+ export declare const getOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationObjectiveData, ThrowOnError>) => RequestResult<GetOrganizationObjectiveResponses, GetOrganizationObjectiveErrors, ThrowOnError>;
1129
+ /**
1130
+ * Revise an objective
1131
+ *
1132
+ * Rewords an active objective: change its title, its description or both; send at least one. Its period, scope and alignment do not change here; use align for parents, and grade to close it. Requires an organization owner or admin, or the head of the objective's home department or of a department above it. Errors: 400 INVALID_PARAMS when no field is given, a title is empty or over 200 characters, or a description is over 2000 characters; 403 PERMISSION_DENIED; 404 OBJECTIVE_NOT_FOUND; 409 PERIOD_CLOSED when the objective was already graded or its period is closed. Example body: {"title":"Cut first-response time to under 2 hours"}.
1133
+ */
1134
+ export declare const reviseOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationObjectiveData, ThrowOnError>) => RequestResult<ReviseOrganizationObjectiveResponses, ReviseOrganizationObjectiveErrors, ThrowOnError>;
1135
+ /**
1136
+ * Align an objective to parent objectives
1137
+ *
1138
+ * Replaces the whole set of parent objectives this objective contributes to; send an empty parents array to remove its alignment. An objective aligns only upward: each parent must hang on the objective's own department or on a department above it, the objective cannot be its own parent, and the alignment graph must stay free of cycles. Each weight is greater than 0 and at most 1, and a parent may appear once. A closed parent is refused. Requires an organization owner or admin, or the head of the objective's home department or of a department above it. Errors: 400 INVALID_PARAMS for a weight outside the range, a repeated parent or an unknown body field; 400 ALIGNMENT_CYCLE when a parent is the objective itself or the alignment would loop; 400 SCOPE_MISMATCH when a parent hangs outside the objective's department and its ancestors; 403 PERMISSION_DENIED; 404 OBJECTIVE_NOT_FOUND for the objective or a parent; 409 PERIOD_CLOSED when a parent is closed. Example body: {"parents":[{"objective_id":"obj_3b7a52c1e9d84f06b2a1c8e4d7f50a96","weight":1}]}.
1139
+ */
1140
+ export declare const alignOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<AlignOrganizationObjectiveData, ThrowOnError>) => RequestResult<AlignOrganizationObjectiveResponses, AlignOrganizationObjectiveErrors, ThrowOnError>;
1141
+ /**
1142
+ * Grade an objective
1143
+ *
1144
+ * Grades an objective and closes it in place: records its result, its score from 0 to 1, an optional note, and the scores of the key results you list. A key result you leave out keeps no score. Grading happens once; a closed objective cannot be graded again. When the objective has any committed key result and the result is not achieved, a note is required. Requires an organization owner or admin, or the head of the objective's home department or of a department above it. Errors: 400 INVALID_PARAMS for a result outside the list, a non-numeric score or a note over 2000 characters; 400 SCORE_OUT_OF_RANGE when any score is outside 0 to 1; 400 GRADE_NOTE_REQUIRED when a committed objective is graded other than achieved without a note; 403 PERMISSION_DENIED; 404 OBJECTIVE_NOT_FOUND; 404 KEY_RESULT_NOT_FOUND when a listed key result does not belong to this objective; 409 PERIOD_CLOSED when the objective is already closed. Example body: {"result":"partial","score":0.6,"note":"Hiring slipped a month."}.
1145
+ */
1146
+ export declare const gradeOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<GradeOrganizationObjectiveData, ThrowOnError>) => RequestResult<GradeOrganizationObjectiveResponses, GradeOrganizationObjectiveErrors, ThrowOnError>;
1147
+ /**
1148
+ * List key results
1149
+ *
1150
+ * Lists key results, oldest first, each with its metric, health, done flag and, once its objective is graded, its score; use it to read the key results of one objective or the ones a position owns. Filters combine with AND. Pass next_page unchanged as page; null means the end. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter, a limit outside 1 to 100 or a stale cursor; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/key_results?objective_id=obj_3b7a52c1e9d84f06b2a1c8e4d7f50a96.
1151
+ */
1152
+ export declare const listOrganizationKeyResults: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationKeyResultsData, ThrowOnError>) => RequestResult<ListOrganizationKeyResultsResponses, ListOrganizationKeyResultsErrors, ThrowOnError>;
1153
+ /**
1154
+ * Set a key result
1155
+ *
1156
+ * Sets a key result under an active objective: a measurable outcome owned by one position, whose current holder moves its progress. Give a metric to measure it by numbers; omit metric for a binary key result, whose progress is its done flag. It starts with health on_track, done false and no score. Requires an organization owner or admin, or the head of the objective's home department or of a department above it. Errors: 400 INVALID_PARAMS for an empty title, a title over 200 characters, a commitment outside the list, a metric whose target equals its initial value or whose unit is outside the list, or an unknown body field; 403 PERMISSION_DENIED; 404 OBJECTIVE_NOT_FOUND or POSITION_NOT_FOUND; 409 PERIOD_CLOSED when the objective is graded or its period is closed; 409 POSITION_CLOSED when the owner position is closed. Example body: {"objective_id":"obj_3b7a52c1e9d84f06b2a1c8e4d7f50a96","title":"Median first response under 2 hours","owner_position_id":"pos_7a1c5e92d3b84f60a9e2c4d8b1f30a57","commitment":"committed","metric":{"initial":6,"target":2,"unit":"none"}}.
1157
+ */
1158
+ export declare const setOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<SetOrganizationKeyResultData, ThrowOnError>) => RequestResult<SetOrganizationKeyResultResponses, SetOrganizationKeyResultErrors, ThrowOnError>;
1159
+ /**
1160
+ * Get a key result
1161
+ *
1162
+ * Reads one key result with its metric, its health, its done flag, its owner position and its score. Progress of a metric key result is (current - initial) / (target - initial), clamped between 0 and 1; a key result without a metric counts as 1 when done is true and 0 otherwise. Read-only. Errors: 404 KEY_RESULT_NOT_FOUND when the id is not a key result of your organization; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent.
1163
+ */
1164
+ export declare const getOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationKeyResultData, ThrowOnError>) => RequestResult<GetOrganizationKeyResultResponses, GetOrganizationKeyResultErrors, ThrowOnError>;
1165
+ /**
1166
+ * Revise a key result
1167
+ *
1168
+ * Edits a key result; send at least one field. Progress is updated by this edit, not by check-in records: write metric.current for a metric key result, or done for a binary one, and set health as it changes. The holder of the owner position, when a person, may change only metric.current, health and done; an organization owner or admin, or the head of the objective's home department or of a department above it, may change any field. An agent holding the position cannot write it. metric replaces the whole metric; done applies only to a key result without a metric. Errors: 400 INVALID_PARAMS when no field is given, done is sent for a key result that has a metric, or a field is malformed; 403 NOT_POSITION_HOLDER when the caller is neither a manager nor the position's person holder; 403 PERMISSION_DENIED when a holder changes more than progress; 404 KEY_RESULT_NOT_FOUND or POSITION_NOT_FOUND; 409 PERIOD_CLOSED when the objective is graded or its period is closed; 409 POSITION_CLOSED for a closed new owner. Example body: {"metric":{"initial":6,"current":3.5,"target":2,"unit":"none"},"health":"at_risk"}.
1169
+ */
1170
+ export declare const reviseOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationKeyResultData, ThrowOnError>) => RequestResult<ReviseOrganizationKeyResultResponses, ReviseOrganizationKeyResultErrors, ThrowOnError>;
779
1171
  /**
780
1172
  * Upgrade to a full sandbox
781
1173
  *
@@ -800,6 +1192,18 @@ export declare const listObservedProcesses: <ThrowOnError extends boolean = fals
800
1192
  * Read retained stdout and stderr chunks for a processID returned by processes.list. Praxis observation, not complete provider history. Only a witnessed exit event establishes exitCode; disconnects and restarts leave gaps and unknown state. Output retains at most 1 MiB/1024 chunks per process and 4 MiB/4096 chunks per instance across 256 observations. Truncation is explicit. Output data is base64; timestamps are Unix milliseconds. Reading never resumes a paused sandbox.
801
1193
  */
802
1194
  export declare const getObservedProcessOutput: <ThrowOnError extends boolean = false>(options: Options<GetObservedProcessOutputData, ThrowOnError>) => RequestResult<GetObservedProcessOutputResponses, GetObservedProcessOutputErrors, ThrowOnError>;
1195
+ /**
1196
+ * Start a task whose output is pushed off the machine while it runs
1197
+ *
1198
+ * Run a long command whose output you will read back afterwards, including after the sandbox is deleted, instead of holding one connection open. Use this for builds, test runs and batch jobs; use commands.run for a short command whose output you want inline. The machine's resident daemon pushes the task's stdout/stderr to Praxis storage as it is produced, so the log survives the sandbox (seven days) and can be read in ranges with sandboxes.tasks.log; no vendor exec channel is involved. The command and the shipping credential travel to the daemon in its process environment, never in argv, so neither appears in the machine's process list. Only a full sandbox whose daemon advertises log-ship can run a task; any other machine returns PROVIDER_UNSUPPORTED with the reason. Returns 201 with the task id; starting is not waiting — poll the log to follow the task, and the final marker's exitCode for how it ended.
1199
+ */
1200
+ export declare const startSandboxTask: <ThrowOnError extends boolean = false>(options: Options<StartSandboxTaskData, ThrowOnError>) => RequestResult<StartSandboxTaskResponses, StartSandboxTaskErrors, ThrowOnError>;
1201
+ /**
1202
+ * Read a range of a task's pushed output
1203
+ *
1204
+ * Follow a task started with sandboxes.tasks.start, or read it long after its sandbox is gone. This reads Praxis storage and never the machine, so the answer is the same whether the sandbox is running, paused or deleted; the log is kept for seven days. Read in ranges: pass the previous answer's nextOffset as offset to continue, and stop when done is true. done means the final marker exists and the whole stream has been read, and only then do exitCode and size carry the task's outcome. text is UTF-8 decoded by bytes and backs up to a whole character when a cut would split one, so a page never ends mid-character; size, offset and nextOffset all count bytes. Ownership comes from the sandbox's index row while it exists and from the record written when the task started once it does not, so a sandbox id you own keeps answering after the sandbox is deleted. A task that was never started, or one belonging to another organization, returns NOT_FOUND.
1205
+ */
1206
+ export declare const getSandboxTaskLog: <ThrowOnError extends boolean = false>(options: Options<GetSandboxTaskLogData, ThrowOnError>) => RequestResult<GetSandboxTaskLogResponses, GetSandboxTaskLogErrors, ThrowOnError>;
803
1207
  /**
804
1208
  * Kill sandbox
805
1209
  *
@@ -851,7 +1255,7 @@ export declare const makeSandboxDirectory: <ThrowOnError extends boolean = false
851
1255
  /**
852
1256
  * Run a command in the sandbox
853
1257
  *
854
- * Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–60000 milliseconds, default 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout; output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {"cmd":"echo hi"}.
1258
+ * Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–3600000 milliseconds, default 600000, that is 10 minutes; E2B defaults to 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout (timeoutMs 0); output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {"cmd":"echo hi"}.
855
1259
  */
856
1260
  export declare const runSandboxCommand: <ThrowOnError extends boolean = false>(options: Options<RunSandboxCommandData, ThrowOnError>) => RequestResult<RunSandboxCommandResponses, RunSandboxCommandErrors, ThrowOnError>;
857
1261
  /**
@@ -875,25 +1279,25 @@ export declare const sessionsUpdate: <ThrowOnError extends boolean = false>(opti
875
1279
  /**
876
1280
  * List agents
877
1281
  *
878
- * List the agents of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Use it to find an agent id before creating a session; to read one agent use agents.retrieve, to see its history use agents.versions.list. Archived agents are hidden unless include_archived is true. Filter kind=personal for durable-computer agents or kind=service for per-session environments. Pass next_page from the response as page to read the next page; a null next_page means the end.
1282
+ * List the agents of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Use it to find an agent id before creating a session; to read one agent use agents.retrieve, to see its history use agents.versions.list. Archived agents are hidden unless include_archived is true. Filter kind=general or kind=personal for durable-computer agents, kind=service for per-session environments, or kind=assume for external MCP clients. Pass next_page from the response as page to read the next page; a null next_page means the end.
879
1283
  */
880
1284
  export declare const agentsList: <ThrowOnError extends boolean = false>(options?: Options<AgentsListData, ThrowOnError>) => RequestResult<AgentsListResponses, AgentsListErrors, ThrowOnError>;
881
1285
  /**
882
1286
  * Create agent
883
1287
  *
884
- * Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}.
1288
+ * Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; omit computer_id to register a new computer named after the agent without starting an instance, or provide an existing computer_id; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.
885
1289
  */
886
1290
  export declare const agentsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentsCreateData, ThrowOnError>) => RequestResult<AgentsCreateResponses, AgentsCreateErrors, ThrowOnError>;
887
1291
  /**
888
1292
  * Get agent
889
1293
  *
890
- * Read one agent by id. The top level is the latest saved version, the editable head whose version you send back for optimistic concurrency; after a save with apply false it differs from active_version, and new sessions use active_version, which you read with version=active. With version, read a specific saved version. The response lists every native tool with its resolved configuration in one agent_toolset_20260401 entry, so it can be sent back unchanged to agents.update. Use agents.versions.list to enumerate versions.
1294
+ * Read the agent configuration currently effective for new sessions. By default, version equals active_version and latest_version identifies the newest saved version, including an unapplied save. Use latest_version for optimistic concurrency when updating. Pass version as a positive integer to read that saved version; version=active is equivalent to omission. The response lists every native tool with its resolved configuration in one agent_toolset_20260401 entry, so tools can be sent back unchanged to agents.update. Use agents.versions.list to enumerate saved versions.
891
1295
  */
892
1296
  export declare const agentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AgentsRetrieveData, ThrowOnError>) => RequestResult<AgentsRetrieveResponses, AgentsRetrieveErrors, ThrowOnError>;
893
1297
  /**
894
1298
  * Update agent
895
1299
  *
896
- * Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version. apply defaults to true and moves active_version to the new version, or to the latest when configuration is unchanged; apply false saves without applying. version_note optionally records up to 280 characters on a newly created version; null means no note, and a note sent when the request changes nothing else returns 400 because a note is stored only with a new version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. tools: [] removes every tool, while tools: null returns 400 (tools cannot be null; send [] to remove every tool). On update, omit skills to keep them, send an array to replace them, or send [] or null to clear them. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400.
1300
+ * Save configuration changes as a new immutable version. Send latest_version from a default retrieve or update response as the request version for optimistic concurrency; a stale value returns 409. apply defaults to true and makes the new version effective; apply false saves without changing active_version. The response contains the effective configuration, with version equal to active_version and latest_version naming the newest saved version. An unchanged configuration, including a note-only update, is a no-op returning 200 and the current effective version without creating or activating a version. version_note records up to 280 characters only when a configuration change creates a new version; null is equivalent to omission. Use agents.versions.apply to activate an existing saved version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. tools: [] removes every tool, while tools: null returns 400 (tools cannot be null; send [] to remove every tool). On update, omit skills to keep them, send an array to replace them, or send [] or null to clear them. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Assume agents reject model, models, subagent_model, subagents and multiagent on every update; other fields follow the general agent rules, with vault_ids also accepted.
897
1301
  */
898
1302
  export declare const agentsUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentsUpdateData, ThrowOnError>) => RequestResult<AgentsUpdateResponses, AgentsUpdateErrors, ThrowOnError>;
899
1303
  /**
@@ -905,7 +1309,7 @@ export declare const agentsArchive: <ThrowOnError extends boolean = false>(optio
905
1309
  /**
906
1310
  * List agent versions
907
1311
  *
908
- * List the saved versions of one agent, in pages of at most 100 (default 20). Each item is the full agent definition at that version, so you can compare what changed between versions. active is true only for the item that new sessions use; active_version on each item is the agent-level value, kept for compatibility. Use agents.retrieve with version to read a single one; agent_id comes from agents.list or agents.create.
1312
+ * List the saved versions of one agent in ascending version number, oldest first, in pages of at most 100 (default 20). Each item is the full agent definition at that saved version, so you can compare configurations. active is true only for the item new sessions use. active_version on every item is the same agent-level currently effective version; it is not that item's version. Use agents.retrieve with version to read a single saved version; agent_id comes from agents.list or agents.create. Pass next_page as page to continue.
909
1313
  */
910
1314
  export declare const agentsVersionsList: <ThrowOnError extends boolean = false>(options: Options<AgentsVersionsListData, ThrowOnError>) => RequestResult<AgentsVersionsListResponses, AgentsVersionsListErrors, ThrowOnError>;
911
1315
  /**
@@ -917,7 +1321,7 @@ export declare const sessionsList: <ThrowOnError extends boolean = false>(option
917
1321
  /**
918
1322
  * Create session
919
1323
  *
920
- * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (light for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive integer string of US cents ("2000" is USD 20.00); omitted budget defaults to "2000" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.
1324
+ * Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (light for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion. Assume agents return 400 INVALID_PARAMS; drive them over MCP at /agent/v1/agents/{id}/mcp instead.
921
1325
  */
922
1326
  export declare const sessionsCreate: <ThrowOnError extends boolean = false>(options: Options<SessionsCreateData, ThrowOnError>) => RequestResult<SessionsCreateResponses, SessionsCreateErrors, ThrowOnError>;
923
1327
  /**
@@ -929,19 +1333,19 @@ export declare const sessionsArchive: <ThrowOnError extends boolean = false>(opt
929
1333
  /**
930
1334
  * List session events
931
1335
  *
932
- * Read the event history of a session as a page of events, oldest first by default (order=desc for newest first). Use it after sending a message to collect the reply, to find tool calls that wait for approval or client custom tool results (session.status_idle with stop_reason requires_action lists their event_ids), or to audit a run; to follow a running session live use sessions.events.stream instead. Filter by types and by a created_at range on processed_at; pages hold at most 100 events (default 20) and next_page continues. A failed run emits session.error before session.status_terminated. Native history also includes user.steer, user.withdraw, system.notification, session.forked, session.goal_changed and session.goal_verification; these are not accepted by the /anthropic/v1 event-type filter.
1336
+ * Read the event history of a session as a page of events, oldest first by default (order=desc for newest first). Use it after sending a message to collect the reply, to find tool calls that wait for approval or client custom tool results (session.status_idle with stop_reason requires_action lists their event_ids), or to audit a run; to follow a running session live use sessions.events.stream instead. Filter by types and by a created_at range on processed_at; pages hold at most 100 events (default 20) and next_page continues. A failed run emits session.error before session.status_terminated. Native history also includes user.steer, user.withdraw, system.notification, session.forked, session.goal_changed and session.goal_verification; these are not accepted by the /anthropic/v1 event-type filter. This operation addresses one session — normally a worker session an agent dispatched; to talk to a personal or general agent itself, use agents.events.list instead. In the path, session_id may also be `main` (your own main session with that agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
933
1337
  */
934
1338
  export declare const sessionsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsListData, ThrowOnError>) => RequestResult<SessionsEventsListResponses, SessionsEventsListErrors, ThrowOnError>;
935
1339
  /**
936
1340
  * Send session events
937
1341
  *
938
- * Attach optional praxis_context={items:[{name,value}]} to user.message for untrusted page context on this turn only (maximum 32 items, 4096 UTF-8 JSON bytes). /anthropic/v1 rejects this field. Send events to a session: user.message (exactly one nonempty text block), user.interrupt, user.tool_confirmation to allow or deny a pending tool call, user.custom_tool_result to return a custom tool result, user.steer to inject a queued user.message into a turn that is still running, and user.withdraw to retract a queued message. The response only acknowledges the inputs; read replies with sessions.events.list or sessions.events.stream. A message sent while the session waits for tool approval is queued (processed_at null) and runs in order after the approval is resolved. Archived sessions reject new messages. To approve, read a pending agent.tool_use or agent.mcp_tool_use event and send {type: "user.tool_confirmation", tool_use_id: <that event id>, result: "allow"} (or deny); include session_thread_id for a child approval. Native confirmations also accept updated_permissions, answers and annotations, which /anthropic/v1 rejects. Both faces accept user.custom_tool_result with custom_tool_use_id from agent.custom_tool_use.id or the requires_action stop_reason.event_ids. Unlike Anthropic, result content accepts only text blocks (omit it for an empty array). Omitted or null is_error means false. The server routes child calls by id; session_thread_id is rejected in this input. Unknown call ids return 400; duplicate results or calls no longer waiting return 409.
1342
+ * Attach optional praxis_context={items:[{name,value}]} to user.message for untrusted page context on this turn only (maximum 32 items, 4096 UTF-8 JSON bytes). /anthropic/v1 rejects this field. Send events to a session: user.message (exactly one nonempty text block), user.interrupt, user.tool_confirmation to allow or deny a pending tool call, user.custom_tool_result to return a custom tool result, user.steer to inject a queued user.message into a turn that is still running, and user.withdraw to retract a queued message. The response only acknowledges the inputs; read replies with sessions.events.list or sessions.events.stream. A message sent while the session waits for tool approval is queued (processed_at null) and runs in order after the approval is resolved. Archived sessions reject new messages. To approve, read a pending agent.tool_use or agent.mcp_tool_use event and send {type: "user.tool_confirmation", tool_use_id: <that event id>, result: "allow"} (or deny); include session_thread_id for a child approval. Native confirmations also accept updated_permissions, answers and annotations, which /anthropic/v1 rejects. Both faces accept user.custom_tool_result with custom_tool_use_id from agent.custom_tool_use.id or the requires_action stop_reason.event_ids. Unlike Anthropic, result content accepts only text blocks (omit it for an empty array). Omitted or null is_error means false. The server routes child calls by id; session_thread_id is rejected in this input. Unknown call ids return 400; duplicate results or calls no longer waiting return 409. This operation addresses one session — normally a worker session an agent dispatched; to talk to a personal or general agent itself, use agents.events.send instead. In the path, session_id may also be `main` (your own main session with the agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
939
1343
  */
940
1344
  export declare const sessionsEventsSend: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsSendData, ThrowOnError>) => RequestResult<SessionsEventsSendResponses, SessionsEventsSendErrors, ThrowOnError>;
941
1345
  /**
942
1346
  * Stream session events
943
1347
  *
944
- * Open a Server-Sent Events stream of a session's events in real time. Use it to show a reply as it is produced; to read past events use sessions.events.list. Send a message through sessions.events.send in another request while the stream is open. Closing the stream only drops your subscription and does not stop the agent. Pass event_deltas[]=agent.message, agent.thinking or agent.tool_use to also receive event_start / event_delta previews before the final event.
1348
+ * Open a Server-Sent Events stream of a session's events in real time. Use it to show a reply as it is produced; to read past events use sessions.events.list. Send a message through sessions.events.send in another request while the stream is open. Closing the stream only drops your subscription and does not stop the agent. Pass event_deltas[]=agent.message, agent.thinking or agent.tool_use to also receive event_start / event_delta previews before the final event. This operation addresses one session — normally a worker session an agent dispatched; to follow a personal or general agent itself, use agents.events.stream instead. In the path, session_id may also be `main` (your own main session with the agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
945
1349
  */
946
1350
  export declare const sessionsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsStreamData, ThrowOnError, SessionsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsEventsStreamResponses>>;
947
1351
  /**
@@ -1037,7 +1441,7 @@ export declare const deploymentsList: <ThrowOnError extends boolean = false>(opt
1037
1441
  /**
1038
1442
  * Create deployment
1039
1443
  *
1040
- * Freeze session parameters as a deployment; this operation does not open a session. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for personal agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400.
1444
+ * Freeze session parameters as a deployment; this operation does not open a session. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general and personal agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400.
1041
1445
  */
1042
1446
  export declare const deploymentsCreate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsCreateData, ThrowOnError>) => RequestResult<DeploymentsCreateResponses, DeploymentsCreateErrors, ThrowOnError>;
1043
1447
  /**
@@ -1265,7 +1669,7 @@ export declare const applicationListGrants: <ThrowOnError extends boolean = fals
1265
1669
  /**
1266
1670
  * Create grant
1267
1671
  *
1268
- * Let this Worker's platform token access one of your databases, folders or knowledge bases.
1672
+ * Record access to an organization-owned database or knowledge base, all organization files (files, id *), or models (models, id *, read only). Each resource and optional alias must be unique within this Worker. Foreign and missing resources both return RESOURCE_NOT_FOUND (404); an unavailable resource service returns PROVIDER_CAPACITY (503, retryable).
1269
1673
  */
1270
1674
  export declare const applicationCreateGrant: <ThrowOnError extends boolean = false>(options: Options<ApplicationCreateGrantData, ThrowOnError>) => RequestResult<ApplicationCreateGrantResponses, ApplicationCreateGrantErrors, ThrowOnError>;
1271
1675
  /**
@@ -1295,7 +1699,7 @@ export declare const applicationUploadAssets: <ThrowOnError extends boolean = fa
1295
1699
  /**
1296
1700
  * List actions
1297
1701
  *
1298
- * Discover callable Actions and their ns/name references without executing them. Combine each returned namespace and name as ns/name; Action calls use the current revision and do not accept @version or @tag. Filter by name or description; results include seven-day statistics and revision summaries without implementation source. Archived actions are excluded by default.
1702
+ * Discover callable Actions and their ns/name references without executing them. Combine each returned namespace and name as ns/name; Action calls use the current revision and do not accept @version or @tag. Filter by name or description; results include seven-day statistics and revision summaries without implementation source. Archived actions are excluded by default. List items carry no input contract: get the action and read current_revision.input_schema. Call it with call("ns/name", input) in a script or call: ns/name with with: in a workflow.
1299
1703
  */
1300
1704
  export declare const automationActionsList: <ThrowOnError extends boolean = false>(options?: Options<AutomationActionsListData, ThrowOnError>) => RequestResult<AutomationActionsListResponses, AutomationActionsListErrors, ThrowOnError>;
1301
1705
  /**
@@ -1307,13 +1711,13 @@ export declare const automationActionsCreate: <ThrowOnError extends boolean = fa
1307
1711
  /**
1308
1712
  * Get an Action with its current input and output JSON Schemas
1309
1713
  *
1310
- * Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call("ocr", input). The response ETag is the current revision ID for conditional updates.
1714
+ * Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call("ocr", input) or in a workflow step with call: ocr and with:. Input that breaks the contract returns INPUT_INVALID, with the fields in errors[]. The response ETag is the current revision ID for conditional updates.
1311
1715
  */
1312
1716
  export declare const automationActionsGet: <ThrowOnError extends boolean = false>(options: Options<AutomationActionsGetData, ThrowOnError>) => RequestResult<AutomationActionsGetResponses, AutomationActionsGetErrors, ThrowOnError>;
1313
1717
  /**
1314
1718
  * Update an action
1315
1719
  *
1316
- * Update after checking compatibility against the current and five recent revisions. Widening inputs and narrowing outputs are compatible, including length, item count, property count, type (integer/number), and multipleOf (the new input factor divides the old one; the reverse holds for outputs). dry_run=true returns only CompatResult and may omit If-Match; a supplied header is still checked, and * matches any existing representation. Normal updates require If-Match and return ActionDef with ETag; previews return no ETag. Omitted optional fields retain their existing values only for description and labels; when constructing a new revision, errors defaults to [], omitted annotations keys to false, timeout_ms to 30000, and message to null. Incompatible normal updates return 422 SCHEMA_INCOMPATIBLE with issues; unchanged contents retain the existing revision.
1720
+ * Update after checking compatibility against the current and five recent revisions. Widening inputs and narrowing outputs are compatible, including length, item count, property count, type (integer/number), and multipleOf (the new input factor divides the old one; the reverse holds for outputs). dry_run=true returns only CompatResult and may omit If-Match; a supplied header is still checked, and * matches any existing representation. Normal updates require If-Match and return ActionDef with ETag; previews return no ETag. Omitted optional fields retain their existing values only for description and labels; when constructing a new revision, errors defaults to [], omitted annotations keys to false, timeout_ms to 300000, and message to null. Incompatible normal updates return 422 SCHEMA_INCOMPATIBLE with issues; unchanged contents retain the existing revision.
1317
1721
  */
1318
1722
  export declare const automationActionsUpdate: <ThrowOnError extends boolean = false>(options: Options<AutomationActionsUpdateData, ThrowOnError>) => RequestResult<AutomationActionsUpdateResponses, AutomationActionsUpdateErrors, ThrowOnError>;
1319
1723
  /**
@@ -1367,7 +1771,7 @@ export declare const automationScriptsList: <ThrowOnError extends boolean = fals
1367
1771
  /**
1368
1772
  * Create a script
1369
1773
  *
1370
- * Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: "Hello, " + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call("ocr", input) calls a built-in Action, and invoke("namespace/name", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.
1774
+ * Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: "Hello, " + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call("ocr", input) calls a built-in Action, and invoke("namespace/name", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. The return value is limited to 1 MiB: write large results to a file with call("write-file", ...) and return the file ID. A call error carries errors[] (pointer, detail, hint); String(e) is only the summary. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.
1371
1775
  */
1372
1776
  export declare const automationScriptsCreate: <ThrowOnError extends boolean = false>(options: Options<AutomationScriptsCreateData, ThrowOnError>) => RequestResult<AutomationScriptsCreateResponses, AutomationScriptsCreateErrors, ThrowOnError>;
1373
1777
  /**
@@ -1445,7 +1849,7 @@ export declare const automationWorkflowsList: <ThrowOnError extends boolean = fa
1445
1849
  /**
1446
1850
  * Create a workflow
1447
1851
  *
1448
- * Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.
1852
+ * Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax. Save a YAML workflow as an editable draft; this does not validate, publish or run it, so check it with validate (kind=workflow) first. Minimal draft: document with dsl ("1.0.3"), namespace, name and version, plus a do list of steps, for example document: {dsl: "1.0.3", namespace: demo, name: add, version: "1.0.0"} and do: [{first: {call: demo/add-one, with: {n: "${ .n }"}}}]. call: <ns/name> calls an Action directly (bare name for built-ins such as ocr) and with is the Action input; the input contract is at current_revision.input_schema in the get-action response. run: starts a saved script or child workflow. The run input is . in the first step, and expressions are jq written as a whole ${ ... } string. Limits: Action 5 min (run-sandbox 6 h), workflow 24 h by default and 30 days at most, payload 1 MiB. Test the draft by sending its source and language=yaml to praxis.automation.runs.create. To pause for a person, call praxis/approval (it opens a human task; the step output is the decision); agents answer with praxis.automation.humanTasks.respond on behalf of their user. Guide: /docs/developers/automation/guides/approvals Guide: /docs/developers/automation/guides/write-workflow. Error details are in the errors[] of the response (pointer, detail, hint). Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.
1449
1853
  */
1450
1854
  export declare const automationWorkflowsCreate: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsCreateData, ThrowOnError>) => RequestResult<AutomationWorkflowsCreateResponses, AutomationWorkflowsCreateErrors, ThrowOnError>;
1451
1855
  /**
@@ -1457,7 +1861,7 @@ export declare const automationWorkflowsGet: <ThrowOnError extends boolean = fal
1457
1861
  /**
1458
1862
  * Update a workflow draft
1459
1863
  *
1460
- * Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision.
1864
+ * Update description, labels or draft with the current draft revision in If-Match, taken from draft.revision in the get-workflow response. Even metadata-only updates create a new draft revision. A mismatch returns 412 PRECONDITION_FAILED; read the draft again, merge and retry. The draft is not validated here, so check it with validate (kind=workflow) before publishing. Error details are in errors[]. See the workflow syntax reference at https://deepraxis.com/docs/developers/automation/reference/workflow-syntax.
1461
1865
  */
1462
1866
  export declare const automationWorkflowsPatch: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsPatchData, ThrowOnError>) => RequestResult<AutomationWorkflowsPatchResponses, AutomationWorkflowsPatchErrors, ThrowOnError>;
1463
1867
  /**
@@ -1481,7 +1885,7 @@ export declare const automationWorkflowsVersions: <ThrowOnError extends boolean
1481
1885
  /**
1482
1886
  * Publish a workflow version
1483
1887
  *
1484
- * Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead. Use draft.revision from create or retrieve as expected_draft_revision. The draft must match expected_draft_revision; an ad hoc run requires from_run and expected_source_sha256. The same version and contents return the existing version; different contents return VERSION_EXISTS, prereleases require an explicit tag (not latest, URL-safe characters only, not a version or range; violations return TAG_REQUIRED or TAG_INVALID with the complete rules in hint), and invalid definitions return DEFINITION_INVALID. Stable releases automatically advance latest only above the highest existing stable version; workflows becoming latest synchronize their declared schedule. String and object run.workflow/run.script references share version resolution and dependency locking. Publishing removes +build metadata from the version number.
1888
+ * Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead. Use draft.revision from create or retrieve as expected_draft_revision. The draft must match expected_draft_revision; an ad hoc run requires from_run and expected_source_sha256. The same version and contents return the existing version; different contents return VERSION_EXISTS, prereleases require an explicit tag (not latest, URL-safe characters only, not a version or range; violations return TAG_REQUIRED or TAG_INVALID with the complete rules in hint), and invalid definitions return DEFINITION_INVALID. Stable releases automatically advance latest only above the highest existing stable version; workflows becoming latest synchronize their declared schedule. String and object run.workflow/run.script references share version resolution and dependency locking. Publishing removes +build metadata from the version number. For a workflow, document namespace, name and version must equal the publish target, otherwise DEFINITION_IDENTITY_MISMATCH; where a DEFINITION_INVALID failure sits is listed in errors[] (pointer, detail, hint).
1485
1889
  */
1486
1890
  export declare const automationWorkflowsPublish: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsPublishData, ThrowOnError>) => RequestResult<AutomationWorkflowsPublishResponses, AutomationWorkflowsPublishErrors, ThrowOnError>;
1487
1891
  /**
@@ -1517,7 +1921,7 @@ export declare const automationWorkflowsSetDistTag: <ThrowOnError extends boolea
1517
1921
  /**
1518
1922
  * Validate a definition
1519
1923
  *
1520
- * Check source without executing it when you need diagnostics, inferred schemas or references. This is optional before praxis.automation.runs.create, which also validates source before execution. Actions, scripts and workflows are supported; results include validity without saving. Invalid source is reported with valid=false. Script/action output schemas are inferred from return types: Promise unwrapping, Record, intersections and Date. Unknown types yield an empty schema and a warning in warnings. Source diagnostics use /source or /implementation/source with 1-based line/column. For kind=action the same admission checks as action creation apply (no external imports, platform operations only as direct call(praxis/<api>.<op>, input) calls, no agent or automation calls), so source that validates is not rejected at creation.
1924
+ * Check source without executing it when you need diagnostics, inferred schemas or references. This is optional before praxis.automation.runs.create, which also validates source before execution. Actions, scripts and workflows are supported; results include validity without saving. Invalid source is reported with valid=false. Script/action output schemas are inferred from return types: Promise unwrapping, Record, intersections and Date. Unknown types yield an empty schema and a warning in warnings. Source diagnostics use /source or /implementation/source with 1-based line/column. For kind=action the same admission checks as action creation apply (no external imports, platform operations only as direct call(praxis/<api>.<op>, input) calls, no agent or automation calls), so source that validates is not rejected at creation. For kind=workflow the YAML needs document (dsl, namespace, name, version) and do; each problem is one entry in errors[] (pointer, detail, hint), so read the first one. A listen outside the supported subset (to.all, inside a fork) and emit are not reported here and fail with DEFINITION_INVALID only when a run is created. Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax.
1521
1925
  */
1522
1926
  export declare const automationValidateValidate: <ThrowOnError extends boolean = false>(options: Options<AutomationValidateValidateData, ThrowOnError>) => RequestResult<AutomationValidateValidateResponses, AutomationValidateValidateErrors, ThrowOnError>;
1523
1927
  /**
@@ -1541,7 +1945,7 @@ export declare const automationRunsList: <ThrowOnError extends boolean = false>(
1541
1945
  /**
1542
1946
  * Run a published target or execute draft source
1543
1947
  *
1544
- * Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call("ocr", { document: { type: "file", file_id } }); return result; }`; send it as source with language="ts", input={"file_id":"<uploaded file ID>"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: "glm-ocr", document: { type: "file", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke("namespace/name", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 30 s (run-sandbox after 10 min); scripts have a 5 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 7 days. Each run can start at most 100 child runs, with at most 20 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.
1948
+ * Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call("ocr", { document: { type: "file", file_id } }); return result; }`; send it as source with language="ts", input={"file_id":"<uploaded file ID>"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: "glm-ocr", document: { type: "file", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke("namespace/name", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 5 min (run-sandbox after 6 h); scripts have a 30 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 30 days. Each run can start at most 1,000 child runs, with at most 100 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. With language=yaml, source is a workflow YAML: the run input is . in the first step, and the shape is described in create workflow. Error details are in errors[] (pointer, detail, hint). New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.
1545
1949
  */
1546
1950
  export declare const automationRunsCreate: <ThrowOnError extends boolean = false>(options: Options<AutomationRunsCreateData, ThrowOnError>) => RequestResult<AutomationRunsCreateResponses, AutomationRunsCreateErrors, ThrowOnError>;
1547
1951
  /**
@@ -1695,541 +2099,2489 @@ export declare const automationTriggersPreview: <ThrowOnError extends boolean =
1695
2099
  */
1696
2100
  export declare const automationHooksReceive: <ThrowOnError extends boolean = false>(options: Options<AutomationHooksReceiveData, ThrowOnError>) => RequestResult<AutomationHooksReceiveResponses, AutomationHooksReceiveErrors, ThrowOnError>;
1697
2101
  /**
1698
- * List databases
2102
+ * List human tasks
1699
2103
  *
1700
- * Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
2104
+ * List the human tasks that praxis/approval workflow steps opened, newest first. By default it returns only open tasks assigned to the caller: their approval inbox. scope=all lists every task of the organization, and status and run_id narrow the list. Use a returned id with retrieve for details and respond to decide. Read-only: listing never changes a task.
1701
2105
  */
1702
- export declare const databaseListDatabases: <ThrowOnError extends boolean = false>(options?: Options<DatabaseListDatabasesData, ThrowOnError>) => RequestResult<DatabaseListDatabasesResponses, DatabaseListDatabasesErrors, ThrowOnError>;
2106
+ export declare const automationHumanTasksList: <ThrowOnError extends boolean = false>(options?: Options<AutomationHumanTasksListData, ThrowOnError>) => RequestResult<AutomationHumanTasksListResponses, AutomationHumanTasksListErrors, ThrowOnError>;
1703
2107
  /**
1704
- * Create database
2108
+ * Retrieve a human task
1705
2109
  *
1706
- * Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.
2110
+ * Read one human task - title, Markdown body, context, actions, form, assignees, mode, due time, responses and outcome - so an assignee can choose an action and fill the form. Read-only; the Console approval page /automation/tasks/{id} reads the same resource.
1707
2111
  */
1708
- export declare const databaseCreateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateDatabaseData, ThrowOnError>) => RequestResult<DatabaseCreateDatabaseResponses, DatabaseCreateDatabaseErrors, ThrowOnError>;
2112
+ export declare const automationHumanTasksGet: <ThrowOnError extends boolean = false>(options: Options<AutomationHumanTasksGetData, ThrowOnError>) => RequestResult<AutomationHumanTasksGetResponses, AutomationHumanTasksGetErrors, ThrowOnError>;
1709
2113
  /**
1710
- * Delete database
2114
+ * Respond to a human task
1711
2115
  *
1712
- * Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
2116
+ * Submit an action (action_id), form values (values) and a comment as the calling user. Depending on the task's mode the response either decides it (status becomes completed, outcome is set, and the waiting workflow resumes with outcome as the step output) or is recorded while other assignees are awaited. When two assignees respond at once, exactly one decides and the other gets TASK_CLOSED. An agent may respond only if the workflow set allow_agent_decision. Send an Idempotency-Key to retry safely.
1713
2117
  */
1714
- export declare const databaseDeleteDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteDatabaseData, ThrowOnError>) => RequestResult<DatabaseDeleteDatabaseResponses, DatabaseDeleteDatabaseErrors, ThrowOnError>;
2118
+ export declare const automationHumanTasksRespond: <ThrowOnError extends boolean = false>(options: Options<AutomationHumanTasksRespondData, ThrowOnError>) => RequestResult<AutomationHumanTasksRespondResponses, AutomationHumanTasksRespondErrors, ThrowOnError>;
1715
2119
  /**
1716
- * Get database
2120
+ * Cancel a human task
1717
2121
  *
1718
- * Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.
2122
+ * Cancel an open human task; only the person who started the run or an organization API key may cancel. The task becomes cancelled and the waiting workflow step raises a runtime error with code HUMAN_TASK_CANCELLED, which try/catch can catch. Open tasks are cancelled automatically when their run ends, so this call is not needed then.
1719
2123
  */
1720
- export declare const databaseGetDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetDatabaseData, ThrowOnError>) => RequestResult<DatabaseGetDatabaseResponses, DatabaseGetDatabaseErrors, ThrowOnError>;
2124
+ export declare const automationHumanTasksCancel: <ThrowOnError extends boolean = false>(options: Options<AutomationHumanTasksCancelData, ThrowOnError>) => RequestResult<AutomationHumanTasksCancelResponses, AutomationHumanTasksCancelErrors, ThrowOnError>;
1721
2125
  /**
1722
- * Update database
2126
+ * Delegate a human task
1723
2127
  *
1724
- * Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.
2128
+ * An assignee who has not responded hands their place to another user (to_user), replacing their entry in assignees.users in place, so sequential order is kept. The new user cannot already be an assignee, nor the initiator unless self-approval is allowed. The task must still be open.
1725
2129
  */
1726
- export declare const databaseUpdateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateDatabaseData, ThrowOnError>) => RequestResult<DatabaseUpdateDatabaseResponses, DatabaseUpdateDatabaseErrors, ThrowOnError>;
2130
+ export declare const automationHumanTasksDelegate: <ThrowOnError extends boolean = false>(options: Options<AutomationHumanTasksDelegateData, ThrowOnError>) => RequestResult<AutomationHumanTasksDelegateResponses, AutomationHumanTasksDelegateErrors, ThrowOnError>;
1727
2131
  /**
1728
- * Restore database
2132
+ * List script vault bindings
1729
2133
  *
1730
- * Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
2134
+ * Inspect the whole vaults attached to a saved script, including archived definitions, without reading secret values. Obtain ns and name from automation.scripts.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.
1731
2135
  */
1732
- export declare const databaseRestoreDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseRestoreDatabaseData, ThrowOnError>) => RequestResult<DatabaseRestoreDatabaseResponses, DatabaseRestoreDatabaseErrors, ThrowOnError>;
2136
+ export declare const automationScriptsVaultsList: <ThrowOnError extends boolean = false>(options: Options<AutomationScriptsVaultsListData, ThrowOnError>) => RequestResult<AutomationScriptsVaultsListResponses, AutomationScriptsVaultsListErrors, ThrowOnError>;
1733
2137
  /**
1734
- * Permanently purge database
2138
+ * Delete a script vault binding
1735
2139
  *
1736
- * Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
2140
+ * Remove the vault assignment from this saved script without deleting the vault or its secrets. Obtain aliases from automation.scripts.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.
1737
2141
  */
1738
- export declare const databasePurgeDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabasePurgeDatabaseData, ThrowOnError>) => RequestResult<DatabasePurgeDatabaseResponses, DatabasePurgeDatabaseErrors, ThrowOnError>;
2142
+ export declare const automationScriptsVaultsDelete: <ThrowOnError extends boolean = false>(options: Options<AutomationScriptsVaultsDeleteData, ThrowOnError>) => RequestResult<AutomationScriptsVaultsDeleteResponses, AutomationScriptsVaultsDeleteErrors, ThrowOnError>;
1739
2143
  /**
1740
- * List tables
2144
+ * Set a script vault binding
1741
2145
  *
1742
- * Lists every table of an active database with its field definitions. A database holds at most 50 tables, so the single page contains all of them and next_cursor is always null. Use databaseGetTable instead when you also need row_count for one table.
2146
+ * Attach an entire active vault in your organization to a saved script, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {"vault":"Production"}.
1743
2147
  */
1744
- export declare const databaseListTables: <ThrowOnError extends boolean = false>(options: Options<DatabaseListTablesData, ThrowOnError>) => RequestResult<DatabaseListTablesResponses, DatabaseListTablesErrors, ThrowOnError>;
2148
+ export declare const automationScriptsVaultsSet: <ThrowOnError extends boolean = false>(options: Options<AutomationScriptsVaultsSetData, ThrowOnError>) => RequestResult<AutomationScriptsVaultsSetResponses, AutomationScriptsVaultsSetErrors, ThrowOnError>;
1745
2149
  /**
1746
- * Create table
2150
+ * List workflow vault bindings
1747
2151
  *
1748
- * Creates a table together with its initial fields in one call and returns it (HTTP 201) with generated tbl_ and fld_ ids. name must match ^[a-z_][a-z0-9_]{0,62}$ and be unused in this database (duplicate: 409 UNIQUE_VIOLATION). fields is required and may be an empty array; fields can also be added later with databaseAddField. Limits: 50 tables per database, 64 fields per table, and 16 indexed or unique fields per table; exceeding one returns 400 LIMIT_EXCEEDED. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. Every row also has a system id column, which is not declared as a field. Insert data afterwards with databaseInsert. Unlike Supabase, define schema with this table API and the field APIs; PostgreSQL DDL and SQL migration files cannot be submitted. Each table supports up to 1,000,000 rows.
2152
+ * Inspect the whole vaults attached to a saved workflow, including archived definitions, without reading secret values. Obtain ns and name from automation.workflows.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.
1749
2153
  */
1750
- export declare const databaseCreateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateTableData, ThrowOnError>) => RequestResult<DatabaseCreateTableResponses, DatabaseCreateTableErrors, ThrowOnError>;
2154
+ export declare const automationWorkflowsVaultsList: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsVaultsListData, ThrowOnError>) => RequestResult<AutomationWorkflowsVaultsListResponses, AutomationWorkflowsVaultsListErrors, ThrowOnError>;
1751
2155
  /**
1752
- * Delete table
2156
+ * Delete a workflow vault binding
1753
2157
  *
1754
- * Permanently drops a table with all of its rows; the deletion is immediate and has no recovery window or undo. Refused with 409 REFERENCE_RESTRICT while a link field of another table points at this table, so delete or change those fields first. Returns {deleted: true}. A table name can be reused afterwards.
2158
+ * Remove the vault assignment from this saved workflow without deleting the vault or its secrets. Obtain aliases from automation.workflows.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.
1755
2159
  */
1756
- export declare const databaseDeleteTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteTableData, ThrowOnError>) => RequestResult<DatabaseDeleteTableResponses, DatabaseDeleteTableErrors, ThrowOnError>;
2160
+ export declare const automationWorkflowsVaultsDelete: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsVaultsDeleteData, ThrowOnError>) => RequestResult<AutomationWorkflowsVaultsDeleteResponses, AutomationWorkflowsVaultsDeleteErrors, ThrowOnError>;
1757
2161
  /**
1758
- * Get table
2162
+ * Set a workflow vault binding
1759
2163
  *
1760
- * Returns one table by id or name with its field definitions, schema_revision and row_count. row_count is only returned by this operation, not by list or create. Use field ids from this response for stable references because field names can be renamed; an unknown table returns 404 TABLE_NOT_FOUND.
2164
+ * Attach an entire active vault in your organization to a saved workflow, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {"vault":"Production"}.
1761
2165
  */
1762
- export declare const databaseGetTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetTableData, ThrowOnError>) => RequestResult<DatabaseGetTableResponses, DatabaseGetTableErrors, ThrowOnError>;
2166
+ export declare const automationWorkflowsVaultsSet: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsVaultsSetData, ThrowOnError>) => RequestResult<AutomationWorkflowsVaultsSetResponses, AutomationWorkflowsVaultsSetErrors, ThrowOnError>;
1763
2167
  /**
1764
- * Update table
2168
+ * List canvases
1765
2169
  *
1766
- * Renames a table and/or changes its description; send only the keys to change, and send description null to clear it. The new name must follow ^[a-z_][a-z0-9_]{0,62}$ and be unused (409 UNIQUE_VIOLATION); ids are stable, so renaming never rewrites row data. A body with no changes or values equal to the current ones does not bump schema_revision. Fields cannot be changed here; use databaseAddField, databaseUpdateField and databaseDeleteField.
2170
+ * Discover canvases in the API key's organization and obtain ids for retrieval or editing. Results are ordered by updated_at from newest to oldest. limit is 1–100 and defaults to 50; omit cursor for the first page, then copy next_cursor into the next request until it is null. Deleted canvases are unavailable.
1767
2171
  */
1768
- export declare const databaseUpdateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateTableData, ThrowOnError>) => RequestResult<DatabaseUpdateTableResponses, DatabaseUpdateTableErrors, ThrowOnError>;
2172
+ export declare const canvasListCanvases: <ThrowOnError extends boolean = false>(options?: Options<CanvasListCanvasesData, ThrowOnError>) => RequestResult<CanvasListCanvasesResponses, CanvasListCanvasesErrors, ThrowOnError>;
1769
2173
  /**
1770
- * Add field
2174
+ * Create canvas
1771
2175
  *
1772
- * Adds one field to an existing table and returns the updated table (HTTP 201). Required inputs are name (lowercase letters, digits and underscores; id and names starting with _ are reserved) and type (string, integer, number, boolean, datetime, json or link); json needs options.schema and link needs options.linked_table_id and options.multiple. Adding a required field to a table that already has rows needs a default, otherwise the call fails with 400 VALIDATION_FAILED; a default is written into every existing row. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. JSON and link fields cannot be indexed. Limits: 64 fields and 16 indexed or unique fields per table (400 LIMIT_EXCEEDED). Unlike Supabase, schema evolution uses field definitions rather than ALTER TABLE statements or SQL migrations.
2176
+ * Create a blank design canvas in the API key's organization before drawing with praxis.canvas.canvases.execute. Send an optional name of at most 200 characters; omitting name uses Untitled. Each successful call creates a new canvas and returns its id and viewer_url with HTTP 201; save the id for subsequent reads, edits and deletion.
1773
2177
  */
1774
- export declare const databaseAddField: <ThrowOnError extends boolean = false>(options: Options<DatabaseAddFieldData, ThrowOnError>) => RequestResult<DatabaseAddFieldResponses, DatabaseAddFieldErrors, ThrowOnError>;
2178
+ export declare const canvasCreateCanvas: <ThrowOnError extends boolean = false>(options?: Options<CanvasCreateCanvasData, ThrowOnError>) => RequestResult<CanvasCreateCanvasResponses, CanvasCreateCanvasErrors, ThrowOnError>;
1775
2179
  /**
1776
- * Delete field
2180
+ * Delete canvas
1777
2181
  *
1778
- * Deletes one field definition from a table and returns the updated table; the deletion is immediate and has no recovery window. Look the field up by id or name. The field's index, if any, is dropped with it, and the name can be reused afterwards. Unknown fields return 400 FIELD_NOT_FOUND.
2182
+ * Permanently delete a canvas and its design content when it is no longer needed. Obtain canvas_id from create or list and confirm the target before calling; deletion cannot be undone. HTTP 200 confirms deletion with deleted=true. Subsequent access returns CANVAS_NOT_FOUND, as it does for a missing canvas or one outside the API key's organization.
1779
2183
  */
1780
- export declare const databaseDeleteField: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteFieldData, ThrowOnError>) => RequestResult<DatabaseDeleteFieldResponses, DatabaseDeleteFieldErrors, ThrowOnError>;
2184
+ export declare const canvasDeleteCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasDeleteCanvasData, ThrowOnError>) => RequestResult<CanvasDeleteCanvasResponses, CanvasDeleteCanvasErrors, ThrowOnError>;
1781
2185
  /**
1782
- * Update field
2186
+ * Retrieve canvas
1783
2187
  *
1784
- * Changes a field's name, description, required flag, indexed flag, default or json options.schema and returns the updated table. The field type, a link field's linked_table_id and the unique flag cannot be changed (400 FIELD_TYPE_IMMUTABLE or INVALID_PARAMS). Setting required to true fails with 400 VALIDATION_FAILED while existing rows hold null for the field. A new json schema constrains only later writes; existing rows are not revalidated. Renaming never rewrites row data, and a request that changes nothing does not bump schema_revision. Unlike Supabase, field types and uniqueness cannot be altered through SQL migrations; use the supported field settings described here.
2188
+ * Inspect the current canvas before editing, like Pencil get_app_state. The response adds top-level node summaries in canvas order and reusable component ids to the canvas metadata. Use these ids in nodes.list, images.list or an execute script; use the returned version as expected_version to detect concurrent edits. Read full node content with nodes.list rather than guessing fields from these summaries.
1785
2189
  */
1786
- export declare const databaseUpdateField: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateFieldData, ThrowOnError>) => RequestResult<DatabaseUpdateFieldResponses, DatabaseUpdateFieldErrors, ThrowOnError>;
2190
+ export declare const canvasRetrieveCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasRetrieveCanvasData, ThrowOnError>) => RequestResult<CanvasRetrieveCanvasResponses, CanvasRetrieveCanvasErrors, ThrowOnError>;
1787
2191
  /**
1788
- * List events
2192
+ * Update canvas
1789
2193
  *
1790
- * Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.
2194
+ * Rename a canvas or move it to a collection without editing its design content. Use a canvas id from canvases.list and a collection id from collections.list. Send collection_id=null to make it uncategorized; omit either field to preserve its current value. A canvas belongs to at most one collection. The destination must belong to your organization. Renaming keeps the canvas version unchanged.
1791
2195
  */
1792
- export declare const databaseListEvents: <ThrowOnError extends boolean = false>(options: Options<DatabaseListEventsData, ThrowOnError>) => RequestResult<DatabaseListEventsResponses, DatabaseListEventsErrors, ThrowOnError>;
2196
+ export declare const canvasUpdateCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasUpdateCanvasData, ThrowOnError>) => RequestResult<CanvasUpdateCanvasResponses, CanvasUpdateCanvasErrors, ThrowOnError>;
1793
2197
  /**
1794
- * Delete rows
2198
+ * Read canvas nodes
1795
2199
  *
1796
- * Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.
2200
+ * Read node documents for inspection before changing individual nodes. Supply 1–100 comma-separated node ids from retrieve or execute, or instance paths such as a/b. depth is an integer at least 0; omit it for complete subtrees. Each requested id maps to a document wrapper or null if absent. Unlike Figma, document contains a Pencil .pen 2.21 node, not a Figma node. For top-level summaries use canvases.retrieve; for pixels use images.list.
1797
2201
  */
1798
- export declare const databaseDelete: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteData, ThrowOnError>) => RequestResult<DatabaseDeleteResponses, DatabaseDeleteErrors, ThrowOnError>;
2202
+ export declare const canvasListNodes: <ThrowOnError extends boolean = false>(options: Options<CanvasListNodesData, ThrowOnError>) => RequestResult<CanvasListNodesResponses, CanvasListNodesErrors, ThrowOnError>;
1799
2203
  /**
1800
- * Select rows
2204
+ * Render canvas nodes
1801
2205
  *
1802
- * Read matching rows with filters, selected columns and ordering. Returns at most 1000 rows per request, including when limit is omitted. Content-Range reports the actual returned interval and the total when count is requested. PATCH and DELETE are not subject to this read cap. Unlike Supabase, casts, aggregates, spread and join modifiers are unsupported. Each table supports up to 1,000,000 rows. Query budget: 8,000 ms with a shared 3,000,000-row safety ceiling. Create indexes on filtered or sorted fields, or narrow the request when it exceeds its budget. Synchronous SQLite aggregates use candidate-row throughput estimates before execution; deployed Workers freeze clocks during synchronous CPU work, so the timer is not a guaranteed server-side interrupt. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Error table: QUERY_CANCELED / PostgREST 57014 is HTTP 500, retryable=false: Query timed out: index filtered or sorted fields, or narrow the range. DATABASE_INVALID_STATE is HTTP 409 for operations on a deleting database. Cleared or nonexistent databases return DATABASE_NOT_FOUND / HTTP 404. The count is an HTTP Content-Range response header, not a JSON property. Use praxis.database.count in the SDK or codemode to return { count: number | null }; a page length is not a total unless you know all matches fit in that page.
2206
+ * Render 1–4 nodes to inspect the visual result of a design edit. Use ids from retrieve, execute.created or execute.screenshots; scale defaults to 1 and accepts 0.25–4, and png is the only supported format. Unlike Figma, images contains inline data:image/png;base64,... URLs, not hosted image URLs; a null entry means no image is available for that id. Use nodes.list for editable node content instead of pixels.
1803
2207
  */
1804
- export declare const databaseSelect: <ThrowOnError extends boolean = false>(options: Options<DatabaseSelectData, ThrowOnError>) => RequestResult<DatabaseSelectResponses, DatabaseSelectErrors, ThrowOnError>;
2208
+ export declare const canvasListImages: <ThrowOnError extends boolean = false>(options: Options<CanvasListImagesData, ThrowOnError>) => RequestResult<CanvasListImagesResponses, CanvasListImagesErrors, ThrowOnError>;
2209
+ /**
2210
+ * Execute canvas script
2211
+ *
2212
+ * Draw or edit a canvas atomically with a synchronous Pencil execute script. First create a canvas with praxis.canvas.canvases.create and use its id as canvas_id; inspect an existing canvas with retrieve before modifying it. Send exactly one of script (new source) or edit_id (a failed script to patch using edits). Unlike Figma REST, :execute writes design content; nodes use Pencil .pen schema 2.21 (frame/group/rectangle/ellipse/polygon/path/text/icon/ref/note), not Figma node fields.
2213
+ *
2214
+ * The root variable is document. Synchronous functions are Insert / Copy / Update / Replace / Move / Delete / SetVariables / Get / GetVariables / FindEmptySpace / Print / TakeScreenshot; globals persist for the next call. A first frame needs only this body.script:
2215
+ *
2216
+ * ```js
2217
+ * const f = Insert(document, { type: "frame", name: "Hero", width: 1200, layout: "vertical", padding: 48, fill: "#FFFFFF" }); Insert(f, { type: "text", content: "Hello", fontSize: 32, fill: "#111111" }); Print(f)
2218
+ * ```
2219
+ *
2220
+ * Insert/Copy return the new node id; read the copy with Get(id) — copied descendants get new ids, so change them through Copy's third argument `descendants` keyed by the source node ids. To copy a page and change its title in the same script:
2221
+ *
2222
+ * ```js canvas-example="copy-page"
2223
+ * const page = Insert(document, {type:"frame",name:"Original",width:320,height:160,layout:"vertical",padding:16});
2224
+ * const title = Insert(page, {type:"text",name:"Title",content:"Original",fontSize:24});
2225
+ * const copy = Copy(page, document, {name:"Copy",x:360,descendants:{[title]:{content:"Updated"}}});
2226
+ * Print(copy); Print(Get(copy).children[0].content);
2227
+ * ```
2228
+ *
2229
+ * Use viewer_url to watch the result in Console. TakeScreenshot records node ids in screenshots; call images.list with those ids to fetch PNG data URLs. See the [Canvas execute reference](https://deepraxis.com/en/docs/api/native/canvas/execute) for request fields and results, and the [Canvas node reference](https://deepraxis.com/en/docs/developers/canvas/nodes) for node content.
2230
+ *
2231
+ * A successful write increments version by one. Optionally set expected_version to the version from retrieve or nodes.list; on 409 REVISION_CONFLICT read again, merge your intent and retry with the current version. Every script failure rolls back all writes. On 400 SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED, use error.details.edit_id plus edits to repair and rerun the stored source without resending the entire script; details may include line, column and rejection. On 400 EDIT_EXPIRED the saved script is older than ten minutes: submit a corrected new script. On 429 CANVAS_BUSY, more than four calls are queued for this canvas: wait for pending calls before retrying.
2232
+ *
2233
+ * Execution errors include error.details.prints containing output printed before failure, with the same string-array shape and output limit as successful prints; rolled-back writes still create no version.
2234
+ *
2235
+ */
2236
+ export declare const canvasExecute: <ThrowOnError extends boolean = false>(options: Options<CanvasExecuteData, ThrowOnError>) => RequestResult<CanvasExecuteResponses, CanvasExecuteErrors, ThrowOnError>;
2237
+ /**
2238
+ * List collections
2239
+ *
2240
+ * Find collections and ids for filtering or moving canvases. All organization collections are returned in name order in one response; next_cursor is always null. canvas_count excludes deleted canvases. total_count counts all live canvases, rather than collections, and uncategorized_count counts live canvases without a collection. Use canvases.list with collection_id to read a collection or none to read uncategorized canvases.
2241
+ */
2242
+ export declare const canvasListCollections: <ThrowOnError extends boolean = false>(options?: Options<CanvasListCollectionsData, ThrowOnError>) => RequestResult<CanvasListCollectionsResponses, CanvasListCollectionsErrors, ThrowOnError>;
2243
+ /**
2244
+ * Create collection
2245
+ *
2246
+ * Organize canvases by creating a one-level collection in your organization. Send a name of 1–100 characters after trimming; duplicate names are allowed. Each call creates a new collection, initially containing no canvases. Use canvases.update with its id as collection_id to move existing canvases into it. Collections cannot be nested and an organization can have at most 200.
2247
+ */
2248
+ export declare const canvasCreateCollection: <ThrowOnError extends boolean = false>(options: Options<CanvasCreateCollectionData, ThrowOnError>) => RequestResult<CanvasCreateCollectionResponses, CanvasCreateCollectionErrors, ThrowOnError>;
2249
+ /**
2250
+ * Delete collection
2251
+ *
2252
+ * Remove a collection using an id from collections.list. All its canvases are preserved and become uncategorized, with collection_id set to null; read them using canvases.list with collection_id=none. The removed collection cannot be retrieved again, and repeating deletion returns COLLECTION_NOT_FOUND.
2253
+ */
2254
+ export declare const canvasDeleteCollection: <ThrowOnError extends boolean = false>(options: Options<CanvasDeleteCollectionData, ThrowOnError>) => RequestResult<CanvasDeleteCollectionResponses, CanvasDeleteCollectionErrors, ThrowOnError>;
2255
+ /**
2256
+ * Retrieve collection
2257
+ *
2258
+ * Inspect one collection and its current live canvas count using an id from collections.list or collections.create. The collection must belong to the API key organization. To read its canvases, pass the same id as collection_id to canvases.list; this response contains collection metadata only.
2259
+ */
2260
+ export declare const canvasRetrieveCollection: <ThrowOnError extends boolean = false>(options: Options<CanvasRetrieveCollectionData, ThrowOnError>) => RequestResult<CanvasRetrieveCollectionResponses, CanvasRetrieveCollectionErrors, ThrowOnError>;
2261
+ /**
2262
+ * Rename collection
2263
+ *
2264
+ * Change the display name of a collection from collections.list without changing its id or canvas assignments. Names contain 1–100 characters after trimming and may match another collection name. This operation does not move canvases; use canvases.update with collection_id for that.
2265
+ */
2266
+ export declare const canvasUpdateCollection: <ThrowOnError extends boolean = false>(options: Options<CanvasUpdateCollectionData, ThrowOnError>) => RequestResult<CanvasUpdateCollectionResponses, CanvasUpdateCollectionErrors, ThrowOnError>;
2267
+ /**
2268
+ * List canvas versions
2269
+ *
2270
+ * Inspect retained edits before restoring a canvas or reading historical nodes and images. Supply a canvas_id from canvases.list or create. Results include successful execute, import and restore commits since history was enabled, newest first. limit is 1–100 and defaults to 30; pass next_cursor as cursor until it is null. All versions from the last 30 days are retained unless the 256 MiB history budget requires pruning; the newest 100 versions are always retained regardless of age or size. earliest_restorable_version is the oldest readable and restorable version, including the state immediately before the first retained commit; null means no history has been recorded. Listing does not change the canvas.
2271
+ */
2272
+ export declare const canvasListVersions: <ThrowOnError extends boolean = false>(options: Options<CanvasListVersionsData, ThrowOnError>) => RequestResult<CanvasListVersionsResponses, CanvasListVersionsErrors, ThrowOnError>;
2273
+ /**
2274
+ * Restore canvas version
2275
+ *
2276
+ * Recover a canvas after an unwanted edit by restoring a retained version from versions.list or its earliest_restorable_version. This replaces current nodes, variables and themes with the target state and creates one new version; history remains available, so restoring can itself be undone with another restore. Restoring the current version succeeds without creating a version. Optionally guard the write with expected_version from retrieve or nodes.list; if it is stale, inspect current state and retry with the new value. Repeating an unguarded request after another edit can create another restore version. Versions from before history was enabled or outside retention cannot be recovered. Connected viewers resync after a successful restore.
2277
+ */
2278
+ export declare const canvasRestoreCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasRestoreCanvasData, ThrowOnError>) => RequestResult<CanvasRestoreCanvasResponses, CanvasRestoreCanvasErrors, ThrowOnError>;
2279
+ /**
2280
+ * List records
2281
+ *
2282
+ * Browse records of one object type and obtain ids for retrieval or edits. Discover objectType with schemas.list; select properties by internal names from properties.list. Omit after for the first page, then copy paging.next.after until no next page is returned. archived defaults to false; use objects.search for property filters.
2283
+ */
2284
+ export declare const crmObjectsList: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsListData, ThrowOnError>) => RequestResult<CrmObjectsListResponses, CrmObjectsListErrors, ThrowOnError>;
2285
+ /**
2286
+ * Create record
2287
+ *
2288
+ * Create a customer record with property values and optional initial associations. Discover objectType with schemas.list and allowed property names with properties.list; save the returned id for subsequent calls. Each call creates a record. Example for contacts: {"properties":{"email":"person@example.com"}}. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2289
+ */
2290
+ export declare const crmObjectsCreate: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsCreateData, ThrowOnError>) => RequestResult<CrmObjectsCreateResponses, CrmObjectsCreateErrors, ThrowOnError>;
2291
+ /**
2292
+ * Archive record
2293
+ *
2294
+ * Archive a record selected from objects.list or objects.search when it should leave active results. This removes it from normal lists without deleting its history; archived=true can be used to read archived records. Confirm objectType and objectId before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.
2295
+ */
2296
+ export declare const crmObjectsArchive: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsArchiveData, ThrowOnError>) => RequestResult<CrmObjectsArchiveResponses, CrmObjectsArchiveErrors, ThrowOnError>;
2297
+ /**
2298
+ * Retrieve record
2299
+ *
2300
+ * Read one record by id from objects.list, objects.search or objects.create. Select property names with properties and associated object types with associations; use idProperty only when objectId is a value of that unique property. Use archived=true to inspect an archived record.
2301
+ */
2302
+ export declare const crmObjectsRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsRetrieveData, ThrowOnError>) => RequestResult<CrmObjectsRetrieveResponses, CrmObjectsRetrieveErrors, ThrowOnError>;
2303
+ /**
2304
+ * Update record
2305
+ *
2306
+ * Change only the supplied properties of a record selected from objects.list or objects.search. Omitted properties retain their values. Use property names from properties.list and valid stage ids from pipelines.retrieve. Stage-entry requirements must be satisfied by the resulting record; inspect 400 errors before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2307
+ */
2308
+ export declare const crmObjectsUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsUpdateData, ThrowOnError>) => RequestResult<CrmObjectsUpdateResponses, CrmObjectsUpdateErrors, ThrowOnError>;
2309
+ /**
2310
+ * Search records
2311
+ *
2312
+ * Find records using text query, property filters and sort order rather than scanning a list. Obtain objectType from schemas.list and filter propertyName values from properties.list. Supply filterGroups, sorts, properties, limit and after; use empty arrays for no filters, sorts or property selection, and an empty after for the first page. Copy paging.next.after with the same query to continue. This operation reads records without changing them.
2313
+ */
2314
+ export declare const crmObjectsSearch: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsSearchData, ThrowOnError>) => RequestResult<CrmObjectsSearchResponses, CrmObjectsSearchErrors, ThrowOnError>;
2315
+ /**
2316
+ * Batch read records
2317
+ *
2318
+ * Read a set of known record ids in one call; use objects.search to discover ids first. Supply inputs with ids plus requested properties; set idProperty only when the inputs use unique-property values rather than record ids.
2319
+ */
2320
+ export declare const crmObjectsBatchRead: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsBatchReadData, ThrowOnError>) => RequestResult<CrmObjectsBatchReadResponses, CrmObjectsBatchReadErrors, ThrowOnError>;
2321
+ /**
2322
+ * Batch create records
2323
+ *
2324
+ * Create several records of one object type using inputs with properties and optional associations. Obtain property names from properties.list; each successful input creates a record, so inspect per-item errors before resubmitting failed inputs. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2325
+ */
2326
+ export declare const crmObjectsBatchCreate: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsBatchCreateData, ThrowOnError>) => RequestResult<CrmObjectsBatchCreateResponses, CrmObjectsBatchCreateErrors, ThrowOnError>;
2327
+ /**
2328
+ * Batch update records
2329
+ *
2330
+ * Apply distinct property patches to existing records identified by inputs[].id. Obtain ids from objects.list or objects.search and property names from properties.list. Omitted properties retain their values; inspect results and errors for each input. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2331
+ */
2332
+ export declare const crmObjectsBatchUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsBatchUpdateData, ThrowOnError>) => RequestResult<CrmObjectsBatchUpdateResponses, CrmObjectsBatchUpdateErrors, ThrowOnError>;
2333
+ /**
2334
+ * Batch upsert records
2335
+ *
2336
+ * Create records that do not yet exist or update matches using a unique property. Provide idProperty and its value in each input, plus properties; choose a property with hasUniqueValue from properties.list. Inspect each result to determine whether it was newly created. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2337
+ */
2338
+ export declare const crmObjectsBatchUpsert: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsBatchUpsertData, ThrowOnError>) => RequestResult<CrmObjectsBatchUpsertResponses, CrmObjectsBatchUpsertErrors, ThrowOnError>;
2339
+ /**
2340
+ * Batch archive records
2341
+ *
2342
+ * Archive known records of one object type using inputs[].id from objects.list or objects.search. Archived records leave active lists but retain their history; confirm all ids before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.
2343
+ */
2344
+ export declare const crmObjectsBatchArchive: <ThrowOnError extends boolean = false>(options: Options<CrmObjectsBatchArchiveData, ThrowOnError>) => RequestResult<CrmObjectsBatchArchiveResponses, CrmObjectsBatchArchiveErrors, ThrowOnError>;
2345
+ /**
2346
+ * List properties
2347
+ *
2348
+ * Inspect the property definitions available for an object type before writing or filtering records. Obtain objectType from schemas.list; reuse each immutable name in record properties and filters. archived defaults to false.
2349
+ */
2350
+ export declare const crmPropertiesList: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesListData, ThrowOnError>) => RequestResult<CrmPropertiesListResponses, CrmPropertiesListErrors, ThrowOnError>;
2351
+ /**
2352
+ * Create property
2353
+ *
2354
+ * Define a property before setting its values on records. Choose objectType from schemas.list and groupName from properties.groups.list; provide an immutable internal name, display label, type and fieldType. Enumeration properties require their valid options. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2355
+ */
2356
+ export declare const crmPropertiesCreate: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesCreateData, ThrowOnError>) => RequestResult<CrmPropertiesCreateResponses, CrmPropertiesCreateErrors, ThrowOnError>;
2357
+ /**
2358
+ * Archive property
2359
+ *
2360
+ * Archive a property definition selected by internal name from properties.list. Confirm that record entry and search flows no longer depend on it; archived definitions are excluded from normal property lists. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.
2361
+ */
2362
+ export declare const crmPropertiesArchive: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesArchiveData, ThrowOnError>) => RequestResult<CrmPropertiesArchiveResponses, CrmPropertiesArchiveErrors, ThrowOnError>;
2363
+ /**
2364
+ * Retrieve property
2365
+ *
2366
+ * Inspect the type, options and modification restrictions of a property before changing its definition or record values. Obtain propertyName from properties.list; it is the immutable internal name rather than the label.
2367
+ */
2368
+ export declare const crmPropertiesRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesRetrieveData, ThrowOnError>) => RequestResult<CrmPropertiesRetrieveResponses, CrmPropertiesRetrieveErrors, ThrowOnError>;
2369
+ /**
2370
+ * Update property
2371
+ *
2372
+ * Change editable settings of a property selected from properties.list, such as its label, group or options. Preserve the immutable internal name; inspect modificationMetadata before editing system-managed definitions. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2373
+ */
2374
+ export declare const crmPropertiesUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesUpdateData, ThrowOnError>) => RequestResult<CrmPropertiesUpdateResponses, CrmPropertiesUpdateErrors, ThrowOnError>;
2375
+ /**
2376
+ * List property groups
2377
+ *
2378
+ * Discover property groups for an object type before creating or organizing property definitions. Obtain objectType from schemas.list and reuse a group name as groupName in properties.create or properties.update.
2379
+ */
2380
+ export declare const crmPropertiesGroupsList: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesGroupsListData, ThrowOnError>) => RequestResult<CrmPropertiesGroupsListResponses, CrmPropertiesGroupsListErrors, ThrowOnError>;
2381
+ /**
2382
+ * Create property group
2383
+ *
2384
+ * Create a named group for related property definitions of one object type. Obtain objectType from schemas.list; choose a unique internal name and display label, then reuse the returned name as groupName when creating properties. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2385
+ */
2386
+ export declare const crmPropertiesGroupsCreate: <ThrowOnError extends boolean = false>(options: Options<CrmPropertiesGroupsCreateData, ThrowOnError>) => RequestResult<CrmPropertiesGroupsCreateResponses, CrmPropertiesGroupsCreateErrors, ThrowOnError>;
2387
+ /**
2388
+ * List pipelines
2389
+ *
2390
+ * Discover pipelines and stage ids for records of one object type from schemas.list. Reuse pipeline and stage ids in record property updates or lead qualification. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2391
+ */
2392
+ export declare const crmPipelinesList: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesListData, ThrowOnError>) => RequestResult<CrmPipelinesListResponses, CrmPipelinesListErrors, ThrowOnError>;
2393
+ /**
2394
+ * Create pipeline
2395
+ *
2396
+ * Create a pipeline with its ordered stages for an object type from schemas.list. Provide a display label, displayOrder and initial stages, then use the returned ids when assigning records. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2397
+ */
2398
+ export declare const crmPipelinesCreate: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesCreateData, ThrowOnError>) => RequestResult<CrmPipelinesCreateResponses, CrmPipelinesCreateErrors, ThrowOnError>;
2399
+ /**
2400
+ * Archive pipeline
2401
+ *
2402
+ * Archive a pipeline selected from pipelines.list when records no longer depend on it. Check current records and stage usage first; resolve references reported by validation before retrying. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2403
+ */
2404
+ export declare const crmPipelinesArchive: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesArchiveData, ThrowOnError>) => RequestResult<CrmPipelinesArchiveResponses, CrmPipelinesArchiveErrors, ThrowOnError>;
2405
+ /**
2406
+ * Retrieve pipeline
2407
+ *
2408
+ * Inspect the stage ids and metadata of a pipeline before moving a record or editing its workflow. Obtain pipelineId from pipelines.list and use the returned stages array to select a destination. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2409
+ */
2410
+ export declare const crmPipelinesRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesRetrieveData, ThrowOnError>) => RequestResult<CrmPipelinesRetrieveResponses, CrmPipelinesRetrieveErrors, ThrowOnError>;
2411
+ /**
2412
+ * Update pipeline
2413
+ *
2414
+ * Change editable pipeline settings selected by pipelineId from pipelines.list. Omit settings that should remain unchanged and inspect current stages with pipelines.retrieve before modifying the workflow. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2415
+ */
2416
+ export declare const crmPipelinesUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesUpdateData, ThrowOnError>) => RequestResult<CrmPipelinesUpdateResponses, CrmPipelinesUpdateErrors, ThrowOnError>;
2417
+ /**
2418
+ * Create pipeline stage
2419
+ *
2420
+ * Add an ordered stage to a pipeline from pipelines.list. Provide its display label, displayOrder and metadata; save the returned stage id for record updates. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2421
+ */
2422
+ export declare const crmPipelinesStagesCreate: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesStagesCreateData, ThrowOnError>) => RequestResult<CrmPipelinesStagesCreateResponses, CrmPipelinesStagesCreateErrors, ThrowOnError>;
2423
+ /**
2424
+ * Archive pipeline stage
2425
+ *
2426
+ * Archive a stage selected from pipelines.retrieve after checking record usage. A stage that still has records cannot be archived without resolving their assignment; move those records to an allowed stage first. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2427
+ */
2428
+ export declare const crmPipelinesStagesArchive: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesStagesArchiveData, ThrowOnError>) => RequestResult<CrmPipelinesStagesArchiveResponses, CrmPipelinesStagesArchiveErrors, ThrowOnError>;
2429
+ /**
2430
+ * Update pipeline stage
2431
+ *
2432
+ * Change the label, order or metadata of a stage selected from pipelines.retrieve. Existing records must satisfy entry rules when subsequently moved; omitted settings retain their values. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is "true" (no further transition) or "false" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string "null" meaning unrestricted; praxis_required is a JSON-encoded array string of property names ("[]" means none) that must be non-empty on entry (boolean properties must be "true"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {"praxis_category":"open","praxis_terminal":"false","praxis_allowed_next":"[\"proposal\",\"lost\"]","praxis_required":"[\"budget\",\"decision_maker\"]"}.
2433
+ */
2434
+ export declare const crmPipelinesStagesUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmPipelinesStagesUpdateData, ThrowOnError>) => RequestResult<CrmPipelinesStagesUpdateResponses, CrmPipelinesStagesUpdateErrors, ThrowOnError>;
2435
+ /**
2436
+ * List record associations
2437
+ *
2438
+ * Read records linked to a source record, including association labels and type ids. Obtain source and destination object types from schemas.list and objectId from objects.list or objects.search. Follow paging.next.after to continue reading associated records.
2439
+ */
2440
+ export declare const crmAssociationsList: <ThrowOnError extends boolean = false>(options: Options<CrmAssociationsListData, ThrowOnError>) => RequestResult<CrmAssociationsListResponses, CrmAssociationsListErrors, ThrowOnError>;
2441
+ /**
2442
+ * Remove association
2443
+ *
2444
+ * Remove the association between two existing records without archiving either record. Obtain the linked destination id from associations.list and confirm the source and destination object types before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.
2445
+ */
2446
+ export declare const crmAssociationsRemove: <ThrowOnError extends boolean = false>(options: Options<CrmAssociationsRemoveData, ThrowOnError>) => RequestResult<CrmAssociationsRemoveResponses, CrmAssociationsRemoveErrors, ThrowOnError>;
2447
+ /**
2448
+ * Create labelled association
2449
+ *
2450
+ * Associate two existing records using the requested association category and type id. Obtain record ids from objects.list or objects.search; reuse known association type ids from associations.list. Send the association-spec array as the body; use associations.createDefault when no label is needed. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2451
+ */
2452
+ export declare const crmAssociationsCreate: <ThrowOnError extends boolean = false>(options: Options<CrmAssociationsCreateData, ThrowOnError>) => RequestResult<CrmAssociationsCreateResponses, CrmAssociationsCreateErrors, ThrowOnError>;
2453
+ /**
2454
+ * Create default association
2455
+ *
2456
+ * Link two existing records with the default unlabelled association. Obtain each record id from objects.list or objects.search for its type. No request body is required; use associations.create to choose explicit association labels. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2457
+ */
2458
+ export declare const crmAssociationsCreateDefault: <ThrowOnError extends boolean = false>(options: Options<CrmAssociationsCreateDefaultData, ThrowOnError>) => RequestResult<CrmAssociationsCreateDefaultResponses, CrmAssociationsCreateDefaultErrors, ThrowOnError>;
2459
+ /**
2460
+ * List object schemas
2461
+ *
2462
+ * Discover available object schemas, display labels, property definitions and association definitions. Reuse the object type identifier or name in record, property and pipeline operations. archived defaults to false; the include parameters control the definition and audit details returned.
2463
+ */
2464
+ export declare const crmSchemasList: <ThrowOnError extends boolean = false>(options?: Options<CrmSchemasListData, ThrowOnError>) => RequestResult<CrmSchemasListResponses, CrmSchemasListErrors, ThrowOnError>;
2465
+ /**
2466
+ * Create object schema
2467
+ *
2468
+ * Define a custom CRM object type before creating its records. Provide its immutable name, singular and plural labels, primaryDisplayProperty, properties and associated object types. Save the returned object type identifier for subsequent record and property operations. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2469
+ */
2470
+ export declare const crmSchemasCreate: <ThrowOnError extends boolean = false>(options: Options<CrmSchemasCreateData, ThrowOnError>) => RequestResult<CrmSchemasCreateResponses, CrmSchemasCreateErrors, ThrowOnError>;
2471
+ /**
2472
+ * Qualify lead
2473
+ *
2474
+ * Qualify a lead with explicit contact, company and optional deal choices in one operation. Unlike HubSpot, CRM exposes these decisions as a single action because qualification coordinates several related record edits rather than editing only the lead stage. Obtain leadId from objects.list for leads and qualifiedStageId from its pipeline; choose a won stage and satisfy its required properties. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2475
+ */
2476
+ export declare const crmLeadsQualify: <ThrowOnError extends boolean = false>(options: Options<CrmLeadsQualifyData, ThrowOnError>) => RequestResult<CrmLeadsQualifyResponses, CrmLeadsQualifyErrors, ThrowOnError>;
2477
+ /**
2478
+ * Revert change set
2479
+ *
2480
+ * Reverse property changes made by one earlier request. Unlike HubSpot, CRM exposes change-set reversal because agents need to undo a whole recorded action rather than manually reconstructing individual values. Supply the changeSetId recorded in property history. A later conflicting value prevents reversal with HTTP 409 CONFLICT; inspect current records before resolving the conflict. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2481
+ */
2482
+ export declare const crmChangesRevert: <ThrowOnError extends boolean = false>(options: Options<CrmChangesRevertData, ThrowOnError>) => RequestResult<CrmChangesRevertResponses, CrmChangesRevertErrors, ThrowOnError>;
2483
+ /**
2484
+ * Retrieve record layout
2485
+ *
2486
+ * Read the shared record-page layout for an object type from schemas.list. Unlike HubSpot, CRM exposes this presentation as an API resource so people and agents can share the same record layout instead of relying on interface-only settings. The response orders summary tiles, sidebar properties and main-column sections.
2487
+ */
2488
+ export declare const crmLayoutsRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsRetrieveData, ThrowOnError>) => RequestResult<CrmLayoutsRetrieveResponses, CrmLayoutsRetrieveErrors, ThrowOnError>;
2489
+ /**
2490
+ * Update record layout
2491
+ *
2492
+ * Replace the shared record-page layout for an object type from schemas.list. Unlike HubSpot, CRM exposes this presentation as an API resource so agents can configure the same record view used by people. Send the complete layout with at most three summary tiles and property names from properties.list; omitted prior sections are removed. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.
2493
+ */
2494
+ export declare const crmLayoutsUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsUpdateData, ThrowOnError>) => RequestResult<CrmLayoutsUpdateResponses, CrmLayoutsUpdateErrors, ThrowOnError>;
2495
+ /**
2496
+ * List projects
2497
+ *
2498
+ * Discover projects owned by the API key organization and obtain project_id values. Results default to active projects ordered by updateTime descending; use filter state = "deleted" to find retained deleted projects for undelete. Continue with next_page_token as page_token until the token is absent.
2499
+ */
2500
+ export declare const cutListProjects: <ThrowOnError extends boolean = false>(options?: Options<CutListProjectsData, ThrowOnError>) => RequestResult<CutListProjectsResponses, CutListProjectsErrors, ThrowOnError>;
2501
+ /**
2502
+ * Create project
2503
+ *
2504
+ * Create a blank editing project in the API key organization before writing a script. First obtain accessible library ids from praxis.media; bindings must include exactly one read_write library with default_upload true. Each call creates a new project and returns HTTP 201; save its id for execute, state and timeline calls. All editing positions use seconds.
2505
+ */
2506
+ export declare const cutCreateProject: <ThrowOnError extends boolean = false>(options: Options<CutCreateProjectData, ThrowOnError>) => RequestResult<CutCreateProjectResponses, CutCreateProjectErrors, ThrowOnError>;
2507
+ /**
2508
+ * Delete project
2509
+ *
2510
+ * Soft-delete a project selected from projects.list. The project is retained for seven days until purge_time and can be restored with undelete before that deadline. Deleted projects cannot be edited; list with filter state = "deleted" to locate retained projects.
2511
+ */
2512
+ export declare const cutDeleteProject: <ThrowOnError extends boolean = false>(options: Options<CutDeleteProjectData, ThrowOnError>) => RequestResult<CutDeleteProjectResponses, CutDeleteProjectErrors, ThrowOnError>;
2513
+ /**
2514
+ * Retrieve project
2515
+ *
2516
+ * Inspect project metadata, settings and library bindings before editing. Copy id from projects.create or list; expand=timeline,exports,versions includes selected related resources. The expanded timeline uses seconds and the returned revision can guard a later execute call with expected_revision.
2517
+ */
2518
+ export declare const cutRetrieveProject: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveProjectData, ThrowOnError>) => RequestResult<CutRetrieveProjectResponses, CutRetrieveProjectErrors, ThrowOnError>;
2519
+ /**
2520
+ * Update project metadata
2521
+ *
2522
+ * Change the project display name or replace its labels by naming those fields in update_mask. Use execute for clip or track edits. Each successful update commits a new revision; labels are replaced as a whole when selected, so read and merge existing labels before overwriting them.
2523
+ */
2524
+ export declare const cutUpdateProject: <ThrowOnError extends boolean = false>(options: Options<CutUpdateProjectData, ThrowOnError>) => RequestResult<CutUpdateProjectResponses, CutUpdateProjectErrors, ThrowOnError>;
2525
+ /**
2526
+ * Restore deleted project
2527
+ *
2528
+ * Return a retained deleted project to active state before its purge_time. Obtain project_id from projects.list filtered to deleted projects. This restores the project, not an older timeline revision; use versions.restore when reverting editing content.
2529
+ */
2530
+ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(options: Options<CutUndeleteProjectData, ThrowOnError>) => RequestResult<CutUndeleteProjectResponses, CutUndeleteProjectErrors, ThrowOnError>;
2531
+ /**
2532
+ * Execute editing script
2533
+ *
2534
+ * Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack("video"); Insert(t, {type: "color", color: "#123456", start: 0, length: 3}); Print(t);`
2535
+ *
2536
+ * <!-- cut-reference:start -->
2537
+ * ### Script function, field and error reference
2538
+ *
2539
+ * Every script function, clip field and error code has its own section, read one at a time:
2540
+ *
2541
+ * ```
2542
+ * codemode.describe("praxis.cut.script.<Name>") // one function: signature, arguments, return, errors, example
2543
+ * codemode.describe("praxis.cut.fields.<name>") // one field: type, unit, range, default, where writable
2544
+ * codemode.describe("praxis.cut.errors.<CODE>") // one code: meaning, causes, fix
2545
+ * codemode.describe("praxis.cut.script") // names, one page at a time
2546
+ * ```
2547
+ *
2548
+ * Published at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.
2549
+ *
2550
+ * #### Script functions (script)
2551
+ *
2552
+ * - `GetTimeline` — Duration, tracks, joins; clips are under `items`.
2553
+ * - `GetItem` — One clip's compact view, by id.
2554
+ * - `FindItems` — Visit every clip with its track; collect results.
2555
+ * - `GetMedia` — Media metadata; `duration` is seconds.
2556
+ * - `GetTranscript` — Transcript words in source microseconds.
2557
+ * - `GetAnalysis` — Silence, filler, scene or beat segments.
2558
+ * - `ListTransitions` — Join transition kinds and parameters.
2559
+ * - `ListEffects` — Visual-effect catalog and parameters.
2560
+ * - `ListAnimations` — Animation presets by phase and target.
2561
+ * - `ListFonts` — Font families, weights and scripts.
2562
+ * - `ListTextStyles` — Text style presets for `style.preset`.
2563
+ * - `ListTextTemplates` — Multi-layer templates and their slots.
2564
+ * - `Insert` — Add a clip; a track never overlaps itself.
2565
+ * - `Append` — Add a clip at the end of a track.
2566
+ * - `Update` — Change named fields; the rest stay.
2567
+ * - `SetSpeed` — Change rate, keeping source or duration.
2568
+ * - `Delete` — Remove a clip. There is no `Remove`.
2569
+ * - `Join` — Overlap clips; followers shift, track shortens.
2570
+ * - `UpdateJoin` — Change a join's length or effect.
2571
+ * - `DeleteJoin` — Remove a join; restore the butt cut.
2572
+ * - `Split` — Cut a clip in two at a time.
2573
+ * - `Trim` — Move one clip edge by seconds.
2574
+ * - `Move` — Set a clip's start or track.
2575
+ * - `RippleDeleteRange` — Cut a time range and close the gap.
2576
+ * - `DeleteWords` — Cut transcript words and ripple every track, keeping a breath.
2577
+ * - `RemoveFillers` — List and delete filler words by media's own labels; dryRun first.
2578
+ * - `AddTrack` — Add a video, audio or caption track.
2579
+ * - `MoveTrack` — Move a track between layers; 0 is the topmost.
2580
+ * - `UpdateTrack` — Change a track's name, lock, gain or role.
2581
+ * - `DeleteTrack` — Remove a track and its clips.
2582
+ * - `SetSettings` — Change canvas, frame rate or background.
2583
+ * - `AddCaptionsFromTranscript` — Captions from a clip's kept words.
2584
+ * - `InsertTemplate` — Insert a template and fill its slots.
2585
+ * - `AlignCaptions` — Rebuild captions from text punctuation.
2586
+ * - `ImportCaptions` — Import SRT or WebVTT onto captions.
2587
+ * - `ExportCaptions` — Export captions as SRT or WebVTT.
2588
+ * - `SetMarker` — Label a timeline position.
2589
+ * - `Print` — Append values to the result's `prints`.
2590
+ * - `Preview` — Up to 8 frames as inline PNG data URLs.
2591
+ *
2592
+ * #### Fields (fields)
2593
+ *
2594
+ * - `type` — Clip kind; decides which fields apply.
2595
+ * - `start` — Clip start in seconds; snaps to frames.
2596
+ * - `length` — Duration; video and audio may omit it or write "auto".
2597
+ * - `media` — Source `{ libraryId, assetId }`.
2598
+ * - `sourceIn` — First source second kept; default 0.
2599
+ * - `sourceOut` — Exclusive source end; read-only.
2600
+ * - `text` — Text of a text or caption clip.
2601
+ * - `color` — Solid colour of a color clip.
2602
+ * - `shape` — Shape clip kind: `rect` or `ellipse`.
2603
+ * - `width` — Shape width, a fraction of canvas width.
2604
+ * - `height` — Shape height, a fraction of canvas height.
2605
+ * - `radius` — Rect corner rounding, in 1080-height px.
2606
+ * - `fill` — Shape or text paint: colour or gradient.
2607
+ * - `stroke` — Shape outline: colour and width.
2608
+ * - `transform` — Position, scale, rotation, opacity, crop, blur.
2609
+ * - `fit` — contain, cover, fill or none.
2610
+ * - `blend` — Layer blend mode; null clears.
2611
+ * - `style` — Text styling: font, fill, strokes, glow, position.
2612
+ * - `style.position` — top, middle or bottom; omit it, never null.
2613
+ * - `playback` — Rate, direction, audio policy, or freeze.
2614
+ * - `volumeDb` — Audio level in dB; 0 is source level.
2615
+ * - `gain` — Keyframed audio level in dB.
2616
+ * - `fadeIn` — Fade-in seconds at the clip's start.
2617
+ * - `fadeOut` — Fade-out seconds at the clip's end.
2618
+ * - `duck` — Lower this clip while another track plays.
2619
+ * - `animate` — Transform keyframes; `at` is clip-relative seconds.
2620
+ * - `reveal` — Per-character, word or line reveal timing.
2621
+ * - `animation` — Preset slots `{ in, out, loop }`; null clears.
2622
+ * - `effects` — Effect stack, at most 8; null clears.
2623
+ * - `transitionIn` — Entrance effect: kind plus seconds.
2624
+ * - `transitionOut` — Exit effect: kind plus seconds.
2625
+ * - `mask` — Shape, path or track matte.
2626
+ * - `words` — Caption words with clip-local times.
2627
+ *
2628
+ * #### Error codes (errors)
2629
+ *
2630
+ * - `JOIN_CONFLICT` — A join is invalid or blocks this edit.
2631
+ * - `INVALID_TRANSITION` — Bad transition kind, parameter or length.
2632
+ * - `INVALID_STYLE` — A style value is out of range.
2633
+ * - `INVALID_MASK` — A mask definition is malformed.
2634
+ * - `MASK_IN_USE` — The edit would break a live mask.
2635
+ * - `TOO_MANY_MASKS` — At most 16 masks per project.
2636
+ * - `RATE_OUT_OF_RANGE` — A rate is outside 0.25-4.
2637
+ * - `UNSUPPORTED_PLAYBACK` — Reverse without an explicit mute.
2638
+ * - `INVALID_PLAYBACK` — A playback object is partial or malformed.
2639
+ * - `UNKNOWN_FONT` — The family is not in `ListFonts()`.
2640
+ * - `UNKNOWN_FIELD` — The field name is not accepted here.
2641
+ * - `UNKNOWN_TEXT_STYLE` — `style.preset` is not in the catalog.
2642
+ * - `TEXT_STYLE_TARGET_MISMATCH` — Preset on the wrong clip type.
2643
+ * - `CAPTION_ALIGN_LOW_CONFIDENCE` — Alignment confidence too low; nothing changed.
2644
+ * - `OVERLAP` — Two clips on one track would share time.
2645
+ * - `OUT_OF_SOURCE` — The clip would read past its source.
2646
+ * - `LOCKED_TRACK` — The edit targets a locked track.
2647
+ * - `UNBOUND_LIBRARY` — The library is not bound to the project.
2648
+ * - `TRACK_KIND_MISMATCH` — The clip type does not fit the track.
2649
+ * - `NOT_FOUND` — The named id is not in this project.
2650
+ * - `TOO_SHORT` — The result would be under one frame.
2651
+ * - `INVALID_DUCK` — Bad `duck` level or a missing track.
2652
+ * - `UNKNOWN_ANIMATION` — The preset is not in `ListAnimations()`.
2653
+ * - `INVALID_ANIMATION_PARAM` — Bad slot, parameter or keyframe limit.
2654
+ * - `ANIMATION_TOO_LONG` — In plus out exceed the clip length.
2655
+ * - `ANIMATION_TARGET_MISMATCH` — The preset does not match the clip type.
2656
+ * - `ANIMATION_PHASE_MISMATCH` — The preset is in the wrong slot.
2657
+ * - `UNKNOWN_EFFECT` — The effect is not in `ListEffects()`.
2658
+ * - `INVALID_EFFECT_PARAM` — Bad effect parameter or keyframe.
2659
+ * - `TOO_MANY_EFFECTS` — More than 8 effects on one clip.
2660
+ * - `PROJECT_NOT_FOUND` — No visible project has this id.
2661
+ * - `EXPORT_NOT_FOUND` — No such export in this project.
2662
+ * - `DRAFT_RENDER_NOT_FOUND` — No such draft render.
2663
+ * - `VERSION_NOT_FOUND` — No saved version has this revision.
2664
+ * - `LIBRARY_NOT_FOUND` — The library is missing or invisible.
2665
+ * - `BINDING_INVALID` — The binding request is malformed.
2666
+ * - `BINDING_IN_USE` — Clips still use this library's assets.
2667
+ * - `NOTHING_TO_UNDO` — No earlier revision to return to.
2668
+ * - `NOTHING_TO_REDO` — No undone revision is waiting.
2669
+ * - `UNDO_CONFLICT` — The revision to undo is no longer head.
2670
+ * - `REVISION_CONFLICT` — The project moved; your revision is stale.
2671
+ * - `CUT_BUSY` — The project is busy; retry.
2672
+ * - `INVALID_CAPTION_FILE` — The subtitle file is malformed or too big.
2673
+ * - `SCRIPT_ERROR` — The script threw or did not parse.
2674
+ * - `SCRIPT_LIMIT` — An execute budget was exceeded.
2675
+ * - `OPS_REJECTED` — An op failed; the whole edit rolled back.
2676
+ * - `EDIT_EXPIRED` — The saved edit id is over ten minutes old.
2677
+ * - `MEDIA_NOT_FOUND` — The asset id is not in that library.
2678
+ * - `MEDIA_OFFLINE` — The asset cannot be fetched right now.
2679
+ * - `MEDIA_UNAVAILABLE` — The asset is not usable for rendering.
2680
+ * - `MEDIA_IMPORT_FAILED` — Importing media failed.
2681
+ * - `FRAME_OUT_OF_RANGE` — The preview time is outside the project.
2682
+ * - `PROJECT_TOO_LARGE` — The project exceeds the size limit.
2683
+ * - `RESPONSE_TOO_LARGE` — The response would exceed its budget.
2684
+ * - `EXPORT_FAILED` — The render failed; read `error.cause`.
2685
+ * - `INVALID_PARAMS` — The request is malformed.
2686
+ * - `PERMISSION_DENIED` — This credential may not do that here.
2687
+ * - `NOT_IMPLEMENTED` — Not available on this platform yet.
2688
+ * - `INTERNAL` — Unexpected failure; retry with the request id.
2689
+ * <!-- cut-reference:end -->
2690
+ *
2691
+ */
2692
+ export declare const cutExecute: <ThrowOnError extends boolean = false>(options: Options<CutExecuteData, ThrowOnError>) => RequestResult<CutExecuteResponses, CutExecuteErrors, ThrowOnError>;
2693
+ /**
2694
+ * Read editing state
2695
+ *
2696
+ * Read lightweight project context before composing an execute script. Returns current revision, rendering settings, track counts, library bindings and offline media count without individual clips. For complete clip documents or a selected time range, read timeline instead.
2697
+ */
2698
+ export declare const cutRetrieveState: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveStateData, ThrowOnError>) => RequestResult<CutRetrieveStateResponses, CutRetrieveStateErrors, ThrowOnError>;
2699
+ /**
2700
+ * Read project timeline
2701
+ *
2702
+ * Inspect clips and markers in a selected project range before editing. view=full returns structured tracks with all timeline positions in seconds; view=compact returns compact text for script context. from and to are seconds and tracks limits the selection to comma-separated track ids from state. Concurrent changes while preparing a full timeline return 409; retrieve the latest state and try the read again.
2703
+ */
2704
+ export declare const cutRetrieveTimeline: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveTimelineData, ThrowOnError>) => RequestResult<CutRetrieveTimelineResponses, CutRetrieveTimelineErrors, ThrowOnError>;
2705
+ /**
2706
+ * Render preview frames
2707
+ *
2708
+ * Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. The default scale is 0.25; use 0.5 for subtitle layout inspection (1080×1920 renders at 540×960). The maximum is 0.5; values above it return INVALID_PARAMS. Actual width and height are returned per frame. PNGs above 2 MiB or responses above 4 MiB return RESPONSE_TOO_LARGE without silently lowering resolution. The response always includes warnings; FRAME_UNAVAILABLE means a source preview could not be obtained and an offline tile was drawn. Its message identifies a timeout, delivery capacity limit, or unavailable source and contains no source URL. Decode each image's base64 payload to save it. Codemode returns at most four images per call, so request at most four times when reviewing there.
2709
+ */
2710
+ export declare const cutListFrames: <ThrowOnError extends boolean = false>(options: Options<CutListFramesData, ThrowOnError>) => RequestResult<CutListFramesResponses, CutListFramesErrors, ThrowOnError>;
2711
+ /**
2712
+ * Analyze project media or measure the project mix
2713
+ *
2714
+ * Request silence, filler-word, scene or beat analysis for selected bound assets before editing, or measure the mix the timeline itself renders with kind mix. That kind is a render job, not a read: it answers pending with retry_after_sec and an id. Poll by calling this same method again with body { kinds: ["mix"], id } (there is no separate retrieve method); that call reads the measurement and renders nothing. The answer only exists once the audio has been rendered and measured. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible. The asset kinds are polled the same way: call this method again with the same kinds and media, and each call answers the current state; inside a script, GetAnalysis reads the latest result without a call. Silence measures transcript-based speech pauses, not music or loudness. A completed transcript without words returns ready with empty segments and reason no_speech; no completed transcript returns unsupported with reason no_transcript. A failed transcription remains failed. kind mix is separate: it reports the project mix loudness, the loudness of each role and where music masks speech, so an editor can fix the mix rather than guess at it.
2715
+ */
2716
+ export declare const cutCreateAnalysis: <ThrowOnError extends boolean = false>(options: Options<CutCreateAnalysisData, ThrowOnError>) => RequestResult<CutCreateAnalysisResponses, CutCreateAnalysisErrors, ThrowOnError>;
2717
+ /**
2718
+ * List library bindings
2719
+ *
2720
+ * Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.
2721
+ */
2722
+ export declare const cutListBindings: <ThrowOnError extends boolean = false>(options: Options<CutListBindingsData, ThrowOnError>) => RequestResult<CutListBindingsResponses, CutListBindingsErrors, ThrowOnError>;
2723
+ /**
2724
+ * Bind media library
2725
+ *
2726
+ * Attach an accessible media library to an existing project under a unique name. Obtain library_id from praxis.media and choose read for source-only access or read_write for imports and exports. The project must retain exactly one read_write binding with default_upload true after the change.
2727
+ */
2728
+ export declare const cutCreateBinding: <ThrowOnError extends boolean = false>(options: Options<CutCreateBindingData, ThrowOnError>) => RequestResult<CutCreateBindingResponses, CutCreateBindingErrors, ThrowOnError>;
2729
+ /**
2730
+ * Remove library binding
2731
+ *
2732
+ * Detach a library alias obtained from bindings.list after removing all timeline clips that reference its library. BINDING_IN_USE returns 409 while references remain; inspect timeline and edit those clips first. Removal must preserve the one writable default upload binding.
2733
+ */
2734
+ export declare const cutDeleteBinding: <ThrowOnError extends boolean = false>(options: Options<CutDeleteBindingData, ThrowOnError>) => RequestResult<CutDeleteBindingResponses, CutDeleteBindingErrors, ThrowOnError>;
2735
+ /**
2736
+ * Import project media
2737
+ *
2738
+ * Import a URL, data URI or existing file into a writable project media library. Select binding from bindings.list or omit it to use default_upload. Save library_id and asset_id from the result and use them as libraryId and assetId inside execute script media references; overwrites follow the source asset latest version.
2739
+ */
2740
+ export declare const cutImportMedia: <ThrowOnError extends boolean = false>(options: Options<CutImportMediaData, ThrowOnError>) => RequestResult<CutImportMediaResponses, CutImportMediaErrors, ThrowOnError>;
2741
+ /**
2742
+ * List project exports
2743
+ *
2744
+ * Find export jobs associated with this project before polling or canceling a render. Copy an export id into praxis.cut.exports.retrieve or cancel. Continue with next_page_token as page_token when present; queued or in-progress jobs have not produced a final media asset.
2745
+ */
2746
+ export declare const cutListExports: <ThrowOnError extends boolean = false>(options: Options<CutListExportsData, ThrowOnError>) => RequestResult<CutListExportsResponses, CutListExportsErrors, ThrowOnError>;
2747
+ /**
2748
+ * Create video export
2749
+ *
2750
+ * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
2751
+ */
2752
+ export declare const cutCreateExport: <ThrowOnError extends boolean = false>(options: Options<CutCreateExportData, ThrowOnError>) => RequestResult<CutCreateExportResponses, CutCreateExportErrors, ThrowOnError>;
2753
+ /**
2754
+ * Create draft range render
2755
+ *
2756
+ * Render one interval of the timeline so you can hear or look at how that passage comes out, without publishing anything to a media library. Choose kind audio for the mixed soundtrack as an .m4a file, or kind video for a draft-quality .mp4 with picture and sound. from and to are seconds on the project clock and must satisfy 0 <= from < to, to <= the timeline duration (an end up to 0.05 s past it, a rounded duration, is read as the end), and to - from <= 120; a longer passage is requested in several 分段请求 ranges and joined by the caller. The result is a temporary file (purpose user_data) that expires 24 hours after it is stored and is never imported into a library, so it is not a deliverable and carries no cut-export tag. HTTP 202 only accepts the job; poll praxis.cut.renders.retrieve using the returned id until status is done or failed, then read url while it lasts. A draft also bills like a draft export, by rendered seconds. Each project runs at most 2 draft renders at a time, a budget separate from its exports; a third answers HTTP 429 CUT_BUSY and the same call succeeds once one finishes.
2757
+ */
2758
+ export declare const cutCreateRender: <ThrowOnError extends boolean = false>(options: Options<CutCreateRenderData, ThrowOnError>) => RequestResult<CutCreateRenderResponses, CutCreateRenderErrors, ThrowOnError>;
2759
+ /**
2760
+ * Retrieve draft range render
2761
+ *
2762
+ * Poll a draft render id returned by projects.renders.create to see whether the interval is ready, then read url while it lasts. queued and rendering are in progress; done provides file_id and a short-lived url for the rendered .m4a or .mp4; failed provides error. Only done yields a url, and the file behind it disappears 24 hours after it was stored, so retrieve again when the link has expired.
2763
+ */
2764
+ export declare const cutRetrieveRender: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveRenderData, ThrowOnError>) => RequestResult<CutRetrieveRenderResponses, CutRetrieveRenderErrors, ThrowOnError>;
2765
+ /**
2766
+ * Retrieve video export
2767
+ *
2768
+ * Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.
2769
+ */
2770
+ export declare const cutRetrieveExport: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveExportData, ThrowOnError>) => RequestResult<CutRetrieveExportResponses, CutRetrieveExportErrors, ThrowOnError>;
2771
+ /**
2772
+ * Cancel video export
2773
+ *
2774
+ * Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.
2775
+ */
2776
+ export declare const cutCancelExport: <ThrowOnError extends boolean = false>(options: Options<CutCancelExportData, ThrowOnError>) => RequestResult<CutCancelExportResponses, CutCancelExportErrors, ThrowOnError>;
2777
+ /**
2778
+ * List saved versions
2779
+ *
2780
+ * Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.
2781
+ */
2782
+ export declare const cutListVersions: <ThrowOnError extends boolean = false>(options: Options<CutListVersionsData, ThrowOnError>) => RequestResult<CutListVersionsResponses, CutListVersionsErrors, ThrowOnError>;
2783
+ /**
2784
+ * Save project version
2785
+ *
2786
+ * Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.
2787
+ */
2788
+ export declare const cutCreateVersion: <ThrowOnError extends boolean = false>(options: Options<CutCreateVersionData, ThrowOnError>) => RequestResult<CutCreateVersionResponses, CutCreateVersionErrors, ThrowOnError>;
2789
+ /**
2790
+ * Restore saved version
2791
+ *
2792
+ * Replace current editing content with a saved project snapshot selected from projects.versions.list. The restore commits a new transaction and revision while preserving the saved version for future use. Inspect the returned summary and timeline before further editing; a response revision conflict can follow a committed restore, so retrieve current state before retrying.
2793
+ */
2794
+ export declare const cutRestoreVersion: <ThrowOnError extends boolean = false>(options: Options<CutRestoreVersionData, ThrowOnError>) => RequestResult<CutRestoreVersionResponses, CutRestoreVersionErrors, ThrowOnError>;
2795
+ /**
2796
+ * List databases
2797
+ *
2798
+ * Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
2799
+ */
2800
+ export declare const databaseListDatabases: <ThrowOnError extends boolean = false>(options?: Options<DatabaseListDatabasesData, ThrowOnError>) => RequestResult<DatabaseListDatabasesResponses, DatabaseListDatabasesErrors, ThrowOnError>;
2801
+ /**
2802
+ * Create database
2803
+ *
2804
+ * Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.
2805
+ */
2806
+ export declare const databaseCreateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateDatabaseData, ThrowOnError>) => RequestResult<DatabaseCreateDatabaseResponses, DatabaseCreateDatabaseErrors, ThrowOnError>;
2807
+ /**
2808
+ * Delete database
2809
+ *
2810
+ * Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
2811
+ */
2812
+ export declare const databaseDeleteDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteDatabaseData, ThrowOnError>) => RequestResult<DatabaseDeleteDatabaseResponses, DatabaseDeleteDatabaseErrors, ThrowOnError>;
2813
+ /**
2814
+ * Get database
2815
+ *
2816
+ * Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.
2817
+ */
2818
+ export declare const databaseGetDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetDatabaseData, ThrowOnError>) => RequestResult<DatabaseGetDatabaseResponses, DatabaseGetDatabaseErrors, ThrowOnError>;
2819
+ /**
2820
+ * Update database
2821
+ *
2822
+ * Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.
2823
+ */
2824
+ export declare const databaseUpdateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateDatabaseData, ThrowOnError>) => RequestResult<DatabaseUpdateDatabaseResponses, DatabaseUpdateDatabaseErrors, ThrowOnError>;
2825
+ /**
2826
+ * Restore database
2827
+ *
2828
+ * Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
2829
+ */
2830
+ export declare const databaseRestoreDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseRestoreDatabaseData, ThrowOnError>) => RequestResult<DatabaseRestoreDatabaseResponses, DatabaseRestoreDatabaseErrors, ThrowOnError>;
2831
+ /**
2832
+ * Permanently purge database
2833
+ *
2834
+ * Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
2835
+ */
2836
+ export declare const databasePurgeDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabasePurgeDatabaseData, ThrowOnError>) => RequestResult<DatabasePurgeDatabaseResponses, DatabasePurgeDatabaseErrors, ThrowOnError>;
2837
+ /**
2838
+ * List tables
2839
+ *
2840
+ * Lists every table of an active database with its field definitions. A database holds at most 50 tables, so the single page contains all of them and next_cursor is always null. Use databaseGetTable instead when you also need row_count for one table.
2841
+ */
2842
+ export declare const databaseListTables: <ThrowOnError extends boolean = false>(options: Options<DatabaseListTablesData, ThrowOnError>) => RequestResult<DatabaseListTablesResponses, DatabaseListTablesErrors, ThrowOnError>;
2843
+ /**
2844
+ * Create table
2845
+ *
2846
+ * Creates a table together with its initial fields in one call and returns it (HTTP 201) with generated tbl_ and fld_ ids. name must match ^[a-z_][a-z0-9_]{0,62}$ and be unused in this database (duplicate: 409 UNIQUE_VIOLATION). fields is required and may be an empty array; fields can also be added later with databaseAddField. Limits: 50 tables per database, 64 fields per table, and 16 indexed or unique fields per table; exceeding one returns 400 LIMIT_EXCEEDED. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. Every row also has a system id column, which is not declared as a field. Insert data afterwards with databaseInsert. Unlike Supabase, define schema with this table API and the field APIs; PostgreSQL DDL and SQL migration files cannot be submitted. Each table supports up to 1,000,000 rows.
2847
+ */
2848
+ export declare const databaseCreateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateTableData, ThrowOnError>) => RequestResult<DatabaseCreateTableResponses, DatabaseCreateTableErrors, ThrowOnError>;
2849
+ /**
2850
+ * Delete table
2851
+ *
2852
+ * Permanently drops a table with all of its rows; the deletion is immediate and has no recovery window or undo. Refused with 409 REFERENCE_RESTRICT while a link field of another table points at this table, so delete or change those fields first. Returns {deleted: true}. A table name can be reused afterwards.
2853
+ */
2854
+ export declare const databaseDeleteTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteTableData, ThrowOnError>) => RequestResult<DatabaseDeleteTableResponses, DatabaseDeleteTableErrors, ThrowOnError>;
2855
+ /**
2856
+ * Get table
2857
+ *
2858
+ * Returns one table by id or name with its field definitions, schema_revision and row_count. row_count is only returned by this operation, not by list or create. Use field ids from this response for stable references because field names can be renamed; an unknown table returns 404 TABLE_NOT_FOUND.
2859
+ */
2860
+ export declare const databaseGetTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetTableData, ThrowOnError>) => RequestResult<DatabaseGetTableResponses, DatabaseGetTableErrors, ThrowOnError>;
2861
+ /**
2862
+ * Update table
2863
+ *
2864
+ * Renames a table and/or changes its description; send only the keys to change, and send description null to clear it. The new name must follow ^[a-z_][a-z0-9_]{0,62}$ and be unused (409 UNIQUE_VIOLATION); ids are stable, so renaming never rewrites row data. A body with no changes or values equal to the current ones does not bump schema_revision. Fields cannot be changed here; use databaseAddField, databaseUpdateField and databaseDeleteField.
2865
+ */
2866
+ export declare const databaseUpdateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateTableData, ThrowOnError>) => RequestResult<DatabaseUpdateTableResponses, DatabaseUpdateTableErrors, ThrowOnError>;
2867
+ /**
2868
+ * Add field
2869
+ *
2870
+ * Adds one field to an existing table and returns the updated table (HTTP 201). Required inputs are name (lowercase letters, digits and underscores; id and names starting with _ are reserved) and type (string, integer, number, boolean, datetime, json or link); json needs options.schema and link needs options.linked_table_id and options.multiple. Adding a required field to a table that already has rows needs a default, otherwise the call fails with 400 VALIDATION_FAILED; a default is written into every existing row. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. JSON and link fields cannot be indexed. Limits: 64 fields and 16 indexed or unique fields per table (400 LIMIT_EXCEEDED). Unlike Supabase, schema evolution uses field definitions rather than ALTER TABLE statements or SQL migrations.
2871
+ */
2872
+ export declare const databaseAddField: <ThrowOnError extends boolean = false>(options: Options<DatabaseAddFieldData, ThrowOnError>) => RequestResult<DatabaseAddFieldResponses, DatabaseAddFieldErrors, ThrowOnError>;
2873
+ /**
2874
+ * Delete field
2875
+ *
2876
+ * Deletes one field definition from a table and returns the updated table; the deletion is immediate and has no recovery window. Look the field up by id or name. The field's index, if any, is dropped with it, and the name can be reused afterwards. Unknown fields return 400 FIELD_NOT_FOUND.
2877
+ */
2878
+ export declare const databaseDeleteField: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteFieldData, ThrowOnError>) => RequestResult<DatabaseDeleteFieldResponses, DatabaseDeleteFieldErrors, ThrowOnError>;
2879
+ /**
2880
+ * Update field
2881
+ *
2882
+ * Changes a field's name, description, required flag, indexed flag, default or json options.schema and returns the updated table. The field type, a link field's linked_table_id and the unique flag cannot be changed (400 FIELD_TYPE_IMMUTABLE or INVALID_PARAMS). Setting required to true fails with 400 VALIDATION_FAILED while existing rows hold null for the field. A new json schema constrains only later writes; existing rows are not revalidated. Renaming never rewrites row data, and a request that changes nothing does not bump schema_revision. Unlike Supabase, field types and uniqueness cannot be altered through SQL migrations; use the supported field settings described here.
2883
+ */
2884
+ export declare const databaseUpdateField: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateFieldData, ThrowOnError>) => RequestResult<DatabaseUpdateFieldResponses, DatabaseUpdateFieldErrors, ThrowOnError>;
2885
+ /**
2886
+ * List events
2887
+ *
2888
+ * Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.
2889
+ */
2890
+ export declare const databaseListEvents: <ThrowOnError extends boolean = false>(options: Options<DatabaseListEventsData, ThrowOnError>) => RequestResult<DatabaseListEventsResponses, DatabaseListEventsErrors, ThrowOnError>;
2891
+ /**
2892
+ * Delete rows
2893
+ *
2894
+ * Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.
2895
+ */
2896
+ export declare const databaseDelete: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteData, ThrowOnError>) => RequestResult<DatabaseDeleteResponses, DatabaseDeleteErrors, ThrowOnError>;
2897
+ /**
2898
+ * Select rows
2899
+ *
2900
+ * Read matching rows with filters, selected columns and ordering. Returns at most 1000 rows per request, including when limit is omitted. Content-Range reports the actual returned interval and the total when count is requested. PATCH and DELETE are not subject to this read cap. Unlike Supabase, casts, aggregates, spread and join modifiers are unsupported. Each table supports up to 1,000,000 rows. Query budget: 8,000 ms with a shared 3,000,000-row safety ceiling. Create indexes on filtered or sorted fields, or narrow the request when it exceeds its budget. Synchronous SQLite aggregates use candidate-row throughput estimates before execution; deployed Workers freeze clocks during synchronous CPU work, so the timer is not a guaranteed server-side interrupt. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Error table: QUERY_CANCELED / PostgREST 57014 is HTTP 500, retryable=false: Query timed out: index filtered or sorted fields, or narrow the range. DATABASE_INVALID_STATE is HTTP 409 for operations on a deleting database. Cleared or nonexistent databases return DATABASE_NOT_FOUND / HTTP 404. The count is an HTTP Content-Range response header, not a JSON property. Use praxis.database.count in the SDK or codemode to return { count: number | null }; a page length is not a total unless you know all matches fit in that page.
2901
+ */
2902
+ export declare const databaseSelect: <ThrowOnError extends boolean = false>(options: Options<DatabaseSelectData, ThrowOnError>) => RequestResult<DatabaseSelectResponses, DatabaseSelectErrors, ThrowOnError>;
1805
2903
  /**
1806
2904
  * Count rows
1807
2905
  *
1808
- * Inspect the HTTP row count and range without retrieving row data; send Prefer: count=exact for a filtered count. Returns no body and does not fetch or serialize row data. A known count determines the interval using limit/offset or Range with a default and maximum page size of 1000. Without a count preference, or when the selected count mode cannot supply a total, Content-Range is **. Singular Accept still validates page cardinality. Unlike Supabase, planned and estimated counts do not use PostgreSQL planner estimates. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Use praxis.database.count in the SDK or codemode to return { count: number | null } from this header without retrieving rows.
2906
+ * Inspect the HTTP row count and range without retrieving row data; send Prefer: count=exact for a filtered count. Returns no body and does not fetch or serialize row data. A known count determines the interval using limit/offset or Range with a default and maximum page size of 1000. Without a count preference, or when the selected count mode cannot supply a total, Content-Range is **. Singular Accept still validates page cardinality. Unlike Supabase, planned and estimated counts do not use PostgreSQL planner estimates. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Use praxis.database.count in the SDK or codemode to return { count: number | null } from this header without retrieving rows.
2907
+ */
2908
+ export declare const databaseHead: <ThrowOnError extends boolean = false>(options: Options<DatabaseHeadData, ThrowOnError>) => RequestResult<DatabaseHeadResponses, DatabaseHeadErrors, ThrowOnError>;
2909
+ /**
2910
+ * Update rows
2911
+ *
2912
+ * Updates the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. The JSON object body lists only the fields to change, other fields keep their values, and id cannot be changed. Values are validated against the field types and the required and unique settings (400 VALIDATION_FAILED, 409 UNIQUE_VIOLATION). The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the updated rows. Each changed row's _version increases by one.
2913
+ */
2914
+ export declare const databaseUpdate: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateData, ThrowOnError>) => RequestResult<DatabaseUpdateResponses, DatabaseUpdateErrors, ThrowOnError>;
2915
+ /**
2916
+ * Insert rows
2917
+ *
2918
+ * Insert rows into an existing table after defining its fields; at most 500 rows per request. Each request is atomic: any failure rolls back the entire batch. There are no transactions across requests.
2919
+ * Rows are filled to the union of their keys with null; send Prefer: missing=default to use field defaults for missing keys.
2920
+ * The default is return=minimal: success returns HTTP 201 with an empty body. Send Prefer: return=representation to return the inserted rows. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. Unlike Supabase, upsert conflicts can target only id or one unique field, not a composite key. Each table supports up to 1,000,000 rows.
2921
+ */
2922
+ export declare const databaseInsert: <ThrowOnError extends boolean = false>(options: Options<DatabaseInsertData, ThrowOnError>) => RequestResult<DatabaseInsertResponses, DatabaseInsertErrors, ThrowOnError>;
2923
+ /**
2924
+ * Read a commit's test catalog
2925
+ *
2926
+ * Read the catalog version discovered at one commit — how many suites and cases it holds, which frameworks they come from, and how the commit changed them. Call this first: it tells you which suites, cases and sizes exist before you list them or select them into a plan, and the reported diff explains why a case count moved. A commit whose discovery has not finished answers CATALOG_NOT_READY, which means "not yet", not "no tests"; wait and read again. Omit commit to read the newest catalog published for the project.
2927
+ */
2928
+ export declare const devopsTestCatalogGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestCatalogGetData, ThrowOnError>) => RequestResult<DevopsTestCatalogGetResponses, DevopsTestCatalogGetErrors, ThrowOnError>;
2929
+ /**
2930
+ * List test suites
2931
+ *
2932
+ * List the suites the project's newest catalog discovered — one suite per test file and framework pair, with its size, purposes and question count. Use it to find the suite id a case belongs to, or to see which files make up an area before selecting cases from them. Suites come from the catalog, so a file added in code appears only after its commit's catalog is published. Archived suites are returned too; they carry archived true and no case is ever silently dropped from the list.
2933
+ */
2934
+ export declare const devopsTestSuitesList: <ThrowOnError extends boolean = false>(options: Options<DevopsTestSuitesListData, ThrowOnError>) => RequestResult<DevopsTestSuitesListResponses, DevopsTestSuitesListErrors, ThrowOnError>;
2935
+ /**
2936
+ * Retrieve a test suite
2937
+ *
2938
+ * Read one suite by the id a suite list returned, to learn its file, framework, size, purposes and how many cases it holds. Use it when a case's suite id needs a name for display, or to confirm which commit's catalog a suite came from. The id is opaque; it comes from the list, never from the file path.
2939
+ */
2940
+ export declare const devopsTestSuitesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestSuitesGetData, ThrowOnError>) => RequestResult<DevopsTestSuitesGetResponses, DevopsTestSuitesGetErrors, ThrowOnError>;
2941
+ /**
2942
+ * List test cases
2943
+ *
2944
+ * List a project's cases with their health, state and recent statistics, so you can decide which ones a plan must run and which are quarantined. This is the read a test dashboard is built on; filter it to narrow by state or health instead of paging through everything. A case's id is a fingerprint of its own title and path, so it survives a rename — read aliases when reconciling history recorded under an older title.
2945
+ */
2946
+ export declare const devopsTestCasesList: <ThrowOnError extends boolean = false>(options: Options<DevopsTestCasesListData, ThrowOnError>) => RequestResult<DevopsTestCasesListResponses, DevopsTestCasesListErrors, ThrowOnError>;
2947
+ /**
2948
+ * Retrieve a test case
2949
+ *
2950
+ * Read one case in full — its steps, tags, declared owners, current state with the policy and ticket behind it, and its rolling 7 or 30 day statistics. Use it before quarantining or fixing a case, to see what the state already is and why. A case that was renamed is reachable by both its current fingerprint id and the ids listed in aliases.
2951
+ */
2952
+ export declare const devopsTestCasesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestCasesGetData, ThrowOnError>) => RequestResult<DevopsTestCasesGetResponses, DevopsTestCasesGetErrors, ThrowOnError>;
2953
+ /**
2954
+ * List test plans
2955
+ *
2956
+ * List the project's plans — what each one selects, which stage and gate it belongs to, and when it runs next. Read this before creating a plan, so a new plan extends what exists instead of duplicating a selector an existing plan already covers.
2957
+ */
2958
+ export declare const devopsTestPlansList: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansListData, ThrowOnError>) => RequestResult<DevopsTestPlansListResponses, DevopsTestPlansListErrors, ThrowOnError>;
2959
+ /**
2960
+ * Create a test plan
2961
+ *
2962
+ * Create a plan that decides which cases a stage must run. The plan's key is unique inside the project and is what a later run names; the selector chooses cases by size, purpose, tag, package or explicit ids, and the trigger says when the plan fires by itself. A merge or promotion gate must name the environment it guards, and a plan with a gate but no environment is refused with PLAN_GATE_ENVIRONMENT_MISMATCH rather than created and silently ignored. A plan has no revision history: update it with a patch.
2963
+ */
2964
+ export declare const devopsTestPlansCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansCreateData, ThrowOnError>) => RequestResult<DevopsTestPlansCreateResponses, DevopsTestPlansCreateErrors, ThrowOnError>;
2965
+ /**
2966
+ * Delete a test plan
2967
+ *
2968
+ * Delete a plan so it schedules nothing further. The plan stops firing immediately; runs it already produced keep their own record and are not deleted with it. To stop a plan temporarily and keep it for later, pause it instead — deleting cannot be undone and the plan's key becomes free for another plan to take.
2969
+ */
2970
+ export declare const devopsTestPlansDelete: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansDeleteData, ThrowOnError>) => RequestResult<DevopsTestPlansDeleteResponses, DevopsTestPlansDeleteErrors, ThrowOnError>;
2971
+ /**
2972
+ * Retrieve a test plan
2973
+ *
2974
+ * Read one plan by the id a plan list returned, to see its selector, gate, repeat count, timeout and pause state before updating or deleting it. A paused plan carries the reason, the actor and the time it resumes, so a pause you did not set is explained here rather than guessed at.
2975
+ */
2976
+ export declare const devopsTestPlansGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansGetData, ThrowOnError>) => RequestResult<DevopsTestPlansGetResponses, DevopsTestPlansGetErrors, ThrowOnError>;
2977
+ /**
2978
+ * Update a test plan
2979
+ *
2980
+ * Change a plan's title, trigger, selector, gate, repeat count, timeout or enabled flag. Only the fields present in the body are changed, so a body naming one field leaves the rest exactly as they were. Changing a selector does not create a version — the plan is not a published artefact, and runs already started keep the selection they were created with. Read the plan first to know what you are leaving unchanged.
2981
+ */
2982
+ export declare const devopsTestPlansUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansUpdateData, ThrowOnError>) => RequestResult<DevopsTestPlansUpdateResponses, DevopsTestPlansUpdateErrors, ThrowOnError>;
2983
+ /**
2984
+ * Pause a test plan
2985
+ *
2986
+ * Stop a plan from starting new runs while keeping it and its history. A reason is required and is recorded on the plan, so the next reader learns why it stopped. Give until to resume automatically at a time; omit it to stay paused until someone resumes it. Runs already in flight are not cancelled — cancel those individually.
2987
+ */
2988
+ export declare const devopsTestPlansPause: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansPauseData, ThrowOnError>) => RequestResult<DevopsTestPlansPauseResponses, DevopsTestPlansPauseErrors, ThrowOnError>;
2989
+ /**
2990
+ * Resume a test plan
2991
+ *
2992
+ * Clear a plan's pause so it schedules runs again. Resuming an active plan changes nothing and is safe to repeat. The plan keeps its selector, gate and key; only the pause is removed.
2993
+ */
2994
+ export declare const devopsTestPlansResume: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlansResumeData, ThrowOnError>) => RequestResult<DevopsTestPlansResumeResponses, DevopsTestPlansResumeErrors, ThrowOnError>;
2995
+ /**
2996
+ * List test runs
2997
+ *
2998
+ * List the project's runs newest first, with each run's state, result and counts. Use it to find the run id whose executions you want to read, or to see whether a commit's tests have finished. A run whose result is pending has not reached a verdict yet — read it again rather than treating it as passed. Filter by state or result to watch only the runs still in flight.
2999
+ */
3000
+ export declare const devopsTestRunsList: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsListData, ThrowOnError>) => RequestResult<DevopsTestRunsListResponses, DevopsTestRunsListErrors, ThrowOnError>;
3001
+ /**
3002
+ * Create a test run
3003
+ *
3004
+ * Start a run of the project's tests at one commit. Name a plan to use its selector, or pass a selector directly for this run alone; the ref says which commit to test and is required, because a run without a commit has nothing to report against. waitUntil decides how far the call waits before answering — queued, the default, returns as soon as the run exists; started waits until the run has begun, except for an external run, which is answered at once because it leaves queued only when your own CI uploads; finished waits for a verdict. The wait is bounded at about 25 seconds, and a wait that reaches that bound returns the run as it stands rather than failing — read state to see whether it finished. A retry of an earlier run is a new run: pass its commit and selector, and read the earlier run to compare. The run executes the selected cases at ref.commit, in Praxis, on the code of that commit; the commit needs a published catalog, and a commit without one is refused with CATALOG_NOT_READY while a build is started, so retry shortly after. selector (below) narrows by size, purpose, framework, tags, package or case id; there is no field that selects a feature by its title, so to run one feature list its cases with `praxis api devops project test-case list` and pass their ids in selector.cases (or pass its package in selector.packages). Large cases are selectable with sizes [large], but a cloud run records them as skipped for now, and there is no separate e2e selector: frameworks [playwright] selects browser cases, large ones skipped the same way. environment names the environment the run is evidence for; it is recorded on the run and given to the cases as PRAXIS_TEST_ENV, it does not point the cases at the deployed environment. To run the tests on your own CI instead, create the run with executor external and upload the result with `praxis api devops project test-report create`; the local report of your own machine goes up as private feedback with `praxis devops test report --id <run> --upload`, and it never counts as test evidence.
3005
+ */
3006
+ export declare const devopsTestRunsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsCreateData, ThrowOnError>) => RequestResult<DevopsTestRunsCreateResponses, DevopsTestRunsCreateErrors, ThrowOnError>;
3007
+ /**
3008
+ * Retrieve a test run
3009
+ *
3010
+ * Read one run's current state, result and counts, and ask for its failed executions inline with expand. Poll this after creating a run whose result was pending. A result is monotonic once it reaches a verdict — a failed run never becomes passed by a later report, so read the run rather than the last report to know where it ended.
3011
+ */
3012
+ export declare const devopsTestRunsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsGetData, ThrowOnError>) => RequestResult<DevopsTestRunsGetResponses, DevopsTestRunsGetErrors, ThrowOnError>;
3013
+ /**
3014
+ * Cancel a test run
3015
+ *
3016
+ * Stop a run that is still going. A reason is required and is recorded on the run, because a cancelled run is read later as evidence about why a commit was not verified. Cancelling a run that already reached a verdict is refused with RUN_ALREADY_FINISHED: its result is final and cancelling it would erase the verdict. Executions already recorded stay readable.
3017
+ */
3018
+ export declare const devopsTestRunsCancel: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsCancelData, ThrowOnError>) => RequestResult<DevopsTestRunsCancelResponses, DevopsTestRunsCancelErrors, ThrowOnError>;
3019
+ /**
3020
+ * List a run's executions
3021
+ *
3022
+ * List the executions recorded against one run — one entry per case the run selected, with its status, duration, attempts and evidence. Use it to find the case that failed, or to compare a repeat run against the previous one case by case. Reads happen while the run is still going, so a case may still be pending; filter by status to watch only the failures.
3023
+ */
3024
+ export declare const devopsTestExecutionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsTestExecutionsListData, ThrowOnError>) => RequestResult<DevopsTestExecutionsListResponses, DevopsTestExecutionsListErrors, ThrowOnError>;
3025
+ /**
3026
+ * Retrieve one case's execution in a run
3027
+ *
3028
+ * Read one case's execution inside one run, including every attempt with its own duration and message. Use it after a run reports a failure to see whether the case failed once and passed on retry — that is what flaky true means — and to reach the evidence files a triage needs. Both ids come from the run and case reads; an execution that does not exist for that pair is NOT_FOUND rather than an empty answer.
3029
+ */
3030
+ export declare const devopsTestExecutionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestExecutionsGetData, ThrowOnError>) => RequestResult<DevopsTestExecutionsGetResponses, DevopsTestExecutionsGetErrors, ThrowOnError>;
3031
+ /**
3032
+ * Upload an external test report
3033
+ *
3034
+ * Record the results of a run executed outside Praxis by uploading a CTRF or JUnit report. Nothing has to exist first: a first upload from CI creates the run it reports on (executor external) and catalogues the cases the report names, so there is no setup call before the first result. When the report already belongs to a run, pass ref and the upload joins it; the run's counts and verdict are recomputed from the report. Uploading the same reportId again is idempotent and counts once, so a retry after a timeout is safe — and a reported case is catalogued once, however many reports carry it. The report's bytes are kept as a file (the file field of the answer) rather than in the results database, so the original document stays retrievable. Send purpose feedback instead when the report is your own local run rather than evidence: the document is stored as an organization-private file and nothing else happens — no run is created or joined, no case state changes and the merge gate never reads it — so a developer's machine can publish what it ran without any commit being credited as tested.
3035
+ */
3036
+ export declare const devopsTestReportsUpload: <ThrowOnError extends boolean = false>(options: Options<DevopsTestReportsUploadData, ThrowOnError>) => RequestResult<DevopsTestReportsUploadResponses, DevopsTestReportsUploadErrors, ThrowOnError>;
3037
+ /**
3038
+ * List projects
3039
+ *
3040
+ * List the delivery projects this organization has, newest first, with each project's repository binding and settings. Call this first when you do not already hold a project id: every other operation in this domain is addressed by one. A project from another organization is never listed, so an empty page means this organization has none rather than that they are hidden. The order is by creation time descending; follow nextPageToken until it is empty to see them all.
3041
+ */
3042
+ export declare const devopsProjectsList: <ThrowOnError extends boolean = false>(options?: Options<DevopsProjectsListData, ThrowOnError>) => RequestResult<DevopsProjectsListResponses, DevopsProjectsListErrors, ThrowOnError>;
3043
+ /**
3044
+ * Retrieve a project
3045
+ *
3046
+ * Read one project by id: its repository binding, its release schedule and its gate settings. Use it to confirm a project's configuration before releasing into it, and to learn which environment a promotion order starts from. A project that was deleted, or that belongs to another organization, answers PROJECT_NOT_FOUND — the two are indistinguishable on purpose, so the answer never tells you whether a project exists elsewhere.
3047
+ */
3048
+ export declare const devopsProjectsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsGetData, ThrowOnError>) => RequestResult<DevopsProjectsGetResponses, DevopsProjectsGetErrors, ThrowOnError>;
3049
+ /**
3050
+ * Update a project
3051
+ *
3052
+ * Change a project's name, description, labels or delivery settings. Send the new values inside project and name the fields to write in updateMask (name, description, labels, settings); a field not named is left alone, and a mask naming a field this operation cannot change is refused. settings is merged into the current settings rather than replacing them, so a body naming one setting leaves the others as they were. settings.executor decides who publishes the project: absent or mise reads as the Mise pipeline, and devops means that, once the merge is done, the DevOps pipeline releases it. Changing executor changes which pipeline the next release uses, not what already ran. A new name must be kebab-case and unused in the organization, otherwise PROJECT_NAME_TAKEN. Read the project first to know what you are leaving unchanged.
3053
+ */
3054
+ export declare const devopsProjectsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsUpdateData, ThrowOnError>) => RequestResult<DevopsProjectsUpdateResponses, DevopsProjectsUpdateErrors, ThrowOnError>;
3055
+ /**
3056
+ * List releases
3057
+ *
3058
+ * List the project's releases, newest first. Use it to find the release a promotion should carry, or to see what has been released recently and whether any of it was abandoned. The list carries the render state and the abandoned flag, so a caller can skip a release that is still rendering or that was withdrawn without reading each one. Neither filter nor orderBy is accepted on this collection yet; a request that sends one is refused rather than silently ignored.
3059
+ */
3060
+ export declare const devopsReleasesList: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesListData, ThrowOnError>) => RequestResult<DevopsReleasesListResponses, DevopsReleasesListErrors, ThrowOnError>;
3061
+ /**
3062
+ * Create a release
3063
+ *
3064
+ * Create a release: an immutable snapshot of what will be deployed, named and fingerprinted once so later promotions can be compared against it. Send commit to release a commit as it stands, or base plus picks to build a patch release on a release that is already in production; the two shapes are exclusive and the patch shape is refused with PATCH_NOT_ELIGIBLE when the picks do not qualify. Rendering starts immediately and the answer reports its state; a promotion refuses a release that is still rendering with RELEASE_NOT_READY rather than deploying half of it. Set validateOnly to see the plan and the refusals without writing a release, and requestId to make a retry of the same call answer the first release instead of creating a second.
3065
+ */
3066
+ export declare const devopsReleasesCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesCreateData, ThrowOnError>) => RequestResult<DevopsReleasesCreateResponses, DevopsReleasesCreateErrors, ThrowOnError>;
3067
+ /**
3068
+ * Retrieve a release
3069
+ *
3070
+ * Read one release in full: the commit it carries, the targets and source digests it was rendered from, which environments have verified it, and where it currently runs. Call it before promoting to confirm the release is not abandoned and that its render succeeded, and after deploying to learn which environments already hold it so the same release is not promoted twice. A release from another organization answers RELEASE_NOT_FOUND, which is also the answer for one that never existed.
3071
+ */
3072
+ export declare const devopsReleasesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesGetData, ThrowOnError>) => RequestResult<DevopsReleasesGetResponses, DevopsReleasesGetErrors, ThrowOnError>;
3073
+ /**
3074
+ * Abandon a release
3075
+ *
3076
+ * Withdraw a release so it can no longer be promoted: a later promotion of it is refused with RELEASE_ABANDONED. Use it when a release was created by mistake or has been superseded, and record why in reason — the reason is stored on the release as the attribution of the act. A release with a promotion still in flight cannot be abandoned, because the queue is mid-flight on it; cancel that promotion first, which is the door for stopping a deployment. Abandoning is one-way: a withdrawn release is never un-abandoned, and a new release is created instead.
3077
+ */
3078
+ export declare const devopsReleasesAbandon: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesAbandonData, ThrowOnError>) => RequestResult<DevopsReleasesAbandonResponses, DevopsReleasesAbandonErrors, ThrowOnError>;
3079
+ /**
3080
+ * Create a promotion
3081
+ *
3082
+ * Promote a release into one environment: this is the operation that actually schedules a deployment. Name the release and the environment; path is regular for an ordinary promotion, targeted to deploy only the targets you list, patch to carry a patch release, and rollback to return the environment to an earlier release. A regular promotion promotes EVERY target the release changed in that environment and refuses a targets list (to promote a subset use path targeted, so a narrowing is never silently ignored). A targeted promotion requires targets: each item is a target id from the target list or the workspace path the console shows (services/devops), and the call resolves the path to the id. A target the release does not carry is refused with the targets the release does deploy; so is a target this environment never runs. Naming a target also deploys the targets it depends on, which come first and are reported in plan.addedDependencies. The targets that changed but were not named are listed in plan.skipped with reason not_requested, so a reader sees what the promotion left behind. Callees upgrade first by default: naming a target brings the targets it depends on, because a caller cannot run on a callee it did not deploy. To leave one of those callees behind, pass withoutCallees, a list of { target, reason } on a targeted promotion. Each entry names a callee the named targets depend on — by target id or workspace path, as in targets — and carries a required, non-empty reason, because an exception nobody can justify afterwards is indistinguishable from a mistake. An excluded callee is subtracted rather than deferred: it is not deployed, and a target that entered the plan only through it leaves the plan too, so nothing is deployed that would have needed it. The exclusion is visible in the plan (plan.skipped with reason callee_excluded, carrying the reason in message) and on the promotion (withoutCallees), and a retry repeats it. Excluding a target you named is refused (take it out of targets instead), as is excluding a target the named ones do not depend on; a regular promotion refuses withoutCallees the same way it refuses targets. A targeted promotion's success verifies only the targets it deployed, not the whole release, so the upstream gate still requires the untouched targets before a later environment may take them. The service reads the environment's promotion order and refuses when an upstream environment has not verified this release yet, unless a bypass carries the authorization for that gate. An environment takes one promotion at a time, so a create while another is running is queued behind it rather than refused; only a regular promotion supersedes waiting regular ones, and a targeted promotion neither overtakes another ride nor is overtaken. Set validateOnly to read the plan and its refusals — layers, skipped targets, pending migrations, missing configuration keys — without scheduling anything, which is the safe way to find out what a promotion will do; the same plan is on the promotion this call answers and on `praxis api devops promotion get`, which reads it again with the promotion's progress as the rollout advances. patch and rollback are not creatable here yet and are refused with NOT_IMPLEMENTED. The answer is the promotion: the plan it will execute is in its plan field (layers, skipped, refusals, pending migrations) and its progress is in state; `praxis api devops promotion get <id>` shows both again at any time. With an environment that requires approval the promotion waits in awaiting_approval until `praxis api devops promotion approve`.
3083
+ */
3084
+ export declare const devopsPromotionsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCreateData, ThrowOnError>) => RequestResult<DevopsPromotionsCreateResponses, DevopsPromotionsCreateErrors, ThrowOnError>;
3085
+ /**
3086
+ * List promotions
3087
+ *
3088
+ * List the project's promotions, newest first, across every environment. Use it to see what is queued, what is observing, and what finished recently, without reading each environment separately. A promotion in a terminal state stays in this list, which is how a caller tells "never promoted" apart from "promoted and then rolled back". Neither filter nor orderBy is accepted yet, so page through with pageToken instead of narrowing the query.
3089
+ */
3090
+ export declare const devopsPromotionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsListData, ThrowOnError>) => RequestResult<DevopsPromotionsListResponses, DevopsPromotionsListErrors, ThrowOnError>;
3091
+ /**
3092
+ * Retrieve a promotion
3093
+ *
3094
+ * Read one promotion: its state, its approval, its plan, and the failure that stopped it when there is one. Poll this after creating a promotion to follow it to a terminal state, or read it to find out why a deployment stopped — failure.cause tells plan refusal apart from a failed deploy, and executor names the runs involved. Pass expand=rollouts to receive the per-target rollouts in the same answer instead of listing them separately. state observing means the environment is deployed and the observation window is running, so the promotion is not finished and conclude is still to come. The plan is in the plan field of the answer (null until one is made) and the promotion's state is in state, so this is where to read both before approve (needs awaiting_approval) or conclude (needs observing).
3095
+ */
3096
+ export declare const devopsPromotionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsGetData, ThrowOnError>) => RequestResult<DevopsPromotionsGetResponses, DevopsPromotionsGetErrors, ThrowOnError>;
3097
+ /**
3098
+ * Approve or reject a promotion
3099
+ *
3100
+ * Answer the approval an environment asked for: send approved true to let the promotion proceed, false to reject it and end it in approval_rejected. This is the environment-level gate an environment with requireApproval raises, not the per-rollout approval. Comment records the reasoning next to the decision, which is what a later reader sees instead of the bare verdict. The call is refused with PROMOTION_NOT_AWAITING_APPROVAL when the promotion is not waiting for one, so a stale approval cannot restart something that already finished. Approving is attributed to the credential that sends it. It needs state awaiting_approval, which `praxis api devops promotion get <id>` shows in state; read the plan field there first, because the decision is about that plan. Approving a plan that names another commit than the one now planned is refused with PLAN_STALE; create the promotion again.
3101
+ */
3102
+ export declare const devopsPromotionsApprove: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsApproveData, ThrowOnError>) => RequestResult<DevopsPromotionsApproveResponses, DevopsPromotionsApproveErrors, ThrowOnError>;
3103
+ /**
3104
+ * Cancel a promotion
3105
+ *
3106
+ * Stop a promotion that has not finished, moving it through cancelling to cancelled and stopping the deploys it had scheduled. Use it to halt a deployment that is failing or that should no longer continue; reason is recorded as the attribution of the stop. Cancelling does not undo what already deployed: an environment whose targets were written keeps those targets, and returning them to an earlier release is a separate rollback promotion. A promotion that already reached a terminal state is refused with PROMOTION_ALREADY_FINISHED rather than silently ignored.
3107
+ */
3108
+ export declare const devopsPromotionsCancel: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCancelData, ThrowOnError>) => RequestResult<DevopsPromotionsCancelResponses, DevopsPromotionsCancelErrors, ThrowOnError>;
3109
+ /**
3110
+ * Retry a promotion
3111
+ *
3112
+ * Continue a promotion that stopped part-way, such as one in halted where some targets succeeded and others failed. The retry re-runs the targets that did not succeed and leaves the ones that did alone, so a partially deployed environment is completed rather than redeployed from the start. A promotion that is still running is refused, and so is one that already reached a terminal state; read the promotion first and retry only a halted or errored one. The retry is attributed to the credential that sends it and is recorded on the promotion.
3113
+ */
3114
+ export declare const devopsPromotionsRetry: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsRetryData, ThrowOnError>) => RequestResult<DevopsPromotionsRetryResponses, DevopsPromotionsRetryErrors, ThrowOnError>;
3115
+ /**
3116
+ * Conclude an observation
3117
+ *
3118
+ * Record the verdict on a promotion that is observing: send keep to accept the deployment as the environment's new state, or rollback to record it as unhealthy. This is the decision the observation window exists for, so a promotion in observing state stays open until it is concluded; reason is stored as the attribution. Concluding with rollback only records the verdict: the observation closes unhealthy and the promotion fails with observation_failed, but the deployment is not moved. To move the deployment back, call `praxis api devops environment rollback <environment_id>` (that one deploys the earlier release again). A promotion that is not observing is refused with PROMOTION_NOT_OBSERVING, which is how a caller tells "already concluded" apart from a call that had no effect. It needs state observing, which `praxis api devops promotion get <id>` shows in state.
3119
+ */
3120
+ export declare const devopsPromotionsConclude: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsConcludeData, ThrowOnError>) => RequestResult<DevopsPromotionsConcludeResponses, DevopsPromotionsConcludeErrors, ThrowOnError>;
3121
+ /**
3122
+ * List a promotion's rollouts
3123
+ *
3124
+ * List the per-target rollouts of one promotion: which target each is deploying, which layer it waits on, and where in its phases it has got to. Call it when a promotion is halted or failed to find the target that stopped, since the promotion's own state summarises what the rollouts show one by one. A promotion with nothing to deploy answers an empty page rather than a refusal. Neither filter nor orderBy is accepted here, and the rollouts come in the order the plan laid them out.
3125
+ */
3126
+ export declare const devopsRolloutsList: <ThrowOnError extends boolean = false>(options: Options<DevopsRolloutsListData, ThrowOnError>) => RequestResult<DevopsRolloutsListResponses, DevopsRolloutsListErrors, ThrowOnError>;
3127
+ /**
3128
+ * Retrieve a rollout
3129
+ *
3130
+ * Read one rollout in full: its phases and the jobs inside them, each job's most recent attempt, the checkpoint it was deploying from, and why it failed when it did. This is the level that names the failing step — a promotion tells you that a target failed, a rollout tells you which job run did and what it reported. Use logFileId or a job run's eventLogPath to reach the logs that step produced. A rollout from another organization answers ROLLOUT_NOT_FOUND, the same answer as one that never existed.
3131
+ */
3132
+ export declare const devopsRolloutsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsRolloutsGetData, ThrowOnError>) => RequestResult<DevopsRolloutsGetResponses, DevopsRolloutsGetErrors, ThrowOnError>;
3133
+ /**
3134
+ * List environments
3135
+ *
3136
+ * List the project's environments in promotion order: development first, production last. order is the promotion sequence, so the environment before the one you are promoting into is the one that must have verified the release first. Each entry carries its tier, whether it requires approval, and whether its queue is idle or busy; a busy queue names the promotion holding it and how many wait behind. This collection is not paged: a project has few environments and the whole ordered list is the answer.
3137
+ */
3138
+ export declare const devopsEnvironmentsList: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsListData, ThrowOnError>) => RequestResult<DevopsEnvironmentsListResponses, DevopsEnvironmentsListErrors, ThrowOnError>;
3139
+ /**
3140
+ * Update an environment
3141
+ *
3142
+ * Change an environment's name, position, approval requirement, observation time, blocking behaviour or domain suffix. Send the new values inside environment and name the fields to write in updateMask (name, order, requireApproval, observeMinutes, blocksLater, domainSuffix); a field not named is left alone. requireApproval true makes every later promotion into this environment stop in awaiting_approval until promotions.approve lets it proceed; promotions already running are not stopped. order moves the environment within the promotion sequence and renumbers its neighbours, and a value that would break the 1..n sequence is refused with ENVIRONMENT_ORDER_INVALID. Read the environment list first to know what you are leaving unchanged.
3143
+ */
3144
+ export declare const devopsEnvironmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsUpdateData, ThrowOnError>) => RequestResult<DevopsEnvironmentsUpdateResponses, DevopsEnvironmentsUpdateErrors, ThrowOnError>;
3145
+ /**
3146
+ * List environment checkpoints
3147
+ *
3148
+ * List where each target of an environment currently stands: the release and commit deployed to it, the promotion that put it there, and how far behind the default branch that commit is. Read it to answer "what is running in production right now" and to tell a promotion that will change something apart from one that will skip every target as unchanged. behindMain counts commits on the default branch that the deployed commit does not have, so zero means the environment carries the current branch head. Targets that were never deployed to have no checkpoints until something deploys to them.
3149
+ */
3150
+ export declare const devopsEnvironmentsCheckpointsList: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsCheckpointsListData, ThrowOnError>) => RequestResult<DevopsEnvironmentsCheckpointsListResponses, DevopsEnvironmentsCheckpointsListErrors, ThrowOnError>;
3151
+ /**
3152
+ * Roll an environment back
3153
+ *
3154
+ * Put targets of an environment back on the versions they ran before, the way Cloud Deploy rolls a target back: the earlier release is deployed again, and the live version and the deployment state move back together, so the next promotion does not quietly undo it. With no targets it undoes the environment's latest successful promotion, every target that promotion deployed; targets narrows that to some of them, by target id or workspace path such as services/agent. Each target returns to the version it ran just before that promotion; toRelease names an older release instead, which must be one every target has already run in this environment. Callers go back before their callees, and a caller that the undone promotion deployed together with a callee you roll back is brought along (listed in plan.addedDependencies). The request is the approval: reason is recorded as the approval comment, so the rollback does not wait in awaiting_approval, and a promotion still in its observation window is concluded as rolled back. Database migrations are not reversed. Send validateOnly true to see the plan without creating anything. Refusals: ROLLBACK_NOTHING_TO_ROLL_BACK when no promotion has succeeded here, ROLLBACK_NO_PREVIOUS when a target has no earlier version, ROLLBACK_AMBIGUOUS when the targets ran different earlier releases (roll them back separately or name toRelease), ROLLBACK_NOT_RUN_HERE when toRelease carries a version a target never ran here.
3155
+ */
3156
+ export declare const devopsEnvironmentsRollback: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsRollbackData, ThrowOnError>) => RequestResult<DevopsEnvironmentsRollbackResponses, DevopsEnvironmentsRollbackErrors, ThrowOnError>;
3157
+ /**
3158
+ * List targets
3159
+ *
3160
+ * List what the project deploys — one target per deployable path in the repository, with its kind, its destination and the targets it depends on. Targets are discovered from the code, not entered by hand, so this list is the service's reading of the repository rather than a configuration you maintain here. A project whose catalog has never been read has it read on the first call, at the default branch's head, so the first answer is already the catalog instead of an empty page. Archived targets, which the repository no longer deploys, are left out.
3161
+ */
3162
+ export declare const devopsTargetsList: <ThrowOnError extends boolean = false>(options: Options<DevopsTargetsListData, ThrowOnError>) => RequestResult<DevopsTargetsListResponses, DevopsTargetsListErrors, ThrowOnError>;
3163
+ /**
3164
+ * Refresh the target catalog
3165
+ *
3166
+ * Re-read the repository at a commit and answer the deployment targets it implies, recording what was found. Call it after adding or removing a deployable service so later promotions see the current layout; omit commit to read the default branch's head, or name one to read that commit. The answer includes the dependency graph and any cycles in it, and a cycle is reported rather than refused, matching how the deploy pipeline treats one. This is a read of the repository that also remembers what it read, so it is safe to call again; nothing is deployed by it.
3167
+ */
3168
+ export declare const devopsTargetsRefresh: <ThrowOnError extends boolean = false>(options: Options<DevopsTargetsRefreshData, ThrowOnError>) => RequestResult<DevopsTargetsRefreshResponses, DevopsTargetsRefreshErrors, ThrowOnError>;
3169
+ /**
3170
+ * List flags
3171
+ *
3172
+ * List the project's flags with their per-environment configuration, newest first. Use it to find a flag by key when code names one, and to review the flags of a project — the entries carry lifecycle, staleness, the observation deadline and the removal ticket, which is what an expiry review reads. filter accepts exactly one term, lifecycle=archived, to list the archived flags instead of the live ones; any other filter or orderBy is refused rather than ignored. totalSize is answered on the first page only.
3173
+ */
3174
+ export declare const devopsFlagsList: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsListData, ThrowOnError>) => RequestResult<DevopsFlagsListResponses, DevopsFlagsListErrors, ThrowOnError>;
3175
+ /**
3176
+ * Create a flag
3177
+ *
3178
+ * Create a feature flag in a project: its key, what kind of flag it is, the values it can serve, and which variation is served when it is off. The key is what code names, so it is unique per project and a key already in use is refused with FLAG_KEY_TAKEN rather than reused — an archived flag keeps its key. owner, observeUntil and removalTicket carry the flag's lifecycle: a release or experiment flag expects an observation deadline and the ticket that removes it, and a flag missing them is refused with FLAG_LIFECYCLE_INCOMPLETE. A new flag starts with every environment off, so creating one changes no runtime behaviour; turn an environment on with the environment update.
3179
+ */
3180
+ export declare const devopsFlagsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsCreateData, ThrowOnError>) => RequestResult<DevopsFlagsCreateResponses, DevopsFlagsCreateErrors, ThrowOnError>;
3181
+ /**
3182
+ * Retrieve a flag
3183
+ *
3184
+ * Read one flag in full: every environment's configuration, the rules and rollouts each environment serves, the flag's lifecycle, and where code references its key as of the last scan. Call it before changing an environment so you can send the version you read, and after a release to confirm the flag reached the state you expected. An archived flag is still readable here — that is how its key and history stay answerable after it stopped evaluating. codeRefs.count tells you how much code still names the key, which is what decides whether removing the flag is safe.
3185
+ */
3186
+ export declare const devopsFlagsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsGetData, ThrowOnError>) => RequestResult<DevopsFlagsGetResponses, DevopsFlagsGetErrors, ThrowOnError>;
3187
+ /**
3188
+ * Update a flag
3189
+ *
3190
+ * Change a flag's metadata — its name, description, owner, observation deadline, removal ticket or tags — without touching what any environment serves. Send the fields to change inside flag and name them in updateMask; a field present in flag but absent from the mask is left alone, and a mask naming a field this operation cannot change is refused rather than ignored. Sending null clears a nullable field such as observeUntil. Served values are not changed here: use the environment update for what an environment serves, which is versioned and checked. An archived flag cannot be updated.
3191
+ */
3192
+ export declare const devopsFlagsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsUpdateData, ThrowOnError>) => RequestResult<DevopsFlagsUpdateResponses, DevopsFlagsUpdateErrors, ThrowOnError>;
3193
+ /**
3194
+ * Update a flag's environment
3195
+ *
3196
+ * Turn a flag on in one environment, and change what that environment serves. Send version — the configuration version you read with flags.get — and comment; send config as the whole configuration, because this call replaces it rather than merging. config carries on (whether the flag evaluates here at all), prerequisites ([[{flagKey, variation}] the flags this one depends on), targets ([[{kind, variation, keys}] callers served a named variation regardless of the rules), rules ([[{id, clauses, serve}] in evaluation order, each a list of {attribute, op, values} clauses that must all match), and fallthrough (what a caller matching no rule gets while the flag is on). Off is not a config: to serve one variation to everyone, set fallthrough to {variation: <id>}; to split callers, set fallthrough to {rollout: {bucketBy: targetingKey, seed: <n>, weights: {<id>: <n out of 100000>}}} — the weights must total exactly 100000. A stale version is refused with FLAG_VERSION_CONFLICT instead of silently overwriting someone else's edit. Targets whose keys are not deployed yet are refused with FLAG_CODE_NOT_DEPLOYED, because serving a variation the running code cannot name would fail at evaluation time. The current version comes from `praxis api devops flag get <id>`: it is the version of that environment in the flag's environments map. Fully open means on true with no rules and fallthrough {variation: <the on variation>} (see the everyone example); opening a flag is this configuration change, nothing else. To open it to one organization, add a rule whose clause is {attribute: tenantId, op: in, values: [<organization id>]} served the on variation: flagsFor evaluates with tenantId set to the caller's organization id (targetingKey carries the same value), so that clause matches exactly that organization. Do not use a segment of kind organization: flagsFor passes no context kind, so the evaluator treats it as a user context and a segment of kind organization never matches.
3197
+ */
3198
+ export declare const devopsFlagsUpdateEnvironment: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsUpdateEnvironmentData, ThrowOnError>) => RequestResult<DevopsFlagsUpdateEnvironmentResponses, DevopsFlagsUpdateEnvironmentErrors, ThrowOnError>;
3199
+ /**
3200
+ * Conclude a flag
3201
+ *
3202
+ * Declared but not served yet: the platform has no handler for this call (ticket #1882), so it does not record a decision, move the flag to launched or finish a rollout, and you cannot rely on it for the observation deadline. Until it is served, fully opening a flag is a configuration change, made with `praxis api devops flag environment update` (on true, fallthrough {variation: <the on variation>}; the current version for it comes from `praxis api devops flag get`), then the removal steps of `praxis api devops flag archive`.
3203
+ */
3204
+ export declare const devopsFlagsConclude: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsConcludeData, ThrowOnError>) => RequestResult<DevopsFlagsConcludeResponses, DevopsFlagsConcludeErrors, ThrowOnError>;
3205
+ /**
3206
+ * Archive a flag
3207
+ *
3208
+ * Archive a flag whose code is gone: it stops evaluating in every environment, leaves the ordinary flag list and keeps its key and history. Archiving changes the flag's lifecycle only and does not check code references: codeRefs.count on the flag is informational, and the call succeeds even while code still names the key (ticket #1881), in which case that code gets its default. It is irreversible through the API: there is no unarchive call, an archived flag cannot be updated or configured, and its key stays reserved, so a later create with the same key is refused; archiving an archived flag just answers it again. A flag that may come back is turned off in its environment instead. The order is: open the flag fully (`praxis api devops flag environment update`), delete the code that names the key and deploy that, run `praxis devops flag remove <key>` (local, lists the references still naming the key), then `praxis api devops flag archive <id>`, then `praxis devops flag sync` so the local registry drops it. There is no separate delete call.
3209
+ */
3210
+ export declare const devopsFlagsArchive: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsArchiveData, ThrowOnError>) => RequestResult<DevopsFlagsArchiveResponses, DevopsFlagsArchiveErrors, ThrowOnError>;
3211
+ /**
3212
+ * Create a progressive rollout
3213
+ *
3214
+ * Start a staged rollout of one variation of a flag in one environment: the steps are percentages with a hold time each, and the guard says which signals are watched and whether a bad reading pauses the rollout or rolls it back. Use it instead of turning a flag fully on, so a bad variation is caught at a small percentage. bucketBy names the context attribute that decides which bucket a caller falls into, so the same caller stays in the same bucket across steps. One progressive rollout runs per flag and environment; a second one while the first is active is refused with ROLLOUT_ALREADY_ACTIVE.
3215
+ */
3216
+ export declare const devopsProgressiveRolloutsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsCreateData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsCreateResponses, DevopsProgressiveRolloutsCreateErrors, ThrowOnError>;
3217
+ /**
3218
+ * Retrieve a progressive rollout
3219
+ *
3220
+ * Read one progressive rollout: which step it is on, how much of the audience that is, when the next step is due, and every step it has already taken with who moved it and why. Poll it to follow a rollout, and read history to find out why it paused or rolled back — a guard that fired leaves the step and the reason there. state scheduled means the first step has not started, running means it is advancing on its hold times, and rolled_back is terminal. nextStepTime is the time the current hold ends.
3221
+ */
3222
+ export declare const devopsProgressiveRolloutsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsGetData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsGetResponses, DevopsProgressiveRolloutsGetErrors, ThrowOnError>;
3223
+ /**
3224
+ * Pause a progressive rollout
3225
+ *
3226
+ * Hold a running progressive rollout at its current percentage: no further step is taken until it is resumed, and the percentage already served keeps being served. Use it when a guard signal looks wrong but not wrong enough to roll back, so a person can look before the rollout advances. reason is recorded on the rollout as the attribution of the hold. Pausing a rollout that already completed or was rolled back is refused; read it first to see whether there is anything to hold.
3227
+ */
3228
+ export declare const devopsProgressiveRolloutsPause: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsPauseData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsPauseResponses, DevopsProgressiveRolloutsPauseErrors, ThrowOnError>;
3229
+ /**
3230
+ * Resume a progressive rollout
3231
+ *
3232
+ * Continue a paused progressive rollout from the step it stopped at, restarting the hold time for the current step rather than skipping it. Use it after a pause has been looked into and the rollout is judged safe to continue. A rollout that is running already, or that finished, is refused; read it first to see whether it is paused. The resumption is attributed to the credential that sends it and recorded in the rollout's step history.
3233
+ */
3234
+ export declare const devopsProgressiveRolloutsResume: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsResumeData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsResumeResponses, DevopsProgressiveRolloutsResumeErrors, ThrowOnError>;
3235
+ /**
3236
+ * Roll back a progressive rollout
3237
+ *
3238
+ * End a progressive rollout by returning the flag's environment to the variation it served before the rollout started, so the audience that was already switched over goes back. Use it when a guard signal says the variation is bad and waiting for the next step would expose more callers. reason is recorded on the rollout as the attribution of the decision. The rollback is terminal: the rollout does not restart, and a new rollout is created if the variation should be tried again. It changes what the environment serves, not the flag's other environments.
3239
+ */
3240
+ export declare const devopsProgressiveRolloutsRollback: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsRollbackData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsRollbackResponses, DevopsProgressiveRolloutsRollbackErrors, ThrowOnError>;
3241
+ /**
3242
+ * Delete a target's OpenTofu state
3243
+ *
3244
+ * Delete the current OpenTofu state of one deploy target, as OpenTofu does when a workspace is deleted. The kept versions of earlier writes stay. While a lock is held the call must carry its ID, otherwise it answers 409 LOCK_CONFLICT. Deleting a state that does not exist succeeds.
3245
+ */
3246
+ export declare const devopsTofuStateDelete: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateDeleteData, ThrowOnError>) => RequestResult<DevopsTofuStateDeleteResponses, DevopsTofuStateDeleteErrors, ThrowOnError>;
3247
+ /**
3248
+ * Read a target's OpenTofu state
3249
+ *
3250
+ * Read the current OpenTofu state of one deploy target in one DevOps environment. This is the read half of the OpenTofu HTTP backend that `praxis devops deploy --engine tofu` configures: OpenTofu sends HTTP Basic with any username and a Praxis API key as the password, and the route accepts the ordinary Bearer key too. The answer is the state document exactly as the last write stored it. A target never deployed in this environment answers 404, which OpenTofu reads as an empty state.
3251
+ */
3252
+ export declare const devopsTofuStateGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateGetData, ThrowOnError>) => RequestResult<DevopsTofuStateGetResponses, DevopsTofuStateGetErrors, ThrowOnError>;
3253
+ /**
3254
+ * Write a target's OpenTofu state
3255
+ *
3256
+ * Store a new OpenTofu state for one deploy target. OpenTofu calls this after every apply, passing the lock ID it holds as ID. Each accepted write also keeps an immutable version of that state (the latest 50 per target are kept), so a rollout's state change can be audited. A state document is at most 1 MiB. A write whose serial is lower than the stored serial of the same lineage is a stale write and answers 409 STALE_SERIAL; re-run so OpenTofu reads the newer state first.
3257
+ */
3258
+ export declare const devopsTofuStateWrite: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateWriteData, ThrowOnError>) => RequestResult<DevopsTofuStateWriteResponses, DevopsTofuStateWriteErrors, ThrowOnError>;
3259
+ /**
3260
+ * Unlock a target's OpenTofu state
3261
+ *
3262
+ * Release the lock on one target's state; this is the DELETE that `praxis devops deploy` configures as OpenTofu's unlock_method (the default UNLOCK verb on the state path works too). The lock ID is read from the lock info body, or from the ID query value. Releasing a lock that is not held succeeds; releasing it under a different ID answers 409 LOCK_CONFLICT.
3263
+ */
3264
+ export declare const devopsTofuStateUnlock: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateUnlockData, ThrowOnError>) => RequestResult<DevopsTofuStateUnlockResponses, DevopsTofuStateUnlockErrors, ThrowOnError>;
3265
+ /**
3266
+ * Lock a target's OpenTofu state
3267
+ *
3268
+ * Take the lock on one target's state before OpenTofu plans or applies; this is the POST that `praxis devops deploy` configures as OpenTofu's lock_method (the default LOCK verb on the state path works too). Exactly one holder can hold the lock. A held lock answers 423 with the holder's lock info, which names who is deploying; wait for them or, if they are gone, release it with a force-unlock using the ID in that answer.
3269
+ */
3270
+ export declare const devopsTofuStateLock: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateLockData, ThrowOnError>) => RequestResult<DevopsTofuStateLockResponses, DevopsTofuStateLockErrors, ThrowOnError>;
3271
+ /**
3272
+ * List changes
3273
+ *
3274
+ * List the project's changes, newest first, each with its derived stage and one cell per environment. Use it to see what is in flight before opening another change, or to find the id (the branch name) of a change you want to read. filter narrows the list: stage is derived from the facts, so it is applied after derivation, while type, owner and ended narrow on stored columns. Leaving a filter field out, or sending an empty array, does not narrow that field. ended=true lists changes that are done or abandoned, ended=false lists the rest. totalSize is answered on the first page only and counts what the filter leaves.
3275
+ */
3276
+ export declare const devopsChangesList: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesListData, ThrowOnError>) => RequestResult<DevopsChangesListResponses, DevopsChangesListErrors, ThrowOnError>;
3277
+ /**
3278
+ * Create a change
3279
+ *
3280
+ * Open a change: the unit that carries one piece of work from a branch to production. A change has no separate id — its id is its branch name, <type>/<slug> (for example feat/run-page-v2), and the branch is cut from main as part of this call. type says what the work is and slug names it; both together are the id, so the same pair sent again answers the change the first call made instead of creating a second. A change with a flag also creates a release flag whose key is the slug, off in every environment, so opening one changes no runtime behaviour; withFlag defaults to true for feat and false for every other type, and you may override it either way. Requesting a change opens it at once — there is no approval step — and the caller becomes its owner. A slug already used by another type in the project is refused with CHANGE_SLUG_TAKEN because both would need the same branch name. The stage in the answer is derived from facts such as pull requests and promotions; it is never something you set. The project id in the path comes from `praxis api devops project list`. After the call, put your checkout on the change's branch with `praxis devops change checkout <type>/<slug>`, using the id the answer returns. tickets takes several references by repeating the option once per reference (`--tickets "#812" --tickets "#813"`); the option does not split a comma-joined value, so `"#812,#813"` is read as one reference.
3281
+ */
3282
+ export declare const devopsChangesCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesCreateData, ThrowOnError>) => RequestResult<DevopsChangesCreateResponses, DevopsChangesCreateErrors, ThrowOnError>;
3283
+ /**
3284
+ * Retrieve a change
3285
+ *
3286
+ * Read one change in full: its derived stage, its pull requests (one per slice, oldest first), its flag, its workspace, and one cell per environment showing the version it rode and how far its flag has been rolled out there. The id is the branch name and contains a slash, so it must be percent-encoded in the path: feat/run-page-v2 is sent as feat%2Frun-page-v2. The stage is derived, not stored — with several pull requests it shows the slice that is furthest behind, so a change already in production that opens a new slice goes back to reviewing. When suspectedIn is set, the latest verification in that environment failed and this change is listed among the suspects until a later verification succeeds.
3287
+ */
3288
+ export declare const devopsChangesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesGetData, ThrowOnError>) => RequestResult<DevopsChangesGetResponses, DevopsChangesGetErrors, ThrowOnError>;
3289
+ /**
3290
+ * Abandon a change
3291
+ *
3292
+ * Stop a change for good: it no longer moves forward and its stage becomes abandoned. reason is required and is kept with the change. Pull requests that were already merged are not undone — the system cleans them up, or a new change reverts them — so abandoning is a statement about the change, not a rollback of code. The id is the branch name and its slash must be percent-encoded in the path (feat%2Frun-page-v2). A change that is already abandoned is refused with INVALID_ARGUMENT, which is how a caller tells an earlier abandon apart from a call that had no effect.
3293
+ */
3294
+ export declare const devopsChangesAbandon: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesAbandonData, ThrowOnError>) => RequestResult<DevopsChangesAbandonResponses, DevopsChangesAbandonErrors, ThrowOnError>;
3295
+ /**
3296
+ * Mark the last slice
3297
+ *
3298
+ * Say whether the pull request being merged is the last slice of the change. A change defaults to yes; until it is marked as the last slice it cannot reach rolling out or done, because rolling out a container that may still grow would roll out the wrong thing. Send lastSlice=false before merging a pull request when more slices will follow, and true again on the final one. The id is the branch name and its slash must be percent-encoded in the path (feat%2Frun-page-v2).
3299
+ */
3300
+ export declare const devopsChangesMarkLastSlice: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesMarkLastSliceData, ThrowOnError>) => RequestResult<DevopsChangesMarkLastSliceResponses, DevopsChangesMarkLastSliceErrors, ThrowOnError>;
3301
+ /**
3302
+ * List a project's pull requests
3303
+ *
3304
+ * Read the pull requests a project's connected repository holds, most recently updated first, so you can find the one whose gate you must judge, re-decide or merge. Send reviewer to build the "waiting on me" list: it matches only reviewers whose state is requested — asked and not yet answered — never somebody whose review already landed. Narrow it further with filter, one equality term at a time over state, id, number or head (the head commit sha), such as state=open or number=4135; a field outside that set is refused with INVALID_ARGUMENT instead of silently widening the answer. Every item carries the gate that change reached at its head commit, so this list is also the read that shows which changes are waiting on a person. The id in each item is what the retrieve, rerunGate, merge and recordVerdict calls address.
3305
+ */
3306
+ export declare const devopsPullRequestsList: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsListData, ThrowOnError>) => RequestResult<DevopsPullRequestsListResponses, DevopsPullRequestsListErrors, ThrowOnError>;
3307
+ /**
3308
+ * Retrieve a pull request
3309
+ *
3310
+ * Read one pull request in full: its state, its head and base, its changed paths, the exposure its description declares, and — the part this call exists for — its gate. The gate is a list of named checks (the declaration, the flag duties, the affected tests, and the one judgement only a person makes), each with a result and, when it failed or is pending, the sentence saying what is missing; the gate's own state is passed only when no check failed and none is still pending. Read the gate here before merging or before recording a verdict, and read it again after a rerun: the checks are facts about the current head, and a new head starts a new gate. Add expand=runs to also get the affected test runs reported at the head commit, newest first, which is how you see why the tests check came out the way it did.
3311
+ */
3312
+ export declare const devopsPullRequestsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsGetData, ThrowOnError>) => RequestResult<DevopsPullRequestsGetResponses, DevopsPullRequestsGetErrors, ThrowOnError>;
3313
+ /**
3314
+ * Decide a pull request's merge gate again
3315
+ *
3316
+ * Decide the merge gate again at the pull request's current head and report the result on GitHub as the "Praxis DevOps / gate" check run. Use it when a fact the gate reads has changed without a new push — a test run finished, a flag was registered, or a check that had no evidence now has some — so nobody has to push an empty commit to make the check move. The answer is the pull request with the gate it now reaches. A head whose earlier gate already had a verdict and comes back pending opens a NEW check run, because GitHub will not reopen a completed one; while the same head is still deciding, the run it already owns is updated in place. Nothing else on the pull request changes, and repeating the call is safe: the same facts decide the same gate.
3317
+ */
3318
+ export declare const devopsPullRequestsRerunGate: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRerunGateData, ThrowOnError>) => RequestResult<DevopsPullRequestsRerunGateResponses, DevopsPullRequestsRerunGateErrors, ThrowOnError>;
3319
+ /**
3320
+ * Merge a pull request through its gate
3321
+ *
3322
+ * Land a pull request by having DevOps call GitHub, so the merge goes through the platform's own merge gate instead of around it. The gate is the permission: while the gate is pending or failed the merge is refused with GATE_NOT_PASSED, and a pull request that is already merged or closed is refused with PULL_REQUEST_NOT_OPEN. Only the commit the gate decided on may land — that commit is sent to GitHub as the merge sha, so a head that moved underneath is refused with HEAD_MOVED rather than merged untested — and GitHub's own refusal, such as a conflict, comes back as MERGE_REFUSED carrying its words. method picks the merge shape and defaults to merge. queue true does not merge now: it puts the pull request into its (project, base) merge queue, where the commit that eventually lands is one GitHub built from the current base and a test run proved. Send requestId to make a retry safe — a retry that reaches a pull request DevOps itself already merged answers that merge without calling GitHub again; it does not make the merge wait. Merging something already merged by somebody else stays a refusal rather than a replay.
3323
+ */
3324
+ export declare const devopsPullRequestsMerge: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsMergeData, ThrowOnError>) => RequestResult<DevopsPullRequestsMergeResponses, DevopsPullRequestsMergeErrors, ThrowOnError>;
3325
+ /**
3326
+ * Record a gatekeeper's verdict on a direct change
3327
+ *
3328
+ * A gatekeeper's judgement of a change declared direct — the one gate check a person answers, because a direct change has no flag to hold it back. Send result passed to let it through, or failed to hold it, with reason saying in a sentence a reviewer can act on why; the reason becomes the message of the gate's exposure-judged check. The verdict is about ONE commit: headSha must be the pull request's current head, and a verdict for any other commit is refused with INVALID_ARGUMENT rather than applied, because a judgement of a version nobody reviewed must never pass the version that is there now — so a recorded verdict stops applying the moment the head moves, and the new head must be judged on its own. Recording it decides the gate again, so a passed verdict makes the gate passed once every other check has too, and the answer is the pull request with the gate it now reaches. A passed verdict for a change whose tests have not run leaves the gate pending: a person's judgement never outvotes a missing test.
3329
+ */
3330
+ export declare const devopsPullRequestsRecordVerdict: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRecordVerdictData, ThrowOnError>) => RequestResult<DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRecordVerdictErrors, ThrowOnError>;
3331
+ /**
3332
+ * List connections
3333
+ *
3334
+ * List the git host installations this organization has connected. A connection is what a project is bound to a repository through, so this is where a project with no repository starts. Only this organization's connections are returned, newest first, and pageToken walks the pages; orderBy and filter are refused rather than silently ignored, because the collection has exactly one order and no filterable field.
3335
+ */
3336
+ export declare const devopsConnectionsList: <ThrowOnError extends boolean = false>(options?: Options<DevopsConnectionsListData, ThrowOnError>) => RequestResult<DevopsConnectionsListResponses, DevopsConnectionsListErrors, ThrowOnError>;
3337
+ /**
3338
+ * Start a GitHub connection
3339
+ *
3340
+ * Begin connecting this organization to a GitHub App installation. The answer is where to send the user (installUrl) and the signed state that proves the callback belongs to this attempt; this call itself records nothing, so the connection exists only once connections:complete has verified that state. Repeat it when the user needs a fresh link — every answer carries its own state, and the newest is the one worth sending.
3341
+ */
3342
+ export declare const devopsConnectionsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsCreateData, ThrowOnError>) => RequestResult<DevopsConnectionsCreateResponses, DevopsConnectionsCreateErrors, ThrowOnError>;
3343
+ /**
3344
+ * Finish a GitHub connection
3345
+ *
3346
+ * Record the installation GitHub sent the user back with; this is the call that creates the connection. The state from connections:create is verified before anything is written, so a forged, expired or foreign callback is refused with CONNECTION_STATE_INVALID and leaves no row; the installation is then read from GitHub to learn the account and its repository access. Completing the same installation again updates that connection instead of creating a second one — which is how a setupAction of update, repositories added or removed on GitHub, is recorded.
3347
+ */
3348
+ export declare const devopsConnectionsComplete: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsCompleteData, ThrowOnError>) => RequestResult<DevopsConnectionsCompleteResponses, DevopsConnectionsCompleteErrors, ThrowOnError>;
3349
+ /**
3350
+ * Retrieve a connection
3351
+ *
3352
+ * Read one connection: the provider, GitHub's installation id, the account the app was installed on, whether it may read every repository or only selected ones, and whether it is still usable. A connection GitHub suspended or deleted answers with that state rather than disappearing, so a caller can tell "install it again" from "this id never existed".
3353
+ */
3354
+ export declare const devopsConnectionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsGetData, ThrowOnError>) => RequestResult<DevopsConnectionsGetResponses, DevopsConnectionsGetErrors, ThrowOnError>;
3355
+ /**
3356
+ * List a connection's repositories
3357
+ *
3358
+ * List the repositories this connection's GitHub installation can read, each with whether it is private, its default branch, when it last received a push, and the project of this organization already bound to it — use it to pick the repository a project is bound to. Paging is GitHub's own: pageToken carries the next page number, so a pageSize above GitHub's 100 is capped instead of refused, and filter and orderBy are refused because GitHub supplies neither.
3359
+ */
3360
+ export declare const devopsConnectionsListRepositories: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsListRepositoriesData, ThrowOnError>) => RequestResult<DevopsConnectionsListRepositoriesResponses, DevopsConnectionsListRepositoriesErrors, ThrowOnError>;
3361
+ /**
3362
+ * List segments
3363
+ *
3364
+ * List the segments one environment of a project holds — the named groups of recipients a flag's rules can target there. environment is required because a segment never crosses environments: an audience needed in two environments is created in each, so the same key can hold different members per environment. The first page answers totalSize and a later page does not; orderBy accepts createTime, updateTime, key and name.
3365
+ */
3366
+ export declare const devopsSegmentsList: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsListData, ThrowOnError>) => RequestResult<DevopsSegmentsListResponses, DevopsSegmentsListErrors, ThrowOnError>;
3367
+ /**
3368
+ * Create a segment
3369
+ *
3370
+ * Create a segment in one environment: a key that flag rules refer to it by, the recipients named directly (included), the ones always held out (excluded), and rules that add recipients by a context attribute. The key must match ^[a-z][a-z0-9-]{0,63}$ and is unique inside the environment, because a rule that targets the segment matches that string; name is only the display label, and kind says what the listed recipients are, user by default. Creating a segment changes no evaluation until a flag rule names it.
3371
+ */
3372
+ export declare const devopsSegmentsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsCreateData, ThrowOnError>) => RequestResult<DevopsSegmentsCreateResponses, DevopsSegmentsCreateErrors, ThrowOnError>;
3373
+ /**
3374
+ * Update a segment
3375
+ *
3376
+ * Change a segment's membership: name, included, excluded and rules, naming in updateMask the fields this request means to write. A field present in segment but absent from updateMask is left alone, and a mask naming anything else — key, environment, kind — is refused rather than ignored, so an audience keeps the identity rules match on. A listed field replaces the whole list rather than adding to it. The change is stored here as the source of truth and reaches evaluation through the environment's ruleset; if that push fails the write still stands and is reconciled later, so the caller is not told an accepted edit was rejected.
3377
+ */
3378
+ export declare const devopsSegmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsUpdateData, ThrowOnError>) => RequestResult<DevopsSegmentsUpdateResponses, DevopsSegmentsUpdateErrors, ThrowOnError>;
3379
+ /**
3380
+ * Retry the failed cases of a run
3381
+ *
3382
+ * Run again only the cases that did not pass in a run. The answer is a NEW run, queued with trigger retry and retryOf naming the original, whose selection holds exactly the non-passed cases — so a long plan is not paid for twice after a fix, and the original run keeps its own result as the record of what failed. Use it when you know which failure you repaired; create a run of the plan when the selection itself should change. A run holding no non-passed execution is refused with INVALID_SELECTOR, and a run that is still going is retried from the failures it has recorded so far rather than waited for.
3383
+ */
3384
+ export declare const devopsTestRunsRetryFailed: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsRetryFailedData, ThrowOnError>) => RequestResult<DevopsTestRunsRetryFailedResponses, DevopsTestRunsRetryFailedErrors, ThrowOnError>;
3385
+ /**
3386
+ * List a project's stage workspaces
3387
+ *
3388
+ * List the project's three stage workspaces — development, integration and runtime — in that order. Each row says how a machine of that stage is built and how long it lives; it is configuration, not a machine, so listing never opens one. A project whose rows do not exist yet gets all three materialized on this call with the defaults (size medium, prebuild on, idle timeout 30 minutes, retention 7 days), and a later call reads those same rows back rather than replacing them. Read one stage with the workspace retrieve; the machines actually running are units.
3389
+ */
3390
+ export declare const devopsWorkspacesList: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesListData, ThrowOnError>) => RequestResult<DevopsWorkspacesListResponses, DevopsWorkspacesListErrors, ThrowOnError>;
3391
+ /**
3392
+ * Retrieve a stage workspace
3393
+ *
3394
+ * Read one stage's workspace configuration: the machine class its units are created at, whether it builds a prebuild ahead of time, and the idle timeout and retention that decide when a machine is paused or destroyed. The stage is development, integration or runtime; development holds persistent units and the other two hold one-off ones, which is derived from the stage and is not something this call can set. A project with no rows yet gets the three defaults materialized first, so this answers a real row rather than a not-found.
3395
+ */
3396
+ export declare const devopsWorkspacesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesGetData, ThrowOnError>) => RequestResult<DevopsWorkspacesGetResponses, DevopsWorkspacesGetErrors, ThrowOnError>;
3397
+ /**
3398
+ * Update a stage workspace
3399
+ *
3400
+ * Change how a stage's units are built and how long they live. Send the values to change inside workspace and name each one in updateMask; a field present in workspace but absent from the mask is left alone, and a mask naming a field this operation cannot change is refused with INVALID_ARGUMENT rather than ignored. Only machine.size, idleTimeoutMinutes, retentionDays, prebuild.enabled and vaults can be changed: idleTimeoutMinutes is 5 to 240 minutes, retentionDays is 1 to 30 days, and a value outside its range is refused. The change applies to the units created afterwards; a machine already running keeps the class it was created with. vaults binds the vaults (by id, at most 10) whose secrets a development unit's machine takes as runtime environment variables the moment the machine is created; binding on the integration or runtime workspace is refused with INVALID_ARGUMENT, because those units are deployment machines and take no credentials, and every vault must exist in this organization. Values never travel through this API: a machine keeps the environment it was created with, so a changed secret takes effect once the unit is deleted and opened again.
3401
+ */
3402
+ export declare const devopsWorkspacesUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesUpdateData, ThrowOnError>) => RequestResult<DevopsWorkspacesUpdateResponses, DevopsWorkspacesUpdateErrors, ThrowOnError>;
3403
+ /**
3404
+ * List a project's units
3405
+ *
3406
+ * List the project's units from their stored record, newest first, without reaching any machine — a list of N units is one read, not N reads against N machines. Use it to find a unit's id, to see which changes currently have one, or to find units that ended badly. Narrow it by stage, by change (the branch name) or by phase; a stage or phase outside the vocabulary is refused with INVALID_ARGUMENT rather than ignored. totalSize is answered on the first page only. The phase a unit shows here is what was last recorded; read the unit itself for a fresh observation.
3407
+ */
3408
+ export declare const devopsUnitsList: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsListData, ThrowOnError>) => RequestResult<DevopsUnitsListResponses, DevopsUnitsListErrors, ThrowOnError>;
3409
+ /**
3410
+ * Open a unit for a change
3411
+ *
3412
+ * Open the machine a change is developed on: one machine, one unit. Most callers never need this — opening a change opens its unit by itself — so call it to retry an automatic open that failed, or to open a unit for a change that has none yet. The unit is created from the project's development workspace settings, starts from that stage's ready prebuild when one exists and otherwise builds the stage template, and checks out the change's branch. The change must exist in this project and must not be abandoned; a project holds at most one live unit per change, so a second call for the same change answers 409 UNIT_EXISTS_FOR_CHANGE instead of opening another (send requestId to make a retry of this same open answer the unit the first call made). The call answers at once with the unit in phase provisioning — no machine has been placed yet — and the sandbox's answer is folded into the same unit afterwards; read the unit to watch it reach available. A refusal never leaves a unit behind.
3413
+ */
3414
+ export declare const devopsUnitsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsCreateData, ThrowOnError>) => RequestResult<DevopsUnitsCreateResponses, DevopsUnitsCreateErrors, ThrowOnError>;
3415
+ /**
3416
+ * Delete a unit
3417
+ *
3418
+ * Destroy the unit and the machine behind it: the sandbox kills the machine, the unit moves to deleted, and its record stays for history. A unit holding uncommitted or unpushed work is refused with 409 UNIT_UNPUSHED_WORK so that work is not lost by accident; send force true to delete it anyway, which is what the Console offers behind a confirmation. Deleting an already deleted unit succeeds and changes nothing. Deleting is one-way: a deleted unit is never started again; open a new one for the change instead.
3419
+ */
3420
+ export declare const devopsUnitsDelete: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsDeleteData, ThrowOnError>) => RequestResult<DevopsUnitsDeleteResponses, DevopsUnitsDeleteErrors, ThrowOnError>;
3421
+ /**
3422
+ * Retrieve a unit
3423
+ *
3424
+ * Read one unit in full: its phase, the sandbox handle of its machine, its spec, and what its git checkout last showed. expand=transitions adds the most recent 20 transition records, which is how a caller sees what was asked of the machine and how each ask ended without paging the transitions collection. The phase is what the machine last reported and observedAt says when, so read it repeatedly after opening, starting or stopping a unit to watch the phase settle. A unit belonging to another organization answers UNIT_NOT_FOUND, exactly as an unknown id does.
3425
+ */
3426
+ export declare const devopsUnitsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsGetData, ThrowOnError>) => RequestResult<DevopsUnitsGetResponses, DevopsUnitsGetErrors, ThrowOnError>;
3427
+ /**
3428
+ * Start a unit
3429
+ *
3430
+ * Start a stopped unit: the sandbox resumes its machine and the unit moves from shutdown back to available. Starting a unit that is already available, one that is deleted or failed, or one with another transition still in flight is refused with 409 UNIT_INVALID_STATE rather than queued; read the unit to see its phase first. The call answers once the transition is recorded, which can be before the machine is ready, so read the unit again for the observed phase.
3431
+ */
3432
+ export declare const devopsUnitsStart: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsStartData, ThrowOnError>) => RequestResult<DevopsUnitsStartResponses, DevopsUnitsStartErrors, ThrowOnError>;
3433
+ /**
3434
+ * Stop a unit
3435
+ *
3436
+ * Stop a running unit: the sandbox pauses its machine and the unit moves from available to shutting_down and then shutdown. A stopped unit is kept, not destroyed — start it again to resume the same machine — and it is destroyed only when its retention expires or it is deleted. Stopping a unit that is not available, or one with another transition in flight, is refused with 409 UNIT_INVALID_STATE; read the unit to see its phase first.
3437
+ */
3438
+ export declare const devopsUnitsStop: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsStopData, ThrowOnError>) => RequestResult<DevopsUnitsStopResponses, DevopsUnitsStopErrors, ThrowOnError>;
3439
+ /**
3440
+ * Fetch a unit's branch
3441
+ *
3442
+ * Bring the unit's checkout up to date with the remote branch and record what it then shows. The unit works on a clone, so it never sees the remote move by itself; call this when the branch may have moved — someone else pushed to it, or it was rebased — and the answer is the unit with its git facts (branch, head, ahead, behind, uncommitted, unpushed, wipRef, observedAt) as just observed. It runs a git fetch inside the machine, and the caller supplies no credential: DevOps mints a short-lived read token scoped to this repository for that one command and leaves nothing behind on the machine. The unit must be available with a machine and a checkout; any other phase answers 409 UNIT_INVALID_STATE. A fetch that fails inside the machine answers 500 EXECUTION_FAILED, whose reason is in the unit's transitions. Read the unit first to see its current phase.
3443
+ */
3444
+ export declare const devopsUnitsFetch: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsFetchData, ThrowOnError>) => RequestResult<DevopsUnitsFetchResponses, DevopsUnitsFetchErrors, ThrowOnError>;
3445
+ /**
3446
+ * Push a unit's branch
3447
+ *
3448
+ * Publish the unit's local commits to the remote for the change: the machine itself holds no git credential and cannot reach the remote, so this verb is the way work done on a unit lands. ref says what to push — branch for the change's own branch, wip for this unit's own refs/praxis/wip/<change>, or a full ref name; anything else (the default branch, another change's branch, a tag, another unit's wip ref) is refused with 400 PUSH_REF_FORBIDDEN and nothing is pushed. expectedHead is the commit you believe the remote branch is at now; DevOps checks it before signing anything, and a remote that has moved since answers 409 HEAD_MOVED with nothing pushed, so fetch first when unsure, reconcile, and send the new head. For branch the call also takes a lease on that head, so the push cannot silently overwrite work that landed in between; wip is this change's own ref and is force-pushed. On success the answer is pushedSha, the commit that landed. Commit inside the machine first, through the sandbox instance API — this verb pushes commits, it does not create them. The unit must be available with a machine and a checkout, or the call answers 409 UNIT_INVALID_STATE; a push that fails inside the machine answers 500 EXECUTION_FAILED and the machine's own words are in the unit's transitions.
3449
+ */
3450
+ export declare const devopsUnitsPush: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsPushData, ThrowOnError>) => RequestResult<DevopsUnitsPushResponses, DevopsUnitsPushErrors, ThrowOnError>;
3451
+ /**
3452
+ * Connect to a unit's terminal
3453
+ *
3454
+ * Take a terminal into the unit's machine — the path the Console workspaces page uses when a person opens one. The call does not hand back a terminal itself: it resolves the unit to the sandbox instance behind it, and the caller asks the sandbox's public interface for a terminal token against that instance id; DevOps never carries the token. A stopped unit (phase shutdown) is started first, and the answer reports the phase that start produced (starting); a unit already available answers available; every other phase (queued, provisioning, shutting_down, failed, deleted) is reported as it stands. instance is the sandbox instance id and has a value only when phase is available — otherwise it is null, so poll devops.units.get until the unit is available and call again. A start refused because another transition is already in flight answers 409 UNIT_INVALID_STATE.
3455
+ */
3456
+ export declare const devopsUnitsConnect: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsConnectData, ThrowOnError>) => RequestResult<DevopsUnitsConnectResponses, DevopsUnitsConnectErrors, ThrowOnError>;
3457
+ /**
3458
+ * Run a command inside a unit
3459
+ *
3460
+ * Run one command inside the unit's own machine, and answer what it printed: exitCode, stdout and stderr, verbatim (the sandbox already caps their length). This is the door for a caller that holds no reach of the machine on its own — an agent whose credential opens development units — and it goes through the unit, the way `gh codespace ssh` goes through the codespace rather than the VM underneath. The command's environment carries the caller's signature — GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL are the caller's principal id and its noreply address — so a commit made here is signed by whoever ran it, and a checkout that has no user.email of its own is configured with the change's initiator when the unit is created. cwd defaults to the unit's repository directory. timeoutMs defaults to 120000 milliseconds and may not exceed 600000. A non-zero exit code is a result, not an error: it comes back in exitCode and is recorded on the unit's transitions as EXIT_<code> with the first line of stderr. The unit must be available with a machine, or the call answers 409 UNIT_INVALID_STATE — start it first; a unit of another organization answers 404 UNIT_NOT_FOUND, exactly as an unknown id does. The machine holds no git credential, so a commit made here still reaches the remote through devops.units.push; a command that fails to run at all answers 500 EXECUTION_FAILED and the machine's own words are in the unit's transitions.
3461
+ */
3462
+ export declare const devopsUnitsExec: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsExecData, ThrowOnError>) => RequestResult<DevopsUnitsExecResponses, DevopsUnitsExecErrors, ThrowOnError>;
3463
+ /**
3464
+ * List a unit's transitions
3465
+ *
3466
+ * List the records of what was asked of a unit, oldest first, one record per verb. Each record says the verb, who asked and why, which spec version it was applied to, when it started and finished, and whether it is still pending, succeeded or failed; a failed record carries the sandbox's own code and words. Use it to see why a unit is in its current phase, or to see that a verb was refused at the sandbox rather than by the platform. Records are only appended, so a page read earlier stays valid.
3467
+ */
3468
+ export declare const devopsUnitsTransitionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsTransitionsListData, ThrowOnError>) => RequestResult<DevopsUnitsTransitionsListResponses, DevopsUnitsTransitionsListErrors, ThrowOnError>;
3469
+ /**
3470
+ * List knowledge bases
3471
+ *
3472
+ * Lists knowledge bases visible to the caller, newest first by default. Use last_id as after to read the next page; for example, ?limit=20.
3473
+ */
3474
+ export declare const knowledgeListVectorStores: <ThrowOnError extends boolean = false>(options?: Options<KnowledgeListVectorStoresData, ThrowOnError>) => RequestResult<KnowledgeListVectorStoresResponses, KnowledgeListVectorStoresErrors, ThrowOnError>;
3475
+ /**
3476
+ * Create knowledge base
3477
+ *
3478
+ * Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {"name":"Refund policies"}.
3479
+ */
3480
+ export declare const knowledgeCreateVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCreateVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeCreateVectorStoreResponses, KnowledgeCreateVectorStoreErrors, ThrowOnError>;
3481
+ /**
3482
+ * Delete knowledge base
3483
+ *
3484
+ * Remove a knowledge base from active use while keeping a recovery window. Unlike OpenAI vector stores, native DELETE returns the store with status=deleting and ISO purge_at, retains it for 7 days and is idempotent on repeat. Retrieve remains 200; object operations return 409. Use restore before purge_at to recover it, or purge to remove it irreversibly.
3485
+ */
3486
+ export declare const knowledgeDeleteVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeDeleteVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeDeleteVectorStoreResponses, KnowledgeDeleteVectorStoreErrors, ThrowOnError>;
3487
+ /**
3488
+ * Retrieve knowledge base
3489
+ *
3490
+ * Retrieves a knowledge base using an id returned by create or list. Add ?expand=files to include the first page of attached files. Soft-deleted stores remain readable with status=deleting until purged.
3491
+ */
3492
+ export declare const knowledgeRetrieveVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeRetrieveVectorStoreResponses, KnowledgeRetrieveVectorStoreErrors, ThrowOnError>;
3493
+ /**
3494
+ * Update knowledge base
3495
+ *
3496
+ * Updates an active knowledge base using its returned id. Omitted fields stay unchanged; metadata replaces the whole map. Example body: {"name":"Refund policies"}.
3497
+ */
3498
+ export declare const knowledgeUpdateVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeUpdateVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeUpdateVectorStoreResponses, KnowledgeUpdateVectorStoreErrors, ThrowOnError>;
3499
+ /**
3500
+ * Search knowledge base
3501
+ *
3502
+ * Search ingested text to answer a question or find supporting passages. Native results contain one chunk each, so file_id can repeat; max_num_results counts chunks (1–50, default 10), while the compatible URL groups results by file. Unlike OpenAI vector stores, next_page is always null even when has_more is true. Only completed attachments are searchable. For keyword-only retrieval set ranking_options.hybrid_search to {"embedding_weight":0,"text_weight":1}; omit rewrite_query or set it to false to avoid query rewriting. Unlike OpenAI, ranker auto does not rerank; only default-2024-11-15 requests reranking. Set praxis.explain=true to inspect scores and use returned content[].chunk_id to retrieve a segment.
3503
+ */
3504
+ export declare const knowledgeSearchVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeSearchVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeSearchVectorStoreResponses, KnowledgeSearchVectorStoreErrors, ThrowOnError>;
3505
+ /**
3506
+ * List files
3507
+ *
3508
+ * Lists attached files and their ingestion status, newest attachment first by default. Use last_id as after to continue; ?filter=failed selects files that can be retried.
3509
+ */
3510
+ export declare const knowledgeListFiles: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListFilesData, ThrowOnError>) => RequestResult<KnowledgeListFilesResponses, KnowledgeListFilesErrors, ThrowOnError>;
3511
+ /**
3512
+ * Add file
3513
+ *
3514
+ * Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.
3515
+ */
3516
+ export declare const knowledgeAttachFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeAttachFileData, ThrowOnError>) => RequestResult<KnowledgeAttachFileResponses, KnowledgeAttachFileErrors, ThrowOnError>;
3517
+ /**
3518
+ * Remove file
3519
+ *
3520
+ * Removes the file from search immediately; does not delete the original File.
3521
+ */
3522
+ export declare const knowledgeRemoveFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRemoveFileData, ThrowOnError>) => RequestResult<KnowledgeRemoveFileResponses, KnowledgeRemoveFileErrors, ThrowOnError>;
3523
+ /**
3524
+ * Retrieve file
3525
+ *
3526
+ * Retrieves an attached file using the id returned by attachment or file listing. Poll this operation until status leaves in_progress to observe the ingestion outcome.
3527
+ */
3528
+ export declare const knowledgeRetrieveFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileResponses, KnowledgeRetrieveFileErrors, ThrowOnError>;
3529
+ /**
3530
+ * Update file attributes
3531
+ *
3532
+ * Replaces search-filter attributes of an existing attachment without reingesting its content. Use an attached file id. Example body: {"attributes":{"category":"refund"}}; null clears the attributes.
3533
+ */
3534
+ export declare const knowledgeUpdateFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeUpdateFileData, ThrowOnError>) => RequestResult<KnowledgeUpdateFileResponses, KnowledgeUpdateFileErrors, ThrowOnError>;
3535
+ /**
3536
+ * Read extracted content
3537
+ *
3538
+ * Extracted text chunks may overlap. Image content can be a generated description rather than verbatim OCR.
3539
+ */
3540
+ export declare const knowledgeRetrieveFileContent: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileContentData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileContentResponses, KnowledgeRetrieveFileContentErrors, ThrowOnError>;
3541
+ /**
3542
+ * Create file batch
3543
+ *
3544
+ * Attaches existing Files as a batch for asynchronous ingestion. Supply exactly one of file_ids or files; files allows per-file settings. Existing attachments are reused. Read the returned batch id to monitor status.
3545
+ */
3546
+ export declare const knowledgeCreateFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCreateFileBatchData, ThrowOnError>) => RequestResult<KnowledgeCreateFileBatchResponses, KnowledgeCreateFileBatchErrors, ThrowOnError>;
3547
+ /**
3548
+ * Retrieve file batch
3549
+ *
3550
+ * Retrieves a batch created in this knowledge base, including current status and file counts. Use the batch id returned by batch creation to monitor ingestion.
3551
+ */
3552
+ export declare const knowledgeRetrieveFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileBatchData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileBatchResponses, KnowledgeRetrieveFileBatchErrors, ThrowOnError>;
3553
+ /**
3554
+ * Cancel file batch
3555
+ *
3556
+ * Cancels only in-progress batches and pending files. Completed, failed and cancelled batches return unchanged (200, idempotent).
3557
+ */
3558
+ export declare const knowledgeCancelFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCancelFileBatchData, ThrowOnError>) => RequestResult<KnowledgeCancelFileBatchResponses, KnowledgeCancelFileBatchErrors, ThrowOnError>;
3559
+ /**
3560
+ * List batch files
3561
+ *
3562
+ * Lists files still attached from the identified batch, newest attachment first by default. Use the batch creation id and ?filter=failed to inspect failures; last_id is the next after cursor.
3563
+ */
3564
+ export declare const knowledgeListBatchFiles: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListBatchFilesData, ThrowOnError>) => RequestResult<KnowledgeListBatchFilesResponses, KnowledgeListBatchFilesErrors, ThrowOnError>;
3565
+ /**
3566
+ * Restore knowledge base
3567
+ *
3568
+ * Restores a deleting store within 7 days. Active stores return 409 VECTOR_STORE_INVALID_STATE; absent stores return 404. Empty body is allowed.
3569
+ */
3570
+ export declare const knowledgeRestoreVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRestoreVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeRestoreVectorStoreResponses, KnowledgeRestoreVectorStoreErrors, ThrowOnError>;
3571
+ /**
3572
+ * Permanently purge knowledge base
3573
+ *
3574
+ * Immediately and irreversibly clears a deleting store using the retention cleanup path. Active stores return 409; absent stores return 404. Empty body is allowed.
3575
+ */
3576
+ export declare const knowledgePurgeVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgePurgeVectorStoreData, ThrowOnError>) => RequestResult<KnowledgePurgeVectorStoreResponses, KnowledgePurgeVectorStoreErrors, ThrowOnError>;
3577
+ /**
3578
+ * Retry failed file
3579
+ *
3580
+ * Retries only failed files; other states return 409 FILE_INVALID_STATE. Retry after failure has not yet been observed in the documented run.
3581
+ */
3582
+ export declare const knowledgeRetryFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetryFileData, ThrowOnError>) => RequestResult<KnowledgeRetryFileResponses, KnowledgeRetryFileErrors, ThrowOnError>;
3583
+ /**
3584
+ * List file segments
3585
+ *
3586
+ * Lists the stored chunks of an attached file, ordered by increasing segment index by default. Use the attachment id and last_id as after to continue; returned chunk ids can be retrieved individually.
3587
+ */
3588
+ export declare const knowledgeListSegments: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListSegmentsData, ThrowOnError>) => RequestResult<KnowledgeListSegmentsResponses, KnowledgeListSegmentsErrors, ThrowOnError>;
3589
+ /**
3590
+ * Retrieve segment
3591
+ *
3592
+ * Retrieves one chunk and its term statistics. Take chunk_id from segment listing or native search content; the chunk must belong to this knowledge base.
3593
+ */
3594
+ export declare const knowledgeRetrieveSegment: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveSegmentData, ThrowOnError>) => RequestResult<KnowledgeRetrieveSegmentResponses, KnowledgeRetrieveSegmentErrors, ThrowOnError>;
3595
+ /**
3596
+ * List events
3597
+ *
3598
+ * Reads events for this knowledge base in increasing sequence order, including while soft-deleted. Pass next_seq as after_seq to continue; null next_seq marks the current end. Example: ?after_seq=0&limit=20.
3599
+ */
3600
+ export declare const knowledgeListEvents: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListEventsData, ThrowOnError>) => RequestResult<KnowledgeListEventsResponses, KnowledgeListEventsErrors, ThrowOnError>;
3601
+ /**
3602
+ * List libraries
3603
+ *
3604
+ * List libraries owned by the caller, newest first. By default, deleting and deleted libraries are excluded; use status=deleting to find libraries awaiting purge. All supplied label pairs must match.
3605
+ */
3606
+ export declare const mediaListLibraries: <ThrowOnError extends boolean = false>(options?: Options<MediaListLibrariesData, ThrowOnError>) => RequestResult<MediaListLibrariesResponses, MediaListLibrariesErrors, ThrowOnError>;
3607
+ /**
3608
+ * Create library
3609
+ *
3610
+ * Create a library owned by the caller with a name, optional labels and understanding settings. Understanding is enabled by default; the returned id is used for subsequent asset operations.
3611
+ */
3612
+ export declare const mediaCreateLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaCreateLibraryData, ThrowOnError>) => RequestResult<MediaCreateLibraryResponses, MediaCreateLibraryErrors, ThrowOnError>;
3613
+ /**
3614
+ * Create frame URLs
3615
+ *
3616
+ * Media creates JPEG frame URLs for inspecting one or more moments in a video without downloading the original. Obtain library_id from libraries and asset_id plus duration from assets. Send 1–20 integer microsecond timestamps strictly below duration, for example {"at_micros":[0,1000000],"width":640}. Only video assets are supported; audio and images return INVALID_PARAMS. Width defaults to 640 and accepts 160, 320 or 640. This read operation does not store a new asset or rerun understanding. Fetch each returned URL to obtain the frame; delivery usage follows media pricing. Authenticated links expire after 300 seconds; upload links remain public and permanent. Reissue expired links. Foreign libraries and assets return 404 without revealing their existence.
3617
+ */
3618
+ export declare const mediaCreateFrameUrls: <ThrowOnError extends boolean = false>(options: Options<MediaCreateFrameUrlsData, ThrowOnError>) => RequestResult<MediaCreateFrameUrlsResponses, MediaCreateFrameUrlsErrors, ThrowOnError>;
3619
+ /**
3620
+ * Delete library
3621
+ *
3622
+ * Soft-delete an active library, returning its deleting status and purge_at deadline. Asset operations and delivery become unavailable; the library can be restored before purge_at. Repeated deletion while deleting returns the current library.
3623
+ */
3624
+ export declare const mediaDeleteLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteLibraryData, ThrowOnError>) => RequestResult<MediaDeleteLibraryResponses, MediaDeleteLibraryErrors, ThrowOnError>;
3625
+ /**
3626
+ * Get library
3627
+ *
3628
+ * Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.
3629
+ */
3630
+ export declare const mediaGetLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaGetLibraryData, ThrowOnError>) => RequestResult<MediaGetLibraryResponses, MediaGetLibraryErrors, ThrowOnError>;
3631
+ /**
3632
+ * Update library
3633
+ *
3634
+ * Update an active library. Set hotwords for spelling evidence in subsequent transcripts; [] disables inferred vocabulary. Transcript understanding calls the timestamped ASR, optional reference ASR and correction model through the existing metered model path. Reprocess assets to apply new settings to existing transcripts.
3635
+ */
3636
+ export declare const mediaUpdateLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateLibraryData, ThrowOnError>) => RequestResult<MediaUpdateLibraryResponses, MediaUpdateLibraryErrors, ThrowOnError>;
3637
+ /**
3638
+ * Restore library
3639
+ *
3640
+ * Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.
3641
+ */
3642
+ export declare const mediaRestoreLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaRestoreLibraryData, ThrowOnError>) => RequestResult<MediaRestoreLibraryResponses, MediaRestoreLibraryErrors, ThrowOnError>;
3643
+ /**
3644
+ * Purge library
3645
+ *
3646
+ * Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.
3647
+ */
3648
+ export declare const mediaPurgeLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaPurgeLibraryData, ThrowOnError>) => RequestResult<MediaPurgeLibraryResponses, MediaPurgeLibraryErrors, ThrowOnError>;
3649
+ /**
3650
+ * List assets
3651
+ *
3652
+ * List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.
3653
+ */
3654
+ export declare const mediaListAssets: <ThrowOnError extends boolean = false>(options: Options<MediaListAssetsData, ThrowOnError>) => RequestResult<MediaListAssetsResponses, MediaListAssetsErrors, ThrowOnError>;
3655
+ /**
3656
+ * Upload asset
3657
+ *
3658
+ * Upload content into an active library and return the stored asset. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing asset. Chunk uploads require both chunk headers. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
3659
+ */
3660
+ export declare const mediaUploadAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUploadAssetData, ThrowOnError>) => RequestResult<MediaUploadAssetResponses, MediaUploadAssetErrors, ThrowOnError>;
3661
+ /**
3662
+ * Import file
3663
+ *
3664
+ * Copy a File into an independent Media asset. New assets default to organization-private delivery (type=authenticated); explicitly set type=upload for public originals and derivatives. Omitting type on overwrite preserves the current type. Deleting the source File does not delete this copy. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
3665
+ */
3666
+ export declare const mediaImportAsset: <ThrowOnError extends boolean = false>(options: Options<MediaImportAssetData, ThrowOnError>) => RequestResult<MediaImportAssetResponses, MediaImportAssetErrors, ThrowOnError>;
3667
+ /**
3668
+ * Delete asset
3669
+ *
3670
+ * Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.
3671
+ */
3672
+ export declare const mediaDeleteAsset: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteAssetData, ThrowOnError>) => RequestResult<MediaDeleteAssetResponses, MediaDeleteAssetErrors, ThrowOnError>;
3673
+ /**
3674
+ * Get asset
3675
+ *
3676
+ * Read a non-deleted asset by its asset_id in an active library, including content hashes, processing progress and available previews. Missing or deleted assets return ASSET_NOT_FOUND.
3677
+ */
3678
+ export declare const mediaGetAsset: <ThrowOnError extends boolean = false>(options: Options<MediaGetAssetData, ThrowOnError>) => RequestResult<MediaGetAssetResponses, MediaGetAssetErrors, ThrowOnError>;
3679
+ /**
3680
+ * Update asset
3681
+ *
3682
+ * Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.
3683
+ */
3684
+ export declare const mediaUpdateAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateAssetData, ThrowOnError>) => RequestResult<MediaUpdateAssetResponses, MediaUpdateAssetErrors, ThrowOnError>;
3685
+ /**
3686
+ * Restore asset version
3687
+ *
3688
+ * Make a kept version of an asset its current bytes again. Use asset_id from a listing and version_id from GET /media/v1/libraries/{library_id}/assets/{asset_id}?versions=true; versions exist only for assets overwritten while the library’s backup setting was on. A restore is itself an overwrite: the restored bytes become a new version numbered past the highest (its restored_from names the version it came from), understanding runs again on the restored bytes, and the bytes it replaces are always kept as a version, whatever the backup setting says, so restoring never loses anything. A version whose bytes are another kind than the asset is now (an image overwritten by a video) is refused with OPERATION_NOT_SUPPORTED. Restoring is free. Example: POST /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/versions/3f2a9c1e5b7d4e6f8a0b1c2d3e4f5a6b/restore.
3689
+ */
3690
+ export declare const mediaRestoreAssetVersion: <ThrowOnError extends boolean = false>(options: Options<MediaRestoreAssetVersionData, ThrowOnError>) => RequestResult<MediaRestoreAssetVersionResponses, MediaRestoreAssetVersionErrors, ThrowOnError>;
3691
+ /**
3692
+ * Reprocess asset
3693
+ *
3694
+ * Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable completed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Replaced understandings become superseded, and processing finishes asynchronously. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
3695
+ */
3696
+ export declare const mediaReprocessAsset: <ThrowOnError extends boolean = false>(options: Options<MediaReprocessAssetData, ThrowOnError>) => RequestResult<MediaReprocessAssetResponses, MediaReprocessAssetErrors, ThrowOnError>;
3697
+ /**
3698
+ * List understandings
3699
+ *
3700
+ * List understanding results for an asset, ordered by creation time. Use the cursor to continue; include_superseded also returns replaced records. The optional shots array contains current-version shot boundaries and per-shot captions, scene, location guesses, visible text and confidence flags; it is absent on legacy records. Location guesses and folder mismatch are unverified hints. Correction-enabled transcripts expose text_original, corrected text and a correction audit. Their timed data array remains suitable for subtitles. Reference failure is marked missing; correction failure returns the original verbatim. Model inference uses the existing metered model path.
3701
+ */
3702
+ export declare const mediaListUnderstandings: <ThrowOnError extends boolean = false>(options: Options<MediaListUnderstandingsData, ThrowOnError>) => RequestResult<MediaListUnderstandingsResponses, MediaListUnderstandingsErrors, ThrowOnError>;
3703
+ /**
3704
+ * Expression search
3705
+ *
3706
+ * Search active assets using the supported filter-expression syntax, sorting and cursor pagination. Empty expression matches all assets. Tags and context require with_field; inspect the exactness flags before treating counts as complete.
3707
+ */
3708
+ export declare const mediaExpressionSearch: <ThrowOnError extends boolean = false>(options: Options<MediaExpressionSearchData, ThrowOnError>) => RequestResult<MediaExpressionSearchResponses, MediaExpressionSearchErrors, ThrowOnError>;
3709
+ /**
3710
+ * Visual search
3711
+ *
3712
+ * Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.
3713
+ */
3714
+ export declare const mediaVisualSearch: <ThrowOnError extends boolean = false>(options: Options<MediaVisualSearchData, ThrowOnError>) => RequestResult<MediaVisualSearchResponses, MediaVisualSearchErrors, ThrowOnError>;
3715
+ /**
3716
+ * Semantic search
3717
+ *
3718
+ * Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.
3719
+ */
3720
+ export declare const mediaSemanticSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSemanticSearchData, ThrowOnError>) => RequestResult<MediaSemanticSearchResponses, MediaSemanticSearchErrors, ThrowOnError>;
3721
+ /**
3722
+ * Semantic search alias
3723
+ *
3724
+ * Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.
3725
+ */
3726
+ export declare const mediaSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSearchData, ThrowOnError>) => RequestResult<MediaSearchResponses, MediaSearchErrors, ThrowOnError>;
3727
+ /**
3728
+ * List folders
3729
+ *
3730
+ * List all immediate child folders under parent, or under the root when parent is omitted. Counts include descendant assets. The result is unpaginated; limit and cursor are rejected. understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.
3731
+ */
3732
+ export declare const mediaListFolders: <ThrowOnError extends boolean = false>(options: Options<MediaListFoldersData, ThrowOnError>) => RequestResult<MediaListFoldersResponses, MediaListFoldersErrors, ThrowOnError>;
3733
+ /**
3734
+ * Create batch
3735
+ *
3736
+ * Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {"action":"reprocess","selector":{"expression":"processing_state=failed AND failure_code=UPSTREAM_FAILED"}}. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
3737
+ */
3738
+ export declare const mediaCreateBatch: <ThrowOnError extends boolean = false>(options: Options<MediaCreateBatchData, ThrowOnError>) => RequestResult<MediaCreateBatchResponses, MediaCreateBatchErrors, ThrowOnError>;
3739
+ /**
3740
+ * Get batch
3741
+ *
3742
+ * Read a batch job’s status, successful and failed item counts, and a bounded list of failed items. Use the id returned by batch creation; a job outside this library is not found.
3743
+ */
3744
+ export declare const mediaGetBatch: <ThrowOnError extends boolean = false>(options: Options<MediaGetBatchData, ThrowOnError>) => RequestResult<MediaGetBatchResponses, MediaGetBatchErrors, ThrowOnError>;
3745
+ /**
3746
+ * Batch assets alias
3747
+ *
3748
+ * Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {"action":"reprocess","selector":{"expression":"processing_state=failed AND failure_code=UPSTREAM_FAILED"}}. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
3749
+ */
3750
+ export declare const mediaBatchAssets: <ThrowOnError extends boolean = false>(options: Options<MediaBatchAssetsData, ThrowOnError>) => RequestResult<MediaBatchAssetsResponses, MediaBatchAssetsErrors, ThrowOnError>;
3751
+ /**
3752
+ * Get job
3753
+ *
3754
+ * Read the current batch or generation Job status and progress. For generation, inspect outputs and failures; a successful output has already landed in the library as an asset.
3755
+ */
3756
+ export declare const mediaGetJob: <ThrowOnError extends boolean = false>(options: Options<MediaGetJobData, ThrowOnError>) => RequestResult<MediaGetJobResponses, MediaGetJobErrors, ThrowOnError>;
3757
+ /**
3758
+ * List events
3759
+ *
3760
+ * Read library events in sequence order for observing asset writes and understanding progress. Obtain library_id from creation or listing; continue with after_seq for asc or before_seq for desc, without combining both. Use next_cursor when supplied. Reads do not start or retry understanding.
3761
+ */
3762
+ export declare const mediaListEvents: <ThrowOnError extends boolean = false>(options: Options<MediaListEventsData, ThrowOnError>) => RequestResult<MediaListEventsResponses, MediaListEventsErrors, ThrowOnError>;
3763
+ /**
3764
+ * Create delivery token
3765
+ *
3766
+ * Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is 900 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.
3767
+ */
3768
+ export declare const mediaCreateDeliveryToken: <ThrowOnError extends boolean = false>(options: Options<MediaCreateDeliveryTokenData, ThrowOnError>) => RequestResult<MediaCreateDeliveryTokenResponses, MediaCreateDeliveryTokenErrors, ThrowOnError>;
3769
+ /**
3770
+ * Get default library
3771
+ *
3772
+ * Return this organization’s default library. Calling ensures the organization’s default library exists (ADR-093): the first call creates it and later calls return the same library, so this is the method to call before writing when no library id is known. Generated and edited media land here when no library is named. The path segment {lib} accepts the literal default, which resolves to this library before the credential check — so an agent that has never listed libraries can still write to the right place. Returns the same Library object as libraries.retrieve; a credential bound to one library reaches this only when that binding covers the default library.
3773
+ */
3774
+ export declare const mediaGetDefaultLibrary: <ThrowOnError extends boolean = false>(options?: Options<MediaGetDefaultLibraryData, ThrowOnError>) => RequestResult<MediaGetDefaultLibraryResponses, MediaGetDefaultLibraryErrors, ThrowOnError>;
3775
+ /**
3776
+ * Set default library
3777
+ *
3778
+ * Point this organization’s default library at an existing library. Calling ensures the organization’s default library exists (ADR-093): the path is resolved before the credential check, so a first call creates the default library when there is none and then repoints it. The path segment {lib} accepts the literal default, which resolves to this library before the credential check. Supply library_id from library creation or listing; the library must be active and belong to the organization. This changes where library-less generation and uploads land across the whole organization, so it affects other callers as well as this one. It does not move or copy any asset — assets already in the previous default library stay there. Returns the library now set as the default. Deleting the default library is refused with LIBRARY_IS_DEFAULT until another library is made the default.
3779
+ */
3780
+ export declare const mediaSetDefaultLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaSetDefaultLibraryData, ThrowOnError>) => RequestResult<MediaSetDefaultLibraryResponses, MediaSetDefaultLibraryErrors, ThrowOnError>;
3781
+ /**
3782
+ * Get asset lineage
3783
+ *
3784
+ * Read the whole edit tree containing one asset, so a caller sees what it was edited from and what was edited from it. Use library_id from creation or listing and asset_id from asset creation or listing; library_id also accepts the literal default, which resolves to the organization’s default library before the credential check. The response names the root the tree descends from, the asset asked about, and every step between them, each with the operation, prompt and creation time that produced it. Deleted assets stay in the tree, marked deleted, so the chain stays connected after cleanup. This is a read: it starts no processing and changes no asset. Example: GET /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/lineage.
3785
+ */
3786
+ export declare const mediaGetAssetLineage: <ThrowOnError extends boolean = false>(options: Options<MediaGetAssetLineageData, ThrowOnError>) => RequestResult<MediaGetAssetLineageResponses, MediaGetAssetLineageErrors, ThrowOnError>;
3787
+ /**
3788
+ * Generate image
3789
+ *
3790
+ * Generate one or more images from a text prompt and store them straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still generate. The request body is the image request itself: prompt is required, and n, size, background, output_format, output, references, seed, model, asset_folder and understanding are optional. Set output to sticker for a cut-out with a transparent background. references attach existing assets with a role — edit_target, style, structure or subject — and a model that cannot honour a role returns REFERENCE_TYPE_MISMATCH. A reference may also be an element id (a character, product, scene or brand from the materials endpoints): the service expands it into the element’s pictures and appends its description to the prompt, so the same subject stays consistent across requests. Aspect ratio is not accepted for images; name size instead. Generation is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, final once the job is completed or failed) and each produced asset carries its own part in provenance.cost; nothing is charged for a request refused before it starts. When the job is done, tell the person the usage amount and give them each output’s viewer_url, which opens the asset in the Console. The response is 202 with a queued Job whose type is image and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced assets from the library. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice. Example: POST /media/v1/libraries/default/images/generations with {"prompt":"A red kite above a calm sea at sunrise","n":1,"output":"sticker"}.
3791
+ */
3792
+ export declare const mediaGenerateImage: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateImageData, ThrowOnError>) => RequestResult<MediaGenerateImageResponses, MediaGenerateImageErrors, ThrowOnError>;
3793
+ /**
3794
+ * Generate video
3795
+ *
3796
+ * Generate one or more videos from a text prompt and store them straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still generate. mode says what the video is anchored to: text needs only a prompt, image animates the existing image named by first_frame, and first_last interpolates between first_frame and last_frame. The frames must be image or sticker assets of the same library; a fetchable URL for each is sent to the model and recorded in the produced asset’s provenance. mode reference keeps 1 to 9 pictures named in references consistent (role subject or style; not combinable with frames; a model may take fewer); a reference may be an element id, which the service expands into the element’s pictures and description. output gif is refused with OPERATION_NOT_SUPPORTED in this release, and negative_prompt, references outside mode reference and an unknown mode are refused before anything is charged. Every output lands in the library as a video asset as soon as it is ready — there is no candidate state and nothing expires, so outputs.save is not part of this lane. Generation is billed per second by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals) and each produced asset carries its own part in provenance.cost; a refused request costs nothing. When the job is done, tell the person the usage amount and give them each output’s viewer_url. The response is 202 with a queued Job whose type is video and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced assets from the library. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice. Example: POST /media/v1/libraries/default/videos/generations with {"prompt":"A red kite above a calm sea at sunrise","mode":"text","n":1}.
3797
+ */
3798
+ export declare const mediaGenerateVideo: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateVideoData, ThrowOnError>) => RequestResult<MediaGenerateVideoResponses, MediaGenerateVideoErrors, ThrowOnError>;
3799
+ /**
3800
+ * Edit asset
3801
+ *
3802
+ * Edit an existing asset and store the result as a new asset. Use library_id from creation or listing and asset_id from asset creation or listing; library_id also accepts the literal default, which resolves to the organization’s default library before the credential check. The source asset is never overwritten: the new asset hangs under it in the edit chain, records it in derived_from, and reads back with assets.lineage, so earlier steps stay reachable. The body is operation plus the optional model, asset_folder, understanding and idempotency_key; operation.type selects the edit and carries that operation’s own fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, and to_video, frame and resynthesize on the material each takes; every other type in the operation vocabulary is refused with OPERATION_NOT_SUPPORTED. remove_background on a video produces a portrait matte video for compositing without a green screen: output picks alpha (the default: the person cut out on a transparent background, to lay over slides directly or use as a Cut track mask with channel alpha) or mask (a black-and-white keying matte, which the current matting line does not produce and refuses), and model picks the matting model from types.matting.models of the generation capabilities — read it first, because a request that names none takes the first available matting model and a video is refused with OPERATION_NOT_SUPPORTED, in the model field, when the platform has published none. output and model mean nothing for an image source and are refused with INVALID_PARAMS naming the field rather than ignored. inpaint takes mask, a PNG File identifier beginning with file- whose transparent area marks the region to replace, plus the prompt describing what belongs there. Aspects beyond the source asset’s material type return REFERENCE_TYPE_MISMATCH. Editing is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals) and the new asset carries it in provenance.cost; when the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is image, whose operation is the edit applied, and whose source_asset_id is the asset edited; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until it is completed or failed, then read the produced asset. Example: POST /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/edits with {"operation":{"type":"variations","strength":"subtle"}}.
3803
+ */
3804
+ export declare const mediaEditAsset: <ThrowOnError extends boolean = false>(options: Options<MediaEditAssetData, ThrowOnError>) => RequestResult<MediaEditAssetResponses, MediaEditAssetErrors, ThrowOnError>;
3805
+ /**
3806
+ * Create speech
3807
+ *
3808
+ * Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak. voice is optional and may be omitted, in which case the model’s default voice is used; when it is given it must be one of the voices of the model being used — read them from the types.speech list of GET /media/v1/generation/capabilities, which gives each voice an id, a name, a gender, a language and a style, or pass a voice material id of this same library — and a voice that is neither is refused with INVALID_PARAMS in the voice field before any job exists, so a wrong name is free to try but reading the capabilities first is free without trying. Do not use OpenAI voice names such as alloy or aura: they are not valid here. speed is passed to the provider unchanged, and instructions and language are refused with OPERATION_NOT_SUPPORTED in this release. Cloning a voice from recordings is not available yet. The provider caps one request at a short stretch of text, so a long input is cut into segments at paragraph and sentence boundaries and synthesised in order, then joined into the single recording the library receives: nothing is spoken twice and nothing is dropped. Because the segments are joined byte for byte, a multi-segment input accepts only response_format mp3 (the default) or pcm; opus is available for a single-segment input. A speech job has one result however many segments it took. Synthesis is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, the sum over every segment) and the recording carries it in provenance.cost; a request refused before it starts costs nothing. When the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is speech and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced asset from the library — the recording carries material_type audio, audio_role voice, ai_generated true, and provenance naming this job, the text spoken and the model. Send Idempotency-Key, or idempotency_key in the body, to retry without synthesising and charging twice. Example: POST /media/v1/libraries/default/audio/speech with {"input":"A red kite above a calm sea at sunrise."}, or with {"input":"A red kite above a calm sea at sunrise.","voice":"zh_female_wenroumama_uranus_bigtts"} for a gentle female voice.
3809
+ */
3810
+ export declare const mediaCreateSpeech: <ThrowOnError extends boolean = false>(options: Options<MediaCreateSpeechData, ThrowOnError>) => RequestResult<MediaCreateSpeechResponses, MediaCreateSpeechErrors, ThrowOnError>;
3811
+ /**
3812
+ * Create material
3813
+ *
3814
+ * Create a reusable element in a library: a character, product, scene or brand that image and video generation can name so the same subject stays consistent. Use library_id from creation or listing. Upload the pictures first (character, product and scene need 1 to 8; a brand needs none), then send material_type, name and body; every asset the body names must be in this same library, or the request is refused before anything is saved. To use the element, put its asset_id in references of POST /media/v1/libraries/{library_id}/images/generations, or of video generations with mode reference: the service replaces it with the element’s pictures (keeping your role and strength) and appends its description to the prompt; a brand adds only text and palette. Expanded pictures count against the model’s limit (10 for images, 9 for videos). Creating an element is free. Example: POST /media/v1/libraries/lib_example/materials with {"material_type":"brand","name":"Docs brand","body":{"description":"Calm, plain-spoken tone.","colors":[{"hex":"#1f6feb","name":"Praxis blue"}]}}.
3815
+ */
3816
+ export declare const mediaCreateMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaCreateMaterialData, ThrowOnError>) => RequestResult<MediaCreateMaterialResponses, MediaCreateMaterialErrors, ThrowOnError>;
3817
+ /**
3818
+ * Get material
3819
+ *
3820
+ * Read one element with its body, its current version and the assets it depends on. Use library_id from creation or listing and asset_id from element creation or from an asset listing filtered by material_type. An id that is not an element of this library answers 404. Example: GET /media/v1/libraries/lib_example/materials/9dfa312ef9bc4b00816339b598b1152c.
3821
+ */
3822
+ export declare const mediaGetMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaGetMaterialData, ThrowOnError>) => RequestResult<MediaGetMaterialResponses, MediaGetMaterialErrors, ThrowOnError>;
3823
+ /**
3824
+ * Update material
3825
+ *
3826
+ * Rename an element, move it, or replace its body. A new body is validated like a new element, replaces the old body whole and bumps version; generations that already used the element keep recording the version they read, and an Idempotency-Key replayed after the change is treated as a different request. Use library_id and asset_id from element creation. Example: PATCH /media/v1/libraries/lib_example/materials/9dfa312ef9bc4b00816339b598b1152c with {"name":"Docs brand v2"}.
3827
+ */
3828
+ export declare const mediaUpdateMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateMaterialData, ThrowOnError>) => RequestResult<MediaUpdateMaterialResponses, MediaUpdateMaterialErrors, ThrowOnError>;
3829
+ /**
3830
+ * Summarize understanding failures
3831
+ *
3832
+ * Inspect current understanding failures before retrying. Use library_id from library creation or listing. Groups include code, output kind, actual producer model, retryability and up to five sample asset IDs. At most 1024 detailed groups plus two overflow groups are returned; overflow groups separate retryable and unrecoverable entries and mark overflow=true. Unknown failure codes remain retryable. Historical counts are provisional while counts_complete is false. Example: GET /media/v1/libraries/lib_example/understandings/failure_summary.
3833
+ */
3834
+ export declare const mediaUnderstandingFailureSummary: <ThrowOnError extends boolean = false>(options: Options<MediaUnderstandingFailureSummaryData, ThrowOnError>) => RequestResult<MediaUnderstandingFailureSummaryResponses, MediaUnderstandingFailureSummaryErrors, ThrowOnError>;
3835
+ /**
3836
+ * List understanding results across a library
3837
+ *
3838
+ * Read current understanding entries across one library without fetching every asset separately. Use library_id from creation or listing. folder includes descendants; kinds is a comma-separated list of output kinds. Entries are ordered by asset_id and then understanding id. Continue with next_cursor and the same folder and kinds; limit defaults to 100 and cannot exceed 100. Superseded, deleted and old-version entries are excluded. During historical backfill, this method returns 503 CAPACITY rather than incomplete pages; poll failureSummary until counts_complete is true, then start pagination. Example: GET /media/v1/libraries/lib_example/understandings?folder=travel&kinds=caption,transcript&limit=100.
3839
+ */
3840
+ export declare const mediaListUnderstandingsByLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaListUnderstandingsByLibraryData, ThrowOnError>) => RequestResult<MediaListUnderstandingsByLibraryResponses, MediaListUnderstandingsByLibraryErrors, ThrowOnError>;
3841
+ /**
3842
+ * List jobs
3843
+ *
3844
+ * List batch and generation jobs in a library. Filter by status or by pipeline_run_id (the jobs one automation run started) and continue with next_cursor. Poll a generation Job until terminal; every produced output is already a library asset.
3845
+ */
3846
+ export declare const mediaListJobs: <ThrowOnError extends boolean = false>(options: Options<MediaListJobsData, ThrowOnError>) => RequestResult<MediaListJobsResponses, MediaListJobsErrors, ThrowOnError>;
3847
+ /**
3848
+ * Cancel job
3849
+ *
3850
+ * Cancel a queued or running generation job. Outputs already produced remain in the library; poll or read the returned Job to confirm its status. A video cannot be cancelled once the provider has started generating it: the call answers 409 JOB_INVALID_STATE (details VIDEO_ALREADY_RUNNING), and the task still finishes, is saved to the library and is charged.
3851
+ */
3852
+ export declare const mediaCancelJob: <ThrowOnError extends boolean = false>(options: Options<MediaCancelJobData, ThrowOnError>) => RequestResult<MediaCancelJobResponses, MediaCancelJobErrors, ThrowOnError>;
3853
+ /**
3854
+ * Get generation capabilities
3855
+ *
3856
+ * Read what Praxis offers for each kind of generation — image, video and speech — before asking for one, and read a speech model’s voices here before naming one. Every type answers the models available for it, the model it uses when a request names none, and what each model costs per unit; a speech model the platform publishes voices for also carries default_voice and voices there, each voice with an id, a name, a gender, a language and a style — so a request for "a gentle female voice" is answered by matching the style and gender rather than by guessing an identifier. Pass a voice id back verbatim as voice, or omit voice to take default_voice; a voice that is neither one of those nor a voice material of the library is refused with INVALID_PARAMS before any job is created. OpenAI voice names such as alloy and aura are not valid here. The video fields beside the types keep their original meaning (intents, default model, duration and aspect-ratio limits, per-library concurrency). The models come from the platform model catalogue, and an id listed here is accepted verbatim as the model field of that type’s generation request. A video model additionally carries the modes it can be driven in and the durations, aspect ratios and resolutions the catalogue has registered for it — modes, duration_seconds, aspect_ratios and resolutions — so read them before requesting video and choose a mode and a value this model lists; an empty list means the platform has not registered that option yet, and then omit the field rather than assume a value. price.amount is a decimal string with its currency; video models that charge by resolution also carry price.by_resolution, whose amount is then the cheapest tier. A model the catalogue cannot route right now is still listed, with available false, so a caller can show it as temporarily unavailable instead of hiding it. When the catalogue cannot be read the endpoint still answers: every type comes back with an empty models list and its real default_model, and the voices a speech model carries are absent rather than empty, because the voices come from the platform and not from the catalogue. Generation is charged per unit and every output is stored in the library.
3857
+ */
3858
+ export declare const mediaGetGenerationCapabilities: <ThrowOnError extends boolean = false>(options?: Options<MediaGetGenerationCapabilitiesData, ThrowOnError>) => RequestResult<MediaGetGenerationCapabilitiesResponses, MediaGetGenerationCapabilitiesErrors, ThrowOnError>;
3859
+ /**
3860
+ * List types
3861
+ *
3862
+ * Read the node and relation types registered for this organization before writing, so a create names a type the graph accepts. Each entry is one registrant's registration with its owner, version and definitions. Types cannot be created at runtime; they are registered by the owning service at deploy time, so a type missing here is not available to write.
3863
+ */
3864
+ export declare const ontologyListTypes: <ThrowOnError extends boolean = false>(options?: Options<OntologyListTypesData, ThrowOnError>) => RequestResult<OntologyListTypesResponses, OntologyListTypesErrors, ThrowOnError>;
3865
+ /**
3866
+ * Register type
3867
+ *
3868
+ * Register a node or relation type for this organization. Not open yet — this call currently answers 501 NOT_IMPLEMENTED and writes nothing, because a registration is checked and stored by the deploy gate that ships the registering service, not by a runtime call. Until it opens, read the types already in force with praxis.ontology.types.list and create records only of those types.
3869
+ */
3870
+ export declare const ontologyRegisterType: <ThrowOnError extends boolean = false>(options: Options<OntologyRegisterTypeData, ThrowOnError>) => RequestResult<unknown, OntologyRegisterTypeErrors, ThrowOnError>;
3871
+ /**
3872
+ * Retrieve type
3873
+ *
3874
+ * Read one registered type's definition before writing a record of it, to learn whether it is a node or an edge, which endpoints an edge type admits, and which origins it accepts. The name comes from types.list; a name that is not registered answers ONTOLOGY_TYPE_UNKNOWN, and writes of that type are refused.
3875
+ */
3876
+ export declare const ontologyRetrieveType: <ThrowOnError extends boolean = false>(options: Options<OntologyRetrieveTypeData, ThrowOnError>) => RequestResult<OntologyRetrieveTypeResponses, OntologyRetrieveTypeErrors, ThrowOnError>;
3877
+ /**
3878
+ * List nodes
3879
+ *
3880
+ * Discover the entities in this organization's graph and obtain node ids for retrieval, updates and relations. Filter by type, by free text over names, aliases, descriptions and facts, or by owner; limit is 1–100 and defaults to 50. Omit cursor for the first page, then copy next_cursor into the next request until it is null. A node whose content belongs to somebody else comes back as a restricted entry carrying only its id, type and name.
3881
+ */
3882
+ export declare const ontologyListNodes: <ThrowOnError extends boolean = false>(options?: Options<OntologyListNodesData, ThrowOnError>) => RequestResult<OntologyListNodesResponses, OntologyListNodesErrors, ThrowOnError>;
3883
+ /**
3884
+ * Create node
3885
+ *
3886
+ * Record one entity in the graph, for a system mirroring a record it owns. type must already be registered and ref, when given, must match that type's ref_prefix. Send an Idempotency-Key header; repeating the same key with the same content returns the first result instead of creating a second node. This writes structure only; it does not give any agent a memory.
3887
+ */
3888
+ export declare const ontologyCreateNode: <ThrowOnError extends boolean = false>(options: Options<OntologyCreateNodeData, ThrowOnError>) => RequestResult<OntologyCreateNodeResponses, OntologyCreateNodeErrors, ThrowOnError>;
3889
+ /**
3890
+ * Retrieve node
3891
+ *
3892
+ * Read one node's content and, with expand=relations, every relation on and around it. as_of reads the node as it was at that time. A node id from another organization, or one that never existed, answers ONTOLOGY_NODE_NOT_FOUND; a node you may reach but not read returns restricted true with its name only.
3893
+ */
3894
+ export declare const ontologyRetrieveNode: <ThrowOnError extends boolean = false>(options: Options<OntologyRetrieveNodeData, ThrowOnError>) => RequestResult<OntologyRetrieveNodeResponses, OntologyRetrieveNodeErrors, ThrowOnError>;
3895
+ /**
3896
+ * Update node
3897
+ *
3898
+ * Change a node's name, aliases or description when the mirrored record was renamed, without touching its type or identity. Send only the fields to change; omitted fields keep their current values and an explicitly null description clears it. Repeating the same edit converges on the same node, so this needs no Idempotency-Key.
3899
+ */
3900
+ export declare const ontologyUpdateNode: <ThrowOnError extends boolean = false>(options: Options<OntologyUpdateNodeData, ThrowOnError>) => RequestResult<OntologyUpdateNodeResponses, OntologyUpdateNodeErrors, ThrowOnError>;
3901
+ /**
3902
+ * Retrieve neighborhood
3903
+ *
3904
+ * Load the subgraph around one node instead of the whole graph — the read to use when a screen or an agent needs the context of one entity. Returns the start node, every node within depth hops of it, the relations whose both ends are in that set, and truncated true when the node limit cut the walk short. direction chooses which way relations are followed; as_of and include_invalid read the graph as those parameters do elsewhere. Visibility is exactly nodes.retrieve's — a node you may reach but not read comes back restricted with its name only, and relations touching it are withheld, so this read never reaches further than a node read does. The node id comes from nodes.list, nodes.create or a changeset; an unknown one answers ONTOLOGY_NODE_NOT_FOUND, the same answer nodes.retrieve gives.
3905
+ */
3906
+ export declare const ontologyNeighborhood: <ThrowOnError extends boolean = false>(options: Options<OntologyNeighborhoodData, ThrowOnError>) => RequestResult<OntologyNeighborhoodResponses, OntologyNeighborhoodErrors, ThrowOnError>;
3907
+ /**
3908
+ * Merge node
3909
+ *
3910
+ * Fold a duplicate node into the node that should survive, when two records are discovered to be the same entity. The merged node's relations and aliases move to the survivor and later reads of the duplicate resolve to it. Send an Idempotency-Key header; repeating the same key replays the first result. Reversal is a staff operation, not available here.
3911
+ */
3912
+ export declare const ontologyMergeNode: <ThrowOnError extends boolean = false>(options: Options<OntologyMergeNodeData, ThrowOnError>) => RequestResult<OntologyMergeNodeResponses, OntologyMergeNodeErrors, ThrowOnError>;
3913
+ /**
3914
+ * List relations
3915
+ *
3916
+ * Read the facts in the graph and obtain relation ids for retrieval, invalidation or spreading. Filter by endpoint node, by type and by direction; as_of reads the relations as they were then. Invalidated relations are omitted unless include_invalid is true. limit is 1–100 and defaults to 50; follow next_cursor until it is null.
3917
+ */
3918
+ export declare const ontologyListRelations: <ThrowOnError extends boolean = false>(options?: Options<OntologyListRelationsData, ThrowOnError>) => RequestResult<OntologyListRelationsResponses, OntologyListRelationsErrors, ThrowOnError>;
3919
+ /**
3920
+ * Create relation
3921
+ *
3922
+ * Record one fact between two existing nodes, for a system mirroring a relationship it owns. type must be registered and must admit these endpoints; fact states the relationship in one sentence. Send an Idempotency-Key header; repeating the same key returns the first result instead of writing a second relation. This writes structure only; it does not give any agent a memory.
3923
+ */
3924
+ export declare const ontologyCreateRelation: <ThrowOnError extends boolean = false>(options: Options<OntologyCreateRelationData, ThrowOnError>) => RequestResult<OntologyCreateRelationResponses, OntologyCreateRelationErrors, ThrowOnError>;
3925
+ /**
3926
+ * Retrieve relation
3927
+ *
3928
+ * Read one relation's fact and both of its clocks — valid_at and invalid_at for when it was true in the world, created_at and expired_at for when it was recorded and retired. An id from another organization, or one that never existed, answers ONTOLOGY_EDGE_NOT_FOUND.
3929
+ */
3930
+ export declare const ontologyRetrieveRelation: <ThrowOnError extends boolean = false>(options: Options<OntologyRetrieveRelationData, ThrowOnError>) => RequestResult<OntologyRetrieveRelationResponses, OntologyRetrieveRelationErrors, ThrowOnError>;
3931
+ /**
3932
+ * Invalidate relation
3933
+ *
3934
+ * Mark a relation as no longer true from a world time, when the mirrored record changed. The relation is kept — invalid_at moves and the relation still reads at an earlier as_of, so history stays answerable. Send an Idempotency-Key header; repeating the same key replays the first result. There is no delete.
3935
+ */
3936
+ export declare const ontologyInvalidateRelation: <ThrowOnError extends boolean = false>(options: Options<OntologyInvalidateRelationData, ThrowOnError>) => RequestResult<OntologyInvalidateRelationResponses, OntologyInvalidateRelationErrors, ThrowOnError>;
3937
+ /**
3938
+ * Apply changeset
3939
+ *
3940
+ * Apply a batch of node, relation and invalidation operations as one transaction, when a mirror has several records to write together and a partial write would leave the graph inconsistent. Every operation succeeds or none is applied. Send an Idempotency-Key header; the same key with the same content replays the first result, and the same key with different content is ONTOLOGY_CONFLICT.
3941
+ */
3942
+ export declare const ontologyApplyChangeset: <ThrowOnError extends boolean = false>(options: Options<OntologyApplyChangesetData, ThrowOnError>) => RequestResult<OntologyApplyChangesetResponses, OntologyApplyChangesetErrors, ThrowOnError>;
3943
+ /**
3944
+ * Search nodes
3945
+ *
3946
+ * Resolve text to the nodes it most likely names, when a mirror holds a name and needs the node id it corresponds to. Results are ranked candidates, not an answer, each reporting whether the match came from the node's name, an alias, its description or a relation's fact. Narrow with types, and cap the result count with limit (1–50, default 20). This reads structure; it is not an agent's recall, which reads the graph from that agent's own viewpoint inside its sessions.
3947
+ */
3948
+ export declare const ontologySearch: <ThrowOnError extends boolean = false>(options: Options<OntologySearchData, ThrowOnError>) => RequestResult<OntologySearchResponses, OntologySearchErrors, ThrowOnError>;
3949
+ /**
3950
+ * List sandboxes (v2)
3951
+ *
3952
+ * List your running and paused sandboxes with paging and filters. Use it to find a sandboxID before connecting to, pausing or killing a sandbox. Filter by state, template (id or alias), name, metadata (key=value pairs joined with &) and startedAfter; order sorts by start time (default newest first); limit is 1 to 100 (default 100). When more results exist the response carries an x-next-token header; send it back as nextToken for the next page. To read one sandbox use getSandbox.
3953
+ */
3954
+ export declare const getSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1SandboxesData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesResponses, GetSandboxV1SandboxesErrors, ThrowOnError>;
3955
+ /**
3956
+ * Create sandbox (v2)
3957
+ *
3958
+ * Create a sandbox from a template. Every sandbox declares its lifecycle at creation. On the own face (X-Praxis-Face: own-v1) send ephemeral: true for an ephemeral sandbox (never pauses, cannot be snapshotted, deleted when it ends; for jobs such as transcodes, scripts and builds) or ephemeral: false for a persistent one (pauses and resumes, snapshots, mounts volumes, kept after it stops; for long-lived computers). Leaving ephemeral out returns INVALID_PARAMS. autoPause: true, onExpire: pause, autoPauseMemory, autoResume, idleTimeout, retention and volumes belong to persistent sandboxes and need ephemeral: false. Choose persistent only for long-lived computers. On the E2B-compatible face autoPause is the declaration: true is persistent, false or absent is ephemeral and ends at its timeout. Responses carry ephemeral. When a sandbox's machine has ended (timeout, kill, retention, provider loss), reaching it returns SANDBOX_EXPIRED (410) with terminationReason in the message: its files are gone, create a new sandbox.
3959
+ */
3960
+ export declare const postSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesResponses, PostSandboxV1SandboxesErrors, ThrowOnError>;
3961
+ /**
3962
+ * Sandbox metrics
3963
+ *
3964
+ * Read CPU, memory and disk usage samples of a sandbox over a time window. Use it to size a sandbox or find out why it is slow. start and end are Unix timestamps in seconds; without them the recent samples are returned. An unknown id answers 404.
3965
+ */
3966
+ export declare const getSandboxV1SandboxesBySandboxIdMetrics: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdMetricsData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdMetricsResponses, GetSandboxV1SandboxesBySandboxIdMetricsErrors, ThrowOnError>;
3967
+ /**
3968
+ * Pause sandbox
3969
+ *
3970
+ * Pause a running sandbox, keeping its files and memory so that connectSandbox can resume it later. Use it to stop paying for compute without losing state; to discard the sandbox use killSandbox. Success answers 204. A sandbox that is not running answers 409.
3971
+ */
3972
+ export declare const postSandboxV1SandboxesBySandboxIdPause: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdPauseData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdPauseErrors, ThrowOnError>;
3973
+ /**
3974
+ * Set sandbox timeout
3975
+ *
3976
+ * Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
3977
+ */
3978
+ export declare const postSandboxV1SandboxesBySandboxIdTimeout: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdTimeoutData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, ThrowOnError>;
3979
+ /**
3980
+ * Connect sandbox (v2)
3981
+ *
3982
+ * Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
3983
+ */
3984
+ export declare const postSandboxV1SandboxesBySandboxIdConnect: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdConnectData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdConnectErrors, ThrowOnError>;
3985
+ /**
3986
+ * List templates (v2)
3987
+ *
3988
+ * List official templates and all your custom templates, including waiting, building, ready and error builds. Custom templates appear first; each custom row describes its latest build, not necessarily the current ready build. Use templateID for build management and a ready template name when creating a sandbox. Own-face official distinguishes public catalog entries; sourceKind is omitted until a source is submitted and on official templates. Other organizations' templates are invisible.
3989
+ */
3990
+ export declare const listSandboxTemplates: <ThrowOnError extends boolean = false>(options?: Options<ListSandboxTemplatesData, ThrowOnError>) => RequestResult<ListSandboxTemplatesResponses, ListSandboxTemplatesErrors, ThrowOnError>;
3991
+ /**
3992
+ * Create template (v3)
3993
+ *
3994
+ * Reserve a waiting build before submitting its source. Reusing a name in your organization allocates a new build on the same template. Returns templateID and buildID; start it with templates.builds.update, then poll templates.builds.status.list. A name:tag suffix and tags are assigned after successful publication. Example: {"name":"my-template","cpuCount":2,"memoryMB":2048}. The own face also accepts diskGb, a positive integer defaulting to 10 GiB.
3995
+ */
3996
+ export declare const requestTemplateBuild: <ThrowOnError extends boolean = false>(options: Options<RequestTemplateBuildData, ThrowOnError>) => RequestResult<RequestTemplateBuildResponses, RequestTemplateBuildErrors, ThrowOnError>;
3997
+ /**
3998
+ * List team volumes
3999
+ *
4000
+ * List the volumes of your team. Use it to find a volumeID before reading or deleting a volume, or to attach a volume to a sandbox by name when you create it.
4001
+ */
4002
+ export declare const getSandboxV1Volumes: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1VolumesData, ThrowOnError>) => RequestResult<GetSandboxV1VolumesResponses, GetSandboxV1VolumesErrors, ThrowOnError>;
4003
+ /**
4004
+ * Create team volume
4005
+ *
4006
+ * Create a team volume: persistent storage that can be mounted into sandboxes and outlives them. Send the volume name; the response returns the volume id and name. Use getVolume to read it back and deleteVolume to remove it.
4007
+ */
4008
+ export declare const postSandboxV1Volumes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1VolumesData, ThrowOnError>) => RequestResult<PostSandboxV1VolumesResponses, PostSandboxV1VolumesErrors, ThrowOnError>;
4009
+ /**
4010
+ * Delete team volume
4011
+ *
4012
+ * Delete a team volume and its data permanently. Use it only when no sandbox needs the volume any more; the data cannot be recovered. Success answers 204; an unknown id answers 404.
4013
+ */
4014
+ export declare const deleteSandboxV1VolumesByVolumeId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1VolumesByVolumeIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1VolumesByVolumeIdResponses, DeleteSandboxV1VolumesByVolumeIdErrors, ThrowOnError>;
4015
+ /**
4016
+ * Team volume
4017
+ *
4018
+ * Read one team volume by id. Use it to confirm a volume exists and to read its name before mounting it in a sandbox. An unknown id answers 404.
4019
+ */
4020
+ export declare const getSandboxV1VolumesByVolumeId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1VolumesByVolumeIdData, ThrowOnError>) => RequestResult<GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesByVolumeIdErrors, ThrowOnError>;
4021
+ /**
4022
+ * Fork sandbox
4023
+ *
4024
+ * Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
4025
+ */
4026
+ export declare const postSandboxV1SandboxesBySandboxIdFork: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdForkData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdForkErrors, ThrowOnError>;
4027
+ /**
4028
+ * Create snapshot
4029
+ *
4030
+ * Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
4031
+ */
4032
+ export declare const postSandboxV1SandboxesBySandboxIdSnapshots: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdSnapshotsData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, ThrowOnError>;
4033
+ /**
4034
+ * List snapshots
4035
+ *
4036
+ * List the snapshots you created, one cursor page at a time. Use it to find a snapshot id before you create a sandbox from it or delete it. Filter by sandboxID (the source sandbox) or by name or snapshot id, optionally tag-qualified; limit is 1 to 100 (default 100). When more results exist send the cursor from the response back as nextToken.
4037
+ */
4038
+ export declare const getSandboxV1Snapshots: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1SnapshotsData, ThrowOnError>) => RequestResult<GetSandboxV1SnapshotsResponses, GetSandboxV1SnapshotsErrors, ThrowOnError>;
4039
+ /**
4040
+ * Delete template
4041
+ *
4042
+ * Delete one of your snapshots. Sandboxes already created from it keep running; no new sandbox can be created from it afterwards. Success answers 204. A snapshot that does not exist or belongs to someone else answers 404.
4043
+ */
4044
+ export declare const deleteSandboxV1SnapshotsBySnapshotId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SnapshotsBySnapshotIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SnapshotsBySnapshotIdResponses, DeleteSandboxV1SnapshotsBySnapshotIdErrors, ThrowOnError>;
4045
+ /**
4046
+ * Update sandbox network
4047
+ *
4048
+ * Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
4049
+ */
4050
+ export declare const putSandboxV1SandboxesBySandboxIdNetwork: <ThrowOnError extends boolean = false>(options: Options<PutSandboxV1SandboxesBySandboxIdNetworkData, ThrowOnError>) => RequestResult<PutSandboxV1SandboxesBySandboxIdNetworkResponses, PutSandboxV1SandboxesBySandboxIdNetworkErrors, ThrowOnError>;
4051
+ /**
4052
+ * Sandbox logs (v2)
4053
+ *
4054
+ * Read the log lines of a sandbox. Use it to debug what ran inside a sandbox. cursor is a start timestamp in milliseconds, direction chooses forward or backward from it, level sets the lowest level to return, search is a case-sensitive substring filter (at most 256 characters) and limit caps the count (at most 1000, default 1000). To continue, pass the timestamp of the last entry as the next cursor.
4055
+ */
4056
+ export declare const getSandboxV1SandboxesBySandboxIdLogs: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdLogsData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdLogsErrors, ThrowOnError>;
4057
+ /**
4058
+ * Get sandbox events
4059
+ *
4060
+ * Read one sandbox's lifecycle events, newest first by default. Unlike every other read on this face, it answers for a sandbox whose machine has ENDED (killed or failed) — a sandbox's cause of death is readable here even after its files are gone. The killed event carries eventData.terminationReason (the platform's own reason: requested, lease_expired, max_running, provider_lost, start_failed, retention, admin, unknown) and eventData.kill_reason (the E2B-shaped bucket: request, timeout, admin, orphaned, unknown); the updated event carries expiresAt. Page with offset, limit (1–100, default 10), orderAsc and repeatable types. An ended sandbox that is never going to come back also answers SANDBOX_EXPIRED (410) with terminationReason on its files and commands.
4061
+ */
4062
+ export declare const getSandboxEvents: <ThrowOnError extends boolean = false>(options: Options<GetSandboxEventsData, ThrowOnError>) => RequestResult<GetSandboxEventsResponses, GetSandboxEventsErrors, ThrowOnError>;
4063
+ /**
4064
+ * Start template build (v2)
4065
+ *
4066
+ * Submit source for a waiting build returned by templates.create; returns 202 after queueing, not after successful publication. Unlike E2B, COPY is rejected (use RUN curl or git clone), fromTemplate accepts official catalog names only, and plaintext registry credentials are rejected. The own face also accepts dockerfile, mutually exclusive with fromImage/fromTemplate/steps, and fromImageRegistry vault references for nonofficial images. Poll templates.builds.status.list until ready or error. Example: {"fromImage":"node:22","steps":[{"type":"RUN","args":["echo hello"]}]}.
4067
+ */
4068
+ export declare const startTemplateBuild: <ThrowOnError extends boolean = false>(options: Options<StartTemplateBuildData, ThrowOnError>) => RequestResult<StartTemplateBuildResponses, StartTemplateBuildErrors, ThrowOnError>;
4069
+ /**
4070
+ * Template build status
4071
+ *
4072
+ * Poll a build using templateID and buildID from templates.create. waiting means source has not been submitted; building includes queued work; ready permits sandbox creation; error is terminal, with reason when available. logsOffset counts previously read log entries, starting at zero; add logEntries.length after each response. limit is 0–100, default 100. level selects one log level; offsets then count entries at that level. Drain logs until an empty page, including after a terminal status.
4073
+ */
4074
+ export declare const getTemplateBuildStatus: <ThrowOnError extends boolean = false>(options: Options<GetTemplateBuildStatusData, ThrowOnError>) => RequestResult<GetTemplateBuildStatusResponses, GetTemplateBuildStatusErrors, ThrowOnError>;
4075
+ /**
4076
+ * Delete template
4077
+ *
4078
+ * Permanently remove your template, its builds and tag assignments using templateID from templates.create. Active instances prevent deletion with 409; terminate them first. Unknown or other-organization IDs return 404. Snapshot IDs use snapshots.delete instead.
1809
4079
  */
1810
- export declare const databaseHead: <ThrowOnError extends boolean = false>(options: Options<DatabaseHeadData, ThrowOnError>) => RequestResult<DatabaseHeadResponses, DatabaseHeadErrors, ThrowOnError>;
4080
+ export declare const deleteUserTemplate: <ThrowOnError extends boolean = false>(options: Options<DeleteUserTemplateData, ThrowOnError>) => RequestResult<DeleteUserTemplateResponses, DeleteUserTemplateErrors, ThrowOnError>;
1811
4081
  /**
1812
- * Update rows
4082
+ * List template builds
1813
4083
  *
1814
- * Updates the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. The JSON object body lists only the fields to change, other fields keep their values, and id cannot be changed. Values are validated against the field types and the required and unique settings (400 VALIDATION_FAILED, 409 UNIQUE_VIOLATION). The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the updated rows. Each changed row's _version increases by one.
4084
+ * Inspect your template and its newest builds using templateID from templates.create. Build states are waiting, building, ready or error. Use limit and the returned x-next-token header to page builds. Unknown or other-organization templates return 404.
1815
4085
  */
1816
- export declare const databaseUpdate: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateData, ThrowOnError>) => RequestResult<DatabaseUpdateResponses, DatabaseUpdateErrors, ThrowOnError>;
4086
+ export declare const getTemplateWithBuilds: <ThrowOnError extends boolean = false>(options: Options<GetTemplateWithBuildsData, ThrowOnError>) => RequestResult<GetTemplateWithBuildsResponses, GetTemplateWithBuildsErrors, ThrowOnError>;
1817
4087
  /**
1818
- * Insert rows
4088
+ * Delete template tags
1819
4089
  *
1820
- * Insert rows into an existing table after defining its fields; at most 500 rows per request. Each request is atomic: any failure rolls back the entire batch. There are no transactions across requests.
1821
- * Rows are filled to the union of their keys with null; send Prefer: missing=default to use field defaults for missing keys.
1822
- * The default is return=minimal: success returns HTTP 201 with an empty body. Send Prefer: return=representation to return the inserted rows. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. Unlike Supabase, upsert conflicts can target only id or one unique field, not a composite key. Each table supports up to 1,000,000 rows.
4090
+ * Remove the specified tag labels from your template by name, for example {"name":"my-template","tags":["stable"]}. Builds remain available. Removing default means untagged sandbox creation no longer resolves this template. Unknown or other-organization names return 404. b<number> names are reserved read-only build aliases and cannot be assigned or deleted as tags.
1823
4091
  */
1824
- export declare const databaseInsert: <ThrowOnError extends boolean = false>(options: Options<DatabaseInsertData, ThrowOnError>) => RequestResult<DatabaseInsertResponses, DatabaseInsertErrors, ThrowOnError>;
4092
+ export declare const deleteTemplateTags: <ThrowOnError extends boolean = false>(options: Options<DeleteTemplateTagsData, ThrowOnError>) => RequestResult<DeleteTemplateTagsResponses, DeleteTemplateTagsErrors, ThrowOnError>;
1825
4093
  /**
1826
- * List knowledge bases
4094
+ * Assign template tags
1827
4095
  *
1828
- * Lists knowledge bases visible to the caller, newest first by default. Use last_id as after to read the next page; for example, ?limit=20.
4096
+ * Assign tags to the ready build selected by target in name:tag format, for example {"target":"my-template:default","tags":["stable"]}. Names belong to your organization. Tags move an existing label to this build without rebuilding. Obtain available names from templates.list and tags from templates.tags.list. b<number> names are reserved read-only build aliases and cannot be assigned or deleted as tags. target also accepts name:b<number> to select a ready build by number, for example my-template:b1.
1829
4097
  */
1830
- export declare const knowledgeListVectorStores: <ThrowOnError extends boolean = false>(options?: Options<KnowledgeListVectorStoresData, ThrowOnError>) => RequestResult<KnowledgeListVectorStoresResponses, KnowledgeListVectorStoresErrors, ThrowOnError>;
4098
+ export declare const assignTemplateTags: <ThrowOnError extends boolean = false>(options: Options<AssignTemplateTagsData, ThrowOnError>) => RequestResult<AssignTemplateTagsResponses, AssignTemplateTagsErrors, ThrowOnError>;
1831
4099
  /**
1832
- * Create knowledge base
4100
+ * List template tags
1833
4101
  *
1834
- * Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. Unlike OpenAI vector stores, each file is limited to 100000000 bytes and each account to 100 active/nondeleted stores. Minimal body: {"name":"Refund policies"}.
4102
+ * Read the tag-to-build assignments for your template using templateID from templates.create. Only ready builds acquire tags. Use a returned tag with the template name as name:tag when creating a sandbox or assigning additional tags. Foreign IDs return 404.
1835
4103
  */
1836
- export declare const knowledgeCreateVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCreateVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeCreateVectorStoreResponses, KnowledgeCreateVectorStoreErrors, ThrowOnError>;
4104
+ export declare const listTemplateTags: <ThrowOnError extends boolean = false>(options: Options<ListTemplateTagsData, ThrowOnError>) => RequestResult<ListTemplateTagsResponses, ListTemplateTagsErrors, ThrowOnError>;
1837
4105
  /**
1838
- * Delete knowledge base
4106
+ * Check template alias
1839
4107
  *
1840
- * Remove a knowledge base from active use while keeping a recovery window. Unlike OpenAI vector stores, native DELETE returns the store with status=deleting and ISO purge_at, retains it for 7 days and is idempotent on repeat. Retrieve remains 200; object operations return 409. Use restore before purge_at to recover it, or purge to remove it irreversibly.
4108
+ * Resolve a name within your organization to its templateID before reading or managing builds. Use the bare template name, without a :tag suffix. Unknown and other-organization names return 404. The response public field is false for your private templates.
1841
4109
  */
1842
- export declare const knowledgeDeleteVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeDeleteVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeDeleteVectorStoreResponses, KnowledgeDeleteVectorStoreErrors, ThrowOnError>;
4110
+ export declare const resolveTemplateAlias: <ThrowOnError extends boolean = false>(options: Options<ResolveTemplateAliasData, ThrowOnError>) => RequestResult<ResolveTemplateAliasResponses, ResolveTemplateAliasErrors, ThrowOnError>;
1843
4111
  /**
1844
- * Retrieve knowledge base
4112
+ * Search for data based on a query
1845
4113
  *
1846
- * Retrieves a knowledge base using an id returned by create or list. Add ?expand=files to include the first page of attached files. Soft-deleted stores remain readable with status=deleting until purged.
4114
+ * Search the web and return ranked results with extracted content. Use it to answer questions with current information; to read the full text of known URLs use searchExtract, to walk a site use searchCrawl and to list a site's URLs use searchMap. query is required. topic chooses general, news or finance; time_range limits results to the last day, week, month or year; country boosts results from one country (topic general only). Each result carries title, url, content and a relevance score, and the response can include a generated answer, images and follow-up questions when requested.
1847
4115
  */
1848
- export declare const knowledgeRetrieveVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeRetrieveVectorStoreResponses, KnowledgeRetrieveVectorStoreErrors, ThrowOnError>;
4116
+ export declare const searchSearch: <ThrowOnError extends boolean = false>(options: Options<SearchSearchData, ThrowOnError>) => RequestResult<SearchSearchResponses, SearchSearchErrors, ThrowOnError>;
1849
4117
  /**
1850
- * Update knowledge base
4118
+ * Retrieve raw web content from specified URLs
1851
4119
  *
1852
- * Updates an active knowledge base using its returned id. Omitted fields stay unchanged; metadata replaces the whole map. Example body: {"name":"Refund policies"}.
4120
+ * Extract content from one URL or batch up to 20 URLs in one request. Successful URLs appear in results; per-URL failures appear in failed_results. Check both arrays even when the response is HTTP 200. Request options apply to every URL in the batch.
1853
4121
  */
1854
- export declare const knowledgeUpdateVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeUpdateVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeUpdateVectorStoreResponses, KnowledgeUpdateVectorStoreErrors, ThrowOnError>;
4122
+ export declare const searchExtract: <ThrowOnError extends boolean = false>(options: Options<SearchExtractData, ThrowOnError>) => RequestResult<SearchExtractResponses, SearchExtractErrors, ThrowOnError>;
1855
4123
  /**
1856
- * Search knowledge base
4124
+ * Initiate a web crawl from a base URL
1857
4125
  *
1858
- * Search ingested text to answer a question or find supporting passages. Native results contain one chunk each, so file_id can repeat; max_num_results counts chunks (1–50, default 10), while the compatible URL groups results by file. Unlike OpenAI vector stores, next_page is always null even when has_more is true. Only completed attachments are searchable. For keyword-only retrieval set ranking_options.hybrid_search to {"embedding_weight":0,"text_weight":1}; omit rewrite_query or set it to false to avoid query rewriting. Unlike OpenAI, ranker auto does not rerank; only default-2024-11-15 requests reranking. Set praxis.explain=true to inspect scores and use returned content[].chunk_id to retrieve a segment.
4126
+ * Tavily Crawl is a graph-based website traversal tool that can explore hundreds of paths in parallel with built-in extraction and intelligent discovery.
1859
4127
  */
1860
- export declare const knowledgeSearchVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeSearchVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeSearchVectorStoreResponses, KnowledgeSearchVectorStoreErrors, ThrowOnError>;
4128
+ export declare const searchCrawl: <ThrowOnError extends boolean = false>(options: Options<SearchCrawlData, ThrowOnError>) => RequestResult<SearchCrawlResponses, SearchCrawlErrors, ThrowOnError>;
1861
4129
  /**
1862
- * List files
4130
+ * Initiate a web mapping from a base URL
1863
4131
  *
1864
- * Lists attached files and their ingestion status, newest attachment first by default. Use last_id as after to continue; ?filter=failed selects files that can be retried.
4132
+ * Tavily Map traverses websites like a graph and can explore hundreds of paths in parallel with intelligent discovery to generate comprehensive site maps.
1865
4133
  */
1866
- export declare const knowledgeListFiles: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListFilesData, ThrowOnError>) => RequestResult<KnowledgeListFilesResponses, KnowledgeListFilesErrors, ThrowOnError>;
4134
+ export declare const searchMap: <ThrowOnError extends boolean = false>(options: Options<SearchMapData, ThrowOnError>) => RequestResult<SearchMapResponses, SearchMapErrors, ThrowOnError>;
1867
4135
  /**
1868
- * Add file
4136
+ * List the genres Studio can write
1869
4137
  *
1870
- * Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. Unlike OpenAI vector stores, the file limit is 100000000 bytes; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.
4138
+ * List the genre catalog so you can choose how a piece is structured before creating a draft. Each genre names its unit kinds, draft properties, deterministic checks and writing rules, and by default only the genres open today are returned. Read the chosen genre in full with studioGenresGet before the first write, because its kinds and limits decide what that draft accepts.
1871
4139
  */
1872
- export declare const knowledgeAttachFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeAttachFileData, ThrowOnError>) => RequestResult<KnowledgeAttachFileResponses, KnowledgeAttachFileErrors, ThrowOnError>;
4140
+ export declare const studioGenresList: <ThrowOnError extends boolean = false>(options?: Options<StudioGenresListData, ThrowOnError>) => RequestResult<StudioGenresListResponses, StudioGenresListErrors, ThrowOnError>;
1873
4141
  /**
1874
- * Remove file
4142
+ * Read one genre with its built-in templates
1875
4143
  *
1876
- * Removes the file from search immediately; does not delete the original File.
4144
+ * Read the full rules of one genre: its unit kinds and what each may contain, the draft properties with their limits, the deterministic checks the software runs, the semantic review list, and the built-in templates that can seed a draft. Ask for this before creating a draft of that genre, and again when a write is refused for an unknown kind, a property limit or a block type the genre does not allow.
1877
4145
  */
1878
- export declare const knowledgeRemoveFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRemoveFileData, ThrowOnError>) => RequestResult<KnowledgeRemoveFileResponses, KnowledgeRemoveFileErrors, ThrowOnError>;
4146
+ export declare const studioGenresGet: <ThrowOnError extends boolean = false>(options: Options<StudioGenresGetData, ThrowOnError>) => RequestResult<StudioGenresGetResponses, StudioGenresGetErrors, ThrowOnError>;
1879
4147
  /**
1880
- * Retrieve file
4148
+ * List the platforms a work can be produced for
1881
4149
  *
1882
- * Retrieves an attached file using the id returned by attachment or file listing. Poll this operation until status leaves in_progress to observe the ingestion outcome.
4150
+ * List rendition targets with the format each needs, whether it receives a finished piece through an API, a draft box or an export, and the hard limits a piece must respect. Pass a genre to see only the platforms that genre produces by default. Read one platform in full before rendering, because its limits decide whether the rendition validates.
1883
4151
  */
1884
- export declare const knowledgeRetrieveFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileResponses, KnowledgeRetrieveFileErrors, ThrowOnError>;
4152
+ export declare const studioPlatformsList: <ThrowOnError extends boolean = false>(options?: Options<StudioPlatformsListData, ThrowOnError>) => RequestResult<StudioPlatformsListResponses, StudioPlatformsListErrors, ThrowOnError>;
1885
4153
  /**
1886
- * Update file attributes
4154
+ * Read the rules of one platform
1887
4155
  *
1888
- * Replaces search-filter attributes of an existing attachment without reingesting its content. Use an attached file id. Example body: {"attributes":{"category":"refund"}}; null clears the attributes.
4156
+ * Read one platform in full: the format it consumes, how it receives a finished piece, the preview fidelity the Console can offer, the limits on title, body, image count and aspect, and whether a connected channel is required. Read this before creating a rendition, and again when validation reports that the piece breaks a platform limit.
1889
4157
  */
1890
- export declare const knowledgeUpdateFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeUpdateFileData, ThrowOnError>) => RequestResult<KnowledgeUpdateFileResponses, KnowledgeUpdateFileErrors, ThrowOnError>;
4158
+ export declare const studioPlatformsGet: <ThrowOnError extends boolean = false>(options: Options<StudioPlatformsGetData, ThrowOnError>) => RequestResult<StudioPlatformsGetResponses, StudioPlatformsGetErrors, ThrowOnError>;
1891
4159
  /**
1892
- * Read extracted content
4160
+ * List the works of this organization
1893
4161
  *
1894
- * Extracted text chunks may overlap. Image content can be a generated description rather than verbatim OCR.
4162
+ * List works owned by the API key organization so you can find the one being discussed, with its drafts and how long ago each moved. Archived works are left out unless you ask for them. Continue with next_page_token until the answer stops carrying one; the summaries carry no unit bodies, so read a work before writing in it.
1895
4163
  */
1896
- export declare const knowledgeRetrieveFileContent: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileContentData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileContentResponses, KnowledgeRetrieveFileContentErrors, ThrowOnError>;
4164
+ export declare const studioWorksList: <ThrowOnError extends boolean = false>(options?: Options<StudioWorksListData, ThrowOnError>) => RequestResult<StudioWorksListResponses, StudioWorksListErrors, ThrowOnError>;
1897
4165
  /**
1898
- * Create file batch
4166
+ * Create a work with its goal
1899
4167
  *
1900
- * Attaches existing Files as a batch for asynchronous ingestion. Supply exactly one of file_ids or files; files allows per-file settings. Existing attachments are reused. Read the returned batch id to monitor status.
4168
+ * Create a work: one deliverable piece plus everything around it. Pass the goal the writing serves: the reader, what that reader should get or do, and the one-sentence message. The work holds the goal only; the requirement for one piece (the person's text, its points, a length, banned wording) belongs to that draft and is given with the drafts create call, so a novel's plot points and length never bind the promotion derived from it. A slug is derived from the title unless you pass one. The work starts with no drafts; create the first one with the drafts create call, because the genre decides the structure. A reference library belongs to the work and is created with it, so the setting written later stays this work's own; pass based_on to start from another work and have its setting and styles copied in as your own.
1901
4169
  */
1902
- export declare const knowledgeCreateFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCreateFileBatchData, ThrowOnError>) => RequestResult<KnowledgeCreateFileBatchResponses, KnowledgeCreateFileBatchErrors, ThrowOnError>;
4170
+ export declare const studioWorksCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksCreateData, ThrowOnError>) => RequestResult<StudioWorksCreateResponses, StudioWorksCreateErrors, ThrowOnError>;
1903
4171
  /**
1904
- * Retrieve file batch
4172
+ * Resolve a loose reference to a work, draft or unit
1905
4173
  *
1906
- * Retrieves a batch created in this knowledge base, including current status and file counts. Use the batch id returned by batch creation to monitor ingestion.
4174
+ * Turn a loose reference into the address the other calls take: a slug, a work title, a draft key or a unit number, as a person or another tool would say it. A hit answers the work slug and, when the reference pointed deeper, the draft key and unit number; a miss answers an empty resolved value with up to three near matches instead of failing. Use it when a person names something instead of an id.
1907
4175
  */
1908
- export declare const knowledgeRetrieveFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveFileBatchData, ThrowOnError>) => RequestResult<KnowledgeRetrieveFileBatchResponses, KnowledgeRetrieveFileBatchErrors, ThrowOnError>;
4176
+ export declare const studioWorksResolve: <ThrowOnError extends boolean = false>(options: Options<StudioWorksResolveData, ThrowOnError>) => RequestResult<StudioWorksResolveResponses, StudioWorksResolveErrors, ThrowOnError>;
1909
4177
  /**
1910
- * Cancel file batch
4178
+ * Read a work, optionally with one draft and unit
1911
4179
  *
1912
- * Cancels only in-progress batches and pending files. Completed, failed and cancelled batches return unchanged (200, idempotent).
4180
+ * Read a work and, in the same answer, whatever part of it the page needs: pass draft to get that draft with its todos, its unit outline and its properties, and unit to get one unit with its blocks and Markdown body. This is the call that opens an editing session, because it answers the goal, the brief, the current revisions and the unit to write in one round trip.
1913
4181
  */
1914
- export declare const knowledgeCancelFileBatch: <ThrowOnError extends boolean = false>(options: Options<KnowledgeCancelFileBatchData, ThrowOnError>) => RequestResult<KnowledgeCancelFileBatchResponses, KnowledgeCancelFileBatchErrors, ThrowOnError>;
4182
+ export declare const studioWorksGet: <ThrowOnError extends boolean = false>(options: Options<StudioWorksGetData, ThrowOnError>) => RequestResult<StudioWorksGetResponses, StudioWorksGetErrors, ThrowOnError>;
1915
4183
  /**
1916
- * List batch files
4184
+ * Change the title, goal or attached libraries
1917
4185
  *
1918
- * Lists files still attached from the identified batch, newest attachment first by default. Use the batch creation id and ?filter=failed to inspect failures; last_id is the next after cursor.
4186
+ * Change work-level settings: the title, the slug, the goal, the attached reference libraries, the style or the archived flag. Send update_mask naming exactly the fields you change; a field left out keeps its value. Pass expected_revision to have the write refused when someone else changed the work first, and note that changing the message makes every draft derived from it stale.
1919
4187
  */
1920
- export declare const knowledgeListBatchFiles: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListBatchFilesData, ThrowOnError>) => RequestResult<KnowledgeListBatchFilesResponses, KnowledgeListBatchFilesErrors, ThrowOnError>;
4188
+ export declare const studioWorksUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksUpdateData, ThrowOnError>) => RequestResult<StudioWorksUpdateResponses, StudioWorksUpdateErrors, ThrowOnError>;
1921
4189
  /**
1922
- * Restore knowledge base
4190
+ * List the drafts a work carries
1923
4191
  *
1924
- * Restores a deleting store within 7 days. Active stores return 409 VECTOR_STORE_INVALID_STATE; absent stores return 404. Empty body is allowed.
4192
+ * List every draft of one work, each with its genre, its size and whether it is out of date against what it was derived from. Use it to choose the draft a later call works in: the key beside each draft is what the draft path segment takes. This list is not paged, because a work carries a handful of drafts rather than thousands.
1925
4193
  */
1926
- export declare const knowledgeRestoreVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRestoreVectorStoreData, ThrowOnError>) => RequestResult<KnowledgeRestoreVectorStoreResponses, KnowledgeRestoreVectorStoreErrors, ThrowOnError>;
4194
+ export declare const studioDraftsList: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsListData, ThrowOnError>) => RequestResult<StudioDraftsListResponses, StudioDraftsListErrors, ThrowOnError>;
1927
4195
  /**
1928
- * Permanently purge knowledge base
4196
+ * Create a draft of a genre inside a work
1929
4197
  *
1930
- * Immediately and irreversibly clears a deleting store using the retention cleanup path. Active stores return 409; absent stores return 404. Empty body is allowed.
4198
+ * Create a draft: one way of delivering the work, written in one genre. The genre decides the unit kinds, the properties and the checks, so read it first with the genre call and pass its key. A template may seed the unit tree, an outline may be given instead, and derived_from records that this draft is built from the goal message or from another draft of the work. The work may hold several drafts, one per platform or per length.
1931
4199
  */
1932
- export declare const knowledgePurgeVectorStore: <ThrowOnError extends boolean = false>(options: Options<KnowledgePurgeVectorStoreData, ThrowOnError>) => RequestResult<KnowledgePurgeVectorStoreResponses, KnowledgePurgeVectorStoreErrors, ThrowOnError>;
4200
+ export declare const studioDraftsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsCreateData, ThrowOnError>) => RequestResult<StudioDraftsCreateResponses, StudioDraftsCreateErrors, ThrowOnError>;
1933
4201
  /**
1934
- * Retry failed file
4202
+ * Read one draft with optional units and todos
1935
4203
  *
1936
- * Retries only failed files; other states return 409 FILE_INVALID_STATE. Retry after failure has not yet been observed in the documented run.
4204
+ * Read one draft: its genre, its properties, its revisions, whether it is stale, and optionally its unit tree and its todo list. Pass expand to add the parts you need in this one call instead of reading them separately. Read this before writing to the draft, because the revision it returns is the precondition the next write has to carry.
1937
4205
  */
1938
- export declare const knowledgeRetryFile: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetryFileData, ThrowOnError>) => RequestResult<KnowledgeRetryFileResponses, KnowledgeRetryFileErrors, ThrowOnError>;
4206
+ export declare const studioDraftsGet: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsGetData, ThrowOnError>) => RequestResult<StudioDraftsGetResponses, StudioDraftsGetErrors, ThrowOnError>;
1939
4207
  /**
1940
- * List file segments
4208
+ * Change a draft title, key, properties or style
1941
4209
  *
1942
- * Lists the stored chunks of an attached file, ordered by increasing segment index by default. Use the attachment id and last_id as after to continue; returned chunk ids can be retrieved individually.
4210
+ * Change the draft itself rather than its units: its page title, its in-work key, its generic properties, the style that overrides the work style, or its mode. Send update_mask naming exactly the fields you change. Changing the key keeps the previous one resolving, so old links and old references still work; a key another draft of the work already uses answers DRAFT_KEY_TAKEN.
1943
4211
  */
1944
- export declare const knowledgeListSegments: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListSegmentsData, ThrowOnError>) => RequestResult<KnowledgeListSegmentsResponses, KnowledgeListSegmentsErrors, ThrowOnError>;
4212
+ export declare const studioDraftsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsUpdateData, ThrowOnError>) => RequestResult<StudioDraftsUpdateResponses, StudioDraftsUpdateErrors, ThrowOnError>;
1945
4213
  /**
1946
- * Retrieve segment
4214
+ * Add to or correct a draft's brief
1947
4215
  *
1948
- * Retrieves one chunk and its term statistics. Take chunk_id from segment listing or native search content; the chunk must belong to this knowledge base.
4216
+ * Extend the brief of one draft: append text, attach files, replace its constraints, add points taken from an outline, edit one point, or drop a point. The brief belongs to the draft, not the work: the length and plot points of a novel do not bind the promotion derived from it. Points are how the software checks that every requirement landed in a written unit, so split the person's outline into points here rather than burying them in prose; the constraints (a length such as 3000 字以内, banned wording) are what the length check and the context pack read. The brief carries its own revision, separate from the draft's.
1949
4217
  */
1950
- export declare const knowledgeRetrieveSegment: <ThrowOnError extends boolean = false>(options: Options<KnowledgeRetrieveSegmentData, ThrowOnError>) => RequestResult<KnowledgeRetrieveSegmentResponses, KnowledgeRetrieveSegmentErrors, ThrowOnError>;
4218
+ export declare const studioDraftsUpdateBrief: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsUpdateBriefData, ThrowOnError>) => RequestResult<StudioDraftsUpdateBriefResponses, StudioDraftsUpdateBriefErrors, ThrowOnError>;
1951
4219
  /**
1952
- * List events
4220
+ * Read the whole unit outline as Markdown
1953
4221
  *
1954
- * Reads events for this knowledge base in increasing sequence order, including while soft-deleted. Pass next_seq as after_seq to continue; null next_seq marks the current end. Example: ?after_seq=0&limit=20.
4222
+ * Read the draft structure as one Markdown page: one line per unit carrying its number, structure name, intent, status, length and revision, followed by the unit list itself. Use it to plan a sequence of writes without reading every unit, since it carries no body text. Read one unit in full with the unit call once you know which one to write.
1955
4223
  */
1956
- export declare const knowledgeListEvents: <ThrowOnError extends boolean = false>(options: Options<KnowledgeListEventsData, ThrowOnError>) => RequestResult<KnowledgeListEventsResponses, KnowledgeListEventsErrors, ThrowOnError>;
4224
+ export declare const studioDraftsOutline: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsOutlineData, ThrowOnError>) => RequestResult<StudioDraftsOutlineResponses, StudioDraftsOutlineErrors, ThrowOnError>;
1957
4225
  /**
1958
- * List libraries
4226
+ * List the foreshadows of a draft
1959
4227
  *
1960
- * List libraries owned by the caller, newest first. By default, deleting and deleted libraries are excluded; use status=deleting to find libraries awaiting purge. All supplied label pairs must match.
4228
+ * List the threads this draft sets up and pays off: each foreshadow names the unit that plants it, the unit that pays it off (or null while it is still open) and a note on what was planted. The foreshadow_paid check reports every open one in the draft's status and review, so a mystery or serial that plants a clue in chapter 2 is reminded until a later chapter answers it.
1961
4229
  */
1962
- export declare const mediaListLibraries: <ThrowOnError extends boolean = false>(options?: Options<MediaListLibrariesData, ThrowOnError>) => RequestResult<MediaListLibrariesResponses, MediaListLibrariesErrors, ThrowOnError>;
4230
+ export declare const studioForeshadowsList: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsListData, ThrowOnError>) => RequestResult<StudioForeshadowsListResponses, StudioForeshadowsListErrors, ThrowOnError>;
1963
4231
  /**
1964
- * Create library
4232
+ * Drop a foreshadow
1965
4233
  *
1966
- * Create a library owned by the caller with a name, optional labels and understanding settings. Understanding is enabled by default; the returned id is used for subsequent asset operations.
4234
+ * Remove a thread that is no longer in the story. Deleting a key that does not exist answers the same as deleting one that did.
1967
4235
  */
1968
- export declare const mediaCreateLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaCreateLibraryData, ThrowOnError>) => RequestResult<MediaCreateLibraryResponses, MediaCreateLibraryErrors, ThrowOnError>;
4236
+ export declare const studioForeshadowsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsDeleteData, ThrowOnError>) => RequestResult<StudioForeshadowsDeleteResponses, StudioForeshadowsDeleteErrors, ThrowOnError>;
1969
4237
  /**
1970
- * Delete library
4238
+ * Plant or pay off a foreshadow
1971
4239
  *
1972
- * Soft-delete an active library, returning its deleting status and purge_at deadline. Asset operations and delivery become unavailable; the library can be restored before purge_at. Repeated deletion while deleting returns the current library.
4240
+ * Record a thread under a key of your choice: the unit that plants it and, once written, the unit that pays it off. Call it when you write the setup (payoff left out or null) and again with the same key when a later unit answers it. Both units must belong to this draft. An open foreshadow is reported by the foreshadow_paid check until it has a payoff, and a unit's context pack does not need to be asked for it.
1973
4241
  */
1974
- export declare const mediaDeleteLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteLibraryData, ThrowOnError>) => RequestResult<MediaDeleteLibraryResponses, MediaDeleteLibraryErrors, ThrowOnError>;
4242
+ export declare const studioForeshadowsUpsert: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsUpsertData, ThrowOnError>) => RequestResult<StudioForeshadowsUpsertResponses, StudioForeshadowsUpsertErrors, ThrowOnError>;
1975
4243
  /**
1976
- * Get library
4244
+ * List the setting changes of a work
1977
4245
  *
1978
- * Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.
4246
+ * List the recorded changes, all of them or those of one entry. Use it to check what a character has been through before writing the next unit, or to find a progression to delete.
1979
4247
  */
1980
- export declare const mediaGetLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaGetLibraryData, ThrowOnError>) => RequestResult<MediaGetLibraryResponses, MediaGetLibraryErrors, ThrowOnError>;
4248
+ export declare const studioProgressionsList: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsListData, ThrowOnError>) => RequestResult<StudioProgressionsListResponses, StudioProgressionsListErrors, ThrowOnError>;
1981
4249
  /**
1982
- * Update library
4250
+ * Record how a setting entry changes at a unit
1983
4251
  *
1984
- * Update an active library’s supplied settings. Labels replace the complete map; understanding settings and model roles merge with current values. Changing the embedding model is rejected while assets exist.
4252
+ * Record that an entry changes as of one unit: a character is injured in chapter 6, a shop moves in chapter 9, a secret becomes known. The library keeps what an entry is from the start; a progression keeps what becomes true later. A unit's context pack shows an entry's changes up to and including that unit (截至本单元的设定变化) and withholds the later ones, so chapter 3 is not written with chapter 6's injury. Name the entry by its name, an alias or its ent_ identifier, and the unit by its number.
1985
4253
  */
1986
- export declare const mediaUpdateLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateLibraryData, ThrowOnError>) => RequestResult<MediaUpdateLibraryResponses, MediaUpdateLibraryErrors, ThrowOnError>;
4254
+ export declare const studioProgressionsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsCreateData, ThrowOnError>) => RequestResult<StudioProgressionsCreateResponses, StudioProgressionsCreateErrors, ThrowOnError>;
1987
4255
  /**
1988
- * Restore library
4256
+ * Delete a setting change
1989
4257
  *
1990
- * Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.
4258
+ * Remove one recorded change, by the prg_ identifier the list returns; to correct a change, delete it and record the new one.
1991
4259
  */
1992
- export declare const mediaRestoreLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaRestoreLibraryData, ThrowOnError>) => RequestResult<MediaRestoreLibraryResponses, MediaRestoreLibraryErrors, ThrowOnError>;
4260
+ export declare const studioProgressionsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsDeleteData, ThrowOnError>) => RequestResult<StudioProgressionsDeleteResponses, StudioProgressionsDeleteErrors, ThrowOnError>;
1993
4261
  /**
1994
- * Purge library
4262
+ * Read the computed todo list of a draft
1995
4263
  *
1996
- * Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.
4264
+ * Read what is outstanding in one draft, computed from the data rather than from a plan: a unit without an intent, a body behind its intent, an unclaimed brief point, a failed check, a stale rendition. Each item names the layer it belongs to and suggests the call that resolves it. Follow the list instead of inventing an order, and re-read it after a batch of writes.
1997
4265
  */
1998
- export declare const mediaPurgeLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaPurgeLibraryData, ThrowOnError>) => RequestResult<MediaPurgeLibraryResponses, MediaPurgeLibraryErrors, ThrowOnError>;
4266
+ export declare const studioDraftsStatus: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsStatusData, ThrowOnError>) => RequestResult<StudioDraftsStatusResponses, StudioDraftsStatusErrors, ThrowOnError>;
1999
4267
  /**
2000
- * List assets
4268
+ * Read a review pass over the whole draft
2001
4269
  *
2002
- * List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.
4270
+ * Read everything a reviewer needs in one answer: the deterministic check results, the semantic review list the genre asks a reader to judge, the brief coverage showing which unit claims each requirement point, and the body text. When the draft is long the body is a synopsis with an excerpt around each unit and next_page_token carries the full text. This is the call an agent makes before writing review comments.
2003
4271
  */
2004
- export declare const mediaListAssets: <ThrowOnError extends boolean = false>(options: Options<MediaListAssetsData, ThrowOnError>) => RequestResult<MediaListAssetsResponses, MediaListAssetsErrors, ThrowOnError>;
4272
+ export declare const studioDraftsReview: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsReviewData, ThrowOnError>) => RequestResult<StudioDraftsReviewResponses, StudioDraftsReviewErrors, ThrowOnError>;
2005
4273
  /**
2006
- * Upload asset
4274
+ * Confirm a draft already follows its source
2007
4275
  *
2008
- * Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.
4276
+ * Clear the stale flag after checking that the draft still matches what it was derived from: the recorded source revision moves to the source current revision without touching any unit. Call it after the source moved and you have brought this draft up to date, not to make the flag disappear while the text is still behind. It answers the same shape as a draft write, and the draft revision does not move.
2009
4277
  */
2010
- export declare const mediaUploadAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUploadAssetData, ThrowOnError>) => RequestResult<MediaUploadAssetResponses, MediaUploadAssetErrors, ThrowOnError>;
4278
+ export declare const studioDraftsRebase: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsRebaseData, ThrowOnError>) => RequestResult<StudioDraftsRebaseResponses, StudioDraftsRebaseErrors, ThrowOnError>;
2011
4279
  /**
2012
- * Import file
4280
+ * Export the draft as Markdown or plain text
2013
4281
  *
2014
- * Copy source content into an active library using upload options and return the full native Asset. The imported asset is independent of the source after copying. Reusing public_id follows overwrite semantics.
4282
+ * Read the whole draft as one document in Markdown or plain text, returned synchronously in the answer. This is the quick path for a person who wants the text now; a file in a platform format, a card image or a docx comes from creating a rendition instead. Ask for text rather than markdown when the reader should not see block anchors or heading syntax.
2015
4283
  */
2016
- export declare const mediaImportAsset: <ThrowOnError extends boolean = false>(options: Options<MediaImportAssetData, ThrowOnError>) => RequestResult<MediaImportAssetResponses, MediaImportAssetErrors, ThrowOnError>;
4284
+ export declare const studioDraftsExport: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsExportData, ThrowOnError>) => RequestResult<StudioDraftsExportResponses, StudioDraftsExportErrors, ThrowOnError>;
2017
4285
  /**
2018
- * Delete asset
4286
+ * Add one unit to the draft tree
2019
4287
  *
2020
- * Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.
4288
+ * Add a unit to the structure: a chapter, a scene, a section, an argument or a product depending on the genre. Say where it goes with parent and after, give it the structure name people will use to manage it, and write the intent that says what it has to accomplish. Adding a unit changes the draft revision, so pass expected_revision, and the new unit itself starts with no body.
2021
4289
  */
2022
- export declare const mediaDeleteAsset: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteAssetData, ThrowOnError>) => RequestResult<MediaDeleteAssetResponses, MediaDeleteAssetErrors, ThrowOnError>;
4290
+ export declare const studioUnitsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsCreateData, ThrowOnError>) => RequestResult<StudioUnitsCreateResponses, StudioUnitsCreateErrors, ThrowOnError>;
2023
4291
  /**
2024
- * Get asset
4292
+ * Add a whole outline of units at once
2025
4293
  *
2026
- * Read a non-deleted asset by its asset_id in an active library, including content hashes, processing progress and available previews. Missing or deleted assets return ASSET_NOT_FOUND.
4294
+ * Create many units in one write from a nested outline, which is how a structure is built after the person approved a plan. Nesting in the outline becomes the parent chain, numbers are assigned in order, and the draft gets one revision for the whole batch rather than one per unit. Sending the same outline twice would duplicate it, so pass the draft revision you read and repeat the call only after a refusal.
2027
4295
  */
2028
- export declare const mediaGetAsset: <ThrowOnError extends boolean = false>(options: Options<MediaGetAssetData, ThrowOnError>) => RequestResult<MediaGetAssetResponses, MediaGetAssetErrors, ThrowOnError>;
4296
+ export declare const studioUnitsBatchCreate: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsBatchCreateData, ThrowOnError>) => RequestResult<StudioUnitsBatchCreateResponses, StudioUnitsBatchCreateErrors, ThrowOnError>;
2029
4297
  /**
2030
- * Update asset
4298
+ * Write intents for many units in one call
2031
4299
  *
2032
- * Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.
4300
+ * Change the intent of several units in one write: the synopsis, the points and the brief points each of them claims. Bodies are not part of this call, because a body is written one unit at a time with its own revision; here the whole batch shares the draft revision you read. Use it to lay out a plan across the tree, then write bodies one by one.
2033
4301
  */
2034
- export declare const mediaUpdateAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateAssetData, ThrowOnError>) => RequestResult<MediaUpdateAssetResponses, MediaUpdateAssetErrors, ThrowOnError>;
4302
+ export declare const studioUnitsBatchUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsBatchUpdateData, ThrowOnError>) => RequestResult<StudioUnitsBatchUpdateResponses, StudioUnitsBatchUpdateErrors, ThrowOnError>;
2035
4303
  /**
2036
- * Reprocess asset
4304
+ * Read one unit with its blocks and Markdown
2037
4305
  *
2038
- * Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks; explicit kinds rerun applicable completed tasks. Replaced understandings become superseded, and processing finishes asynchronously.
4306
+ * Read one unit: its intent, its status, its revision, its links to reference entries, and its body as both blocks and Markdown. The Markdown carries each block identifier inline as an anchor comment, so a rewrite can keep the identifiers of the blocks it keeps. Read this before writing the body, because the revision it returns is the precondition that write has to carry.
2039
4307
  */
2040
- export declare const mediaReprocessAsset: <ThrowOnError extends boolean = false>(options: Options<MediaReprocessAssetData, ThrowOnError>) => RequestResult<MediaReprocessAssetResponses, MediaReprocessAssetErrors, ThrowOnError>;
4308
+ export declare const studioUnitsGet: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsGetData, ThrowOnError>) => RequestResult<StudioUnitsGetResponses, StudioUnitsGetErrors, ThrowOnError>;
2041
4309
  /**
2042
- * List understandings
4310
+ * Change a unit intent, body or status
2043
4311
  *
2044
- * List an asset’s understanding results in creation order. By default only current, non-superseded results are returned; use include_superseded=true for history or kind to select an output type.
4312
+ * Change one unit: its name, its heading, its synopsis and points, the brief points it claims, its status, its links to reference entries, or its body as a whole Markdown text. A body write requires expected_revision, because replacing the whole text would drop blocks someone else inserted. The answer carries the unit as it now stands, so read the next field of the answer instead of re-reading the unit.
2045
4313
  */
2046
- export declare const mediaListUnderstandings: <ThrowOnError extends boolean = false>(options: Options<MediaListUnderstandingsData, ThrowOnError>) => RequestResult<MediaListUnderstandingsResponses, MediaListUnderstandingsErrors, ThrowOnError>;
4314
+ export declare const studioUnitsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsUpdateData, ThrowOnError>) => RequestResult<StudioUnitsUpdateResponses, StudioUnitsUpdateErrors, ThrowOnError>;
2047
4315
  /**
2048
- * Expression search
4316
+ * Move a unit to another place in the tree
2049
4317
  *
2050
- * Search active assets using the supported filter-expression syntax, sorting and cursor pagination. Empty expression matches all assets. Tags and context require with_field; inspect the exactness flags before treating counts as complete.
4318
+ * Move a unit under another parent or after another sibling, without changing its number, its identifier, its intent or its body. A move that would put a unit inside its own descendant, or that would cross into another draft, is refused. Only the moved unit changes, so the revision to pass is its own.
2051
4319
  */
2052
- export declare const mediaExpressionSearch: <ThrowOnError extends boolean = false>(options: Options<MediaExpressionSearchData, ThrowOnError>) => RequestResult<MediaExpressionSearchResponses, MediaExpressionSearchErrors, ThrowOnError>;
4320
+ export declare const studioUnitsMove: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsMoveData, ThrowOnError>) => RequestResult<StudioUnitsMoveResponses, StudioUnitsMoveErrors, ThrowOnError>;
2053
4321
  /**
2054
- * Visual search
4322
+ * Edit a unit body block by block
2055
4323
  *
2056
- * Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.
4324
+ * Change a body by naming the blocks to insert, replace or delete instead of resending the whole text. This is the safe way for a writer that only touches part of a unit, because a block another writer changed after your revision is refused rather than overwritten. The revision is required, and the answer carries the unit with its blocks so the next edit can address them.
2057
4325
  */
2058
- export declare const mediaVisualSearch: <ThrowOnError extends boolean = false>(options: Options<MediaVisualSearchData, ThrowOnError>) => RequestResult<MediaVisualSearchResponses, MediaVisualSearchErrors, ThrowOnError>;
4326
+ export declare const studioUnitsPatchBlocks: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsPatchBlocksData, ThrowOnError>) => RequestResult<StudioUnitsPatchBlocksResponses, StudioUnitsPatchBlocksErrors, ThrowOnError>;
2059
4327
  /**
2060
- * Semantic search
4328
+ * Read the context pack for writing one unit
2061
4329
  *
2062
- * Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.
4330
+ * Read everything a writer needs before touching one unit: the genre rules, the goal, the brief, the style, the upstream source, the reference entries this unit draws on, the synopses of the units before it, and the intent of this unit, assembled in a fixed order and measured against a token budget. Entries left out say why, so a missing detail is visible rather than silent. Same input gives the same pack, which is what makes a written result reproducible.
2063
4331
  */
2064
- export declare const mediaSemanticSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSemanticSearchData, ThrowOnError>) => RequestResult<MediaSemanticSearchResponses, MediaSemanticSearchErrors, ThrowOnError>;
4332
+ export declare const studioUnitsContext: <ThrowOnError extends boolean = false>(options: Options<StudioUnitsContextData, ThrowOnError>) => RequestResult<StudioUnitsContextResponses, StudioUnitsContextErrors, ThrowOnError>;
2065
4333
  /**
2066
- * Semantic search alias
4334
+ * List the reference libraries of this organization
2067
4335
  *
2068
- * Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.
4336
+ * List the reference libraries this API key organization owns, each with how many entries it holds, so you can choose the one a work draws on. Continue with next_page_token until the answer stops carrying one. Pass work to read one work's own library alone; leave it out for every library the organization owns.
2069
4337
  */
2070
- export declare const mediaSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSearchData, ThrowOnError>) => RequestResult<MediaSearchResponses, MediaSearchErrors, ThrowOnError>;
4338
+ export declare const studioCodexesList: <ThrowOnError extends boolean = false>(options?: Options<StudioCodexesListData, ThrowOnError>) => RequestResult<StudioCodexesListResponses, StudioCodexesListErrors, ThrowOnError>;
2071
4339
  /**
2072
- * List folders
4340
+ * Create a reference library
2073
4341
  *
2074
- * List all immediate child folders under parent, or under the root when parent is omitted. Counts include descendant assets. The result is unpaginated; limit and cursor are rejected.
4342
+ * Create a reference library: a store of the people, places, products and facts a piece draws on. Attach it to a work with the work update call, and the entries it holds then reach the context packs of that work's units. A library made this way is shared across works, which suits brand facts several pieces mention; the library a work needs for its own setting is created with the work itself, and the work list call finds it by filtering on work.
2075
4343
  */
2076
- export declare const mediaListFolders: <ThrowOnError extends boolean = false>(options: Options<MediaListFoldersData, ThrowOnError>) => RequestResult<MediaListFoldersResponses, MediaListFoldersErrors, ThrowOnError>;
4344
+ export declare const studioCodexesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioCodexesCreateData, ThrowOnError>) => RequestResult<StudioCodexesCreateResponses, StudioCodexesCreateErrors, ThrowOnError>;
2077
4345
  /**
2078
- * Create batch
4346
+ * Delete a reference library
2079
4347
  *
2080
- * Create an asynchronous batch for tagging, untagging, replacing context, moving or deleting assets. Select ids or an expression; selection is frozen at creation. Poll the returned job id for completion and per-item failures.
4348
+ * Delete a library and every entry inside it. A library attached to any work is refused with CODEX_IN_USE, because deleting it would silently strip the reference material those units draw on; detach it from the work first. This cannot be undone, so confirm which library the identifier names.
2081
4349
  */
2082
- export declare const mediaCreateBatch: <ThrowOnError extends boolean = false>(options: Options<MediaCreateBatchData, ThrowOnError>) => RequestResult<MediaCreateBatchResponses, MediaCreateBatchErrors, ThrowOnError>;
4350
+ export declare const studioCodexesDelete: <ThrowOnError extends boolean = false>(options: Options<StudioCodexesDeleteData, ThrowOnError>) => RequestResult<StudioCodexesDeleteResponses, StudioCodexesDeleteErrors, ThrowOnError>;
2083
4351
  /**
2084
- * Get batch
4352
+ * Read one reference library
2085
4353
  *
2086
- * Read a batch job’s status, successful and failed item counts, and a bounded list of failed items. Use the id returned by batch creation; a job outside this library is not found.
4354
+ * Read one reference library: its name, its description, its labels and how many entries it holds. Read this to confirm a library exists before attaching it to a work; the entries themselves are listed with the entry list call, because a library may hold more of them than fit in one answer.
2087
4355
  */
2088
- export declare const mediaGetBatch: <ThrowOnError extends boolean = false>(options: Options<MediaGetBatchData, ThrowOnError>) => RequestResult<MediaGetBatchResponses, MediaGetBatchErrors, ThrowOnError>;
4356
+ export declare const studioCodexesGet: <ThrowOnError extends boolean = false>(options: Options<StudioCodexesGetData, ThrowOnError>) => RequestResult<StudioCodexesGetResponses, StudioCodexesGetErrors, ThrowOnError>;
2089
4357
  /**
2090
- * Batch assets alias
4358
+ * Rename a reference library or change its description
2091
4359
  *
2092
- * Alias of batch creation. Apply one metadata or deletion action to ids or a frozen expression selection asynchronously; poll the returned job id to inspect completion and item failures.
4360
+ * Change the library itself: its name, its description or its labels. Send update_mask naming exactly the fields you change; a field left out keeps its value. The entries inside are untouched, and a work that has the library attached keeps it attached under the new name.
2093
4361
  */
2094
- export declare const mediaBatchAssets: <ThrowOnError extends boolean = false>(options: Options<MediaBatchAssetsData, ThrowOnError>) => RequestResult<MediaBatchAssetsResponses, MediaBatchAssetsErrors, ThrowOnError>;
4362
+ export declare const studioCodexesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioCodexesUpdateData, ThrowOnError>) => RequestResult<StudioCodexesUpdateResponses, StudioCodexesUpdateErrors, ThrowOnError>;
2095
4363
  /**
2096
- * Get job alias
4364
+ * List the entries of a reference library
2097
4365
  *
2098
- * Alias of batch retrieval. Read the job returned by a batch request, including terminal status, successful and failed counts, and individual failure codes.
4366
+ * List the entries of one library in pages, each with its type, its name, its aliases and whether it is always present in context. Use it to see what a work already knows before adding an entry, since a duplicate name is refused rather than merged. Continue with next_page_token until the answer stops carrying one.
2099
4367
  */
2100
- export declare const mediaGetJob: <ThrowOnError extends boolean = false>(options: Options<MediaGetJobData, ThrowOnError>) => RequestResult<MediaGetJobResponses, MediaGetJobErrors, ThrowOnError>;
4368
+ export declare const studioEntriesList: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesListData, ThrowOnError>) => RequestResult<StudioEntriesListResponses, StudioEntriesListErrors, ThrowOnError>;
2101
4369
  /**
2102
- * List events
4370
+ * Add an entry to a reference library
2103
4371
  *
2104
- * Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.
4372
+ * Add one entry: a character, a place, a product, a source of facts. Give it the type the genre uses, the name the text will mention, and the description, notes, facts and story time that should reach a writer when it is mentioned. Attach a picture gallery when the entry should be looked at as well as read. Aliases and excluded phrases keep detection honest, so a common word inside an idiom is not mistaken for the entry. A name already used in the library is refused.
2105
4373
  */
2106
- export declare const mediaListEvents: <ThrowOnError extends boolean = false>(options: Options<MediaListEventsData, ThrowOnError>) => RequestResult<MediaListEventsResponses, MediaListEventsErrors, ThrowOnError>;
4374
+ export declare const studioEntriesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesCreateData, ThrowOnError>) => RequestResult<StudioEntriesCreateResponses, StudioEntriesCreateErrors, ThrowOnError>;
2107
4375
  /**
2108
- * List sandboxes (v2)
4376
+ * Delete a reference entry
2109
4377
  *
2110
- * List your running and paused sandboxes with paging and filters. Use it to find a sandboxID before connecting to, pausing or killing a sandbox. Filter by state, template (id or alias), name, metadata (key=value pairs joined with &) and startedAfter; order sorts by start time (default newest first); limit is 1 to 100 (default 100). When more results exist the response carries an x-next-token header; send it back as nextToken for the next page. To read one sandbox use getSandbox.
4378
+ * Delete one entry from a library, which also removes the mentions and the links that pointed at it. Units that claimed it keep their text; only the reference goes away. This cannot be undone, so confirm the name of the entry before deleting it, and prefer changing its tracking setting to never when it should stop reaching writers but stay recorded.
2111
4379
  */
2112
- export declare const getSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1SandboxesData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesResponses, GetSandboxV1SandboxesErrors, ThrowOnError>;
4380
+ export declare const studioEntriesDelete: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesDeleteData, ThrowOnError>) => RequestResult<StudioEntriesDeleteResponses, StudioEntriesDeleteErrors, ThrowOnError>;
2113
4381
  /**
2114
- * Create sandbox (v2)
4382
+ * Read one reference entry
2115
4383
  *
2116
- * Create a sandbox from the template. All system communication with the sandbox is secured.
4384
+ * Read one entry in full: its description, its notes, its fact ledger, its relations to other entries, its story time, its detection settings and its picture gallery. Read it before changing it, because an update replaces the fields it names rather than merging them. The entry is addressed by its name in this library, or by its ent_ identifier.
2117
4385
  */
2118
- export declare const postSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesResponses, PostSandboxV1SandboxesErrors, ThrowOnError>;
4386
+ export declare const studioEntriesGet: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesGetData, ThrowOnError>) => RequestResult<StudioEntriesGetResponses, StudioEntriesGetErrors, ThrowOnError>;
2119
4387
  /**
2120
- * Sandbox metrics
4388
+ * Change what a reference entry says
2121
4389
  *
2122
- * Read CPU, memory and disk usage samples of a sandbox over a time window. Use it to size a sandbox or find out why it is slow. start and end are Unix timestamps in seconds; without them the recent samples are returned. An unknown id answers 404.
4390
+ * Change one entry: its type, its name, its aliases, its description, its facts, its notes, its story time, its tracking setting, its picture gallery or its relations. Send update_mask naming exactly the fields you change, because a field the mask leaves out keeps its value while a list field the mask names is replaced whole. Renaming an entry changes what the text has to mention for detection to find it.
2123
4391
  */
2124
- export declare const getSandboxV1SandboxesBySandboxIdMetrics: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdMetricsData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdMetricsResponses, GetSandboxV1SandboxesBySandboxIdMetricsErrors, ThrowOnError>;
4392
+ export declare const studioEntriesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesUpdateData, ThrowOnError>) => RequestResult<StudioEntriesUpdateResponses, StudioEntriesUpdateErrors, ThrowOnError>;
2125
4393
  /**
2126
- * Pause sandbox
4394
+ * List the writing styles of this organization
2127
4395
  *
2128
- * Pause a running sandbox, keeping its files and memory so that connectSandbox can resume it later. Use it to stop paying for compute without losing state; to discard the sandbox use killSandbox. Success answers 204. A sandbox that is not running answers 409.
4396
+ * List the styles this API key organization owns, each with its name and description, so you can choose the voice a work should be written in. Continue with next_page_token until the answer stops carrying one. Read one style in full before attaching it, because its samples are what actually shape the writing.
2129
4397
  */
2130
- export declare const postSandboxV1SandboxesBySandboxIdPause: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdPauseData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdPauseErrors, ThrowOnError>;
4398
+ export declare const studioStylesList: <ThrowOnError extends boolean = false>(options?: Options<StudioStylesListData, ThrowOnError>) => RequestResult<StudioStylesListResponses, StudioStylesListErrors, ThrowOnError>;
2131
4399
  /**
2132
- * Set sandbox timeout
4400
+ * Create a writing style
2133
4401
  *
2134
- * Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
4402
+ * Create a style: the voice a piece is written in, held as samples rather than as adjectives. Samples matter more than a description, so paste one to five paragraphs of writing the piece should sound like, and put the words to avoid into avoid so the banned-word check uses them. A style belongs to the work you name in work, and a work may only attach its own styles, so create the style with the work it will be used in. Attach a style to a work, or to one draft of it, and its samples then reach every context pack.
2135
4403
  */
2136
- export declare const postSandboxV1SandboxesBySandboxIdTimeout: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdTimeoutData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, ThrowOnError>;
4404
+ export declare const studioStylesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioStylesCreateData, ThrowOnError>) => RequestResult<StudioStylesCreateResponses, StudioStylesCreateErrors, ThrowOnError>;
2137
4405
  /**
2138
- * Connect sandbox (v2)
4406
+ * Delete a writing style
2139
4407
  *
2140
- * Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
4408
+ * Delete a style, which detaches it from every work and draft that used it; those units then stop receiving its samples and glossary in their context packs. This cannot be undone, so confirm the style identifier before deleting it, and read the work first when it is not certain which style it uses.
2141
4409
  */
2142
- export declare const postSandboxV1SandboxesBySandboxIdConnect: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdConnectData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdConnectErrors, ThrowOnError>;
4410
+ export declare const studioStylesDelete: <ThrowOnError extends boolean = false>(options: Options<StudioStylesDeleteData, ThrowOnError>) => RequestResult<StudioStylesDeleteResponses, StudioStylesDeleteErrors, ThrowOnError>;
2143
4411
  /**
2144
- * List templates (v2)
4412
+ * Read one writing style
2145
4413
  *
2146
- * List the templates you can create sandboxes from. Use it to pick the template id or alias for createSandbox. `base` is the default template that createSandbox uses when templateID is omitted. limit is 1 to 100 (default 100); send the cursor from the response back as nextToken to continue.
4414
+ * Read one style in full: its samples, the wording to use and to avoid, and its glossary of wrong-to-right terms. Read it before attaching it to a work, since samples decide the sound of the writing far more than the description does, and a glossary term also becomes a deterministic check against the text.
2147
4415
  */
2148
- export declare const getSandboxV1Templates: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1TemplatesData, ThrowOnError>) => RequestResult<GetSandboxV1TemplatesResponses, GetSandboxV1TemplatesErrors, ThrowOnError>;
4416
+ export declare const studioStylesGet: <ThrowOnError extends boolean = false>(options: Options<StudioStylesGetData, ThrowOnError>) => RequestResult<StudioStylesGetResponses, StudioStylesGetErrors, ThrowOnError>;
2149
4417
  /**
2150
- * List team volumes
4418
+ * Change a writing style
2151
4419
  *
2152
- * List the volumes of your team. Use it to find a volumeID before reading or deleting a volume, or to attach a volume to a sandbox by name when you create it.
4420
+ * Change a style: its name, its description, its samples, its picture samples, its use and avoid lists, or its glossary. Send update_mask naming exactly the fields you change; a list the mask names is replaced whole. Adding a term to the glossary or to avoid also changes what the deterministic checks flag, so a work that uses this style sees new findings on its next check.
2153
4421
  */
2154
- export declare const getSandboxV1Volumes: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1VolumesData, ThrowOnError>) => RequestResult<GetSandboxV1VolumesResponses, GetSandboxV1VolumesErrors, ThrowOnError>;
4422
+ export declare const studioStylesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioStylesUpdateData, ThrowOnError>) => RequestResult<StudioStylesUpdateResponses, StudioStylesUpdateErrors, ThrowOnError>;
2155
4423
  /**
2156
- * Create team volume
4424
+ * List the templates a genre can start from
2157
4425
  *
2158
- * Create a team volume: persistent storage that can be mounted into sandboxes and outlives them. Send the volume name; the response returns the volume id and name. Use getVolume to read it back and deleteVolume to remove it.
4426
+ * List templates: the built-in starting structures of each genre, followed by the ones this organization saved. Pass a genre to see only the templates that genre can use. A template is used once when a draft is created and is then detached, so changing a template never rewrites a draft that already started from it.
2159
4427
  */
2160
- export declare const postSandboxV1Volumes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1VolumesData, ThrowOnError>) => RequestResult<PostSandboxV1VolumesResponses, PostSandboxV1VolumesErrors, ThrowOnError>;
4428
+ export declare const studioTemplatesList: <ThrowOnError extends boolean = false>(options?: Options<StudioTemplatesListData, ThrowOnError>) => RequestResult<StudioTemplatesListResponses, StudioTemplatesListErrors, ThrowOnError>;
2161
4429
  /**
2162
- * Delete team volume
4430
+ * Save a starting structure as a template
2163
4431
  *
2164
- * Delete a team volume and its data permanently. Use it only when no sandbox needs the volume any more; the data cannot be recovered. Success answers 204; an unknown id answers 404.
4432
+ * Save a unit tree as a reusable template for one genre, so the same structure can seed later drafts. Give the genre, a name, the outline of units with their intents, and optionally the writing guidance a writer should follow. Creating a template from an existing draft is a separate milestone and answers NOT_IMPLEMENTED, so build the outline here instead.
2165
4433
  */
2166
- export declare const deleteSandboxV1VolumesByVolumeId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1VolumesByVolumeIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1VolumesByVolumeIdResponses, DeleteSandboxV1VolumesByVolumeIdErrors, ThrowOnError>;
4434
+ export declare const studioTemplatesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioTemplatesCreateData, ThrowOnError>) => RequestResult<StudioTemplatesCreateResponses, StudioTemplatesCreateErrors, ThrowOnError>;
2167
4435
  /**
2168
- * Team volume
4436
+ * Delete a saved template
2169
4437
  *
2170
- * Read one team volume by id. Use it to confirm a volume exists and to read its name before mounting it in a sandbox. An unknown id answers 404.
4438
+ * Delete a template this organization saved. A built-in template belongs to the catalog and cannot be deleted, so this answers TEMPLATE_NOT_FOUND for one. Drafts that already started from the template are unaffected, because the template was detached when they were created. This cannot be undone.
2171
4439
  */
2172
- export declare const getSandboxV1VolumesByVolumeId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1VolumesByVolumeIdData, ThrowOnError>) => RequestResult<GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesByVolumeIdErrors, ThrowOnError>;
4440
+ export declare const studioTemplatesDelete: <ThrowOnError extends boolean = false>(options: Options<StudioTemplatesDeleteData, ThrowOnError>) => RequestResult<StudioTemplatesDeleteResponses, StudioTemplatesDeleteErrors, ThrowOnError>;
2173
4441
  /**
2174
- * Fork sandbox
4442
+ * Read one template
2175
4443
  *
2176
- * Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
4444
+ * Read one template: its genre, the writing guidance it carries and the unit outline it seeds, with each unit's intent. Address a saved template by its identifier and a built-in one by its key, alone or with its genre prefix such as novel_long:three_act when two genres share a key. Read it before creating a draft from it, because the template decides the structure the draft starts with.
2177
4445
  */
2178
- export declare const postSandboxV1SandboxesBySandboxIdFork: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdForkData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdForkErrors, ThrowOnError>;
4446
+ export declare const studioTemplatesGet: <ThrowOnError extends boolean = false>(options: Options<StudioTemplatesGetData, ThrowOnError>) => RequestResult<StudioTemplatesGetResponses, StudioTemplatesGetErrors, ThrowOnError>;
2179
4447
  /**
2180
- * Create snapshot
4448
+ * List the rendition themes of a platform
2181
4449
  *
2182
- * Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
4450
+ * List themes: the layouts a rendition is produced with, for one platform or for all of them. Pass a platform to see only the themes that platform can use. The first page starts with the built-in themes (builtin true, such as warm-card@1 for Xiaohongshu cards and plain-mono@1 for WeChat articles), which every organization can use and nobody can change or delete; your organization's own themes follow. A theme decides the page or card a rendition is built into, so read the chosen theme before creating a rendition rather than after the output looks wrong.
2183
4451
  */
2184
- export declare const postSandboxV1SandboxesBySandboxIdSnapshots: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesBySandboxIdSnapshotsData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, ThrowOnError>;
4452
+ export declare const studioThemesList: <ThrowOnError extends boolean = false>(options?: Options<StudioThemesListData, ThrowOnError>) => RequestResult<StudioThemesListResponses, StudioThemesListErrors, ThrowOnError>;
2185
4453
  /**
2186
- * List snapshots
4454
+ * Create a rendition theme
2187
4455
  *
2188
- * List the snapshots you created, one cursor page at a time. Use it to find a snapshot id before you create a sandbox from it or delete it. Filter by sandboxID (the source sandbox) or by name or snapshot id, optionally tag-qualified; limit is 1 to 100 (default 100). When more results exist send the cursor from the response back as nextToken.
4456
+ * Create a theme for one platform: the HTML and CSS a written piece is rendered into, plus the fixed header and footer every rendition carries. A DOCX platform takes a reference document instead of markup, and a card theme takes its aspect, width and fonts. An agent may write a theme here, which is how a new layout appears without a release.
2189
4457
  */
2190
- export declare const getSandboxV1Snapshots: <ThrowOnError extends boolean = false>(options?: Options<GetSandboxV1SnapshotsData, ThrowOnError>) => RequestResult<GetSandboxV1SnapshotsResponses, GetSandboxV1SnapshotsErrors, ThrowOnError>;
4458
+ export declare const studioThemesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioThemesCreateData, ThrowOnError>) => RequestResult<StudioThemesCreateResponses, StudioThemesCreateErrors, ThrowOnError>;
2191
4459
  /**
2192
- * Delete template
4460
+ * Delete a rendition theme
2193
4461
  *
2194
- * Delete one of your snapshots. Sandboxes already created from it keep running; no new sandbox can be created from it afterwards. Success answers 204. A snapshot that does not exist or belongs to someone else answers 404.
4462
+ * Delete a theme this organization created. A built-in theme belongs to the platform and cannot be deleted, so this answers THEME_NOT_FOUND for one. Renditions already produced with the theme keep their output, because the produced file no longer depends on the theme. This cannot be undone.
2195
4463
  */
2196
- export declare const deleteSandboxV1SnapshotsBySnapshotId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SnapshotsBySnapshotIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SnapshotsBySnapshotIdResponses, DeleteSandboxV1SnapshotsBySnapshotIdErrors, ThrowOnError>;
4464
+ export declare const studioThemesDelete: <ThrowOnError extends boolean = false>(options: Options<StudioThemesDeleteData, ThrowOnError>) => RequestResult<StudioThemesDeleteResponses, StudioThemesDeleteErrors, ThrowOnError>;
2197
4465
  /**
2198
- * Update sandbox network
4466
+ * Read one rendition theme
2199
4467
  *
2200
- * Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
4468
+ * Read one theme in full: the HTML template and stylesheet it renders with, the header and footer it always carries, the reference document a DOCX rendition uses, or the card proportions a card rendition uses. Read it before creating a rendition with it, because a theme decides what the output looks like and a DOCX theme is a file rather than markup.
2201
4469
  */
2202
- export declare const putSandboxV1SandboxesBySandboxIdNetwork: <ThrowOnError extends boolean = false>(options: Options<PutSandboxV1SandboxesBySandboxIdNetworkData, ThrowOnError>) => RequestResult<PutSandboxV1SandboxesBySandboxIdNetworkResponses, PutSandboxV1SandboxesBySandboxIdNetworkErrors, ThrowOnError>;
4470
+ export declare const studioThemesGet: <ThrowOnError extends boolean = false>(options: Options<StudioThemesGetData, ThrowOnError>) => RequestResult<StudioThemesGetResponses, StudioThemesGetErrors, ThrowOnError>;
2203
4471
  /**
2204
- * Sandbox logs (v2)
4472
+ * Change a rendition theme
2205
4473
  *
2206
- * Read the log lines of a sandbox. Use it to debug what ran inside a sandbox. cursor is a start timestamp in milliseconds, direction chooses forward or backward from it, level sets the lowest level to return, search is a case-sensitive substring filter (at most 256 characters) and limit caps the count (at most 1000, default 1000). To continue, pass the timestamp of the last entry as the next cursor.
4474
+ * Change a theme: its name, its markup, its stylesheet, or the fixed fragments around every rendition. Send update_mask naming exactly the fields you change. Changing a theme does not rewrite renditions already produced with an earlier version, because each rendition records the theme version it was built from.
2207
4475
  */
2208
- export declare const getSandboxV1SandboxesBySandboxIdLogs: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdLogsData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdLogsErrors, ThrowOnError>;
4476
+ export declare const studioThemesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioThemesUpdateData, ThrowOnError>) => RequestResult<StudioThemesUpdateResponses, StudioThemesUpdateErrors, ThrowOnError>;
2209
4477
  /**
2210
- * Search for data based on a query
4478
+ * Create a rendition of a draft for a platform
2211
4479
  *
2212
- * Search the web and return ranked results with extracted content. Use it to answer questions with current information; to read the full text of known URLs use searchExtract, to walk a site use searchCrawl and to list a site's URLs use searchMap. query is required. topic chooses general, news or finance; time_range limits results to the last day, week, month or year; country boosts results from one country (topic general only). Each result carries title, url, content and a relevance score, and the response can include a generated answer, images and follow-up questions when requested.
4480
+ * Create a rendition: the form of one draft that a platform receives, such as a Xiaohongshu card set, a DOCX file or a Markdown file. Read the platform first with the platform call and pass its versioned key; pass a theme only to override the platform's default layout. Pass render true to render in the same call and read render_state and issues in the answer; without it the rendition starts as pending and the render call produces it. Rendering a Xiaohongshu card set is billed by Browser Rendering time (meter browser_ms, product studio-render); DOCX and Markdown renditions are not billed. A draft with no body renders as invalid with a draft_empty issue, and an unavailable render service leaves render_state failed with a render_unavailable issue, so repeat the render call later. Send a request_id to make a repeated call return the first rendition instead of creating another. Next, publish the rendition to export it.
2213
4481
  */
2214
- export declare const searchSearch: <ThrowOnError extends boolean = false>(options: Options<SearchSearchData, ThrowOnError>) => RequestResult<SearchSearchResponses, SearchSearchErrors, ThrowOnError>;
4482
+ export declare const studioRenditionsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsCreateData, ThrowOnError>) => RequestResult<StudioRenditionsCreateResponses, StudioRenditionsCreateErrors, ThrowOnError>;
2215
4483
  /**
2216
- * Retrieve raw web content from specified URLs
4484
+ * List the renditions of a work
2217
4485
  *
2218
- * Extract content from one URL or batch up to 20 URLs in one request. Successful URLs appear in results; per-URL failures appear in failed_results. Check both arrays even when the response is HTTP 200. Request options apply to every URL in the batch.
4486
+ * List the renditions of one work, each with its platform, render state, stale flag and publish state. Pass draft to see only the renditions of one draft. Use it to find the rendition to publish or to render again, and read stale before exporting: a stale rendition was built from an older draft and cannot be exported until the render call has rebuilt it. The answer is one page; keep following next_page_token while it is present.
2219
4487
  */
2220
- export declare const searchExtract: <ThrowOnError extends boolean = false>(options: Options<SearchExtractData, ThrowOnError>) => RequestResult<SearchExtractResponses, SearchExtractErrors, ThrowOnError>;
4488
+ export declare const studioRenditionsList: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsListData, ThrowOnError>) => RequestResult<StudioRenditionsListResponses, StudioRenditionsListErrors, ThrowOnError>;
2221
4489
  /**
2222
- * Initiate a web crawl from a base URL
4490
+ * Delete a rendition
2223
4491
  *
2224
- * Tavily Crawl is a graph-based website traversal tool that can explore hundreds of paths in parallel with built-in extraction and intelligent discovery.
4492
+ * Delete a rendition and stop listing it. The draft it was built from is untouched, and a new rendition can be created from it at any time. Files already downloaded from an earlier export are not affected. Use it to clear a failed or abandoned rendition; to refresh one, call the render operation instead.
2225
4493
  */
2226
- export declare const searchCrawl: <ThrowOnError extends boolean = false>(options: Options<SearchCrawlData, ThrowOnError>) => RequestResult<SearchCrawlResponses, SearchCrawlErrors, ThrowOnError>;
4494
+ export declare const studioRenditionsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsDeleteData, ThrowOnError>) => RequestResult<StudioRenditionsDeleteResponses, StudioRenditionsDeleteErrors, ThrowOnError>;
2227
4495
  /**
2228
- * Initiate a web mapping from a base URL
4496
+ * Read one rendition
2229
4497
  *
2230
- * Tavily Map traverses websites like a graph and can explore hundreds of paths in parallel with intelligent discovery to generate comprehensive site maps.
4498
+ * Read one rendition in full: its render state, the validation issues the render found, the parts (one per card page or thread post), the files it produced and its publish state. Call it after create, render or publish to see the outcome, because a render that finished invalid or failed is reported here and not as an HTTP error. stale is true when the draft has changed since source_revision; call the render operation before exporting a stale rendition.
2231
4499
  */
2232
- export declare const searchMap: <ThrowOnError extends boolean = false>(options: Options<SearchMapData, ThrowOnError>) => RequestResult<SearchMapResponses, SearchMapErrors, ThrowOnError>;
4500
+ export declare const studioRenditionsGet: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsGetData, ThrowOnError>) => RequestResult<StudioRenditionsGetResponses, StudioRenditionsGetErrors, ThrowOnError>;
4501
+ /**
4502
+ * Change the theme or settings of a rendition
4503
+ *
4504
+ * Change a rendition's theme or settings. Send update_mask naming exactly the fields you change, such as theme or settings; a field left out keeps its value. The produced files are not rebuilt by this call, so call the render operation afterwards to apply the change. A rendition whose export or publish has started is locked and answers RENDITION_PUBLISH_LOCKED; create a new rendition for new content.
4505
+ */
4506
+ export declare const studioRenditionsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsUpdateData, ThrowOnError>) => RequestResult<StudioRenditionsUpdateResponses, StudioRenditionsUpdateErrors, ThrowOnError>;
4507
+ /**
4508
+ * Render a rendition again from the current draft
4509
+ *
4510
+ * Render the rendition from the draft as it is now, replacing its parts and files and clearing stale. Call it after the draft changed, after a theme or settings change, or after a failed render. The answer carries render_state: rendered, invalid when the draft has an error-level issue (for example draft_empty on a draft with no body), or failed when the render service was unavailable (issue render_unavailable; repeat later). A render does not fail the HTTP call for those outcomes, so read render_state and issues. Rendering a Xiaohongshu card set is billed by Browser Rendering time (meter browser_ms, product studio-render); DOCX and Markdown are not billed. Rendering the same rendition twice at once answers REVISION_CONFLICT; retry shortly. Next, publish the rendition to export it.
4511
+ */
4512
+ export declare const studioRenditionsRender: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsRenderData, ThrowOnError>) => RequestResult<StudioRenditionsRenderResponses, StudioRenditionsRenderErrors, ThrowOnError>;
4513
+ /**
4514
+ * Export a rendition
4515
+ *
4516
+ * Export a rendition for the platforms that deliver a file: markdown@1, docx@1 and xiaohongshu@1 end with publish.state exported, and a card rendition gains one ZIP of its pages in files. Publishing to a platform account such as X or WeChat is not available yet and answers PLATFORM_NOT_AVAILABLE; export instead. The rendition must be rendered, not stale and without error-level issues: RENDITION_NOT_RENDERED means call the render operation first, RENDITION_STALE means the draft changed so render again, RENDITION_INVALID means fix the draft problems listed in issues and render again. Exporting the same rendition twice at once answers REVISION_CONFLICT; retry shortly. Next, call the content operation to download the file.
4517
+ */
4518
+ export declare const studioRenditionsPublish: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsPublishData, ThrowOnError>) => RequestResult<StudioRenditionsPublishResponses, StudioRenditionsPublishErrors, ThrowOnError>;
4519
+ /**
4520
+ * Get a download URL for a rendition file
4521
+ *
4522
+ * Get a signed, short-lived URL to download what a rendition produced. Without part it points to the rendition's own first file: the ZIP of pages for a card rendition, the DOCX for docx@1. With part it points to that part's first file, such as one card PNG; a part that has no file, or a rendition not rendered yet, answers RENDITION_NOT_RENDERED, and an index no part has answers INVALID_PARAMS. Call it after a successful render or export, download the url before expire_time, and call again for a fresh one when it has expired. The URL is a credential: do not store or share it.
4523
+ */
4524
+ export declare const studioRenditionsContentUrl: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsContentUrlData, ThrowOnError>) => RequestResult<StudioRenditionsContentUrlResponses, StudioRenditionsContentUrlErrors, ThrowOnError>;
4525
+ /**
4526
+ * List the blind review rounds of a work
4527
+ *
4528
+ * List the review rounds of one work, newest round first, each with its draft, round number, status and decision. Pass draft to see the rounds of one draft only. Use it to find the round to read, to answer or to cancel, and to see whether the draft already has a round running before sending another: a running round answers REVIEW_IN_PROGRESS. The answer is one page; keep following next_page_token while it is present. Rounds of other organizations are not listed and a work of another organization answers WORK_NOT_FOUND.
4529
+ */
4530
+ export declare const studioWorksReviewsList: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsListData, ThrowOnError>) => RequestResult<StudioWorksReviewsListResponses, StudioWorksReviewsListErrors, ThrowOnError>;
4531
+ /**
4532
+ * Send a draft to blind review
4533
+ *
4534
+ * Send one draft of this work to the blind review centre, which freezes the draft's content revision as it is now and asks in every reviewer on the work's roster whose kind this round asks. Use it once the draft is written; the roster decides who reviews, and the sender only ever reads labels A, B, C, never the reviewer identities. Pass mode to narrow this round to expert reviewers, to audience reviewers or to both, which the settings do not decide. From the second round pass revision_of with the previous round's rv_ id and note with the change note that answers that round point by point. The answer is the new round in status reviewing; read it again with the review read until status becomes decided and then read decision, expert_reports and screening. Billing follows the reviewers' sessions, not the frame of this call. DRAFT_NOT_READY means the draft still has units without a body or fails a hard check, so finish it first; REVIEW_IN_PROGRESS means this draft already has a round running, so wait for it to decide or cancel it; REVIEW_ROUND_LIMIT means the work reached max_rounds and a person has to raise it in the review settings; NO_REVIEWERS means the work's reviewer roster has nobody of the kind this round asks, so a person adds one to the work.
4535
+ */
4536
+ export declare const studioWorksReviewsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsCreateData, ThrowOnError>) => RequestResult<StudioWorksReviewsCreateResponses, StudioWorksReviewsCreateErrors, ThrowOnError>;
4537
+ /**
4538
+ * Read one blind review round
4539
+ *
4540
+ * Read one round in the sender's view: its status, the seats as labels A, B, C with the state of each, the expert reports that have come back, the screening cards, the round decision and the audience tally. Reviewers appear only as labels; who they are is never part of this answer. Call it after sending a round and repeat while status is reviewing, because reviewers answer asynchronously and a round that is not decided yet carries fewer reports. status decided gives decision and screening; cancelled means a person stopped the round; failed means it could not be completed, for example when no reviewer on the roster answered at all. Pass view=audit to also get the assignment record, the confidential editor notes and the reviewer sessions; that block is filled only for an organization administrator, and anyone else reads the same round without it.
4541
+ */
4542
+ export declare const studioWorksReviewsRetrieve: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsRetrieveData, ThrowOnError>) => RequestResult<StudioWorksReviewsRetrieveResponses, StudioWorksReviewsRetrieveErrors, ThrowOnError>;
4543
+ /**
4544
+ * Cancel a running review round
4545
+ *
4546
+ * Cancel a round that is still reviewing, so its reviewers are no longer waited for and the draft can be sent again. Nothing that came back is deleted: the round stays readable with status cancelled and the reports it had. Use it when the draft changed so much that the running round is no longer about the current text, or when the round was sent by mistake; a person makes this call, and an agent calling it is refused with PERMISSION_DENIED. A round that already reached a decision answers REVIEW_IN_PROGRESS, because a decided round is answered by sending the next round with revision_of rather than by cancelling it. Reviewer sessions already started keep being billed.
4547
+ */
4548
+ export declare const studioWorksReviewsCancel: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsCancelData, ThrowOnError>) => RequestResult<StudioWorksReviewsCancelResponses, StudioWorksReviewsCancelErrors, ThrowOnError>;
4549
+ /**
4550
+ * Read the review settings of a work
4551
+ *
4552
+ * Read how this work is reviewed: the most rounds it may take and the revision the settings are at. Who reviews is not here but on the work's reviewer roster, which every round asks whole, and read that with the reviewer list. Read this before sending a round, because a draft past its max_rounds answers REVIEW_ROUND_LIMIT, and before changing it, because the update carries the revision it returns as its precondition. Settings are not part of the work body: they are read and written here.
4553
+ */
4554
+ export declare const studioWorksReviewSettingsRetrieve: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewSettingsRetrieveData, ThrowOnError>) => RequestResult<StudioWorksReviewSettingsRetrieveResponses, StudioWorksReviewSettingsRetrieveErrors, ThrowOnError>;
4555
+ /**
4556
+ * Change how many rounds a work may take
4557
+ *
4558
+ * Change how many rounds a work may take. Send expected_revision with the revision this settings read returned, so two writers cannot overwrite each other silently; a mismatch answers REVISION_CONFLICT and the settings are unchanged. A person makes this change: an agent calling it is refused with PERMISSION_DENIED. The settings are locked while a round of this work is reviewing, which answers REVIEW_IN_PROGRESS; change them after the round decides or is cancelled. Raising max_rounds is how a draft whose rounds are used up is sent again. The changed limit applies to rounds sent from now on and never rewrites a round already sent; who reviews is on the reviewer roster, not here.
4559
+ */
4560
+ export declare const studioWorksReviewSettingsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewSettingsUpdateData, ThrowOnError>) => RequestResult<StudioWorksReviewSettingsUpdateResponses, StudioWorksReviewSettingsUpdateErrors, ThrowOnError>;
4561
+ /**
4562
+ * List the reviewers of a work
4563
+ *
4564
+ * List the reviewers on this work's roster: every time a round of this work is sent, every reviewer on the roster whose kind the round asks for takes part, one seat each, in the order they were added, and the sender reads them as A, B, C. Each entry gives the agent id as /v1/agents returns it (agent_…), its kind on this roster and the service agent's display name. Read it before sending a round, because a roster with nobody of the asked kind answers NO_REVIEWERS; read it after to see who has been judging. A reviewer of another work or another organization is never listed, and a work of another organization answers WORK_NOT_FOUND. The answer is one page; keep following next_page_token while it is present.
4565
+ */
4566
+ export declare const studioWorksReviewersList: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersListData, ThrowOnError>) => RequestResult<StudioWorksReviewersListResponses, StudioWorksReviewersListErrors, ThrowOnError>;
4567
+ /**
4568
+ * Add a reviewer to a work
4569
+ *
4570
+ * Put one of this organization's service agents on the work's reviewer roster, with the kind it reviews as: expert writes a scored report, audience fills a screening card. Every round sent from now on asks every roster member of that round's kind, so add only agents that should judge every round of this work. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. Pass the agent id as /v1/agents returns it (agent_…). The agent must be a service agent of this organization: anything else, including an absent id and another organization's agent, answers REVIEWER_NOT_SERVICE_AGENT. An agent already on the roster answers REVIEWER_ALREADY_ADDED; change its kind with the update operation instead.
4571
+ */
4572
+ export declare const studioWorksReviewersCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersCreateData, ThrowOnError>) => RequestResult<StudioWorksReviewersCreateResponses, StudioWorksReviewersCreateErrors, ThrowOnError>;
4573
+ /**
4574
+ * Remove a reviewer from a work
4575
+ *
4576
+ * Take one agent off the work's reviewer roster, so rounds sent from now on no longer ask it. What it has already judged is kept: the rounds it took part in stay readable with their reports,. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. An agent that is not on this work's roster answers REVIEWER_NOT_FOUND.
4577
+ */
4578
+ export declare const studioWorksReviewersDelete: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersDeleteData, ThrowOnError>) => RequestResult<StudioWorksReviewersDeleteResponses, StudioWorksReviewersDeleteErrors, ThrowOnError>;
4579
+ /**
4580
+ * Change a reviewer's kind
4581
+ *
4582
+ * Change the kind one roster member reviews as: expert or audience. Use it when a reviewer should judge a different way, rather than removing it and adding it back, because the roster position it holds decides its label and is kept. A person makes this change, and an agent calling it is refused with PERMISSION_DENIED. A round already sent is not affected, because its seats were fixed when it was sent. An agent that is not on this work's roster answers REVIEWER_NOT_FOUND, which is also the answer for another work's reviewer.
4583
+ */
4584
+ export declare const studioWorksReviewersUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersUpdateData, ThrowOnError>) => RequestResult<StudioWorksReviewersUpdateResponses, StudioWorksReviewersUpdateErrors, ThrowOnError>;
2233
4585
  /**
2234
4586
  * List vaults
2235
4587
  *
@@ -2239,7 +4591,7 @@ export declare const vaultListVaults: <ThrowOnError extends boolean = false>(opt
2239
4591
  /**
2240
4592
  * Create vault
2241
4593
  *
2242
- * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Unlike Anthropic, Agent sessions do not accept nonempty vault_ids; storing a credential or adding its ID to metadata does not enable vault-backed MCP authentication. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
4594
+ * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
2243
4595
  */
2244
4596
  export declare const vaultCreateVault: <ThrowOnError extends boolean = false>(options: Options<VaultCreateVaultData, ThrowOnError>) => RequestResult<VaultCreateVaultResponses, VaultCreateVaultErrors, ThrowOnError>;
2245
4597
  /**
@@ -2287,13 +4639,13 @@ export declare const vaultListSecrets: <ThrowOnError extends boolean = false>(op
2287
4639
  /**
2288
4640
  * Create secret
2289
4641
  *
2290
- * Store a manually supplied token in an active vault for use on requests to its allowed_hosts. Unlike Anthropic credentials, this native operation takes name, value and allowed_hosts directly and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.
4642
+ * Store a manually supplied token in an active vault. Omit allowed_hosts for name-based resolution only; host-based redemption never matches an empty host list. Unlike Anthropic credentials, this native operation takes name and value directly, with optional allowed_hosts and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.
2291
4643
  */
2292
4644
  export declare const vaultCreateSecret: <ThrowOnError extends boolean = false>(options: Options<VaultCreateSecretData, ThrowOnError>) => RequestResult<VaultCreateSecretResponses, VaultCreateSecretErrors, ThrowOnError>;
2293
4645
  /**
2294
4646
  * Import secrets
2295
4647
  *
2296
- * Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets.
4648
+ * Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets use an empty host list for name-based resolution only.
2297
4649
  */
2298
4650
  export declare const vaultImportSecrets: <ThrowOnError extends boolean = false>(options: Options<VaultImportSecretsData, ThrowOnError>) => RequestResult<VaultImportSecretsResponses, VaultImportSecretsErrors, ThrowOnError>;
2299
4651
  /**
@@ -2401,7 +4753,7 @@ export declare const ticketGetTickets: <ThrowOnError extends boolean = false>(op
2401
4753
  /**
2402
4754
  * Create or add tickets
2403
4755
  *
2404
- * Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
4756
+ * Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. A body attaches platform files by link: every `…/files/<id>` link in it is recorded in the response's attachments and shown inline, so upload the bytes with `praxis.file` and write the id it returns instead of a local path. Service authorization applies to the verified human subject.
2405
4757
  */
2406
4758
  export declare const ticketPostTickets: <ThrowOnError extends boolean = false>(options: Options<TicketPostTicketsData, ThrowOnError>) => RequestResult<TicketPostTicketsResponses, TicketPostTicketsErrors, ThrowOnError>;
2407
4759
  /**
@@ -2413,7 +4765,7 @@ export declare const ticketGetTicketsNumber: <ThrowOnError extends boolean = fal
2413
4765
  /**
2414
4766
  * Update tickets
2415
4767
  *
2416
- * Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
4768
+ * Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. A body attaches platform files by link: every `…/files/<id>` link in it is recorded in the response's attachments and shown inline, so upload the bytes with `praxis.file` and write the id it returns instead of a local path. Service authorization applies to the verified human subject.
2417
4769
  */
2418
4770
  export declare const ticketPatchTicketsNumber: <ThrowOnError extends boolean = false>(options: Options<TicketPatchTicketsNumberData, ThrowOnError>) => RequestResult<TicketPatchTicketsNumberResponses, TicketPatchTicketsNumberErrors, ThrowOnError>;
2419
4771
  /**
@@ -2437,7 +4789,7 @@ export declare const ticketGetTicketsNumberComments: <ThrowOnError extends boole
2437
4789
  /**
2438
4790
  * Create or add comments
2439
4791
  *
2440
- * Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
4792
+ * Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. A body attaches platform files by link: every `…/files/<id>` link in it is recorded in the response's attachments and shown inline, so upload the bytes with `praxis.file` and write the id it returns instead of a local path. Service authorization applies to the verified human subject.
2441
4793
  */
2442
4794
  export declare const ticketPostTicketsNumberComments: <ThrowOnError extends boolean = false>(options: Options<TicketPostTicketsNumberCommentsData, ThrowOnError>) => RequestResult<TicketPostTicketsNumberCommentsResponses, TicketPostTicketsNumberCommentsErrors, ThrowOnError>;
2443
4795
  /**
@@ -2455,7 +4807,7 @@ export declare const ticketGetCommentsId: <ThrowOnError extends boolean = false>
2455
4807
  /**
2456
4808
  * Update comments
2457
4809
  *
2458
- * Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
4810
+ * Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. A body attaches platform files by link: every `…/files/<id>` link in it is recorded in the response's attachments and shown inline, so upload the bytes with `praxis.file` and write the id it returns instead of a local path. Service authorization applies to the verified human subject.
2459
4811
  */
2460
4812
  export declare const ticketPatchCommentsId: <ThrowOnError extends boolean = false>(options: Options<TicketPatchCommentsIdData, ThrowOnError>) => RequestResult<TicketPatchCommentsIdResponses, TicketPatchCommentsIdErrors, ThrowOnError>;
2461
4813
  /**
@@ -2467,19 +4819,19 @@ export declare const ticketGetLabels: <ThrowOnError extends boolean = false>(opt
2467
4819
  /**
2468
4820
  * Create or add labels
2469
4821
  *
2470
- * Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4822
+ * Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2471
4823
  */
2472
4824
  export declare const ticketPostLabels: <ThrowOnError extends boolean = false>(options: Options<TicketPostLabelsData, ThrowOnError>) => RequestResult<TicketPostLabelsResponses, TicketPostLabelsErrors, ThrowOnError>;
2473
4825
  /**
2474
4826
  * Remove labels
2475
4827
  *
2476
- * Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4828
+ * Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2477
4829
  */
2478
4830
  export declare const ticketDeleteLabelsName: <ThrowOnError extends boolean = false>(options: Options<TicketDeleteLabelsNameData, ThrowOnError>) => RequestResult<TicketDeleteLabelsNameResponses, TicketDeleteLabelsNameErrors, ThrowOnError>;
2479
4831
  /**
2480
4832
  * Update labels
2481
4833
  *
2482
- * Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4834
+ * Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2483
4835
  */
2484
4836
  export declare const ticketPatchLabelsName: <ThrowOnError extends boolean = false>(options: Options<TicketPatchLabelsNameData, ThrowOnError>) => RequestResult<TicketPatchLabelsNameResponses, TicketPatchLabelsNameErrors, ThrowOnError>;
2485
4837
  /**
@@ -2497,13 +4849,13 @@ export declare const ticketGetMilestones: <ThrowOnError extends boolean = false>
2497
4849
  /**
2498
4850
  * Create or add milestones
2499
4851
  *
2500
- * Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4852
+ * Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2501
4853
  */
2502
4854
  export declare const ticketPostMilestones: <ThrowOnError extends boolean = false>(options: Options<TicketPostMilestonesData, ThrowOnError>) => RequestResult<TicketPostMilestonesResponses, TicketPostMilestonesErrors, ThrowOnError>;
2503
4855
  /**
2504
4856
  * Remove milestones
2505
4857
  *
2506
- * Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4858
+ * Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2507
4859
  */
2508
4860
  export declare const ticketDeleteMilestonesNumber: <ThrowOnError extends boolean = false>(options: Options<TicketDeleteMilestonesNumberData, ThrowOnError>) => RequestResult<TicketDeleteMilestonesNumberResponses, TicketDeleteMilestonesNumberErrors, ThrowOnError>;
2509
4861
  /**
@@ -2515,7 +4867,7 @@ export declare const ticketGetMilestonesNumber: <ThrowOnError extends boolean =
2515
4867
  /**
2516
4868
  * Update milestones
2517
4869
  *
2518
- * Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
4870
+ * Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
2519
4871
  */
2520
4872
  export declare const ticketPatchMilestonesNumber: <ThrowOnError extends boolean = false>(options: Options<TicketPatchMilestonesNumberData, ThrowOnError>) => RequestResult<TicketPatchMilestonesNumberResponses, TicketPatchMilestonesNumberErrors, ThrowOnError>;
2521
4873
  /**
@@ -2632,3 +4984,9 @@ export declare const ticketGetActivity: <ThrowOnError extends boolean = false>(o
2632
4984
  * List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
2633
4985
  */
2634
4986
  export declare const ticketGetRepositories: <ThrowOnError extends boolean = false>(options?: Options<TicketGetRepositoriesData, ThrowOnError>) => RequestResult<TicketGetRepositoriesResponses, TicketGetRepositoriesErrors, ThrowOnError>;
4987
+ /**
4988
+ * Update repositories
4989
+ *
4990
+ * Update repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
4991
+ */
4992
+ export declare const ticketPatchRepositoriesId: <ThrowOnError extends boolean = false>(options: Options<TicketPatchRepositoriesIdData, ThrowOnError>) => RequestResult<TicketPatchRepositoriesIdResponses, TicketPatchRepositoriesIdErrors, ThrowOnError>;