@deepraxis/sdk 0.1.1-dev.d3030b1 → 0.1.1-dev.d326820

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.
@@ -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, 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, BrowserGetSessionResponses, BrowserListContextsData, BrowserListContextsErrors, BrowserListContextsResponses, BrowserListEventsData, BrowserListEventsErrors, BrowserListEventsResponses, BrowserListSessionsData, BrowserListSessionsErrors, BrowserListSessionsResponses, BrowserLiveViewData, BrowserLiveViewErrors, BrowserRequestHandoffData, BrowserRequestHandoffErrors, BrowserRequestHandoffResponses, BrowserRunPageActionData, BrowserRunPageActionErrors, BrowserRunPageActionResponses, BrowserSeleniumUnsupportedData, BrowserSeleniumUnsupportedErrors, BrowserStreamSessionData, 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, 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, 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, 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, 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, DevopsTestSuitesGetData, DevopsTestSuitesGetErrors, DevopsTestSuitesGetResponses, DevopsTestSuitesListData, DevopsTestSuitesListErrors, DevopsTestSuitesListResponses, 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, 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, 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, GetSandboxV1VolumesByVolumeIdData, GetSandboxV1VolumesByVolumeIdErrors, GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesData, GetSandboxV1VolumesErrors, GetSandboxV1VolumesResponses, GetSessionBackgroundTaskOutputData, GetSessionBackgroundTaskOutputErrors, GetSessionBackgroundTaskOutputResponses, GetSessionCompactionData, GetSessionCompactionErrors, GetSessionCompactionResponses, GetSessionContextData, GetSessionContextErrors, GetSessionContextResponses, GetTemplateBuildStatusData, GetTemplateBuildStatusErrors, GetTemplateBuildStatusResponses, GetTemplateWithBuildsData, GetTemplateWithBuildsErrors, GetTemplateWithBuildsResponses, 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, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, 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, MakeSandboxDirectoryData, MakeSandboxDirectoryErrors, MakeSandboxDirectoryResponses, MediaBatchAssetsData, MediaBatchAssetsErrors, MediaBatchAssetsResponses, MediaCancelJobData, MediaCancelJobErrors, MediaCancelJobResponses, MediaCreateBatchData, MediaCreateBatchErrors, MediaCreateBatchResponses, MediaCreateDeliveryTokenData, MediaCreateDeliveryTokenErrors, MediaCreateDeliveryTokenResponses, MediaCreateFrameUrlsData, MediaCreateFrameUrlsErrors, MediaCreateFrameUrlsResponses, MediaCreateGenerationData, MediaCreateGenerationErrors, MediaCreateGenerationResponses, MediaCreateLibraryData, MediaCreateLibraryErrors, MediaCreateLibraryResponses, MediaDeleteAssetData, MediaDeleteAssetErrors, MediaDeleteAssetResponses, MediaDeleteLibraryData, MediaDeleteLibraryErrors, MediaDeleteLibraryResponses, MediaExpressionSearchData, MediaExpressionSearchErrors, MediaExpressionSearchResponses, MediaGetAssetData, MediaGetAssetErrors, MediaGetAssetResponses, MediaGetBatchData, MediaGetBatchErrors, MediaGetBatchResponses, MediaGetGenerationCapabilitiesData, MediaGetGenerationCapabilitiesErrors, MediaGetGenerationCapabilitiesResponses, MediaGetJobData, MediaGetJobErrors, MediaGetJobResponses, MediaGetLibraryData, MediaGetLibraryErrors, MediaGetLibraryResponses, 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, MediaRestoreLibraryData, MediaRestoreLibraryErrors, MediaRestoreLibraryResponses, MediaSaveGenerationOutputData, MediaSaveGenerationOutputErrors, MediaSaveGenerationOutputResponses, MediaSearchData, MediaSearchErrors, MediaSearchResponses, MediaSemanticSearchData, MediaSemanticSearchErrors, MediaSemanticSearchResponses, MediaUnderstandingFailureSummaryData, MediaUnderstandingFailureSummaryErrors, MediaUnderstandingFailureSummaryResponses, MediaUpdateAssetData, MediaUpdateAssetErrors, MediaUpdateAssetResponses, MediaUpdateLibraryData, MediaUpdateLibraryErrors, MediaUpdateLibraryResponses, 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, OntologyRegisterTypeData, OntologyRegisterTypeErrors, OntologyRetrieveNodeData, OntologyRetrieveNodeErrors, OntologyRetrieveNodeResponses, OntologyRetrieveRelationData, OntologyRetrieveRelationErrors, OntologyRetrieveRelationResponses, OntologyRetrieveTypeData, OntologyRetrieveTypeErrors, OntologyRetrieveTypeResponses, OntologySearchData, OntologySearchErrors, OntologySearchResponses, OntologyUpdateNodeData, OntologyUpdateNodeErrors, OntologyUpdateNodeResponses, 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, RequestTemplateBuildData, RequestTemplateBuildErrors, RequestTemplateBuildResponses, RerankData, RerankErrors, RerankResponses, ResolveTemplateAliasData, ResolveTemplateAliasErrors, ResolveTemplateAliasResponses, 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, StartTemplateBuildData, StartTemplateBuildErrors, StartTemplateBuildResponses, StopSessionBackgroundTaskData, StopSessionBackgroundTaskErrors, StopSessionBackgroundTaskResponses, 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, StudioDraftsUpdateData, StudioDraftsUpdateErrors, StudioDraftsUpdateResponses, StudioEntriesCreateData, StudioEntriesCreateErrors, StudioEntriesCreateResponses, StudioEntriesDeleteData, StudioEntriesDeleteErrors, StudioEntriesDeleteResponses, StudioEntriesGetData, StudioEntriesGetErrors, StudioEntriesGetResponses, StudioEntriesListData, StudioEntriesListErrors, StudioEntriesListResponses, StudioEntriesUpdateData, StudioEntriesUpdateErrors, StudioEntriesUpdateResponses, StudioGenresGetData, StudioGenresGetErrors, StudioGenresGetResponses, StudioGenresListData, StudioGenresListErrors, StudioGenresListResponses, StudioPlatformsGetData, StudioPlatformsGetErrors, StudioPlatformsGetResponses, StudioPlatformsListData, StudioPlatformsListErrors, StudioPlatformsListResponses, 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, StudioWorksUpdateBriefData, StudioWorksUpdateBriefErrors, StudioWorksUpdateBriefResponses, StudioWorksUpdateData, StudioWorksUpdateErrors, StudioWorksUpdateResponses, 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 { ActOnSandboxDisplayData, ActOnSandboxDisplayErrors, ActOnSandboxDisplayResponses, AgentsArchiveData, AgentsArchiveErrors, AgentsArchiveResponses, AgentsCreateData, AgentsCreateErrors, AgentsCreateResponses, AgentsListData, AgentsListErrors, AgentsListResponses, AgentsPhoneReleaseData, AgentsPhoneReleaseErrors, AgentsPhoneReleaseResponses, AgentsPhoneRetrieveData, AgentsPhoneRetrieveErrors, AgentsPhoneRetrieveResponses, 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, ClaimByodPairingData, ClaimByodPairingErrors, ClaimByodPairingResponses, 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, ContentArchiveContentData, ContentArchiveContentErrors, ContentArchiveContentResponses, ContentCreateContentData, ContentCreateContentErrors, ContentCreateContentResponses, ContentCreatePlaybackSessionData, ContentCreatePlaybackSessionErrors, ContentCreatePlaybackSessionResponses, ContentGetContentData, ContentGetContentErrors, ContentGetContentResponses, ContentGetVersionData, ContentGetVersionErrors, ContentGetVersionResponses, ContentListContentsData, ContentListContentsErrors, ContentListContentsResponses, ContentListVersionsData, ContentListVersionsErrors, ContentListVersionsResponses, ContentPublishContentData, ContentPublishContentErrors, ContentPublishContentResponses, ContentUnpublishContentData, ContentUnpublishContentErrors, ContentUnpublishContentResponses, ContentUpdateContentData, ContentUpdateContentErrors, ContentUpdateContentResponses, CountResponseInputTokensData, CountResponseInputTokensErrors, CountResponseInputTokensResponses, CountTokensData, CountTokensErrors, CountTokensResponses, CreateAgentConsolidationData, CreateAgentConsolidationErrors, CreateAgentConsolidationResponses, CreateAgentUploadContentUrlData, CreateAgentUploadContentUrlErrors, CreateAgentUploadContentUrlResponses, CreateAgentUploadData, CreateAgentUploadErrors, CreateAgentUploadResponses, CreateAudioSpeechData, CreateAudioSpeechErrors, CreateAudioSpeechResponses, CreateAudioTranscriptionData, CreateAudioTranscriptionErrors, CreateAudioTranscriptionResponses, CreateByodPairingData, CreateByodPairingErrors, CreateByodPairingResponses, CreateChatCompletionData, CreateChatCompletionErrors, CreateChatCompletionResponses, CreateConversationData, CreateConversationItemsData, CreateConversationItemsErrors, CreateConversationItemsResponses, CreateConversationResponses, CreateEmbeddingData, CreateEmbeddingErrors, CreateEmbeddingResponses, CreateImageData, CreateImageErrors, CreateImageResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOcrData, CreateOcrErrors, CreateOcrResponses, CreateOrganizationFeedbackData, CreateOrganizationFeedbackErrors, CreateOrganizationFeedbackMessageData, CreateOrganizationFeedbackMessageErrors, CreateOrganizationFeedbackMessageResponses, CreateOrganizationFeedbackResponses, CreateResponseData, CreateResponseErrors, CreateResponseResponses, CreateSessionArtifactContentUrlData, CreateSessionArtifactContentUrlErrors, CreateSessionArtifactContentUrlResponses, 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, CustomerBlockCustomerData, CustomerBlockCustomerErrors, CustomerBlockCustomerResponses, CustomerCreateAccessTokenData, CustomerCreateAccessTokenErrors, CustomerCreateAccessTokenResponses, CustomerCreateGrantCodeData, CustomerCreateGrantCodeErrors, CustomerCreateGrantCodeResponses, CustomerCreatePublishableKeyData, CustomerCreatePublishableKeyErrors, CustomerCreatePublishableKeyResponses, CustomerDeleteCustomerData, CustomerDeleteCustomerErrors, CustomerDeleteCustomerResponses, CustomerDeletePublishableKeyData, CustomerDeletePublishableKeyErrors, CustomerDeletePublishableKeyResponses, CustomerGetCustomerData, CustomerGetCustomerErrors, CustomerGetCustomerResponses, CustomerGetUsageData, CustomerGetUsageErrors, CustomerGetUsageResponses, CustomerListCustomersData, CustomerListCustomersErrors, CustomerListCustomersResponses, CustomerListPublishableKeysData, CustomerListPublishableKeysErrors, CustomerListPublishableKeysResponses, CustomerRenewAccessTokenData, CustomerRenewAccessTokenErrors, CustomerRenewAccessTokenResponses, CustomerRevokeCurrentTokensData, CustomerRevokeCurrentTokensErrors, CustomerRevokeCurrentTokensResponses, CustomerRevokeTokensData, CustomerRevokeTokensErrors, CustomerRevokeTokensResponses, CustomerUnblockCustomerData, CustomerUnblockCustomerErrors, CustomerUnblockCustomerResponses, 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, 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, DevopsChangesGitCredentialData, DevopsChangesGitCredentialErrors, DevopsChangesGitCredentialResponses, DevopsChangesListData, DevopsChangesListErrors, DevopsChangesListResponses, DevopsChangesMarkLastSliceData, DevopsChangesMarkLastSliceErrors, DevopsChangesMarkLastSliceResponses, DevopsChangesOpenPullRequestData, DevopsChangesOpenPullRequestErrors, DevopsChangesOpenPullRequestResponses, DevopsCleanupsListData, DevopsCleanupsListErrors, DevopsCleanupsListResponses, 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, DevopsFlagsReportCodeRefsData, DevopsFlagsReportCodeRefsErrors, DevopsFlagsReportCodeRefsResponses, DevopsFlagsUpdateData, DevopsFlagsUpdateEnvironmentData, DevopsFlagsUpdateEnvironmentErrors, DevopsFlagsUpdateEnvironmentResponses, DevopsFlagsUpdateErrors, DevopsFlagsUpdateResponses, DevopsProgressiveRolloutsCreateData, DevopsProgressiveRolloutsCreateErrors, DevopsProgressiveRolloutsCreateResponses, DevopsProgressiveRolloutsGetData, DevopsProgressiveRolloutsGetErrors, DevopsProgressiveRolloutsGetResponses, DevopsProgressiveRolloutsPauseData, DevopsProgressiveRolloutsPauseErrors, DevopsProgressiveRolloutsPauseResponses, DevopsProgressiveRolloutsResumeData, DevopsProgressiveRolloutsResumeErrors, DevopsProgressiveRolloutsResumeResponses, DevopsProgressiveRolloutsRollbackData, DevopsProgressiveRolloutsRollbackErrors, DevopsProgressiveRolloutsRollbackResponses, DevopsProjectsCreateData, DevopsProjectsCreateErrors, DevopsProjectsCreateResponses, DevopsProjectsGetData, DevopsProjectsGetErrors, DevopsProjectsGetResponses, DevopsProjectsInitializeDefaultBranchData, DevopsProjectsInitializeDefaultBranchErrors, DevopsProjectsInitializeDefaultBranchResponses, DevopsProjectsListData, DevopsProjectsListErrors, DevopsProjectsListResponses, DevopsProjectsUpdateData, DevopsProjectsUpdateErrors, DevopsProjectsUpdateResponses, DevopsPromotionsApproveData, DevopsPromotionsApproveErrors, DevopsPromotionsApproveResponses, DevopsPromotionsCancelData, DevopsPromotionsCancelErrors, DevopsPromotionsCancelResponses, DevopsPromotionsCheckoutCredentialData, DevopsPromotionsCheckoutCredentialErrors, DevopsPromotionsCheckoutCredentialResponses, DevopsPromotionsConcludeData, DevopsPromotionsConcludeErrors, DevopsPromotionsConcludeResponses, DevopsPromotionsCreateData, DevopsPromotionsCreateErrors, DevopsPromotionsCreateResponses, DevopsPromotionsGetData, DevopsPromotionsGetErrors, DevopsPromotionsGetResponses, DevopsPromotionsListData, DevopsPromotionsListErrors, DevopsPromotionsListResponses, DevopsPromotionsRetryData, DevopsPromotionsRetryErrors, DevopsPromotionsRetryResponses, DevopsPullRequestsCloseData, DevopsPullRequestsCloseErrors, DevopsPullRequestsCloseResponses, DevopsPullRequestsGetData, DevopsPullRequestsGetErrors, DevopsPullRequestsGetResponses, DevopsPullRequestsListData, DevopsPullRequestsListErrors, DevopsPullRequestsListResponses, DevopsPullRequestsMergeData, DevopsPullRequestsMergeErrors, DevopsPullRequestsMergeResponses, DevopsPullRequestsRecordVerdictData, DevopsPullRequestsRecordVerdictErrors, DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRerunGateData, DevopsPullRequestsRerunGateErrors, DevopsPullRequestsRerunGateResponses, DevopsPullRequestsReviewsCreateData, DevopsPullRequestsReviewsCreateErrors, DevopsPullRequestsReviewsCreateResponses, 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, DevopsTestPlanGetData, DevopsTestPlanGetErrors, DevopsTestPlanGetResponses, 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, DiffOrganizationSpecData, DiffOrganizationSpecErrors, DiffOrganizationSpecResponses, DisableModelAccessData, DisableModelAccessErrors, DisableModelAccessResponses, DisconnectByodDeviceData, DisconnectByodDeviceErrors, DisconnectByodDeviceResponses, DissolveOrganizationDepartmentData, DissolveOrganizationDepartmentErrors, DissolveOrganizationDepartmentResponses, DownloadVideoContentData, DownloadVideoContentErrors, DownloadVideoContentResponses, EditImageData, EditImageErrors, EditImageResponses, EnableModelAccessData, EnableModelAccessErrors, EnableModelAccessResponses, 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, GetAgentEmbedPolicyData, GetAgentEmbedPolicyErrors, GetAgentEmbedPolicyResponses, GetByodDeviceData, GetByodDeviceErrors, GetByodDeviceResponses, GetByodPairingData, GetByodPairingErrors, GetByodPairingResponses, GetCustomerData, GetCustomerDeletionData, GetCustomerDeletionErrors, GetCustomerDeletionResponses, GetCustomerErrors, GetCustomerResponses, GetGenerationData, GetGenerationErrors, GetGenerationResponses, GetObservedProcessOutputData, GetObservedProcessOutputErrors, GetObservedProcessOutputResponses, GetOrganizationActorData, GetOrganizationActorErrors, GetOrganizationActorResponses, GetOrganizationAssignmentData, GetOrganizationAssignmentErrors, GetOrganizationAssignmentResponses, GetOrganizationDepartmentData, GetOrganizationDepartmentErrors, GetOrganizationDepartmentResponses, GetOrganizationEffectiveSpecData, GetOrganizationEffectiveSpecErrors, GetOrganizationEffectiveSpecResponses, 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, GetOrganizationReconcileStatusData, GetOrganizationReconcileStatusErrors, GetOrganizationReconcileStatusResponses, GetOrganizationSpecData, GetOrganizationSpecErrors, GetOrganizationSpecResponses, 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, ListAgentInboxLettersData, ListAgentInboxLettersErrors, ListAgentInboxLettersResponses, ListByodDevicesData, ListByodDevicesErrors, ListByodDevicesResponses, ListConversationItemsData, ListConversationItemsErrors, ListConversationItemsResponses, ListCustomersData, ListCustomersErrors, ListCustomersResponses, ListModelAccessData, ListModelAccessErrors, ListModelAccessResponses, 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, ListOrganizationSpecRevisionsData, ListOrganizationSpecRevisionsErrors, ListOrganizationSpecRevisionsResponses, ListOrganizationSpecsData, ListOrganizationSpecsErrors, ListOrganizationSpecsResponses, ListOrganizationUsageData, ListOrganizationUsageErrors, ListOrganizationUsageResponses, ListPublicPricesData, ListPublicPricesErrors, ListPublicPricesResponses, ListResponseInputItemsData, ListResponseInputItemsResponses, ListSandboxFilesData, ListSandboxFilesErrors, ListSandboxFilesResponses, ListSandboxTemplatesData, ListSandboxTemplatesErrors, ListSandboxTemplatesResponses, ListSessionArtifactsData, ListSessionArtifactsErrors, ListSessionArtifactsResponses, ListSessionBackgroundTasksData, ListSessionBackgroundTasksErrors, ListSessionBackgroundTasksResponses, ListSessionCompactionsData, ListSessionCompactionsErrors, ListSessionCompactionsResponses, ListSessionRequestsData, ListSessionRequestsErrors, ListSessionRequestsResponses, ListTemplateTagsData, ListTemplateTagsErrors, ListTemplateTagsResponses, ListToolsetsData, ListToolsetsErrors, ListToolsetsResponses, ListVideosData, ListVideosErrors, ListVideosResponses, MakePrimaryOrganizationAssignmentData, MakePrimaryOrganizationAssignmentErrors, MakePrimaryOrganizationAssignmentResponses, MakeSandboxDirectoryData, MakeSandboxDirectoryErrors, MakeSandboxDirectoryResponses, MediaAlignAssetData, MediaAlignAssetErrors, MediaAlignAssetResponses, MediaBatchAssetsData, MediaBatchAssetsErrors, MediaBatchAssetsResponses, MediaCancelJobData, MediaCancelJobErrors, MediaCancelJobResponses, MediaCreateBatchData, MediaCreateBatchErrors, MediaCreateBatchResponses, MediaCreateDeliveryTokenData, MediaCreateDeliveryTokenErrors, MediaCreateDeliveryTokenResponses, MediaCreateFrameUrlsData, MediaCreateFrameUrlsErrors, MediaCreateFrameUrlsResponses, MediaCreateLibraryData, MediaCreateLibraryErrors, MediaCreateLibraryResponses, MediaCreateMaterialData, MediaCreateMaterialErrors, MediaCreateMaterialResponses, MediaCreateSpeechData, MediaCreateSpeechErrors, MediaCreateSpeechResponses, MediaCreateVoiceData, MediaCreateVoiceErrors, MediaCreateVoiceResponses, MediaDeleteAssetData, MediaDeleteAssetErrors, MediaDeleteAssetResponses, MediaDeleteLibraryData, MediaDeleteLibraryErrors, MediaDeleteLibraryResponses, MediaDesignVoiceData, MediaDesignVoiceErrors, MediaDesignVoiceResponses, 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, MediaGetHlsRenditionsData, MediaGetHlsRenditionsErrors, MediaGetHlsRenditionsResponses, 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, MediaRequestHlsRenditionsData, MediaRequestHlsRenditionsErrors, MediaRequestHlsRenditionsResponses, 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, PauseOrganizationReconcileData, PauseOrganizationReconcileErrors, PauseOrganizationReconcileResponses, PlanOrganizationReconcileData, PlanOrganizationReconcileErrors, PlanOrganizationReconcileResponses, PostSandboxV1SandboxesBySandboxIdConnectData, PostSandboxV1SandboxesBySandboxIdConnectErrors, PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdForkData, PostSandboxV1SandboxesBySandboxIdForkErrors, PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdPauseData, PostSandboxV1SandboxesBySandboxIdPauseErrors, PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsData, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdTimeoutData, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesData, PostSandboxV1SandboxesErrors, PostSandboxV1SandboxesResponses, PostSandboxV1VolumesData, PostSandboxV1VolumesErrors, PostSandboxV1VolumesResponses, PreviewComputerFileData, PreviewComputerFileErrors, PreviewComputerFileResponses, PutSandboxV1SandboxesBySandboxIdNetworkData, PutSandboxV1SandboxesBySandboxIdNetworkErrors, PutSandboxV1SandboxesBySandboxIdNetworkResponses, ReadSandboxFileData, ReadSandboxFileErrors, ReadSandboxFileResponses, ReassignOrganizationPositionManagerData, ReassignOrganizationPositionManagerErrors, ReassignOrganizationPositionManagerResponses, RegistryGitCommitsRetrieveData, RegistryGitCommitsRetrieveErrors, RegistryGitCommitsRetrieveResponses, RegistryGitCompareData, RegistryGitCompareErrors, RegistryGitCompareResponses, RegistryGitFilesRetrieveData, RegistryGitFilesRetrieveErrors, RegistryGitFilesRetrieveResponses, RegistryGitLogData, RegistryGitLogErrors, RegistryGitLogResponses, RegistryGitRefsData, RegistryGitRefsErrors, RegistryGitRefsResponses, RegistryGitResolveData, RegistryGitResolveErrors, RegistryGitResolveResponses, RegistryGitTreesRecursiveData, RegistryGitTreesRecursiveErrors, RegistryGitTreesRecursiveResponses, RegistryGitTreesRetrieveData, RegistryGitTreesRetrieveErrors, RegistryGitTreesRetrieveResponses, RegistryInstallationsDeleteData, RegistryInstallationsDeleteErrors, RegistryInstallationsDeleteResponses, RegistryInstallationsUpdateData, RegistryInstallationsUpdateErrors, RegistryInstallationsUpdateResponses, RegistryPackagesGitCredentialCreateData, RegistryPackagesGitCredentialCreateErrors, RegistryPackagesGitCredentialCreateResponses, RegistryPackagesInstallationsCreateData, RegistryPackagesInstallationsCreateErrors, RegistryPackagesInstallationsCreateResponses, RegistryPackagesInstallationsListData, RegistryPackagesInstallationsListErrors, RegistryPackagesInstallationsListResponses, RegistryPackagesRetrieveData, RegistryPackagesRetrieveErrors, RegistryPackagesRetrieveResponses, RegistryPackagesVersionsArchiveData, RegistryPackagesVersionsArchiveErrors, RegistryPackagesVersionsArchiveResponses, RegistryPackagesVersionsContentsData, RegistryPackagesVersionsContentsErrors, RegistryPackagesVersionsContentsResponses, RegistryPackagesVersionsCreateData, RegistryPackagesVersionsCreateErrors, RegistryPackagesVersionsCreateResponses, RegistryPackagesVersionsFilesRetrieveData, RegistryPackagesVersionsFilesRetrieveErrors, RegistryPackagesVersionsFilesRetrieveResponses, RegistryPackagesVersionsListData, RegistryPackagesVersionsListErrors, RegistryPackagesVersionsListResponses, RegistryPackagesVersionsWithdrawData, RegistryPackagesVersionsWithdrawErrors, RegistryPackagesVersionsWithdrawResponses, RegistryRepositoriesCreateData, RegistryRepositoriesCreateErrors, RegistryRepositoriesCreateResponses, RegistryRepositoriesDeleteData, RegistryRepositoriesDeleteErrors, RegistryRepositoriesDeleteResponses, RegistryRepositoriesListData, RegistryRepositoriesListErrors, RegistryRepositoriesListResponses, RegistryRepositoriesPackagesCreateData, RegistryRepositoriesPackagesCreateErrors, RegistryRepositoriesPackagesCreateResponses, RegistryRepositoriesPackagesListData, RegistryRepositoriesPackagesListErrors, RegistryRepositoriesPackagesListResponses, RegistryRepositoriesRetrieveData, RegistryRepositoriesRetrieveErrors, RegistryRepositoriesRetrieveResponses, RegistryRepositoriesUpdateData, RegistryRepositoriesUpdateErrors, RegistryRepositoriesUpdateResponses, RegradeOrganizationPositionData, RegradeOrganizationPositionErrors, RegradeOrganizationPositionResponses, ReleaseComputerLeaseData, ReleaseComputerLeaseErrors, ReleaseComputerLeaseResponses, RemixVideoData, RemixVideoErrors, RemoveSandboxFileData, RemoveSandboxFileErrors, RemoveSandboxFileResponses, RenameSandboxData, RenameSandboxErrors, RenameSandboxResponses, RenameSessionData, RenameSessionErrors, RenameSessionResponses, RenewComputerLeaseData, RenewComputerLeaseErrors, RenewComputerLeaseResponses, ReorganizeOrganizationDepartmentData, ReorganizeOrganizationDepartmentErrors, ReorganizeOrganizationDepartmentResponses, ReplaceOrganizationPositionHolderData, ReplaceOrganizationPositionHolderErrors, ReplaceOrganizationPositionHolderResponses, RequestTemplateBuildData, RequestTemplateBuildErrors, RequestTemplateBuildResponses, RerankData, RerankErrors, RerankResponses, ResolveTemplateAliasData, ResolveTemplateAliasErrors, ResolveTemplateAliasResponses, ResumeOrganizationReconcileData, ResumeOrganizationReconcileErrors, ResumeOrganizationReconcileResponses, 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, ReviseOrganizationSpecData, ReviseOrganizationSpecErrors, ReviseOrganizationSpecResponses, RevokeCustomerTokensData, RevokeCustomerTokensErrors, RevokeCustomerTokensResponses, RunOrganizationReconcileData, RunOrganizationReconcileErrors, RunOrganizationReconcileResponses, 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, ShareCreatePermissionData, ShareCreatePermissionErrors, ShareCreatePermissionResponses, ShareDeletePermissionData, ShareDeletePermissionErrors, ShareDeletePermissionResponses, ShareListPermissionsData, ShareListPermissionsErrors, ShareListPermissionsResponses, ShareRetrievePermissionData, ShareRetrievePermissionErrors, ShareRetrievePermissionResponses, 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, UpdateAgentEmbedPolicyData, UpdateAgentEmbedPolicyErrors, UpdateAgentEmbedPolicyResponses, UpdateByodDeviceData, UpdateByodDeviceErrors, UpdateByodDeviceResponses, UpdateComputerFileContentData, UpdateComputerFileContentErrors, UpdateComputerFileContentResponses, UpdateConversationData, UpdateConversationErrors, UpdateConversationResponses, UpdateSessionAgentVersionData, UpdateSessionAgentVersionErrors, UpdateSessionAgentVersionResponses, 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,6 +13,42 @@ 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 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 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 an agent live
30
+ *
31
+ * Follow an agent live over Server-Sent Events. For a general agent it is the stream of your own main session with that agent, the same stream sessions.events.stream opens, event_deltas[] previews included; read past events with agents.events.list. An assume agent has no main session: its body is its MCP connections, and this stream is its broadcast point, which every live connection of the agent hears at once. It carries two events, each with an SSE id: inbox.letter_delivered { letter_id, sender, sender_name, summary, thread, create_time } when a letter arrives (the letter stays unread; take it with the agent's inbox tool, the body is not in the event), and cognition.ritual_held { ritual, owner, title, engram, create_time } when a domain gives the agent a memory. Reconnect with the Last-Event-ID header to receive what you missed from a short recent buffer (about an hour); a first connection replays nothing, so read agents.inbox.letters.list for mail already waiting. {agent_id} takes the agent_… id, the eight character identity number or the handle; a service agent answers 400. Closing the stream only drops your subscription and does not stop the agent.
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>;
46
+ /**
47
+ * List an assume agent's waiting letters
48
+ *
49
+ * Check whether mail waits for an assume agent without taking it: answers unread, the count of delivered letters the agent has not read, and letters, the newest unread ones (id, sender address, summary, thread, create_time; never the body). Nothing is marked read, so calling it again answers the same until the agent reads its mail with its own inbox tool (praxis_assume_inbox, action "read"). Use it when something outside the agent has to learn that mail arrived: the local `praxis agent events wait` reads it once on start and after every reconnect to its agent's event stream, so no letter that arrived while nothing listened is missed. {agent_id} takes the agent_… id, the eight character identity number or the handle of an assume agent in your organization; any other kind answers 400 ASSUME_AGENT_REQUIRED. To read or answer the letters, use the agent's inbox tool, not this read. Example: GET /agent/v1/agents/R1M9TQ2X/inbox/letters?unread=true&limit=5.
50
+ */
51
+ export declare const listAgentInboxLetters: <ThrowOnError extends boolean = false>(options: Options<ListAgentInboxLettersData, ThrowOnError>) => RequestResult<ListAgentInboxLettersResponses, ListAgentInboxLettersErrors, ThrowOnError>;
16
52
  /**
17
53
  * Apply Agent Version
18
54
  *
@@ -106,51 +142,43 @@ export declare const revokeCustomerTokens: <ThrowOnError extends boolean = false
106
142
  */
107
143
  export declare const getAgentAppearance: <ThrowOnError extends boolean = false>(options: Options<GetAgentAppearanceData, ThrowOnError>) => RequestResult<GetAgentAppearanceResponses, GetAgentAppearanceErrors, ThrowOnError>;
108
144
  /**
109
- * Create customer grant code
145
+ * Retrieve agent phone
110
146
  *
111
- * Sign your logged-in customer in to a service agent from your backend with a one-time grant code that Agent Kit exchanges for a customer access token.
112
- *
113
- * Call this from your backend with your API key after your own login succeeds, then pass the returned code to Agent Kit in the browser; never call it from the browser. Customer authorization follows Shopify Storefront customer access tokens (Multipass-style sign-in, a short-lived token, renewal and logout), so that experience applies. customer_id is your own identifier for the customer: use an opaque id such as your database user id, not an email address or phone number. The value auth is reserved, and ids starting with anon_ are reserved for anonymous customers. The code works once and expires after expires_in seconds (default 900). The sign-in it starts lasts max_session_seconds (default 7 days); version, budget (US dollars, at most 2 decimals), system_message, agent_override and metadata apply to every token of the sign-in. Unlike Shopify, origin binds the whole sign-in to one page origin, and anonymous_access_token merges the conversations of the anonymous visitor who chatted before signing in into this customer. Example body: {"customer_id":"cus_8f2a91","origin":"https://shop.example.com"}.
147
+ * Read the agent's phone, or learn that it has none: use it before driving the phone or to show its state in a settings page. configured says whether a phone block is saved at all (false is not an error: the phone is off). A cloud phone's state is one of none, starting, booting, restoring, running, archiving or releasing — none means no instance exists (never built, already released, or gone), archiving means its app state is being packed, and releasing means a release was asked for and the cron has not finished. A BYOD phone (the organization's own device) has two states instead, online and offline, and reports byod_device as its byd_… id, sku null and no lease. sku and name come from the configuration when one exists. When a cloud phone is reachable, sandbox_id is the public sandbox id of its running instance; for a BYOD phone sandbox_id is the byd_… id itself: take either phone over through POST /sandbox/v1/sandboxes/{id}/act, or open the sandbox page's screen tab in the Console; lease_ends_at is when a cloud instance's lease runs out and the sandbox kills it, and is always null for a BYOD phone. archived_at and archive_error describe the last app-state archive, which a fresh instance restores on the next use; both are null for a BYOD phone, which is never archived. Reading never builds a phone. Only a general or assume agent may have one: a service agent, an agent of another organization and a missing agent all answer 404 AGENT_NOT_FOUND. This operation is for people and their tools — the model cannot call it; an agent drives its own phone only through its phone tool, which can act on the device but cannot read this state or release it.
114
148
  */
115
- export declare const createCustomerGrantCode: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerGrantCodeData, ThrowOnError>) => RequestResult<CreateCustomerGrantCodeResponses, CreateCustomerGrantCodeErrors, ThrowOnError>;
149
+ export declare const agentsPhoneRetrieve: <ThrowOnError extends boolean = false>(options: Options<AgentsPhoneRetrieveData, ThrowOnError>) => RequestResult<AgentsPhoneRetrieveResponses, AgentsPhoneRetrieveErrors, ThrowOnError>;
116
150
  /**
117
- * Create customer access token
118
- *
119
- * Exchange a grant code, or the agent's publishable key for an anonymous visitor, for a customer access token that authorizes the agent's embedded sessions.
151
+ * Release agent phone
120
152
  *
121
- * No Authorization header is required: the grant code or the publishable key is the credential. Agent Kit calls this from the browser, so send the page Origin. With grant_code, the code is consumed atomically: concurrent attempts have exactly one winner, and unknown, used, expired and other-agent codes all return the same 401 GRANT_CODE_INVALID. The sign-in starts now and lasts the code's max_session_seconds. Unlike Shopify, a visitor without an account gets a token too: send publishable_key instead and a new anonymous customer (anon_…) is created, bound to the request Origin, for 7 days. The access token lasts at most two hours and never outlives the sign-in; renew it with access_tokens/renew before expires_at. Both forms share the per-IP minute limit of anonymous issuance (default 20). Example body: {"grant_code":"cgc_…"}.
153
+ * Ask for the agent's cloud phone to go, and answer its state afterwards. The phone is not killed here: its app state is packed first (state archiving), then the instance is killed and the row cleared, so the state answers releasing until that sweep finishes and the next use builds a fresh instance and restores the archive. The configuration is never deleted — the phone block stays and turning the phone off is agents.update with phone null, a different door. With no phone configured, or one that was never built (state none), the call changes nothing and answers none, so it is safe to repeat; repeating it while a release is pending is idempotent. A BYOD phone (the organization's own device) is not the platform's to kill, so the call changes nothing and answers online or offline. Only a general or assume agent may have a phone: a service agent, an agent of another organization and a missing agent all answer 404 AGENT_NOT_FOUND. This operation is for people and their tools — the model cannot call it.
122
154
  */
123
- export declare const createCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerAccessTokenData, ThrowOnError>) => RequestResult<CreateCustomerAccessTokenResponses, CreateCustomerAccessTokenErrors, ThrowOnError>;
155
+ export declare const agentsPhoneRelease: <ThrowOnError extends boolean = false>(options: Options<AgentsPhoneReleaseData, ThrowOnError>) => RequestResult<AgentsPhoneReleaseResponses, AgentsPhoneReleaseErrors, ThrowOnError>;
124
156
  /**
125
- * Renew customer access token
157
+ * Get agent embed policy
126
158
  *
127
- * Get a fresh customer access token in the same sign-in, authenticated with the current one.
128
- *
129
- * Send the current customer access token as the Bearer credential, with no body, a few minutes before expires_at. The new token keeps the version, budget, context, metadata and origin binding of the sign-in and lasts at most two hours, never past session_expires_at. Unlike Shopify, renewal does not revoke the presented token: it stays valid until its own expiry, so a reply that is streaming on it is not cut off. When less than 60 seconds of the sign-in remain, renewal returns 401 CUSTOMER_SESSION_EXPIRED; sign the customer in again with a new grant code from your backend. A token that was logged out or merged returns 401 ACCESS_TOKEN_REVOKED.
159
+ * Read a service agent's embed settings: the pages allowed to open its Kit chat (allowed_origins), the development switch (allow_localhost), what an embedded end user may upload (uploads) and whether the agent may be shared by link with the daily caps its visitors count against (share_links). The allow list decides where the agent can be embedded at all, so after deploying an application, add that application's URL origin here (scheme, host and port, never a path) before the page loads the agent — otherwise its Kit chat answers ORIGIN_NOT_ALLOWED. Budgets, monthly caps and token lifetime are set in the console and are not part of this API. An agent of another organization answers 404; an agent that is not a service agent answers 400.
130
160
  */
131
- export declare const renewCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<RenewCustomerAccessTokenData, ThrowOnError>) => RequestResult<RenewCustomerAccessTokenResponses, RenewCustomerAccessTokenErrors, ThrowOnError>;
161
+ export declare const getAgentEmbedPolicy: <ThrowOnError extends boolean = false>(options: Options<GetAgentEmbedPolicyData, ThrowOnError>) => RequestResult<GetAgentEmbedPolicyResponses, GetAgentEmbedPolicyErrors, ThrowOnError>;
132
162
  /**
133
- * Log out customer
134
- *
135
- * Log the customer out by revoking the sign-in of the presented access token and every token issued in it.
163
+ * Update agent embed policy
136
164
  *
137
- * Send the current customer access token as the Bearer credential, with no body, when the customer logs out of your site. Every token of the sign-in, including renewed ones, stops working, and their live event streams close; the customer's conversations are kept. Returns 204. Calling it again with the same token returns 401 ACCESS_TOKEN_REVOKED, so treat that as already logged out.
165
+ * Change some of a service agent's embed settings. Only the fields you send change: everything you leave out, including the budgets and the token lifetime set in the console, is kept exactly as it was. Send allowed_origins so the pages that load the agent are allowed — an application's URL origin must be in the list before the application can embed the agent, or its Kit chat answers ORIGIN_NOT_ALLOWED. Send allow_localhost while developing on http://localhost, and uploads to open, close or bound file attachments for the embedded end user. Send share_links to let the agent be shared by link and to set the daily session and spending caps its share links count against; turning it on is refused unless the agent has an identity number. Values are checked by the service: an origin is normalized and must be https, and at most one leading wildcard label may match a single subdomain level. max_file_bytes is 1 to 104857600 bytes and max_files_per_session is 1 to 100. Example: POST /agent/v1/agents/{agent_id}/embed_policy with {"allowed_origins": ["https://my-app.example.com"]}.
138
166
  */
139
- export declare const deleteCurrentCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<DeleteCurrentCustomerAccessTokenData, ThrowOnError>) => RequestResult<DeleteCurrentCustomerAccessTokenResponses, DeleteCurrentCustomerAccessTokenErrors, ThrowOnError>;
167
+ export declare const updateAgentEmbedPolicy: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentEmbedPolicyData, ThrowOnError>) => RequestResult<UpdateAgentEmbedPolicyResponses, UpdateAgentEmbedPolicyErrors, ThrowOnError>;
140
168
  /**
141
169
  * List Computers
142
170
  *
143
171
  * List the computers of your organization, archived ones included.
144
172
  *
145
- * 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.
173
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
146
174
  */
147
175
  export declare const computersList: <ThrowOnError extends boolean = false>(options?: Options<ComputersListData, ThrowOnError>) => RequestResult<ComputersListResponses, ComputersListErrors, ThrowOnError>;
148
176
  /**
149
177
  * Create Computer
150
178
  *
151
- * Create a durable computer: a named machine whose files outlive sessions, for general and personal agents.
179
+ * Create a durable computer: a named machine whose files outlive sessions, for general agents.
152
180
  *
153
- * 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.
181
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
154
182
  */
155
183
  export declare const computersCreate: <ThrowOnError extends boolean = false>(options: Options<ComputersCreateData, ThrowOnError>) => RequestResult<ComputersCreateResponses, ComputersCreateErrors, ThrowOnError>;
156
184
  /**
@@ -166,7 +194,7 @@ export declare const computersDelete: <ThrowOnError extends boolean = false>(opt
166
194
  *
167
195
  * Read one computer's status, storage use and sandbox id.
168
196
  *
169
- * 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.
197
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
170
198
  */
171
199
  export declare const computersRetrieve: <ThrowOnError extends boolean = false>(options: Options<ComputersRetrieveData, ThrowOnError>) => RequestResult<ComputersRetrieveResponses, ComputersRetrieveErrors, ThrowOnError>;
172
200
  /**
@@ -174,7 +202,7 @@ export declare const computersRetrieve: <ThrowOnError extends boolean = false>(o
174
202
  *
175
203
  * Rename a computer.
176
204
  *
177
- * 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.
205
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
178
206
  */
179
207
  export declare const computersUpdate: <ThrowOnError extends boolean = false>(options: Options<ComputersUpdateData, ThrowOnError>) => RequestResult<ComputersUpdateResponses, ComputersUpdateErrors, ThrowOnError>;
180
208
  /**
@@ -182,7 +210,7 @@ export declare const computersUpdate: <ThrowOnError extends boolean = false>(opt
182
210
  *
183
211
  * Archive a computer: its files stay readable but new sessions cannot use it.
184
212
  *
185
- * 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.
213
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers. A computer an active agent holds is refused with 409 COMPUTER_IN_USE; archive the agent first.
186
214
  */
187
215
  export declare const computersArchive: <ThrowOnError extends boolean = false>(options: Options<ComputersArchiveData, ThrowOnError>) => RequestResult<ComputersArchiveResponses, ComputersArchiveErrors, ThrowOnError>;
188
216
  /**
@@ -198,7 +226,7 @@ export declare const computersAttachmentsCreate: <ThrowOnError extends boolean =
198
226
  *
199
227
  * List the entries of one directory on a computer.
200
228
  *
201
- * 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.
229
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
202
230
  */
203
231
  export declare const computersFilesList: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesListData, ThrowOnError>) => RequestResult<ComputersFilesListResponses, ComputersFilesListErrors, ThrowOnError>;
204
232
  /**
@@ -206,9 +234,23 @@ export declare const computersFilesList: <ThrowOnError extends boolean = false>(
206
234
  *
207
235
  * Download the bytes of one file on a computer, up to 16 MiB, with single-range support.
208
236
  *
209
- * 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.
237
+ * 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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.
210
238
  */
211
239
  export declare const computersFilesContent: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesContentData, ThrowOnError>) => RequestResult<ComputersFilesContentResponses, ComputersFilesContentErrors, ThrowOnError>;
240
+ /**
241
+ * Write computer file content
242
+ *
243
+ * Write the bytes of one existing file on a computer, only if the file is still the version you read.
244
+ *
245
+ * Send the raw bytes as the body (at most 16 MiB) and the version you edited in `If-Match`: the `version` field of the file listing (`<size>-<mtimeMs>`). The file must already exist; the write replaces it whole and keeps its permissions. A request without `If-Match` answers 428 FILE_VERSION_REQUIRED and nothing is written. When the file has changed since that version, the answer is 412 FILE_VERSION_MISMATCH with `error.current_version`, and nothing is written: read the file again, redo the edit and write with the new version. The version is checked against the file's current size and modification time, then the content digest is bound into the write itself, so a change that lands while the bytes are being written is refused instead of overwritten. Paths under /attachments and /skills are read-only (403 READ_ONLY). A successful write answers the new path, size, mtime and version; use that version for the next write.
246
+ */
247
+ export declare const updateComputerFileContent: <ThrowOnError extends boolean = false>(options: Options<UpdateComputerFileContentData, ThrowOnError>) => RequestResult<UpdateComputerFileContentResponses, UpdateComputerFileContentErrors, ThrowOnError>;
248
+ /**
249
+ * Preview a computer file
250
+ *
251
+ * The preview product of one version of one computer file: an image becomes a 1600 px WebP, an Office document a linearized PDF, text and source the first 64 KiB, and PDF, xlsx, epub, GIF, SVG and unknown types their original bytes. Products live in the File service and are keyed by computer, path, size, mtime, variant and format version. A request that pins `v` answers from that registry without stat'ing or waking the computer; without `v` the file is read and the product generated once. A file over the size threshold, or a deployment without the File service, answers `fallback: "content"` so the caller keeps the ordinary content door.
252
+ */
253
+ export declare const previewComputerFile: <ThrowOnError extends boolean = false>(options: Options<PreviewComputerFileData, ThrowOnError>) => RequestResult<PreviewComputerFileResponses, PreviewComputerFileErrors, ThrowOnError>;
212
254
  /**
213
255
  * Convert a Computer Document to PDF
214
256
  *
@@ -246,7 +288,7 @@ export declare const releaseComputerLease: <ThrowOnError extends boolean = false
246
288
  /**
247
289
  * List Toolsets
248
290
  *
249
- * Discover tool names, input schemas, read-only status and default permission policies before configuring an agent. The catalog is read-only: enable tools through agents.create or agents.update. agent_toolset_20260401 includes bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message, codemode and skill, plus todo_write, enter_plan_mode, ask_user_question and goal_read, which are listed so they can be switched off. Native additions require bash enabled; codemode requires bash (enabling it with bash disabled returns 400; keep bash enabled with permission_policy always_ask to restrict it); send_message also requires agent. To keep only some tools, set default_config.enabled to false and enable the wanted tools in configs; unlisted tools follow default_config. The catalog includes plugin names and versions. Sessions created through /anthropic/v1 expose only the eight official tools.
291
+ * Discover tool names, input schemas, read-only status and default permission policies before configuring an agent. The catalog is read-only: enable tools through agents.create or agents.update. agent_toolset_20260401 includes bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message, codemode and skill, plus todo_write and goal_read, which are listed so they can be switched off. Native additions require bash enabled; codemode requires bash (enabling it with bash disabled returns 400; keep bash enabled with permission_policy always_ask to restrict it); send_message also requires agent. To keep only some tools, set default_config.enabled to false and enable the wanted tools in configs; unlisted tools follow default_config. The catalog includes plugin names and versions. Sessions created through /anthropic/v1 expose only the eight official tools.
250
292
  */
251
293
  export declare const listToolsets: <ThrowOnError extends boolean = false>(options?: Options<ListToolsetsData, ThrowOnError>) => RequestResult<ListToolsetsResponses, ListToolsetsErrors, ThrowOnError>;
252
294
  /**
@@ -265,6 +307,46 @@ export declare const getSessionContext: <ThrowOnError extends boolean = false>(o
265
307
  * Available only on /agent/v1. Use the message_id field from own-face events, not the event id. Copies every message and part through the target, including tool calls and results. The parent is unchanged; another running turn does not prevent forking an earlier completed turn. The new root session appears in the session list with the same agent version, current model and thinking settings, and cwd working directory. Its title is the parent title plus “ 的分支”. If the parent has a sandbox, the new session owns an independent fork including a memory snapshot. Inherited running tasks are terminated, ring targets are replaced with the new session only, and its background-task table starts empty. Without a parent sandbox, creation remains lazy. Returns 201 with the same Session shape as retrieval. forked_from is {session_id, message_id}, or null for ordinary sessions. Imported history ends with session.forked containing forked_from_session_id and forked_from_message_id. These fields and this event are own-face only. Invalid requests return 400; ineligible targets return 409 FORK_TARGET_INVALID; missing sessions or sessions belonging to another caller return 404. Initialization failures leave the child unpublished and reclaim the forked sandbox.
266
308
  */
267
309
  export declare const forkSession: <ThrowOnError extends boolean = false>(options: Options<ForkSessionData, ThrowOnError>) => RequestResult<ForkSessionResponses, ForkSessionErrors, ThrowOnError>;
310
+ /**
311
+ * Rename Session (Extension)
312
+ *
313
+ * Give a session a short, branch-like name; the main session is always main and cannot be renamed.
314
+ *
315
+ * Available only on /agent/v1. The name is normalized first (surrounding whitespace trimmed, upper case folded to lowercase, runs of whitespace become one hyphen, characters the rule does not admit dropped, and no hyphen left hanging at either end) and then validated: non-empty, at most 32 display columns wide (a Han character counts as two), made only of Han characters, lowercase ASCII letters, digits and hyphens, and never the reserved word main. A name another of the caller's own sessions already holds is not an error: the answer carries a numeric suffix (base-2, base-3, …). Renaming the main session returns 400; a missing session, one that belongs to another caller, or one the caller cannot write returns 404. Returns 200 with the same Session shape as retrieval, name set to the new name; one rename writes a session.renamed event. Example: POST /agent/v1/sessions/sesn_login/name with body {"name":"login-fix"}.
316
+ */
317
+ export declare const renameSession: <ThrowOnError extends boolean = false>(options: Options<RenameSessionData, ThrowOnError>) => RequestResult<RenameSessionResponses, RenameSessionErrors, ThrowOnError>;
318
+ /**
319
+ * Update session agent version
320
+ *
321
+ * Move one session to a version of its agent
322
+ *
323
+ * Without `version`, the session moves to the agent's active version — the version new sessions get now, which is not necessarily the newest saved one. With `version`, it moves to that existing version. The change is idempotent: asking for the version the session is already on answers the session and writes nothing, so the call may be repeated freely. A session that is running a turn answers 409 SESSION_CONFLICT and changes nothing, because a turn finishes on the version it started with; ask again once it is idle. The move writes a `session.updated` event carrying the agent version and the caller as its actor, so every version change is attributable. Main sessions additionally follow their agent's active version at the start of a person-started turn; this endpoint is the same move made explicitly, and it works on every kind of session, including worker sessions that never follow on their own.
324
+ */
325
+ export declare const updateSessionAgentVersion: <ThrowOnError extends boolean = false>(options: Options<UpdateSessionAgentVersionData, ThrowOnError>) => RequestResult<UpdateSessionAgentVersionResponses, UpdateSessionAgentVersionErrors, ThrowOnError>;
326
+ /**
327
+ * List Session Artifacts (Extension)
328
+ *
329
+ * List the files this session delivered; an end-customer token reads its own session.
330
+ *
331
+ * Own-face extension. Returns { data: Artifact[] } ordered by create_time. Each artifact is one file in the session outputs directory, or one canvas or media asset the reply pointed at (a part with kind object carrying object_type, object_id and href; one artifact per object, pointing at it again adds no version), with id, name, version, parts, source_hrefs, create_time and update_time. Delivering the same path again keeps the id and adds one to version. Files are captured seconds after the turn ends, so artifacts appear after session.status_idle; also watch the agent.artifact_delivered event. Whoever may read the session may read its artifacts; a session that is missing or not yours returns 404.
332
+ */
333
+ export declare const listSessionArtifacts: <ThrowOnError extends boolean = false>(options: Options<ListSessionArtifactsData, ThrowOnError>) => RequestResult<ListSessionArtifactsResponses, ListSessionArtifactsErrors, ThrowOnError>;
334
+ /**
335
+ * Create Artifact Content URL (Extension)
336
+ *
337
+ * Mint a short-lived download address for one file of an artifact.
338
+ *
339
+ * Own-face extension. The body is optional: part (index into the artifact parts, default 0) and ttl_seconds (60 to 300, default 300). Returns { url, expire_time }. The address works for minutes; do not store or log it. For an object part the address serves a snapshot picture of a canvas or the own bytes of the asset; an object that no longer exists returns 404 ARTIFACT_NOT_FOUND and a failing share service returns 502. An unknown artifact or an out-of-range part returns 404 ARTIFACT_NOT_FOUND, a session that is missing or not yours returns 404, and a ttl_seconds outside 60 to 300 returns 400.
340
+ */
341
+ export declare const createSessionArtifactContentUrl: <ThrowOnError extends boolean = false>(options: Options<CreateSessionArtifactContentUrlData, ThrowOnError>) => RequestResult<CreateSessionArtifactContentUrlResponses, CreateSessionArtifactContentUrlErrors, ThrowOnError>;
342
+ /**
343
+ * List Session Requests (Extension)
344
+ *
345
+ * List the requests a session is waiting on; an end-customer token reads its own session.
346
+ *
347
+ * Own-face extension. When a session stops at session.status_idle with stop_reason requires_action, read what it waits on here instead of replaying events. Returns { data: Request[] } ordered by create_time, an empty array when nothing is pending, not paginated. Each request has id (the pending tool call id), object (request), kind (always approval, a tool waiting for permission; question is kept for compatibility and is never returned), status (pending), tool_name, input (the same input the agent.tool_use event shows), create_time and expire_time. Answer a request as before: send a user.tool_confirmation event for its id. expire_time is set only for a session with no collaboration mode while the requests-v1 release is on (create_time plus 24 hours; an expired request counts as declined), otherwise null. Answered, expired and superseded requests are not listed, and neither are pending custom tool results (user.custom_tool_result). Whoever may read the session may read its requests; a session that is missing or not yours returns 404.
348
+ */
349
+ export declare const listSessionRequests: <ThrowOnError extends boolean = false>(options: Options<ListSessionRequestsData, ThrowOnError>) => RequestResult<ListSessionRequestsResponses, ListSessionRequestsErrors, ThrowOnError>;
268
350
  /**
269
351
  * List Session Background Tasks (Extension)
270
352
  *
@@ -313,12 +395,30 @@ export declare const getSessionCompaction: <ThrowOnError extends boolean = false
313
395
  * 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.
314
396
  */
315
397
  export declare const listSessionCompactions: <ThrowOnError extends boolean = false>(options: Options<ListSessionCompactionsData, ThrowOnError>) => RequestResult<ListSessionCompactionsResponses, ListSessionCompactionsErrors, ThrowOnError>;
398
+ /**
399
+ * Upload a File (Extension)
400
+ *
401
+ * Start an upload for an embedded end user, so the browser can PUT the file's bytes straight to the File service and then attach the resulting file id to its own session. Use it only with an end-user token: a grant-bound end_user token uploads for its own agent, and an organization-level customer token must name the agent in the body (agent). A member, robot or user_key credential uses /file/v1 instead and gets 404 here. Body: filename (1–255 characters, its extension decides the blocked-type refusal), bytes (the positive byte length) and content_type (1–255 characters). Returns 201 with the File signed-upload answer: upload_id and expires_at, and url for a small file, or part_size, parts, complete_url and status_url for a large one; the addresses are returned here only and must never be stored or logged. The browser PUTs the bytes to the address (or to each part and then complete_url), which answers the File object and its file_id; then POST the file_id to /agent/v1/sessions/{session_id}/resources, and reference it in the message attachments. Refusals: 403 UPLOADS_DISABLED when uploads are off on the agent, 413 FILE_TOO_LARGE when bytes exceeds its uploads.max_file_bytes, 400 FILE_TYPE_REFUSED for a blocked executable or script extension, and 429 UPLOAD_RATE_LIMITED on the 31st unattached upload from the same user on the same agent within an hour. Example: POST /agent/v1/uploads with {"filename":"report.pdf","bytes":48211,"content_type":"application/pdf"}.
402
+ */
403
+ export declare const createAgentUpload: <ThrowOnError extends boolean = false>(options: Options<CreateAgentUploadData, ThrowOnError>) => RequestResult<CreateAgentUploadResponses, CreateAgentUploadErrors, ThrowOnError>;
404
+ /**
405
+ * Create Upload Content URL (Extension)
406
+ *
407
+ * Mint a short-lived read address for one file an embedded end user uploaded, so the page can show or download its own file again. Use it only with an end-user token; file_id is the id the File service returned after the bytes were uploaded. Returns 200 with url (an address that works for 900 seconds) and expires_at; never store or log the address. Only the caller's own upload answers: a file that belongs to someone else, a missing one, or one that did not start as an upload returns 404 FILE_NOT_FOUND, so a stranger cannot learn whether another person's file exists. The request body is empty. Example: POST /agent/v1/uploads/file-Ab12.../content_url.
408
+ */
409
+ export declare const createAgentUploadContentUrl: <ThrowOnError extends boolean = false>(options: Options<CreateAgentUploadContentUrlData, ThrowOnError>) => RequestResult<CreateAgentUploadContentUrlResponses, CreateAgentUploadContentUrlErrors, ThrowOnError>;
316
410
  /**
317
411
  * Generate speech
318
412
  *
319
413
  * Synthesize speech from text and return the complete audio as the response body. Use it for text-to-speech; to turn audio into text use createAudioTranscription. model is a speech model such as melotts or aura-2-en (list them with listModels?type=speech). MeloTTS supports response_format wav only and takes lang (en default, fr, es, zh; ja and ko currently error) and no voice; Aura takes a native speaker name in voice (default luna) and supports mp3, opus, flac, wav and pcm (pcm is raw signed 16-bit little-endian audio at 24 kHz). Unlike OpenAI, voice names such as alloy are not aliases for Aura speakers. Non-default speed, instructions and stream_format sse are not representable and return 400 input_not_representable. No transcoding is done: when response_format is omitted the format the upstream produced is returned. Minimal request: {"model":"melotts","input":"Hello","lang":"en","response_format":"wav"}.
320
414
  */
321
415
  export declare const createAudioSpeech: <ThrowOnError extends boolean = false>(options: Options<CreateAudioSpeechData, ThrowOnError>) => RequestResult<CreateAudioSpeechResponses, CreateAudioSpeechErrors, ThrowOnError>;
416
+ /**
417
+ * List current prices
418
+ *
419
+ * Read every open price item with the amount in force now, in USD and CNY, for example to show a pricing page or check what a meter costs before using it. No credential: the response is the public price book, not an organization's prices, so customer-specific prices and cost floors are not part of it (the source does not carry them). Each entry names the item id, the product (the id's namespace such as router, sandbox or search), the meter's unit and how many units one amount covers (per is 1000000 for per-million-token meters). A model with one amount has one entry; a price that varies by tier or by dimensions has one entry per tier or cell, told apart by variant: tier carries up_to, cell carries when, and a matrix default is kind default. Only versions already in force are shown, so an announced price never appears before its effective_from. usd and cny are decimal strings of major units copied from the price book; a currency the item does not price is null and must be shown as "—", never as 0. pricing_version and effective_at identify the catalog this body came from, and the ETag is derived from both: send it as If-None-Match to get 304 until either changes. Cache-Control is public, max-age=60, so revalidate rather than keeping a copy longer. Reading is free.
420
+ */
421
+ export declare const listPublicPrices: <ThrowOnError extends boolean = false>(options?: Options<ListPublicPricesData, ThrowOnError>) => RequestResult<ListPublicPricesResponses, ListPublicPricesErrors, ThrowOnError>;
322
422
  /**
323
423
  * 列出浏览器会话
324
424
  *
@@ -358,7 +458,7 @@ export declare const browserListEvents: <ThrowOnError extends boolean = false>(o
358
458
  /**
359
459
  * 执行页面动作
360
460
  *
361
- * 在会话的浏览器里执行一个页面动作并返回结果,由浏览器服务执行,客户端不需要 Playwright。同一会话的动作按到达顺序串行执行,单个动作 30 秒内完成。先用 snapshot 读取页面:元素带 [ref=eN],click、fill 按 ref 操作;ref 只在最近一次快照里有效,页面跳转后失效(409 ACTION_REF_STALE,重新 snapshot)。省略 tab 时作用于当前标签页。
461
+ * 在会话的浏览器里执行一个页面动作并返回结果,由浏览器服务执行,客户端不需要 Playwright。同一会话的动作按到达顺序串行执行,单个动作 30 秒内完成。先用 snapshot 读取页面:元素带 [ref=eN],click、fill、select 按 ref 操作;ref 只在最近一次快照里有效,页面跳转后失效(409 ACTION_REF_STALE,重新 snapshot)。省略 tab 时作用于当前标签页。
362
462
  */
363
463
  export declare const browserRunPageAction: <ThrowOnError extends boolean = false>(options: Options<BrowserRunPageActionData, ThrowOnError>) => RequestResult<BrowserRunPageActionResponses, BrowserRunPageActionErrors, ThrowOnError>;
364
464
  /**
@@ -379,6 +479,12 @@ export declare const browserCompleteHandoff: <ThrowOnError extends boolean = fal
379
479
  * 登记运行中会话的观看者仍在线,以免无人连接时因空闲被释放。观看页面可见期间为同一观看者重复发送相同 viewerId;停止观看后停止发送,过期心跳不再计为在线。
380
480
  */
381
481
  export declare const browserViewerHeartbeat: <ThrowOnError extends boolean = false>(options: Options<BrowserViewerHeartbeatData, ThrowOnError>) => RequestResult<BrowserViewerHeartbeatResponses, BrowserViewerHeartbeatErrors, ThrowOnError>;
482
+ /**
483
+ * 读取会话只读画面帧
484
+ *
485
+ * 读取会话的一张只读画面帧(JPEG 字节)。创建者可读,同组织其他成员只在该会话声明为组织可见时可读;其余情况一律返回 404 SESSION_NOT_FOUND,不提示会话是否存在。响应体没有任何可控制浏览器的凭据,且不接受任何动作参数。
486
+ */
487
+ export declare const browserGetSessionFrame: <ThrowOnError extends boolean = false>(options: Options<BrowserGetSessionFrameData, ThrowOnError>) => RequestResult<BrowserGetSessionFrameResponses, BrowserGetSessionFrameErrors, ThrowOnError>;
382
488
  /**
383
489
  * 列出浏览器上下文
384
490
  *
@@ -427,6 +533,12 @@ export declare const browserLiveView: <ThrowOnError extends boolean = false>(opt
427
533
  * SSE:event 为 snapshot、session、pages、action、event 或 end,data 为对应 JSON。先发送 snapshot 快照,再推送实时变化和 ping 注释;end 后关闭。不支持按 Last-Event-ID 历史重放。
428
534
  */
429
535
  export declare const browserStreamSession: <ThrowOnError extends boolean = false>(options: Options<BrowserStreamSessionData, ThrowOnError, BrowserStreamSessionResponse>) => Promise<ServerSentEventsResult<BrowserStreamSessionResponses>>;
536
+ /**
537
+ * 订阅会话只读画面
538
+ *
539
+ * 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。
540
+ */
541
+ export declare const browserStreamSessionFrames: <ThrowOnError extends boolean = false>(options: Options<BrowserStreamSessionFramesData, ThrowOnError, BrowserStreamSessionFramesResponse>) => Promise<ServerSentEventsResult<BrowserStreamSessionFramesResponses>>;
430
542
  /**
431
543
  * 读取 Selenium 不支持提示
432
544
  *
@@ -436,7 +548,7 @@ export declare const browserSeleniumUnsupported: <ThrowOnError extends boolean =
436
548
  /**
437
549
  * List files
438
550
  *
439
- * List live files owned by your tenant, optionally filtered by purpose or session scope_id. Results default to descending creation order with a limit of 10000. Page using after or before with a file ID from the list; these cursors are mutually exclusive. Deleted and expired files are excluded.
551
+ * List live files owned by your tenant, optionally filtered by purpose, session scope_id or up to 100 file ids. Results default to descending creation order with a limit of 10000. Page using after or before with a file ID from the list; these cursors are mutually exclusive. Deleted and expired files are excluded.
440
552
  */
441
553
  export declare const fileListFiles: <ThrowOnError extends boolean = false>(options?: Options<FileListFilesData, ThrowOnError>) => RequestResult<FileListFilesResponses, FileListFilesErrors, ThrowOnError>;
442
554
  /**
@@ -496,7 +608,7 @@ export declare const fileRetrieveUpload: <ThrowOnError extends boolean = false>(
496
608
  /**
497
609
  * Create a one-time upload URL
498
610
  *
499
- * Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide 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"}.
611
+ * 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 or cross-organization URLs return 404, and so does a link whose upload record no longer exists. A URL that is authentic but names another action returns 403 CAPABILITY_MISMATCH: a status link posted to complete_url answers it, and so does a completion link fetched as status_url. 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"}.
500
612
  */
501
613
  export declare const fileCreateSignedUpload: <ThrowOnError extends boolean = false>(options: Options<FileCreateSignedUploadData, ThrowOnError>) => RequestResult<FileCreateSignedUploadResponses, FileCreateSignedUploadErrors, ThrowOnError>;
502
614
  /**
@@ -629,6 +741,24 @@ export declare const rerank: <ThrowOnError extends boolean = false>(options: Opt
629
741
  * OpenAI-compatible chat completions on the model domain's own face. providerOptions.praxis carries model-level fallback (models), request-level BYOK credentials (byok, falling back to platform credentials on failure), and credential-gated provider selection (order/only). Responses report providerMetadata.praxis {generationId, cost, credential, model}.
630
742
  */
631
743
  export declare const createChatCompletion: <ThrowOnError extends boolean = false>(options: Options<CreateChatCompletionData, ThrowOnError>) => RequestResult<CreateChatCompletionResponses, CreateChatCompletionErrors, ThrowOnError>;
744
+ /**
745
+ * Disable Model Access
746
+ *
747
+ * Disable one model for your organization by deleting its grant, so the next call to a model that requires access is refused again with 403 MODEL_ACCESS_REQUIRED. Pass any id enableModelAccess accepts, including creator prefixes; the model may be enabled again later, and the new grant records whoever enabled it then. A model that is not currently enabled is already disabled, so deleting a grant that does not exist also answers 200 with revoked true; only an id no catalog model carries answers 404 MODEL_NOT_FOUND.
748
+ */
749
+ export declare const disableModelAccess: <ThrowOnError extends boolean = false>(options: Options<DisableModelAccessData, ThrowOnError>) => RequestResult<DisableModelAccessResponses, DisableModelAccessErrors, ThrowOnError>;
750
+ /**
751
+ * Enable Model Access
752
+ *
753
+ * Enable one model for your organization so a call to it is allowed. Call it when an inference request was refused with 403 MODEL_ACCESS_REQUIRED, or ahead of time for a model the catalog marks access_required: true; the refusal message and praxis.model.models.list name the model id to pass here. The id resolves exactly as a chat call resolves it, including any creator prefix such as deepseek/deepseek-v4-pro, and an id no catalog model carries answers 404 MODEL_NOT_FOUND. Enabling is organization-wide and needs no approval, and it is idempotent: a second call returns the first grant unchanged, keeping its author, its timestamp and the USD-per-million-token price snapshot it recorded then. Enabling a model that does not require access is allowed and makes no difference to gating.
754
+ */
755
+ export declare const enableModelAccess: <ThrowOnError extends boolean = false>(options: Options<EnableModelAccessData, ThrowOnError>) => RequestResult<EnableModelAccessResponses, EnableModelAccessErrors, ThrowOnError>;
756
+ /**
757
+ * List Model Access
758
+ *
759
+ * List the models your organization must enable before use, together with the grants it already has. Read it to check whether a model is enabled before an inference call, or to show which marked models still need enabling; use each item's model as the id for enableModelAccess or disableModelAccess (PUT or DELETE /model/v1/models/{model}/access). Items cover every model the catalog marks access_required, granted or not, so the gated class stays discoverable, plus any other model this organization has enabled, one item per model. access_required says whether the catalog gates the model; granted says whether your organization has a grant; the prices are the model's current sell prices, what the next call costs, not the price recorded when the grant was created.
760
+ */
761
+ export declare const listModelAccess: <ThrowOnError extends boolean = false>(options?: Options<ListModelAccessData, ThrowOnError>) => RequestResult<ListModelAccessResponses, ListModelAccessErrors, ThrowOnError>;
632
762
  /**
633
763
  * Get Generation
634
764
  *
@@ -820,7 +950,7 @@ export declare const listOrganizationUsage: <ThrowOnError extends boolean = fals
820
950
  /**
821
951
  * List Organization Usage Events
822
952
  *
823
- * Usage events newest first, one opaque cursor page at a time; a page never duplicates or skips an event. Every item carries its metering lines (meter, display name, consumed quantity and unit, mapped from the billing measurements); the per-line price split (list unit price, pricing unit, billed cost) rides only the single event — fetch /organization/v1/events/{id} for it.
953
+ * Usage events newest first by occurrence time (occurred_at, when the usage happened), one opaque cursor page at a time; a page never duplicates or skips an event. Every item carries its metering lines (meter, display name, consumed quantity and unit, mapped from the billing measurements); the per-line price split (list unit price, pricing unit, billed cost) rides only the single event — fetch /organization/v1/events/{id} for it. A cursor belongs to the order it was issued under: one obtained before this occurrence-time ordering, or used under the other sort direction, is refused with 400 INVALID_PARAMS instead of being reused — restart the listing.
824
954
  *
825
955
  */
826
956
  export declare const listOrganizationEvents: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationEventsData, ThrowOnError>) => RequestResult<ListOrganizationEventsResponses, ListOrganizationEventsErrors, ThrowOnError>;
@@ -839,375 +969,791 @@ export declare const getOrganizationEvent: <ThrowOnError extends boolean = false
839
969
  */
840
970
  export declare const exportOrganizationCharges: <ThrowOnError extends boolean = false>(options: Options<ExportOrganizationChargesData, ThrowOnError>) => RequestResult<ExportOrganizationChargesResponses, ExportOrganizationChargesErrors, ThrowOnError>;
841
971
  /**
842
- * Upgrade to a full sandbox
972
+ * List departments
843
973
  *
844
- * Move a light sandbox to a full environment when its capabilities are insufficient. Stops active processes and terminals, migrates files, and preserves the sandbox ID and name. Reconnect with the new envdAccessToken. A failed migration preserves source files but does not restart terminated processes.
974
+ * 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.
845
975
  */
846
- export declare const upgradeSandbox: <ThrowOnError extends boolean = false>(options: Options<UpgradeSandboxData, ThrowOnError>) => RequestResult<UpgradeSandboxResponses, UpgradeSandboxErrors, ThrowOnError>;
976
+ export declare const listOrganizationDepartments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationDepartmentsData, ThrowOnError>) => RequestResult<ListOrganizationDepartmentsResponses, ListOrganizationDepartmentsErrors, ThrowOnError>;
847
977
  /**
848
- * Extend a running sandbox without shortening its deadline
978
+ * Establish a department
849
979
  *
850
- * Extend a running sandbox only when it needs a later expiry; this never resumes a paused sandbox. Timeout is seconds from now, not added to the prior deadline, and must be 900, 1800 or 3600. Returns 409 for paused, expired, or non-extending requests.
980
+ * 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"}.
851
981
  */
852
- export declare const extendSandbox: <ThrowOnError extends boolean = false>(options: Options<ExtendSandboxData, ThrowOnError>) => RequestResult<ExtendSandboxResponses, ExtendSandboxErrors, ThrowOnError>;
982
+ export declare const establishOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<EstablishOrganizationDepartmentData, ThrowOnError>) => RequestResult<EstablishOrganizationDepartmentResponses, EstablishOrganizationDepartmentErrors, ThrowOnError>;
853
983
  /**
854
- * List live processes and retained observations
984
+ * Get a department
855
985
  *
856
- * Inspect live processes and retained observations; this does not start a command. 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.
986
+ * 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.
857
987
  */
858
- export declare const listObservedProcesses: <ThrowOnError extends boolean = false>(options: Options<ListObservedProcessesData, ThrowOnError>) => RequestResult<ListObservedProcessesResponses, ListObservedProcessesErrors, ThrowOnError>;
988
+ export declare const getOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationDepartmentData, ThrowOnError>) => RequestResult<GetOrganizationDepartmentResponses, GetOrganizationDepartmentErrors, ThrowOnError>;
859
989
  /**
860
- * Read bounded observed process output
990
+ * Reorganize a department
861
991
  *
862
- * 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.
992
+ * 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.
863
993
  */
864
- export declare const getObservedProcessOutput: <ThrowOnError extends boolean = false>(options: Options<GetObservedProcessOutputData, ThrowOnError>) => RequestResult<GetObservedProcessOutputResponses, GetObservedProcessOutputErrors, ThrowOnError>;
994
+ export declare const reorganizeOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<ReorganizeOrganizationDepartmentData, ThrowOnError>) => RequestResult<ReorganizeOrganizationDepartmentResponses, ReorganizeOrganizationDepartmentErrors, ThrowOnError>;
865
995
  /**
866
- * Kill sandbox
996
+ * Dissolve a department
867
997
  *
868
- * Kill a sandbox: stop it and release its resources for good. Use it when you are done with the sandbox; to keep its state for later use pause it instead with pauseSandbox. Success answers 204 with no body, and a killed sandbox answers 404 afterwards.
998
+ * 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.
869
999
  */
870
- export declare const deleteSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1000
+ export declare const dissolveOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<DissolveOrganizationDepartmentData, ThrowOnError>) => RequestResult<DissolveOrganizationDepartmentResponses, DissolveOrganizationDepartmentErrors, ThrowOnError>;
871
1001
  /**
872
- * Sandbox
1002
+ * Amend a department charter
873
1003
  *
874
- * Read one sandbox: its state (running or paused), template, resources, start time and expiry (endAt), plus the access token for its data plane when it is running. Use it to poll the state or the remaining lifetime of a sandbox; to find sandboxes use listSandboxes. An unknown id or another team's sandbox answers 404.
1004
+ * 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.
875
1005
  */
876
- export declare const getSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1006
+ export declare const amendOrganizationDepartmentCharter: <ThrowOnError extends boolean = false>(options: Options<AmendOrganizationDepartmentCharterData, ThrowOnError>) => RequestResult<AmendOrganizationDepartmentCharterResponses, AmendOrganizationDepartmentCharterErrors, ThrowOnError>;
877
1007
  /**
878
- * Rename a sandbox
1008
+ * List jobs
879
1009
  *
880
- * Rename your sandbox. Names are trimmed, must contain 1–64 characters after trimming, and must be unique within your team. Only name may be changed. Returns the updated sandbox detail, as GET does. Killed or unavailable sandboxes return 404.
1010
+ * 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.
881
1011
  */
882
- export declare const renameSandbox: <ThrowOnError extends boolean = false>(options: Options<RenameSandboxData, ThrowOnError>) => RequestResult<RenameSandboxResponses, RenameSandboxErrors, ThrowOnError>;
1012
+ export declare const listOrganizationJobs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationJobsData, ThrowOnError>) => RequestResult<ListOrganizationJobsResponses, ListOrganizationJobsErrors, ThrowOnError>;
883
1013
  /**
884
- * Remove a file or directory in the sandbox
1014
+ * Define a job
885
1015
  *
886
- * Remove an unneeded file or recursively remove a directory and its contents. This permanently deletes the selected path; read any needed content first. Returns 204 after removal.
1016
+ * 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."}.
887
1017
  */
888
- export declare const removeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<RemoveSandboxFileData, ThrowOnError>) => RequestResult<RemoveSandboxFileResponses, RemoveSandboxFileErrors, ThrowOnError>;
1018
+ export declare const defineOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationJobData, ThrowOnError>) => RequestResult<DefineOrganizationJobResponses, DefineOrganizationJobErrors, ThrowOnError>;
889
1019
  /**
890
- * Read a file in the sandbox
1020
+ * Get a job
891
1021
  *
892
- * Read UTF-8 file content when a command needs input or produced a text artifact. Returns a JSON string. Unlike E2B, this endpoint supports text only and rejects output above 1 MiB; binary and streaming reads are unavailable.
1022
+ * 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.
893
1023
  */
894
- export declare const readSandboxFile: <ThrowOnError extends boolean = false>(options: Options<ReadSandboxFileData, ThrowOnError>) => RequestResult<ReadSandboxFileResponses, ReadSandboxFileErrors, ThrowOnError>;
1024
+ export declare const getOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationJobData, ThrowOnError>) => RequestResult<GetOrganizationJobResponses, GetOrganizationJobErrors, ThrowOnError>;
895
1025
  /**
896
- * Write a file in the sandbox
1026
+ * Revise a job
897
1027
  *
898
- * Write a file in the sandbox before running a command. Replaces the target content and creates missing parent directories. Unlike E2B, this endpoint accepts one UTF-8 text file per request, at most 1 MiB; binary and batch writes are unavailable. Example body: {"path":"/tmp/hello.txt","data":"hello"}.
1028
+ * 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.
899
1029
  */
900
- export declare const writeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<WriteSandboxFileData, ThrowOnError>) => RequestResult<WriteSandboxFileResponses, WriteSandboxFileErrors, ThrowOnError>;
1030
+ export declare const reviseOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationJobData, ThrowOnError>) => RequestResult<ReviseOrganizationJobResponses, ReviseOrganizationJobErrors, ThrowOnError>;
901
1031
  /**
902
- * List files in a sandbox directory
1032
+ * Retire a job
903
1033
  *
904
- * Inspect a directory to find paths to read or remove. Returns immediate children with name, path, type and size. Unlike E2B, recursive depth is unavailable and responses are limited to 1 MiB.
1034
+ * 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.
905
1035
  */
906
- export declare const listSandboxFiles: <ThrowOnError extends boolean = false>(options: Options<ListSandboxFilesData, ThrowOnError>) => RequestResult<ListSandboxFilesResponses, ListSandboxFilesErrors, ThrowOnError>;
1036
+ export declare const retireOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<RetireOrganizationJobData, ThrowOnError>) => RequestResult<RetireOrganizationJobResponses, RetireOrganizationJobErrors, ThrowOnError>;
907
1037
  /**
908
- * Create a directory in the sandbox
1038
+ * List job ladders
909
1039
  *
910
- * Create a directory and missing parent directories before writing files. Returns true when created or false when the path already exists. Supply the path as a query parameter.
1040
+ * 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.
911
1041
  */
912
- export declare const makeSandboxDirectory: <ThrowOnError extends boolean = false>(options: Options<MakeSandboxDirectoryData, ThrowOnError>) => RequestResult<MakeSandboxDirectoryResponses, MakeSandboxDirectoryErrors, ThrowOnError>;
1042
+ export declare const listOrganizationLadders: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationLaddersData, ThrowOnError>) => RequestResult<ListOrganizationLaddersResponses, ListOrganizationLaddersErrors, ThrowOnError>;
913
1043
  /**
914
- * Run a command in the sandbox
1044
+ * Define a job ladder
915
1045
  *
916
- * 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"}.
1046
+ * 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}]}.
917
1047
  */
918
- export declare const runSandboxCommand: <ThrowOnError extends boolean = false>(options: Options<RunSandboxCommandData, ThrowOnError>) => RequestResult<RunSandboxCommandResponses, RunSandboxCommandErrors, ThrowOnError>;
1048
+ export declare const defineOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationLadderData, ThrowOnError>) => RequestResult<DefineOrganizationLadderResponses, DefineOrganizationLadderErrors, ThrowOnError>;
919
1049
  /**
920
- * Delete session
1050
+ * Get a job ladder
921
1051
  *
922
- * Delete an idle or terminated session and its event history after saving a deletion snapshot. Supply the session id from creation or listing. Running sessions return 409 INVALID_STATE: interrupt first or wait until idle or terminated. Afterwards retrieval and event listing return 404 and lists omit the session. Example: DELETE /agent/v1/sessions/sesn_example.
1052
+ * 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.
923
1053
  */
924
- export declare const sessionsDelete: <ThrowOnError extends boolean = false>(options: Options<SessionsDeleteData, ThrowOnError>) => RequestResult<SessionsDeleteResponses, SessionsDeleteErrors, ThrowOnError>;
1054
+ export declare const getOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationLadderData, ThrowOnError>) => RequestResult<GetOrganizationLadderResponses, GetOrganizationLadderErrors, ThrowOnError>;
925
1055
  /**
926
- * Get session
1056
+ * Revise a job ladder
927
1057
  *
928
- * Read one session by id: its agent snapshot, status, model and thinking selection, resources, title, metadata and, for a fork, forked_from. Use it to poll status; to read what happened use sessions.events.list. This response does not include a machine object or sandbox id. With no environment_id or Computer selected at creation, the session starts on a light machine; no environment lookup or provisioning is needed for a codemode calculation.
1058
+ * 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.
929
1059
  */
930
- export declare const sessionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsRetrieveData, ThrowOnError>) => RequestResult<SessionsRetrieveResponses, SessionsRetrieveErrors, ThrowOnError>;
1060
+ export declare const reviseOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationLadderData, ThrowOnError>) => RequestResult<ReviseOrganizationLadderResponses, ReviseOrganizationLadderErrors, ThrowOnError>;
931
1061
  /**
932
- * Update session
1062
+ * List positions
933
1063
  *
934
- * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
1064
+ * 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.
935
1065
  */
936
- export declare const sessionsUpdate: <ThrowOnError extends boolean = false>(options: Options<SessionsUpdateData, ThrowOnError>) => RequestResult<SessionsUpdateResponses, SessionsUpdateErrors, ThrowOnError>;
1066
+ export declare const listOrganizationPositions: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPositionsData, ThrowOnError>) => RequestResult<ListOrganizationPositionsResponses, ListOrganizationPositionsErrors, ThrowOnError>;
937
1067
  /**
938
- * List agents
1068
+ * Open positions
939
1069
  *
940
- * 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.
1070
+ * 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"}.
941
1071
  */
942
- export declare const agentsList: <ThrowOnError extends boolean = false>(options?: Options<AgentsListData, ThrowOnError>) => RequestResult<AgentsListResponses, AgentsListErrors, ThrowOnError>;
1072
+ export declare const openOrganizationPositions: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPositionsData, ThrowOnError>) => RequestResult<OpenOrganizationPositionsResponses, OpenOrganizationPositionsErrors, ThrowOnError>;
943
1073
  /**
944
- * Create agent
1074
+ * Get a position
945
1075
  *
946
- * 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.
1076
+ * 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.
947
1077
  */
948
- export declare const agentsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentsCreateData, ThrowOnError>) => RequestResult<AgentsCreateResponses, AgentsCreateErrors, ThrowOnError>;
1078
+ export declare const getOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPositionData, ThrowOnError>) => RequestResult<GetOrganizationPositionResponses, GetOrganizationPositionErrors, ThrowOnError>;
949
1079
  /**
950
- * Get agent
1080
+ * Revise a position
951
1081
  *
952
- * 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.
1082
+ * 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.
953
1083
  */
954
- export declare const agentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AgentsRetrieveData, ThrowOnError>) => RequestResult<AgentsRetrieveResponses, AgentsRetrieveErrors, ThrowOnError>;
1084
+ export declare const reviseOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationPositionData, ThrowOnError>) => RequestResult<ReviseOrganizationPositionResponses, ReviseOrganizationPositionErrors, ThrowOnError>;
955
1085
  /**
956
- * Update agent
1086
+ * Close a position
957
1087
  *
958
- * 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.
1088
+ * 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.
959
1089
  */
960
- export declare const agentsUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentsUpdateData, ThrowOnError>) => RequestResult<AgentsUpdateResponses, AgentsUpdateErrors, ThrowOnError>;
1090
+ export declare const closeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPositionData, ThrowOnError>) => RequestResult<CloseOrganizationPositionResponses, CloseOrganizationPositionErrors, ThrowOnError>;
961
1091
  /**
962
- * Archive agent
1092
+ * Freeze a position
963
1093
  *
964
- * Archive an agent so it can no longer be updated and no new session can be created from it (AGENT_ARCHIVED). The agent and all of its versions stay readable. Use it to retire an agent you no longer want to run; it does not delete anything.
1094
+ * 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.
965
1095
  */
966
- export declare const agentsArchive: <ThrowOnError extends boolean = false>(options: Options<AgentsArchiveData, ThrowOnError>) => RequestResult<AgentsArchiveResponses, AgentsArchiveErrors, ThrowOnError>;
1096
+ export declare const freezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<FreezeOrganizationPositionData, ThrowOnError>) => RequestResult<FreezeOrganizationPositionResponses, FreezeOrganizationPositionErrors, ThrowOnError>;
967
1097
  /**
968
- * List agent versions
1098
+ * Unfreeze a position
969
1099
  *
970
- * 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.
1100
+ * 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.
971
1101
  */
972
- export declare const agentsVersionsList: <ThrowOnError extends boolean = false>(options: Options<AgentsVersionsListData, ThrowOnError>) => RequestResult<AgentsVersionsListResponses, AgentsVersionsListErrors, ThrowOnError>;
1102
+ export declare const unfreezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<UnfreezeOrganizationPositionData, ThrowOnError>) => RequestResult<UnfreezeOrganizationPositionResponses, UnfreezeOrganizationPositionErrors, ThrowOnError>;
973
1103
  /**
974
- * List sessions
1104
+ * Reassign a position's manager
975
1105
  *
976
- * List sessions of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Archived sessions are hidden unless include_archived is true. Unlike Anthropic Managed Agents, only limit, page, agent_id, deployment_id and include_archived are honored; the other filters declared here (agent_version, created_at ranges, memory_store_id, order, statuses) are not supported and return 400. Use the returned id with sessions.retrieve or sessions.events.list; pass next_page as page for the next page.
1106
+ * 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.
977
1107
  */
978
- export declare const sessionsList: <ThrowOnError extends boolean = false>(options?: Options<SessionsListData, ThrowOnError>) => RequestResult<SessionsListResponses, SessionsListErrors, ThrowOnError>;
1108
+ export declare const reassignOrganizationPositionManager: <ThrowOnError extends boolean = false>(options: Options<ReassignOrganizationPositionManagerData, ThrowOnError>) => RequestResult<ReassignOrganizationPositionManagerResponses, ReassignOrganizationPositionManagerErrors, ThrowOnError>;
979
1109
  /**
980
- * Create session
1110
+ * Regrade a position
981
1111
  *
982
- * 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.
1112
+ * 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.
983
1113
  */
984
- export declare const sessionsCreate: <ThrowOnError extends boolean = false>(options: Options<SessionsCreateData, ThrowOnError>) => RequestResult<SessionsCreateResponses, SessionsCreateErrors, ThrowOnError>;
1114
+ export declare const regradeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<RegradeOrganizationPositionData, ThrowOnError>) => RequestResult<RegradeOrganizationPositionResponses, RegradeOrganizationPositionErrors, ThrowOnError>;
985
1115
  /**
986
- * Archive session
1116
+ * Designate a department head position
987
1117
  *
988
- * Archive a session. An archived session refuses new messages with 400 invalid_request_error, while its details and event history stay readable. Archiving again is idempotent and archived_at keeps the first archive time. Use it when a conversation is finished; it does not delete anything.
1118
+ * 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.
989
1119
  */
990
- export declare const sessionsArchive: <ThrowOnError extends boolean = false>(options: Options<SessionsArchiveData, ThrowOnError>) => RequestResult<SessionsArchiveResponses, SessionsArchiveErrors, ThrowOnError>;
1120
+ export declare const designateOrganizationPositionHead: <ThrowOnError extends boolean = false>(options: Options<DesignateOrganizationPositionHeadData, ThrowOnError>) => RequestResult<DesignateOrganizationPositionHeadResponses, DesignateOrganizationPositionHeadErrors, ThrowOnError>;
991
1121
  /**
992
- * List session events
1122
+ * Hire into a position
993
1123
  *
994
- * 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.
1124
+ * 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. An agent created moments ago may not be in the organization roster yet (agents enter it asynchronously): that answers 503 ACTOR_SYNCING with a Retry-After header and retryable true, and the same call succeeds after that wait. 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"}.
995
1125
  */
996
- export declare const sessionsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsListData, ThrowOnError>) => RequestResult<SessionsEventsListResponses, SessionsEventsListErrors, ThrowOnError>;
1126
+ export declare const hireOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<HireOrganizationPositionData, ThrowOnError>) => RequestResult<HireOrganizationPositionResponses, HireOrganizationPositionErrors, ThrowOnError>;
997
1127
  /**
998
- * Send session events
1128
+ * Replace a position's holder
999
1129
  *
1000
- * 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.
1130
+ * 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"}.
1001
1131
  */
1002
- export declare const sessionsEventsSend: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsSendData, ThrowOnError>) => RequestResult<SessionsEventsSendResponses, SessionsEventsSendErrors, ThrowOnError>;
1132
+ export declare const replaceOrganizationPositionHolder: <ThrowOnError extends boolean = false>(options: Options<ReplaceOrganizationPositionHolderData, ThrowOnError>) => RequestResult<ReplaceOrganizationPositionHolderResponses, ReplaceOrganizationPositionHolderErrors, ThrowOnError>;
1003
1133
  /**
1004
- * Stream session events
1134
+ * List assignments
1005
1135
  *
1006
- * 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.
1136
+ * 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.
1007
1137
  */
1008
- export declare const sessionsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsStreamData, ThrowOnError, SessionsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsEventsStreamResponses>>;
1138
+ export declare const listOrganizationAssignments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationAssignmentsData, ThrowOnError>) => RequestResult<ListOrganizationAssignmentsResponses, ListOrganizationAssignmentsErrors, ThrowOnError>;
1009
1139
  /**
1010
- * List session threads
1140
+ * Get an assignment
1011
1141
  *
1012
- * List the execution threads of a session: the primary thread plus every child thread started by subagents or advisors, in created_at order. Child threads reference the primary through parent_thread_id. Pages hold at most 100 threads (default 20). Use a thread id with sessions.threads.retrieve, sessions.threads.events.list or sessions.threads.events.stream.
1142
+ * 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.
1013
1143
  */
1014
- export declare const sessionsThreadsList: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsListData, ThrowOnError>) => RequestResult<SessionsThreadsListResponses, SessionsThreadsListErrors, ThrowOnError>;
1144
+ export declare const getOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationAssignmentData, ThrowOnError>) => RequestResult<GetOrganizationAssignmentResponses, GetOrganizationAssignmentErrors, ThrowOnError>;
1015
1145
  /**
1016
- * Get session thread
1146
+ * Transfer an assignment to another position
1017
1147
  *
1018
- * Read one execution thread of a session, field for field the same as its list item. Thread ids that are unknown, malformed or belong to another session all return 404, so existence is not revealed. thread_id comes from sessions.threads.list or from the session_thread_id of a session.thread_created event.
1148
+ * 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"}.
1019
1149
  */
1020
- export declare const sessionsThreadsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsRetrieveData, ThrowOnError>) => RequestResult<SessionsThreadsRetrieveResponses, SessionsThreadsRetrieveErrors, ThrowOnError>;
1150
+ export declare const transferOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<TransferOrganizationAssignmentData, ThrowOnError>) => RequestResult<TransferOrganizationAssignmentResponses, TransferOrganizationAssignmentErrors, ThrowOnError>;
1021
1151
  /**
1022
- * Archive session thread
1152
+ * End an assignment
1023
1153
  *
1024
- * Archive one execution thread. Archiving the primary thread archives the session; archiving a child archives only that child, leaving the parent and its siblings untouched. An archived child has status terminated and archived_at set, receives no new events and keeps its history readable.
1154
+ * 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"}.
1025
1155
  */
1026
- export declare const sessionsThreadsArchive: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsArchiveData, ThrowOnError>) => RequestResult<SessionsThreadsArchiveResponses, SessionsThreadsArchiveErrors, ThrowOnError>;
1156
+ export declare const terminateOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<TerminateOrganizationAssignmentData, ThrowOnError>) => RequestResult<TerminateOrganizationAssignmentResponses, TerminateOrganizationAssignmentErrors, ThrowOnError>;
1027
1157
  /**
1028
- * List session thread events
1158
+ * Make an assignment primary
1029
1159
  *
1030
- * Read the event history of one execution thread: the session itself for the primary thread, or the child session for a child thread. It accepts the same filters, ordering and paging as sessions.events.list and returns the same data + next_page envelope. Child approvals carry session_thread_id so you can route a confirmation to the owning thread.
1160
+ * 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.
1031
1161
  */
1032
- export declare const sessionsThreadsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsEventsListData, ThrowOnError>) => RequestResult<SessionsThreadsEventsListResponses, SessionsThreadsEventsListErrors, ThrowOnError>;
1162
+ export declare const makePrimaryOrganizationAssignment: <ThrowOnError extends boolean = false>(options: Options<MakePrimaryOrganizationAssignmentData, ThrowOnError>) => RequestResult<MakePrimaryOrganizationAssignmentResponses, MakePrimaryOrganizationAssignmentErrors, ThrowOnError>;
1033
1163
  /**
1034
- * Stream session thread events
1164
+ * List actors holding positions
1035
1165
  *
1036
- * Open a Server-Sent Events stream of one execution thread's live events, using the same implementation as sessions.events.stream; a read-only WebSocket is also available on this path. The parent session stream additionally carries child creation, status and message events. Pass event_deltas[]=agent.message, agent.thinking or agent.tool_use for incremental previews.
1166
+ * 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.
1037
1167
  */
1038
- export declare const sessionsThreadsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsEventsStreamData, ThrowOnError, SessionsThreadsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsThreadsEventsStreamResponses>>;
1168
+ export declare const listOrganizationActors: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationActorsData, ThrowOnError>) => RequestResult<ListOrganizationActorsResponses, ListOrganizationActorsErrors, ThrowOnError>;
1039
1169
  /**
1040
- * Get environment
1170
+ * Get the position chain of an actor
1041
1171
  *
1042
- * Read one environment's configuration and status by id. Built-in environments are readable but never editable; tenant-owned ones can be updated or archived. environment_id comes from environments.list or environments.create.
1172
+ * 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.
1043
1173
  */
1044
- export declare const environmentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsRetrieveData, ThrowOnError>) => RequestResult<EnvironmentsRetrieveResponses, EnvironmentsRetrieveErrors, ThrowOnError>;
1174
+ export declare const getOrganizationActor: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationActorData, ThrowOnError>) => RequestResult<GetOrganizationActorResponses, GetOrganizationActorErrors, ThrowOnError>;
1045
1175
  /**
1046
- * Update environment
1176
+ * List periods
1047
1177
  *
1048
- * Update the configuration of a tenant-owned cloud environment. Built-in environments are read-only. Package installation and limited networking are applied when a session's sandbox is created. Omitted fields keep their value. A changed config.template must name an available sandbox template, otherwise 400 lists the available ones.
1178
+ * 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.
1049
1179
  */
1050
- export declare const environmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsUpdateData, ThrowOnError>) => RequestResult<EnvironmentsUpdateResponses, EnvironmentsUpdateErrors, ThrowOnError>;
1180
+ export declare const listOrganizationPeriods: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPeriodsData, ThrowOnError>) => RequestResult<ListOrganizationPeriodsResponses, ListOrganizationPeriodsErrors, ThrowOnError>;
1051
1181
  /**
1052
- * Archive environment
1182
+ * Open a period
1053
1183
  *
1054
- * Soft-archive a tenant-owned cloud environment so it can no longer be used to create new sessions. Built-in environments are read-only and cannot be archived. An environment that the active version of a non-archived agent uses as environment_id returns 409 RESOURCE_IN_USE naming the agents; point them at another environment first.
1184
+ * 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"}.
1055
1185
  */
1056
- export declare const environmentsArchive: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsArchiveData, ThrowOnError>) => RequestResult<EnvironmentsArchiveResponses, EnvironmentsArchiveErrors, ThrowOnError>;
1186
+ export declare const openOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPeriodData, ThrowOnError>) => RequestResult<OpenOrganizationPeriodResponses, OpenOrganizationPeriodErrors, ThrowOnError>;
1057
1187
  /**
1058
- * List environments
1188
+ * Get a period
1059
1189
  *
1060
- * List execution environments: the built-in recipes and the tenant-owned cloud environments that a session can run in. Archived environments are hidden unless include_archived is true. Pages hold at most 100 items (default 20); pass next_page as page to continue. Use the returned id as environment_id when creating a session.
1190
+ * 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.
1061
1191
  */
1062
- export declare const environmentsList: <ThrowOnError extends boolean = false>(options?: Options<EnvironmentsListData, ThrowOnError>) => RequestResult<EnvironmentsListResponses, EnvironmentsListErrors, ThrowOnError>;
1192
+ export declare const getOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPeriodData, ThrowOnError>) => RequestResult<GetOrganizationPeriodResponses, GetOrganizationPeriodErrors, ThrowOnError>;
1063
1193
  /**
1064
- * Create environment
1194
+ * Close a period
1065
1195
  *
1066
- * Create a tenant-owned cloud environment: a sandbox recipe (packages to install and networking policy) that sessions can select through environment_id. Package installation happens when the session's sandbox is created; a failed install terminates that session with ENVIRONMENT_PACKAGE_INSTALL_FAILED. Limited networking is applied at sandbox creation. Unlike Anthropic Managed Agents, self_hosted environments, scope and cross-session package caching are not supported. config.template must name an available sandbox template, otherwise 400 lists the available ones.
1196
+ * 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.
1067
1197
  */
1068
- export declare const environmentsCreate: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsCreateData, ThrowOnError>) => RequestResult<EnvironmentsCreateResponses, EnvironmentsCreateErrors, ThrowOnError>;
1198
+ export declare const closeOrganizationPeriod: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPeriodData, ThrowOnError>) => RequestResult<CloseOrganizationPeriodResponses, CloseOrganizationPeriodErrors, ThrowOnError>;
1069
1199
  /**
1070
- * List session resources
1200
+ * List objectives
1071
1201
  *
1072
- * List the extra resources (file references) attached to a session, oldest first, at most 1000 per page (default 1000). Use the returned id with sessions.resources.retrieve or sessions.resources.delete; next_page continues a truncated list.
1202
+ * 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.
1073
1203
  */
1074
- export declare const sessionsResourcesList: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesListData, ThrowOnError>) => RequestResult<SessionsResourcesListResponses, SessionsResourcesListErrors, ThrowOnError>;
1204
+ export declare const listOrganizationObjectives: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationObjectivesData, ThrowOnError>) => RequestResult<ListOrganizationObjectivesResponses, ListOrganizationObjectivesErrors, ThrowOnError>;
1075
1205
  /**
1076
- * Add session resource
1206
+ * Set an objective
1077
1207
  *
1078
- * Attach a file resource to a session by file_id, up to 500 per session. The file must exist and belong to your tenant. It is mounted under /mnt/session/uploads/<file_id> unless mount_path is given; custom paths are rooted there and parent traversal is rejected. File content is immutable through this API, and synchronizing it into a running sandbox is not implemented in this version.
1208
+ * 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"}.
1079
1209
  */
1080
- export declare const sessionsResourcesAdd: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesAddData, ThrowOnError>) => RequestResult<SessionsResourcesAddResponses, SessionsResourcesAddErrors, ThrowOnError>;
1210
+ export declare const setOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<SetOrganizationObjectiveData, ThrowOnError>) => RequestResult<SetOrganizationObjectiveResponses, SetOrganizationObjectiveErrors, ThrowOnError>;
1081
1211
  /**
1082
- * Delete session resource
1212
+ * Get an objective
1083
1213
  *
1084
- * Detach a resource from a session. Only the reference is removed; the underlying file is not deleted. The response is {id, type: session_resource_deleted}. resource_id comes from sessions.resources.list or the add call.
1214
+ * 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.
1085
1215
  */
1086
- export declare const sessionsResourcesDelete: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesDeleteData, ThrowOnError>) => RequestResult<SessionsResourcesDeleteResponses, SessionsResourcesDeleteErrors, ThrowOnError>;
1216
+ export declare const getOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationObjectiveData, ThrowOnError>) => RequestResult<GetOrganizationObjectiveResponses, GetOrganizationObjectiveErrors, ThrowOnError>;
1087
1217
  /**
1088
- * Get session resource
1218
+ * Revise an objective
1089
1219
  *
1090
- * Read one resource attached to a session: its type, file_id, mount_path and timestamps. resource_id comes from sessions.resources.list or sessions.resources.add.
1220
+ * 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"}.
1091
1221
  */
1092
- export declare const sessionsResourcesRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesRetrieveData, ThrowOnError>) => RequestResult<SessionsResourcesRetrieveResponses, SessionsResourcesRetrieveErrors, ThrowOnError>;
1222
+ export declare const reviseOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationObjectiveData, ThrowOnError>) => RequestResult<ReviseOrganizationObjectiveResponses, ReviseOrganizationObjectiveErrors, ThrowOnError>;
1093
1223
  /**
1094
- * List deployments
1224
+ * Align an objective to parent objectives
1095
1225
  *
1096
- * List stored deployments newest first. Filter by agent_id, status, or inclusive created_at bounds; status and include_archived cannot be combined, even when include_archived is false. The default limit is 20, maximum 100; pass next_page as page to continue. Archived deployments are hidden by default. Schedules show up to five future wall-clock occurrences, also while paused; archived schedules show none.
1226
+ * 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}]}.
1097
1227
  */
1098
- export declare const deploymentsList: <ThrowOnError extends boolean = false>(options?: Options<DeploymentsListData, ThrowOnError>) => RequestResult<DeploymentsListResponses, DeploymentsListErrors, ThrowOnError>;
1228
+ export declare const alignOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<AlignOrganizationObjectiveData, ThrowOnError>) => RequestResult<AlignOrganizationObjectiveResponses, AlignOrganizationObjectiveErrors, ThrowOnError>;
1099
1229
  /**
1100
- * Create deployment
1230
+ * Grade an objective
1101
1231
  *
1102
- * 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.
1232
+ * 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."}.
1103
1233
  */
1104
- export declare const deploymentsCreate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsCreateData, ThrowOnError>) => RequestResult<DeploymentsCreateResponses, DeploymentsCreateErrors, ThrowOnError>;
1234
+ export declare const gradeOrganizationObjective: <ThrowOnError extends boolean = false>(options: Options<GradeOrganizationObjectiveData, ThrowOnError>) => RequestResult<GradeOrganizationObjectiveResponses, GradeOrganizationObjectiveErrors, ThrowOnError>;
1105
1235
  /**
1106
- * Get deployment
1236
+ * List key results
1107
1237
  *
1108
- * Read a stored deployment by its depl_ id from deployments.create or deployments.list. The agent reference has a concrete version; own-face overrides are echoed unchanged. This read recomputes upcoming schedule times and does not execute the deployment. Foreign or absent ids return 404.
1238
+ * 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.
1109
1239
  */
1110
- export declare const deploymentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<DeploymentsRetrieveData, ThrowOnError>) => RequestResult<DeploymentsRetrieveResponses, DeploymentsRetrieveErrors, ThrowOnError>;
1240
+ export declare const listOrganizationKeyResults: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationKeyResultsData, ThrowOnError>) => RequestResult<ListOrganizationKeyResultsResponses, ListOrganizationKeyResultsErrors, ThrowOnError>;
1111
1241
  /**
1112
- * Update deployment
1242
+ * Set a key result
1113
1243
  *
1114
- * Partially update a deployment. Omitted fields keep their values; a supplied agent id re-pins the latest version, or supply a versioned reference. Metadata merges string values and deletes keys set to null. Null clears schedule, resources and description; name, environment_id and initial_events cannot be cleared. Archived deployments return 409. Overrides apply to new sessions; updating a schedule recalculates its next occurrence.
1244
+ * 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"}}.
1115
1245
  */
1116
- export declare const deploymentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsUpdateData, ThrowOnError>) => RequestResult<DeploymentsUpdateResponses, DeploymentsUpdateErrors, ThrowOnError>;
1246
+ export declare const setOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<SetOrganizationKeyResultData, ThrowOnError>) => RequestResult<SetOrganizationKeyResultResponses, SetOrganizationKeyResultErrors, ThrowOnError>;
1117
1247
  /**
1118
- * Archive deployment
1248
+ * Get a key result
1119
1249
  *
1120
- * Archive a deployment by its depl_ id. Repeated calls are idempotent; archived deployments remain readable and have no upcoming schedule times. Subsequent update, pause and unpause calls return 409. This operation does not create a deployment run.
1250
+ * 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.
1121
1251
  */
1122
- export declare const deploymentsArchive: <ThrowOnError extends boolean = false>(options: Options<DeploymentsArchiveData, ThrowOnError>) => RequestResult<DeploymentsArchiveResponses, DeploymentsArchiveErrors, ThrowOnError>;
1252
+ export declare const getOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationKeyResultData, ThrowOnError>) => RequestResult<GetOrganizationKeyResultResponses, GetOrganizationKeyResultErrors, ThrowOnError>;
1123
1253
  /**
1124
- * Pause deployment
1254
+ * Revise a key result
1125
1255
  *
1126
- * Pause an active deployment and set paused_reason to {type: manual}. Repeated pause calls are idempotent; archived deployments return 409. Upcoming schedule times remain visible while paused; no run is executed.
1256
+ * 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"}.
1127
1257
  */
1128
- export declare const deploymentsPause: <ThrowOnError extends boolean = false>(options: Options<DeploymentsPauseData, ThrowOnError>) => RequestResult<DeploymentsPauseResponses, DeploymentsPauseErrors, ThrowOnError>;
1258
+ export declare const reviseOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationKeyResultData, ThrowOnError>) => RequestResult<ReviseOrganizationKeyResultResponses, ReviseOrganizationKeyResultErrors, ThrowOnError>;
1129
1259
  /**
1130
- * Unpause deployment
1260
+ * List specs
1131
1261
  *
1132
- * Resume a paused deployment and clear paused_reason. Repeated unpause calls on an active deployment are idempotent; archived deployments return 409. This operation changes resource state only and does not execute a run.
1262
+ * Lists the specs (规定) of the organization, most recently updated first; use it to find which subject already has a spec before reading or revising one. Narrow it with kind. 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, an unknown kind, 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/specs?kind=job.
1133
1263
  */
1134
- export declare const deploymentsUnpause: <ThrowOnError extends boolean = false>(options: Options<DeploymentsUnpauseData, ThrowOnError>) => RequestResult<DeploymentsUnpauseResponses, DeploymentsUnpauseErrors, ThrowOnError>;
1264
+ export declare const listOrganizationSpecs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationSpecsData, ThrowOnError>) => RequestResult<ListOrganizationSpecsResponses, ListOrganizationSpecsErrors, ThrowOnError>;
1135
1265
  /**
1136
- * List deployment runs
1266
+ * Get a spec
1137
1267
  *
1138
- * List deployment runs newest first. Filter by deployment_id, has_error, trigger_type (manual or schedule) and created_at[gt|gte|lt|lte]. The default limit is 20, maximum 100; pass next_page as page with the same filters to continue. Each record identifies the resolved agent version and either its session or creation error.
1268
+ * Reads one subject's live spec, or one historical revision with revision; a subject never written answers revision 0 with an empty spec, so a first revise sends expected_revision 0. Read-only. Errors: 400 INVALID_PARAMS for a non-integer revision; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent; 404 when the subject, or the named SPEC_REVISION_NOT_FOUND, does not exist. Example: GET /organization/v1/specs/job/jpr_123?revision=2.
1139
1269
  */
1140
- export declare const deploymentRunsList: <ThrowOnError extends boolean = false>(options?: Options<DeploymentRunsListData, ThrowOnError>) => RequestResult<DeploymentRunsListResponses, DeploymentRunsListErrors, ThrowOnError>;
1270
+ export declare const getOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationSpecData, ThrowOnError>) => RequestResult<GetOrganizationSpecResponses, GetOrganizationSpecErrors, ThrowOnError>;
1141
1271
  /**
1142
- * Get deployment run
1272
+ * Revise a spec
1143
1273
  *
1144
- * Read a deployment run by the drun_ id returned by deployments.run or deployment_runs.list. Exactly one of session_id and error is non-null. Scheduled runs include scheduled_at in trigger_context. Foreign or absent ids return 404.
1274
+ * Replaces the whole spec of a subject: expected_revision is the revision you last read (0 when none was written) and each success raises it by one, so a mismatch returns REVISION_CONFLICT and you must read again, merge and retry. The spec body is stored and returned verbatim; its blocks are document, agent, computer, phone, roles, grants, repositories, schedules, browser and remove, and it is validated against the block registry. Requires an organization owner or admin, or the head of the subject's department. Errors: 400 INVALID_PARAMS for a missing spec or expected_revision, a block outside the registry or an unknown body field; 403 PERMISSION_DENIED; 404 when the subject does not exist; 409 REVISION_CONFLICT. Example body: {"expected_revision":0,"spec":{"document":"Deliver reliably."}}.
1145
1275
  */
1146
- export declare const deploymentRunsRetrieve: <ThrowOnError extends boolean = false>(options: Options<DeploymentRunsRetrieveData, ThrowOnError>) => RequestResult<DeploymentRunsRetrieveResponses, DeploymentRunsRetrieveErrors, ThrowOnError>;
1276
+ export declare const reviseOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationSpecData, ThrowOnError>) => RequestResult<ReviseOrganizationSpecResponses, ReviseOrganizationSpecErrors, ThrowOnError>;
1147
1277
  /**
1148
- * Run deployment
1278
+ * List spec revisions
1149
1279
  *
1150
- * Create one session from an active deployment using its pinned agent version and stored parameters. Pass the depl_ id from deployments.create or deployments.list; no request body is needed. Returns a drun_ record with exactly one of session_id or error populated. Creation errors automatically pause the deployment; paused or archived deployments return 409 without a run. Unlike the own face, the compatible face rejects computer targets with 400.
1280
+ * Lists every stored revision of one subject's spec, newest first, each with its body, author and creation instant; use it to see what changed over time or to pick a revision to read or diff. 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; 404 when the subject does not exist.
1151
1281
  */
1152
- export declare const deploymentsRun: <ThrowOnError extends boolean = false>(options: Options<DeploymentsRunData, ThrowOnError>) => RequestResult<DeploymentsRunResponses, DeploymentsRunErrors, ThrowOnError>;
1282
+ export declare const listOrganizationSpecRevisions: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationSpecRevisionsData, ThrowOnError>) => RequestResult<ListOrganizationSpecRevisionsResponses, ListOrganizationSpecRevisionsErrors, ThrowOnError>;
1153
1283
  /**
1154
- * List skills
1284
+ * Diff two spec revisions
1155
1285
  *
1156
- * List the skills uploaded to your organization, newest first, in pages of at most 100 (default 20). Use it to find a skill id before reading, versioning or deleting it. Only source=custom has content; source=anthropic returns an empty list. Pass next_page from the response as page to read the next page; a null next_page means the end.
1286
+ * Compares two revisions of one subject's spec and lists the changes between them, each with its path and, for a change, the value before and after; revision 0 is the empty spec, so diffing 0 against 1 shows the first write. Read-only. Errors: 400 INVALID_PARAMS when from or to is missing or not an integer; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent; 404 when the subject does not exist, or SPEC_REVISION_NOT_FOUND when from or to was never written. Example: GET /organization/v1/specs/job/jpr_123/diff?from=1&to=2.
1157
1287
  */
1158
- export declare const skillsList: <ThrowOnError extends boolean = false>(options?: Options<SkillsListData, ThrowOnError>) => RequestResult<SkillsListResponses, SkillsListErrors, ThrowOnError>;
1288
+ export declare const diffOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<DiffOrganizationSpecData, ThrowOnError>) => RequestResult<DiffOrganizationSpecResponses, DiffOrganizationSpecErrors, ThrowOnError>;
1159
1289
  /**
1160
- * Create skill
1290
+ * Read the effective spec
1161
1291
  *
1162
- * Upload a skill: a directory that contains SKILL.md, which the agent reads when it needs the skill. Send multipart/form-data with one files part per file, each file name being its path under one top-level directory (pdf/SKILL.md, pdf/scripts/run.py), and an optional display_name. SKILL.md frontmatter needs a description; name defaults to the directory name and must be one folder name (1-255 characters, no "/", backslash or NUL, not "." or ".."), otherwise the upload returns 400 stating the allowed form. Limits: 8 MB in total, at most 200 files, no .. segments, absolute paths or empty names; a violation returns 400 naming the path or field. The upload creates the skill and its first version, and versions are immutable. Attach the skill to an agent with `skills` on the agent.
1292
+ * Merges the spec chain of a seat or an actor and returns the one effective configuration: the merged capability blocks, the document of every layer, where each merged value came from, and anything only the merged result shows to be wrong. Give exactly one of actor (every seat the actor holds) or position_id (one seat, held or vacant, a preview before hiring); holder_kind defaults from the seat's holder. Read-only; nothing is changed. Errors: 400 INVALID_PARAMS when neither or both of actor and position_id are given, the actor address is malformed, holder_kind is neither agent nor human, or a query parameter is unknown; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent; 404 POSITION_NOT_FOUND. Example: GET /organization/v1/effective_spec?actor=agent:agent_123.
1163
1293
  */
1164
- export declare const skillsCreate: <ThrowOnError extends boolean = false>(options: Options<SkillsCreateData, ThrowOnError>) => RequestResult<SkillsCreateResponses, SkillsCreateErrors, ThrowOnError>;
1294
+ export declare const getOrganizationEffectiveSpec: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationEffectiveSpecData, ThrowOnError>) => RequestResult<GetOrganizationEffectiveSpecResponses, GetOrganizationEffectiveSpecErrors, ThrowOnError>;
1165
1295
  /**
1166
- * Delete skill
1296
+ * Plan reconciliation
1167
1297
  *
1168
- * Delete a skill together with all of its versions. A skill that is still attached to an agent returns 409 RESOURCE_IN_USE naming up to 10 agent ids (the active or latest version of a non-archived agent counts); remove it from those agents first. Returns {id, type: skill_deleted}. skill_id comes from skills.create or skills.list.
1298
+ * Dry-runs the reconciler for one holder and returns what it would change: an action per block (hold, update, none, pending, blocked) with the value it would write, and the violations only the merged result shows. It changes nothing - no state, no agent and no memory. Give the holder as actor. Errors: 400 INVALID_PARAMS when actor is missing or is not an actor address, or a query parameter is unknown; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/reconcile/plan?actor=agent:agent_123.
1169
1299
  */
1170
- export declare const skillsDelete: <ThrowOnError extends boolean = false>(options: Options<SkillsDeleteData, ThrowOnError>) => RequestResult<SkillsDeleteResponses, SkillsDeleteErrors, ThrowOnError>;
1300
+ export declare const planOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<PlanOrganizationReconcileData, ThrowOnError>) => RequestResult<PlanOrganizationReconcileResponses, PlanOrganizationReconcileErrors, ThrowOnError>;
1171
1301
  /**
1172
- * Get skill
1302
+ * Read reconcile status
1173
1303
  *
1174
- * Read one skill by id: its display_name, source and latest_version_id. skill_id comes from skills.create or skills.list. A skill of another organization, or a deleted one, returns 404 Skill not found.
1304
+ * Reads the reconciler's last result for one holder: whether the sweep is paused, the seats and layer revisions of the last applied run, each block's state (ready, pending, failed, waiting_human or paused), the drift between what is applied and what the specs want, and when it last applied. Read-only; it changes nothing. Give the holder as actor. Errors: 400 INVALID_PARAMS when actor is missing or is not an actor address, or a query parameter is unknown; 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /organization/v1/reconcile/status?actor=agent:agent_123.
1175
1305
  */
1176
- export declare const skillsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SkillsRetrieveData, ThrowOnError>) => RequestResult<SkillsRetrieveResponses, SkillsRetrieveErrors, ThrowOnError>;
1306
+ export declare const getOrganizationReconcileStatus: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationReconcileStatusData, ThrowOnError>) => RequestResult<GetOrganizationReconcileStatusResponses, GetOrganizationReconcileStatusErrors, ThrowOnError>;
1177
1307
  /**
1178
- * List skill versions
1308
+ * Run reconciliation now
1179
1309
  *
1180
- * List the live versions of one skill, newest first, in pages of at most 100 (default 20). Each item carries the name and description read from the SKILL.md of that version. Pass next_page from the response as page to read the next page; a null next_page means the end.
1310
+ * Reconciles one holder now instead of waiting for the sweep: it plans, applies every update and returns the new status. Run plan first to see the changes without applying them. Requires an organization owner or admin. A block that cannot be applied now stays pending, waiting_human or failed, and the returned status says so. Errors: 400 INVALID_PARAMS when actor is missing or is not an actor address, or a body field is unknown; 403 PERMISSION_DENIED. Example body: {"actor":"agent:agent_123"}.
1181
1311
  */
1182
- export declare const skillsVersionsList: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsListData, ThrowOnError>) => RequestResult<SkillsVersionsListResponses, SkillsVersionsListErrors, ThrowOnError>;
1312
+ export declare const runOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<RunOrganizationReconcileData, ThrowOnError>) => RequestResult<RunOrganizationReconcileResponses, RunOrganizationReconcileErrors, ThrowOnError>;
1183
1313
  /**
1184
- * Create skill version
1314
+ * Pause reconciliation
1185
1315
  *
1186
- * Upload a new version of a skill with the same multipart/form-data shape and limits as skills.create (8 MB, 200 files, one top-level directory containing SKILL.md). The SKILL.md name must equal the name of the skill; a different name returns 400. The new version becomes latest_version_id of the skill, and earlier versions stay unchanged because versions are immutable. Attach it to an agent with `skills` on the agent.
1316
+ * Stops the sweep from reconciling one holder until it is resumed: the holder's blocks keep their state and no further update is applied. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS when actor is missing or is not an actor address, or a body field is unknown; 403 PERMISSION_DENIED. Example body: {"actor":"agent:agent_123"}.
1187
1317
  */
1188
- export declare const skillsVersionsCreate: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsCreateData, ThrowOnError>) => RequestResult<SkillsVersionsCreateResponses, SkillsVersionsCreateErrors, ThrowOnError>;
1318
+ export declare const pauseOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<PauseOrganizationReconcileData, ThrowOnError>) => RequestResult<PauseOrganizationReconcileResponses, PauseOrganizationReconcileErrors, ThrowOnError>;
1189
1319
  /**
1190
- * Delete skill version
1320
+ * Resume reconciliation
1191
1321
  *
1192
- * Soft-delete one version of a skill so it can no longer be read or downloaded; latest_version_id of the skill falls back to the newest remaining version. Returns {id, type: skill_version_deleted}. A skill keeps at least one version: deleting the last remaining version returns 409 SKILL_LAST_VERSION (delete the skill instead), so latest_version_id is never null. A version that a non-archived agent pins returns 409 RESOURCE_IN_USE naming the agents.
1322
+ * Restarts the sweep for a paused holder and reconciles it now, returning the new status. Requires an organization owner or admin. Errors: 400 INVALID_PARAMS when actor is missing or is not an actor address, or a body field is unknown; 403 PERMISSION_DENIED. Example body: {"actor":"agent:agent_123"}.
1193
1323
  */
1194
- export declare const skillsVersionsDelete: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsDeleteData, ThrowOnError>) => RequestResult<SkillsVersionsDeleteResponses, SkillsVersionsDeleteErrors, ThrowOnError>;
1324
+ export declare const resumeOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<ResumeOrganizationReconcileData, ThrowOnError>) => RequestResult<ResumeOrganizationReconcileResponses, ResumeOrganizationReconcileErrors, ThrowOnError>;
1195
1325
  /**
1196
- * Get skill version
1326
+ * Upgrade to a full sandbox
1197
1327
  *
1198
- * Read one version of a skill: its name, description and created_at as read from SKILL.md. version is the id returned by skills.versions.create or skills.versions.list. A deleted or unknown version returns 404 Skill version not found.
1328
+ * Move a light sandbox to a full environment when its capabilities are insufficient. Stops active processes and terminals, migrates files, and preserves the sandbox ID and name. Reconnect with the new envdAccessToken. A failed migration preserves source files but does not restart terminated processes.
1199
1329
  */
1200
- export declare const skillsVersionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsRetrieveData, ThrowOnError>) => RequestResult<SkillsVersionsRetrieveResponses, SkillsVersionsRetrieveErrors, ThrowOnError>;
1330
+ export declare const upgradeSandbox: <ThrowOnError extends boolean = false>(options: Options<UpgradeSandboxData, ThrowOnError>) => RequestResult<UpgradeSandboxResponses, UpgradeSandboxErrors, ThrowOnError>;
1201
1331
  /**
1202
- * Download skill version
1332
+ * Extend a running sandbox without shortening its deadline
1203
1333
  *
1204
- * Download the content of one version as a zip archive (application/zip): the uploaded directory with its top-level folder and every file. version is the id returned by skills.versions.create or skills.versions.list; a deleted version returns 404.
1334
+ * Extend a running sandbox only when it needs a later expiry; this never resumes a paused sandbox. Timeout is seconds from now, not added to the prior deadline, and must be 900, 1800 or 3600. Returns 409 for paused, expired, or non-extending requests.
1205
1335
  */
1206
- export declare const skillsVersionsDownload: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsDownloadData, ThrowOnError>) => RequestResult<SkillsVersionsDownloadResponses, SkillsVersionsDownloadErrors, ThrowOnError>;
1336
+ export declare const extendSandbox: <ThrowOnError extends boolean = false>(options: Options<ExtendSandboxData, ThrowOnError>) => RequestResult<ExtendSandboxResponses, ExtendSandboxErrors, ThrowOnError>;
1207
1337
  /**
1208
- * Get account subdomain
1338
+ * List live processes and retained observations
1209
1339
  *
1210
- * Return the account subdomain used in every Worker URL. A default is created on first use.
1340
+ * Inspect live processes and retained observations; this does not start a command. 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.
1341
+ */
1342
+ export declare const listObservedProcesses: <ThrowOnError extends boolean = false>(options: Options<ListObservedProcessesData, ThrowOnError>) => RequestResult<ListObservedProcessesResponses, ListObservedProcessesErrors, ThrowOnError>;
1343
+ /**
1344
+ * Read bounded observed process output
1345
+ *
1346
+ * 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.
1347
+ */
1348
+ export declare const getObservedProcessOutput: <ThrowOnError extends boolean = false>(options: Options<GetObservedProcessOutputData, ThrowOnError>) => RequestResult<GetObservedProcessOutputResponses, GetObservedProcessOutputErrors, ThrowOnError>;
1349
+ /**
1350
+ * Start a task whose output is pushed off the machine while it runs
1351
+ *
1352
+ * 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.
1353
+ */
1354
+ export declare const startSandboxTask: <ThrowOnError extends boolean = false>(options: Options<StartSandboxTaskData, ThrowOnError>) => RequestResult<StartSandboxTaskResponses, StartSandboxTaskErrors, ThrowOnError>;
1355
+ /**
1356
+ * Read a range of a task's pushed output
1357
+ *
1358
+ * 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.
1359
+ */
1360
+ export declare const getSandboxTaskLog: <ThrowOnError extends boolean = false>(options: Options<GetSandboxTaskLogData, ThrowOnError>) => RequestResult<GetSandboxTaskLogResponses, GetSandboxTaskLogErrors, ThrowOnError>;
1361
+ /**
1362
+ * Kill sandbox
1363
+ *
1364
+ * Kill a sandbox: stop it and release its resources for good. Use it when you are done with the sandbox; to keep its state for later use pause it instead with pauseSandbox. Success answers 204 with no body, and a killed sandbox answers 404 afterwards.
1365
+ */
1366
+ export declare const deleteSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1367
+ /**
1368
+ * Sandbox
1369
+ *
1370
+ * Read one sandbox: its state (running or paused), template, resources, start time and expiry (endAt), plus the access token for its data plane when it is running. Use it to poll the state or the remaining lifetime of a sandbox; to find sandboxes use listSandboxes. An unknown id or another team's sandbox answers 404.
1371
+ */
1372
+ export declare const getSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1373
+ /**
1374
+ * Rename a sandbox
1375
+ *
1376
+ * Rename your sandbox. Names are trimmed, must contain 1–64 characters after trimming, and must be unique within your team. Only name may be changed. Returns the updated sandbox detail, as GET does. Killed or unavailable sandboxes return 404.
1377
+ */
1378
+ export declare const renameSandbox: <ThrowOnError extends boolean = false>(options: Options<RenameSandboxData, ThrowOnError>) => RequestResult<RenameSandboxResponses, RenameSandboxErrors, ThrowOnError>;
1379
+ /**
1380
+ * Act on a phone sandbox's screen
1381
+ *
1382
+ * See and operate an android sandbox's phone screen: take a screenshot, read the UI hierarchy to get a ref for each node, then tap a node or a screen point, long-press, swipe, scroll, type text, press a key, open or close an app, open a URL, or wait. Use it to drive and automate a mobile app on a phone sandbox created with templateID "android"; those machines have no terminal or file API, so drive the screen with this operation and run shell commands with commands.run. Start with a snapshot to learn what is on screen and to mint the refs the tap-like actions use; a ref names a node in the latest snapshot only, so after a newer snapshot, or after an action that changed the screen, take a fresh snapshot — a stale ref is refused with INVALID_PARAMS. The phone runs one action at a time, so actions on one sandbox are serial: send the next only after the previous call returns. A phone that has just been created may not have connected yet and answers 503 SERVICE_UNAVAILABLE with Retry-After: 2; retry after that delay (measured on develop: the sandbox is created in about 45 s and the phone program connects about 15 s later). Text is entered through the phone's own input, which supports ASCII only, so typing non-ASCII text into a Chinese app is not supported and answers INVALID_PARAMS. A linux sandbox has no screen and answers CAPABILITY_UNSUPPORTED.
1383
+ *
1384
+ * The same path is the caller's action socket: send GET with the standard WebSocket upgrade headers instead of POST and drive many actions over one connection. The server answers {"type":"ready","instanceId":"<id>"} first, then every frame {"id":"<your correlation id>","action":{…}} (an action of the same shape as this operation's body, at most 64 characters of id) is answered by its own id, in submission order, as {"id":"…","result":{…}} or {"id":"…","error":{"code":"…","message":"…","retryable":true}}. At most 8 actions may be in flight on one connection (the next answers RATE_LIMITED), and 10 malformed frames in a row close the connection 1008. Authentication is the caller's own (an organization API key), never the phone's token. Closing the connection ends only that client's view: actions already accepted are answered, and the phone stays connected. Before the handshake, a phone that is still being built or has not connected yet answers 503 DEVICE_NOT_READY with the state it is in and Retry-After: 2.
1385
+ */
1386
+ export declare const actOnSandboxDisplay: <ThrowOnError extends boolean = false>(options: Options<ActOnSandboxDisplayData, ThrowOnError>) => RequestResult<ActOnSandboxDisplayResponses, ActOnSandboxDisplayErrors, ThrowOnError>;
1387
+ /**
1388
+ * Remove a file or directory in the sandbox
1389
+ *
1390
+ * Remove an unneeded file or recursively remove a directory and its contents. This permanently deletes the selected path; read any needed content first. Returns 204 after removal.
1391
+ */
1392
+ export declare const removeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<RemoveSandboxFileData, ThrowOnError>) => RequestResult<RemoveSandboxFileResponses, RemoveSandboxFileErrors, ThrowOnError>;
1393
+ /**
1394
+ * Read a file in the sandbox
1395
+ *
1396
+ * Read UTF-8 file content when a command needs input or produced a text artifact. Returns a JSON string. Unlike E2B, this endpoint supports text only and rejects output above 1 MiB; binary and streaming reads are unavailable.
1397
+ */
1398
+ export declare const readSandboxFile: <ThrowOnError extends boolean = false>(options: Options<ReadSandboxFileData, ThrowOnError>) => RequestResult<ReadSandboxFileResponses, ReadSandboxFileErrors, ThrowOnError>;
1399
+ /**
1400
+ * Write a file in the sandbox
1401
+ *
1402
+ * Write a file in the sandbox before running a command. Replaces the target content and creates missing parent directories. Unlike E2B, this endpoint accepts one UTF-8 text file per request, at most 1 MiB; binary and batch writes are unavailable. Example body: {"path":"/tmp/hello.txt","data":"hello"}.
1403
+ */
1404
+ export declare const writeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<WriteSandboxFileData, ThrowOnError>) => RequestResult<WriteSandboxFileResponses, WriteSandboxFileErrors, ThrowOnError>;
1405
+ /**
1406
+ * List files in a sandbox directory
1407
+ *
1408
+ * Inspect a directory to find paths to read or remove. Returns immediate children with name, path, type and size. Unlike E2B, recursive depth is unavailable and responses are limited to 1 MiB.
1409
+ */
1410
+ export declare const listSandboxFiles: <ThrowOnError extends boolean = false>(options: Options<ListSandboxFilesData, ThrowOnError>) => RequestResult<ListSandboxFilesResponses, ListSandboxFilesErrors, ThrowOnError>;
1411
+ /**
1412
+ * Create a directory in the sandbox
1413
+ *
1414
+ * Create a directory and missing parent directories before writing files. Returns true when created or false when the path already exists. Supply the path as a query parameter.
1415
+ */
1416
+ export declare const makeSandboxDirectory: <ThrowOnError extends boolean = false>(options: Options<MakeSandboxDirectoryData, ThrowOnError>) => RequestResult<MakeSandboxDirectoryResponses, MakeSandboxDirectoryErrors, ThrowOnError>;
1417
+ /**
1418
+ * Run a command in the sandbox
1419
+ *
1420
+ * 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. On an android sandbox the command runs in the phone's root shell, its stderr is merged into stdout (read stdout and expect stderr to come back empty), and background mode is unavailable. Example body: {"cmd":"echo hi"}.
1421
+ */
1422
+ export declare const runSandboxCommand: <ThrowOnError extends boolean = false>(options: Options<RunSandboxCommandData, ThrowOnError>) => RequestResult<RunSandboxCommandResponses, RunSandboxCommandErrors, ThrowOnError>;
1423
+ /**
1424
+ * Start adding a phone of your own
1425
+ *
1426
+ * Begin bringing your own device (BYOD): the platform answers an 8-character code, its ten-minute deadline and the QR payload your phone's app scans, and nothing is registered until the owner taps Allow on the phone. Show the QR payload (or the code) in your app; the phone opens GET /sandbox/v1/byod/pairings/{code} — with no credential — to show the organization and the deadline, then posts the claim once. The pairing stores the organization's display name, which the phone shows on its Allow screen, so create the pairing from a session or key that carries one. A code is spent by the first successful claim and cannot be reused; create a new pairing for another device. BYOD devices are separate from sandboxes: they never appear in listSandboxes and have no template, size or expiry. Example: POST /sandbox/v1/byod/pairings with no body returns {code:'K7M4PQRS',expires_at:'2026-11-22T13:10:00.000Z',qr:'praxis://byod/pair?code=K7M4PQRS&api=https%3A%2F%2Fapi.deepraxis.com'}.
1427
+ */
1428
+ export declare const createByodPairing: <ThrowOnError extends boolean = false>(options?: Options<CreateByodPairingData, ThrowOnError>) => RequestResult<CreateByodPairingResponses, CreateByodPairingErrors, ThrowOnError>;
1429
+ /**
1430
+ * List your organization's own devices
1431
+ *
1432
+ * List the devices your organization has paired, oldest first, with each one's platform, name, model, OS version, live online fact and when it was last seen. Use it to find a device id before you act on it, rename it or disconnect it, or to show the BYOD page. A revoked device is not listed, so a device that disappears from this answer was disconnected; there is no paging because an organization's own devices are few. Each row carries capabilities and, for a desktop, the agent_dirs it registered. Example: GET /sandbox/v1/byod/devices returns {data:[{object:'byod_device',id:'byd_0123456789abcdefghijklmno',platform:'android',name:'Shelf phone',model:'23127PN0CC',os_version:'16',online:true,last_seen_at:'2026-11-22T12:58:00.000Z',created_at:'2026-11-22T12:40:00.000Z',capabilities:['display'],agent_dirs:[]}]}.
1433
+ */
1434
+ export declare const listByodDevices: <ThrowOnError extends boolean = false>(options?: Options<ListByodDevicesData, ThrowOnError>) => RequestResult<ListByodDevicesResponses, ListByodDevicesErrors, ThrowOnError>;
1435
+ /**
1436
+ * Read one of your organization's devices
1437
+ *
1438
+ * Read one BYOD device: the same fields listByodDevices returns, for a single device. Use it to poll whether a device is online before acting on it, or to refresh one row of the BYOD page after a rename. An unknown id and another organization's device both answer 404, so the answer never reveals that a foreign device exists. Example: GET /sandbox/v1/byod/devices/byd_0123456789abcdefghijklmno.
1439
+ */
1440
+ export declare const getByodDevice: <ThrowOnError extends boolean = false>(options: Options<GetByodDeviceData, ThrowOnError>) => RequestResult<GetByodDeviceResponses, GetByodDeviceErrors, ThrowOnError>;
1441
+ /**
1442
+ * Rename one of your organization's devices
1443
+ *
1444
+ * Change a device's display name, and nothing else: pairing, credential, platform and connection are untouched. Use it to give a shared phone a name your team recognises. The body takes exactly one field, name, 1 to 64 characters after trimming; a missing, extra or wrongly typed field answers INVALID_PARAMS. An unknown id and another organization's device both answer 404. Example: PATCH /sandbox/v1/byod/devices/byd_0123456789abcdefghijklmno with {name:'Shelf phone'} returns the updated device.
1445
+ */
1446
+ export declare const updateByodDevice: <ThrowOnError extends boolean = false>(options: Options<UpdateByodDeviceData, ThrowOnError>) => RequestResult<UpdateByodDeviceResponses, UpdateByodDeviceErrors, ThrowOnError>;
1447
+ /**
1448
+ * Disconnect a device and revoke its credential
1449
+ *
1450
+ * Disconnect a paired device: the device's credential is revoked, its control connection is closed, and it stops appearing in listByodDevices. Use it when the phone is lost, lent or no longer wanted; the same disconnect is offered as one tap on the device itself. The operation is idempotent — disconnecting an already-disconnected device answers the same 200 — so a retry after a lost response is safe. The device is untouched: nothing is erased on the phone, and it can be paired again with a new pairing. Because a revoked device is not listed, a later listByodDevices no longer shows it. An unknown id and another organization's device both answer 404. Example: POST /sandbox/v1/byod/devices/byd_0123456789abcdefghijklmno/disconnect returns {id:'byd_0123456789abcdefghijklmno',object:'byod_device',disconnected:true}.
1451
+ */
1452
+ export declare const disconnectByodDevice: <ThrowOnError extends boolean = false>(options: Options<DisconnectByodDeviceData, ThrowOnError>) => RequestResult<DisconnectByodDeviceResponses, DisconnectByodDeviceErrors, ThrowOnError>;
1453
+ /**
1454
+ * Read a pairing for the phone's Allow screen
1455
+ *
1456
+ * The phone's own read, called by the app that scanned the QR code or the code was typed into: it answers the organization's display name and the code's deadline, which the owner sees before tapping Allow. This path carries no Praxis credential — the one-time code is what it is addressed by — so do not send an API key and do not call it from server code. An unknown, spent or expired code answers 404, with nothing said about which of the three it is; that also covers a code another organization created. The read is a preview only: it registers nothing, and the claim is what spends the code. Example: GET /sandbox/v1/byod/pairings/K7M4PQRS returns {organization_name:'烟火测试团队',expires_at:'2026-11-22T13:10:00.000Z'}.
1457
+ */
1458
+ export declare const getByodPairing: <ThrowOnError extends boolean = false>(options: Options<GetByodPairingData, ThrowOnError>) => RequestResult<GetByodPairingResponses, GetByodPairingErrors, ThrowOnError>;
1459
+ /**
1460
+ * Claim a pairing and register the phone
1461
+ *
1462
+ * The phone's own final step after the owner taps Allow: it registers the device and answers the device id, a one-time credential and the control socket url the app dials. This path carries no Praxis credential — the one-time code is what it is addressed by — so do not send an API key and never call it from server code. The claim is single use: the first successful call spends the code and a second call answers 404, as does an unknown or expired code, so the app must store the credential the moment it arrives because it is never shown again. Connect to socket_url with Authorization: Bearer <credential>; the socket speaks the phone channel (hello, ping/pong, act, result/error) and the device's one connection is replaced if the app reconnects. Example: POST /sandbox/v1/byod/pairings/K7M4PQRS/claim with {platform:'android',name:'Shelf phone',model:'23127PN0CC',os_version:'16'} returns {device_id:'byd_0123456789abcdefghijklmno',credential:'…',socket_url:'wss://49982-byd0123456789abcdefghijklmno.sandbox-develop.praxisusercontent.com/'}.
1463
+ */
1464
+ export declare const claimByodPairing: <ThrowOnError extends boolean = false>(options: Options<ClaimByodPairingData, ThrowOnError>) => RequestResult<ClaimByodPairingResponses, ClaimByodPairingErrors, ThrowOnError>;
1465
+ /**
1466
+ * Delete session
1467
+ *
1468
+ * Delete an idle or terminated session and its event history after saving a deletion snapshot. Supply the session id from creation or listing. Running sessions return 409 INVALID_STATE: interrupt first or wait until idle or terminated. Afterwards retrieval and event listing return 404 and lists omit the session. Example: DELETE /agent/v1/sessions/sesn_example.
1469
+ */
1470
+ export declare const sessionsDelete: <ThrowOnError extends boolean = false>(options: Options<SessionsDeleteData, ThrowOnError>) => RequestResult<SessionsDeleteResponses, SessionsDeleteErrors, ThrowOnError>;
1471
+ /**
1472
+ * Get session
1473
+ *
1474
+ * Read one session by id: its agent snapshot, status, model and thinking selection, resources, title, metadata and, for a fork, forked_from. Use it to poll status; to read what happened use sessions.events.list. This response does not include a machine object or sandbox id. With no environment_id or Computer selected at creation, the session starts on the agent version's default environment, node22.
1475
+ */
1476
+ export declare const sessionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsRetrieveData, ThrowOnError>) => RequestResult<SessionsRetrieveResponses, SessionsRetrieveErrors, ThrowOnError>;
1477
+ /**
1478
+ * Update session
1479
+ *
1480
+ * Update a session's title, metadata, model or thinking selection. metadata follows patch semantics: a string value sets the key, null deletes it, a null metadata clears all keys, untouched keys stay. model must be allowed by the session's agent version; thinking is {effort} or null (null restores inheritance); a model-only change clears a session thinking that the new model does not support, and combined changes are validated against the new model, with the previous selection kept on a 400. Changes apply from the next turn, not to a turn already running. Agent overrides are not supported (400 naming the field). Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
1481
+ */
1482
+ export declare const sessionsUpdate: <ThrowOnError extends boolean = false>(options: Options<SessionsUpdateData, ThrowOnError>) => RequestResult<SessionsUpdateResponses, SessionsUpdateErrors, ThrowOnError>;
1483
+ /**
1484
+ * List agents
1485
+ *
1486
+ * 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 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.
1487
+ */
1488
+ export declare const agentsList: <ThrowOnError extends boolean = false>(options?: Options<AgentsListData, ThrowOnError>) => RequestResult<AgentsListResponses, AgentsListErrors, ThrowOnError>;
1489
+ /**
1490
+ * Create agent
1491
+ *
1492
+ * Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. Omit kind to create a service agent (Managed Agents behaviour: a fresh environment per session). Pass kind: "general" for an employee-style agent with its own computer, created with it; size and template come from the agent's computers configuration. 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 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"}]}. kind defaults to service when it is omitted and no computer_id is given, and to general when computer_id is given; it cannot change after creation. A general or assume agent created without computer_id gets a new computer registered in the same request, named after the agent; a service agent with computer_id returns 400. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; vault_ids are accepted, bindings and environment_id are refused. phone gives the agent one phone, in one of two mutually exclusive forms: {sku, name?, archive: {exclude}} is a cloud Android device the platform builds on demand from that Sandbox SKU, and {byod, name?} is your organization's own device, named by a byd_… id it already owns (Brought Your Own Device), which the platform drives but never builds. A body naming both sku and byod returns 400, and a byd_… id this organization does not own returns 400 INVALID_PARAMS. Only a general or assume agent may have a phone: a service agent with phone returns 400. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.
1493
+ */
1494
+ export declare const agentsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentsCreateData, ThrowOnError>) => RequestResult<AgentsCreateResponses, AgentsCreateErrors, ThrowOnError>;
1495
+ /**
1496
+ * Get agent
1497
+ *
1498
+ * 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.
1499
+ */
1500
+ export declare const agentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AgentsRetrieveData, ThrowOnError>) => RequestResult<AgentsRetrieveResponses, AgentsRetrieveErrors, ThrowOnError>;
1501
+ /**
1502
+ * Update agent
1503
+ *
1504
+ * 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. phone takes the same two mutually exclusive forms as agents.create: {sku, name?, archive} for a cloud device, or {byod, name?} for your organization's own device (a byd_… id); naming both returns 400, and a byd_… id this organization does not own returns 400 INVALID_PARAMS. phone: null turns the phone off and releases a cloud device; a BYOD phone is the organization's and is never killed. 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.
1505
+ */
1506
+ export declare const agentsUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentsUpdateData, ThrowOnError>) => RequestResult<AgentsUpdateResponses, AgentsUpdateErrors, ThrowOnError>;
1507
+ /**
1508
+ * Archive agent
1509
+ *
1510
+ * Archive an agent so it can no longer be updated and no new session can be created from it (AGENT_ARCHIVED). The agent and all of its versions stay readable. Use it to retire an agent you no longer want to run; it does not delete anything.
1511
+ */
1512
+ export declare const agentsArchive: <ThrowOnError extends boolean = false>(options: Options<AgentsArchiveData, ThrowOnError>) => RequestResult<AgentsArchiveResponses, AgentsArchiveErrors, ThrowOnError>;
1513
+ /**
1514
+ * List agent versions
1515
+ *
1516
+ * 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.
1517
+ */
1518
+ export declare const agentsVersionsList: <ThrowOnError extends boolean = false>(options: Options<AgentsVersionsListData, ThrowOnError>) => RequestResult<AgentsVersionsListResponses, AgentsVersionsListErrors, ThrowOnError>;
1519
+ /**
1520
+ * List sessions
1521
+ *
1522
+ * List sessions of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Archived sessions are hidden unless include_archived is true. Unlike Anthropic Managed Agents, only limit, page, agent_id, deployment_id and include_archived are honored; the other filters declared here (agent_version, created_at ranges, memory_store_id, order, statuses) are not supported and return 400. Use the returned id with sessions.retrieve or sessions.events.list; pass next_page as page for the next page.
1523
+ */
1524
+ export declare const sessionsList: <ThrowOnError extends boolean = false>(options?: Options<SessionsListData, ThrowOnError>) => RequestResult<SessionsListResponses, SessionsListErrors, ThrowOnError>;
1525
+ /**
1526
+ * Create session
1527
+ *
1528
+ * 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 (node22 for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. The retired "light" returns 400 naming the two forms that work: "node22", or null for no machine. 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.
1529
+ */
1530
+ export declare const sessionsCreate: <ThrowOnError extends boolean = false>(options: Options<SessionsCreateData, ThrowOnError>) => RequestResult<SessionsCreateResponses, SessionsCreateErrors, ThrowOnError>;
1531
+ /**
1532
+ * Archive session
1533
+ *
1534
+ * Archive a session. An archived session refuses new messages with 400 invalid_request_error, while its details and event history stay readable. Archiving again is idempotent and archived_at keeps the first archive time. Use it when a conversation is finished; it does not delete anything.
1535
+ */
1536
+ export declare const sessionsArchive: <ThrowOnError extends boolean = false>(options: Options<SessionsArchiveData, ThrowOnError>) => RequestResult<SessionsArchiveResponses, SessionsArchiveErrors, ThrowOnError>;
1537
+ /**
1538
+ * List session events
1539
+ *
1540
+ * 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; a request nobody answered within 24 hours is settled as unanswered and the session goes idle with stop_reason request_expired, which the /anthropic/v1 face shows as end_turn), 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, system.notification_suppressed (pending background notifications that hit the wake quota and started no run), system.notification_recorded, 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 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.
1541
+ */
1542
+ export declare const sessionsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsListData, ThrowOnError>) => RequestResult<SessionsEventsListResponses, SessionsEventsListErrors, ThrowOnError>;
1543
+ /**
1544
+ * Send session events
1545
+ *
1546
+ * 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 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.
1547
+ */
1548
+ export declare const sessionsEventsSend: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsSendData, ThrowOnError>) => RequestResult<SessionsEventsSendResponses, SessionsEventsSendErrors, ThrowOnError>;
1549
+ /**
1550
+ * Stream session events
1551
+ *
1552
+ * 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 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.
1553
+ */
1554
+ export declare const sessionsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsStreamData, ThrowOnError, SessionsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsEventsStreamResponses>>;
1555
+ /**
1556
+ * List session threads
1557
+ *
1558
+ * List the execution threads of a session: the primary thread plus every child thread started by subagents or advisors, in created_at order. Child threads reference the primary through parent_thread_id. Pages hold at most 100 threads (default 20). Use a thread id with sessions.threads.retrieve, sessions.threads.events.list or sessions.threads.events.stream.
1559
+ */
1560
+ export declare const sessionsThreadsList: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsListData, ThrowOnError>) => RequestResult<SessionsThreadsListResponses, SessionsThreadsListErrors, ThrowOnError>;
1561
+ /**
1562
+ * Get session thread
1563
+ *
1564
+ * Read one execution thread of a session, field for field the same as its list item. Thread ids that are unknown, malformed or belong to another session all return 404, so existence is not revealed. thread_id comes from sessions.threads.list or from the session_thread_id of a session.thread_created event.
1565
+ */
1566
+ export declare const sessionsThreadsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsRetrieveData, ThrowOnError>) => RequestResult<SessionsThreadsRetrieveResponses, SessionsThreadsRetrieveErrors, ThrowOnError>;
1567
+ /**
1568
+ * Archive session thread
1569
+ *
1570
+ * Archive one execution thread. Archiving the primary thread archives the session; archiving a child archives only that child, leaving the parent and its siblings untouched. An archived child has status terminated and archived_at set, receives no new events and keeps its history readable.
1571
+ */
1572
+ export declare const sessionsThreadsArchive: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsArchiveData, ThrowOnError>) => RequestResult<SessionsThreadsArchiveResponses, SessionsThreadsArchiveErrors, ThrowOnError>;
1573
+ /**
1574
+ * List session thread events
1575
+ *
1576
+ * Read the event history of one execution thread: the session itself for the primary thread, or the child session for a child thread. It accepts the same filters, ordering and paging as sessions.events.list and returns the same data + next_page envelope. Child approvals carry session_thread_id so you can route a confirmation to the owning thread.
1577
+ */
1578
+ export declare const sessionsThreadsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsEventsListData, ThrowOnError>) => RequestResult<SessionsThreadsEventsListResponses, SessionsThreadsEventsListErrors, ThrowOnError>;
1579
+ /**
1580
+ * Stream session thread events
1581
+ *
1582
+ * Open a Server-Sent Events stream of one execution thread's live events, using the same implementation as sessions.events.stream; a read-only WebSocket is also available on this path. The parent session stream additionally carries child creation, status and message events. Pass event_deltas[]=agent.message, agent.thinking or agent.tool_use for incremental previews.
1583
+ */
1584
+ export declare const sessionsThreadsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsThreadsEventsStreamData, ThrowOnError, SessionsThreadsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsThreadsEventsStreamResponses>>;
1585
+ /**
1586
+ * Get environment
1587
+ *
1588
+ * Read one environment's configuration and status by id. Built-in environments are readable but never editable; tenant-owned ones can be updated or archived. environment_id comes from environments.list or environments.create.
1589
+ */
1590
+ export declare const environmentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsRetrieveData, ThrowOnError>) => RequestResult<EnvironmentsRetrieveResponses, EnvironmentsRetrieveErrors, ThrowOnError>;
1591
+ /**
1592
+ * Update environment
1593
+ *
1594
+ * Update the configuration of a tenant-owned cloud environment. Built-in environments are read-only. Package installation and limited networking are applied when a session's sandbox is created. Omitted fields keep their value. A changed config.template must name an available sandbox template, otherwise 400 lists the available ones.
1595
+ */
1596
+ export declare const environmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsUpdateData, ThrowOnError>) => RequestResult<EnvironmentsUpdateResponses, EnvironmentsUpdateErrors, ThrowOnError>;
1597
+ /**
1598
+ * Archive environment
1599
+ *
1600
+ * Soft-archive a tenant-owned cloud environment so it can no longer be used to create new sessions. Built-in environments are read-only and cannot be archived. An environment that the active version of a non-archived agent uses as environment_id returns 409 RESOURCE_IN_USE naming the agents; point them at another environment first.
1601
+ */
1602
+ export declare const environmentsArchive: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsArchiveData, ThrowOnError>) => RequestResult<EnvironmentsArchiveResponses, EnvironmentsArchiveErrors, ThrowOnError>;
1603
+ /**
1604
+ * List environments
1605
+ *
1606
+ * List execution environments: the built-in recipes and the tenant-owned cloud environments that a session can run in. Archived environments are hidden unless include_archived is true. Pages hold at most 100 items (default 20); pass next_page as page to continue. Use the returned id as environment_id when creating a session.
1607
+ */
1608
+ export declare const environmentsList: <ThrowOnError extends boolean = false>(options?: Options<EnvironmentsListData, ThrowOnError>) => RequestResult<EnvironmentsListResponses, EnvironmentsListErrors, ThrowOnError>;
1609
+ /**
1610
+ * Create environment
1611
+ *
1612
+ * Create a tenant-owned cloud environment: a sandbox recipe (packages to install and networking policy) that sessions can select through environment_id. Package installation happens when the session's sandbox is created; a failed install terminates that session with ENVIRONMENT_PACKAGE_INSTALL_FAILED. Limited networking is applied at sandbox creation. Unlike Anthropic Managed Agents, self_hosted environments, scope and cross-session package caching are not supported. config.template must name an available sandbox template, otherwise 400 lists the available ones.
1613
+ */
1614
+ export declare const environmentsCreate: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsCreateData, ThrowOnError>) => RequestResult<EnvironmentsCreateResponses, EnvironmentsCreateErrors, ThrowOnError>;
1615
+ /**
1616
+ * List session resources
1617
+ *
1618
+ * List the extra resources (file references) attached to a session, oldest first, at most 1000 per page (default 1000). Use the returned id with sessions.resources.retrieve or sessions.resources.delete; next_page continues a truncated list.
1619
+ */
1620
+ export declare const sessionsResourcesList: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesListData, ThrowOnError>) => RequestResult<SessionsResourcesListResponses, SessionsResourcesListErrors, ThrowOnError>;
1621
+ /**
1622
+ * Add session resource
1623
+ *
1624
+ * Attach a file resource to a session by file_id, up to 500 per session. The file must exist and belong to your tenant. It is mounted under /mnt/session/uploads/<file_id> unless mount_path is given; custom paths are rooted there and parent traversal is rejected. File content is immutable through this API, and synchronizing it into a running sandbox is not implemented in this version.
1625
+ */
1626
+ export declare const sessionsResourcesAdd: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesAddData, ThrowOnError>) => RequestResult<SessionsResourcesAddResponses, SessionsResourcesAddErrors, ThrowOnError>;
1627
+ /**
1628
+ * Delete session resource
1629
+ *
1630
+ * Detach a resource from a session. Only the reference is removed; the underlying file is not deleted. The response is {id, type: session_resource_deleted}. resource_id comes from sessions.resources.list or the add call.
1631
+ */
1632
+ export declare const sessionsResourcesDelete: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesDeleteData, ThrowOnError>) => RequestResult<SessionsResourcesDeleteResponses, SessionsResourcesDeleteErrors, ThrowOnError>;
1633
+ /**
1634
+ * Get session resource
1635
+ *
1636
+ * Read one resource attached to a session: its type, file_id, mount_path and timestamps. resource_id comes from sessions.resources.list or sessions.resources.add.
1637
+ */
1638
+ export declare const sessionsResourcesRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsResourcesRetrieveData, ThrowOnError>) => RequestResult<SessionsResourcesRetrieveResponses, SessionsResourcesRetrieveErrors, ThrowOnError>;
1639
+ /**
1640
+ * List deployments
1641
+ *
1642
+ * List stored deployments newest first. Filter by agent_id, status, or inclusive created_at bounds; status and include_archived cannot be combined, even when include_archived is false. The default limit is 20, maximum 100; pass next_page as page to continue. Archived deployments are hidden by default. Schedules show up to five future wall-clock occurrences, also while paused; archived schedules show none.
1643
+ */
1644
+ export declare const deploymentsList: <ThrowOnError extends boolean = false>(options?: Options<DeploymentsListData, ThrowOnError>) => RequestResult<DeploymentsListResponses, DeploymentsListErrors, ThrowOnError>;
1645
+ /**
1646
+ * Create deployment
1647
+ *
1648
+ * 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 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. Example, a weekly cron deployment on the agent's computer: {"agent":"agent_123","name":"weekly report","initial_events":[{"type":"user.message","content":[{"type":"text","text":"Write the weekly report."}]}],"target":{"type":"computer"},"schedule":{"type":"cron","expression":"0 9 * * 1","timezone":"America/Los_Angeles"}}.
1649
+ */
1650
+ export declare const deploymentsCreate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsCreateData, ThrowOnError>) => RequestResult<DeploymentsCreateResponses, DeploymentsCreateErrors, ThrowOnError>;
1651
+ /**
1652
+ * Get deployment
1653
+ *
1654
+ * Read a stored deployment by its depl_ id from deployments.create or deployments.list. The agent reference has a concrete version; own-face overrides are echoed unchanged. This read recomputes upcoming schedule times and does not execute the deployment. Foreign or absent ids return 404.
1655
+ */
1656
+ export declare const deploymentsRetrieve: <ThrowOnError extends boolean = false>(options: Options<DeploymentsRetrieveData, ThrowOnError>) => RequestResult<DeploymentsRetrieveResponses, DeploymentsRetrieveErrors, ThrowOnError>;
1657
+ /**
1658
+ * Update deployment
1659
+ *
1660
+ * Partially update a deployment. Omitted fields keep their values; a supplied agent id re-pins the latest version, or supply a versioned reference. Metadata merges string values and deletes keys set to null. Null clears schedule, resources and description; name, environment_id and initial_events cannot be cleared. Archived deployments return 409. Overrides apply to new sessions; updating a schedule recalculates its next occurrence.
1661
+ */
1662
+ export declare const deploymentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsUpdateData, ThrowOnError>) => RequestResult<DeploymentsUpdateResponses, DeploymentsUpdateErrors, ThrowOnError>;
1663
+ /**
1664
+ * Archive deployment
1665
+ *
1666
+ * Archive a deployment by its depl_ id. Repeated calls are idempotent; archived deployments remain readable and have no upcoming schedule times. Subsequent update, pause and unpause calls return 409. This operation does not create a deployment run.
1667
+ */
1668
+ export declare const deploymentsArchive: <ThrowOnError extends boolean = false>(options: Options<DeploymentsArchiveData, ThrowOnError>) => RequestResult<DeploymentsArchiveResponses, DeploymentsArchiveErrors, ThrowOnError>;
1669
+ /**
1670
+ * Pause deployment
1671
+ *
1672
+ * Pause an active deployment and set paused_reason to {type: manual}. Repeated pause calls are idempotent; archived deployments return 409. Upcoming schedule times remain visible while paused; no run is executed.
1673
+ */
1674
+ export declare const deploymentsPause: <ThrowOnError extends boolean = false>(options: Options<DeploymentsPauseData, ThrowOnError>) => RequestResult<DeploymentsPauseResponses, DeploymentsPauseErrors, ThrowOnError>;
1675
+ /**
1676
+ * Unpause deployment
1677
+ *
1678
+ * Resume a paused deployment and clear paused_reason. Repeated unpause calls on an active deployment are idempotent; archived deployments return 409. This operation changes resource state only and does not execute a run.
1679
+ */
1680
+ export declare const deploymentsUnpause: <ThrowOnError extends boolean = false>(options: Options<DeploymentsUnpauseData, ThrowOnError>) => RequestResult<DeploymentsUnpauseResponses, DeploymentsUnpauseErrors, ThrowOnError>;
1681
+ /**
1682
+ * List deployment runs
1683
+ *
1684
+ * List deployment runs newest first. Filter by deployment_id, has_error, trigger_type (manual or schedule) and created_at[gt|gte|lt|lte]. The default limit is 20, maximum 100; pass next_page as page with the same filters to continue. Each record identifies the resolved agent version and either its session or creation error.
1685
+ */
1686
+ export declare const deploymentRunsList: <ThrowOnError extends boolean = false>(options?: Options<DeploymentRunsListData, ThrowOnError>) => RequestResult<DeploymentRunsListResponses, DeploymentRunsListErrors, ThrowOnError>;
1687
+ /**
1688
+ * Get deployment run
1689
+ *
1690
+ * Read a deployment run by the drun_ id returned by deployments.run or deployment_runs.list. Exactly one of session_id and error is non-null. Scheduled runs include scheduled_at in trigger_context. Foreign or absent ids return 404.
1691
+ */
1692
+ export declare const deploymentRunsRetrieve: <ThrowOnError extends boolean = false>(options: Options<DeploymentRunsRetrieveData, ThrowOnError>) => RequestResult<DeploymentRunsRetrieveResponses, DeploymentRunsRetrieveErrors, ThrowOnError>;
1693
+ /**
1694
+ * Run deployment
1695
+ *
1696
+ * Create one session from an active deployment using its pinned agent version and stored parameters. Pass the depl_ id from deployments.create or deployments.list; no request body is needed. Returns a drun_ record with exactly one of session_id or error populated. Creation errors automatically pause the deployment; paused or archived deployments return 409 without a run. Unlike the own face, the compatible face rejects computer targets with 400.
1697
+ */
1698
+ export declare const deploymentsRun: <ThrowOnError extends boolean = false>(options: Options<DeploymentsRunData, ThrowOnError>) => RequestResult<DeploymentsRunResponses, DeploymentsRunErrors, ThrowOnError>;
1699
+ /**
1700
+ * List skills
1701
+ *
1702
+ * List the skills uploaded to your organization, newest first, in pages of at most 100 (default 20). Use it to find a skill id before reading, versioning or deleting it. Only source=custom has content; source=anthropic returns an empty list. Pass next_page from the response as page to read the next page; a null next_page means the end.
1703
+ */
1704
+ export declare const skillsList: <ThrowOnError extends boolean = false>(options?: Options<SkillsListData, ThrowOnError>) => RequestResult<SkillsListResponses, SkillsListErrors, ThrowOnError>;
1705
+ /**
1706
+ * Create skill
1707
+ *
1708
+ * Upload a skill: a directory that contains SKILL.md, which the agent reads when it needs the skill. Send multipart/form-data with one files part per file, each file name being its path under one top-level directory (pdf/SKILL.md, pdf/scripts/run.py), and an optional display_name. SKILL.md frontmatter needs a description; name defaults to the directory name and must be one folder name (1-255 characters, no "/", backslash or NUL, not "." or ".."), otherwise the upload returns 400 stating the allowed form. Limits: 8 MB in total, at most 200 files, no .. segments, absolute paths or empty names; a violation returns 400 naming the path or field. The upload creates the skill and its first version, and versions are immutable. Attach the skill to an agent with `skills` on the agent.
1709
+ */
1710
+ export declare const skillsCreate: <ThrowOnError extends boolean = false>(options: Options<SkillsCreateData, ThrowOnError>) => RequestResult<SkillsCreateResponses, SkillsCreateErrors, ThrowOnError>;
1711
+ /**
1712
+ * Delete skill
1713
+ *
1714
+ * Delete a skill together with all of its versions. A skill that is still attached to an agent returns 409 RESOURCE_IN_USE naming up to 10 agent ids (the active or latest version of a non-archived agent counts); remove it from those agents first. Returns {id, type: skill_deleted}. skill_id comes from skills.create or skills.list.
1715
+ */
1716
+ export declare const skillsDelete: <ThrowOnError extends boolean = false>(options: Options<SkillsDeleteData, ThrowOnError>) => RequestResult<SkillsDeleteResponses, SkillsDeleteErrors, ThrowOnError>;
1717
+ /**
1718
+ * Get skill
1719
+ *
1720
+ * Read one skill by id: its display_name, source and latest_version_id. skill_id comes from skills.create or skills.list. A skill of another organization, or a deleted one, returns 404 Skill not found.
1721
+ */
1722
+ export declare const skillsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SkillsRetrieveData, ThrowOnError>) => RequestResult<SkillsRetrieveResponses, SkillsRetrieveErrors, ThrowOnError>;
1723
+ /**
1724
+ * List skill versions
1725
+ *
1726
+ * List the live versions of one skill, newest first, in pages of at most 100 (default 20). Each item carries the name and description read from the SKILL.md of that version. Pass next_page from the response as page to read the next page; a null next_page means the end.
1727
+ */
1728
+ export declare const skillsVersionsList: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsListData, ThrowOnError>) => RequestResult<SkillsVersionsListResponses, SkillsVersionsListErrors, ThrowOnError>;
1729
+ /**
1730
+ * Create skill version
1731
+ *
1732
+ * Upload a new version of a skill with the same multipart/form-data shape and limits as skills.create (8 MB, 200 files, one top-level directory containing SKILL.md). The SKILL.md name must equal the name of the skill; a different name returns 400. The new version becomes latest_version_id of the skill, and earlier versions stay unchanged because versions are immutable. Attach it to an agent with `skills` on the agent.
1733
+ */
1734
+ export declare const skillsVersionsCreate: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsCreateData, ThrowOnError>) => RequestResult<SkillsVersionsCreateResponses, SkillsVersionsCreateErrors, ThrowOnError>;
1735
+ /**
1736
+ * Delete skill version
1737
+ *
1738
+ * Soft-delete one version of a skill so it can no longer be read or downloaded; latest_version_id of the skill falls back to the newest remaining version. Returns {id, type: skill_version_deleted}. A skill keeps at least one version: deleting the last remaining version returns 409 SKILL_LAST_VERSION (delete the skill instead), so latest_version_id is never null. A version that a non-archived agent pins returns 409 RESOURCE_IN_USE naming the agents.
1739
+ */
1740
+ export declare const skillsVersionsDelete: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsDeleteData, ThrowOnError>) => RequestResult<SkillsVersionsDeleteResponses, SkillsVersionsDeleteErrors, ThrowOnError>;
1741
+ /**
1742
+ * Get skill version
1743
+ *
1744
+ * Read one version of a skill: its name, description and created_at as read from SKILL.md. version is the id returned by skills.versions.create or skills.versions.list. A deleted or unknown version returns 404 Skill version not found.
1745
+ */
1746
+ export declare const skillsVersionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsRetrieveData, ThrowOnError>) => RequestResult<SkillsVersionsRetrieveResponses, SkillsVersionsRetrieveErrors, ThrowOnError>;
1747
+ /**
1748
+ * Download skill version
1749
+ *
1750
+ * Download the content of one version as a zip archive (application/zip): the uploaded directory with its top-level folder and every file. version is the id returned by skills.versions.create or skills.versions.list; a deleted version returns 404.
1751
+ */
1752
+ export declare const skillsVersionsDownload: <ThrowOnError extends boolean = false>(options: Options<SkillsVersionsDownloadData, ThrowOnError>) => RequestResult<SkillsVersionsDownloadResponses, SkillsVersionsDownloadErrors, ThrowOnError>;
1753
+ /**
1754
+ * Get account subdomain
1755
+ *
1756
+ * Return the account subdomain used in every Worker URL. A default is created on first use.
1211
1757
  */
1212
1758
  export declare const applicationGetSubdomain: <ThrowOnError extends boolean = false>(options?: Options<ApplicationGetSubdomainData, ThrowOnError>) => RequestResult<ApplicationGetSubdomainResponses, ApplicationGetSubdomainErrors, ThrowOnError>;
1213
1759
  /**
@@ -1261,7 +1807,7 @@ export declare const applicationListVersions: <ThrowOnError extends boolean = fa
1261
1807
  /**
1262
1808
  * Create version
1263
1809
  *
1264
- * Upload code and bindings as a new version; a version serves nothing until deployed. Set deploy true to create the pending deployment in the same call. Rejected binding types return UNSUPPORTED.
1810
+ * Upload code and bindings as a new version; a version serves nothing until deployed. Set deploy true to create the pending deployment in the same call. Rejected binding types return UNSUPPORTED. Send an Idempotency-Key to make a create safe to retry: within 24 hours the same key with the same body answers the first version (and its deployment) again instead of creating a second one, and the same key with a different body is refused.
1265
1811
  */
1266
1812
  export declare const applicationCreateVersion: <ThrowOnError extends boolean = false>(options: Options<ApplicationCreateVersionData, ThrowOnError>) => RequestResult<ApplicationCreateVersionResponses, ApplicationCreateVersionErrors, ThrowOnError>;
1267
1813
  /**
@@ -1327,7 +1873,7 @@ export declare const applicationListGrants: <ThrowOnError extends boolean = fals
1327
1873
  /**
1328
1874
  * Create grant
1329
1875
  *
1330
- * 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).
1876
+ * Record access to an organization-owned database, knowledge base, file, media library, workflow, script, agent or another Worker, to models (id *, read only), or to a whole service (search, browser, ticket, crm, canvas, cut, studio, ontology, workspace: id *, read_write; feedback: read). The types are the ones a service agent can bind. The retired files type is refused; grant one file by its file-… id. Once a Worker has any grant, its platform calls reach only what its grants name; an agent grant at read_write is what lets it issue that agent's customer grant codes. 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).
1331
1877
  */
1332
1878
  export declare const applicationCreateGrant: <ThrowOnError extends boolean = false>(options: Options<ApplicationCreateGrantData, ThrowOnError>) => RequestResult<ApplicationCreateGrantResponses, ApplicationCreateGrantErrors, ThrowOnError>;
1333
1879
  /**
@@ -1507,7 +2053,7 @@ export declare const automationWorkflowsList: <ThrowOnError extends boolean = fa
1507
2053
  /**
1508
2054
  * Create a workflow
1509
2055
  *
1510
- * 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.
2056
+ * Workflow syntax reference: https://docs.deepraxis.com/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: /developers/automation/guides/approvals Guide: /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.
1511
2057
  */
1512
2058
  export declare const automationWorkflowsCreate: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsCreateData, ThrowOnError>) => RequestResult<AutomationWorkflowsCreateResponses, AutomationWorkflowsCreateErrors, ThrowOnError>;
1513
2059
  /**
@@ -1519,7 +2065,7 @@ export declare const automationWorkflowsGet: <ThrowOnError extends boolean = fal
1519
2065
  /**
1520
2066
  * Update a workflow draft
1521
2067
  *
1522
- * 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.
2068
+ * 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://docs.deepraxis.com/developers/automation/reference/workflow-syntax.
1523
2069
  */
1524
2070
  export declare const automationWorkflowsPatch: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsPatchData, ThrowOnError>) => RequestResult<AutomationWorkflowsPatchResponses, AutomationWorkflowsPatchErrors, ThrowOnError>;
1525
2071
  /**
@@ -1579,7 +2125,7 @@ export declare const automationWorkflowsSetDistTag: <ThrowOnError extends boolea
1579
2125
  /**
1580
2126
  * Validate a definition
1581
2127
  *
1582
- * 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.
2128
+ * 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://docs.deepraxis.com/developers/automation/reference/workflow-syntax.
1583
2129
  */
1584
2130
  export declare const automationValidateValidate: <ThrowOnError extends boolean = false>(options: Options<AutomationValidateValidateData, ThrowOnError>) => RequestResult<AutomationValidateValidateResponses, AutomationValidateValidateErrors, ThrowOnError>;
1585
2131
  /**
@@ -1934,6 +2480,66 @@ export declare const canvasListVersions: <ThrowOnError extends boolean = false>(
1934
2480
  * 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.
1935
2481
  */
1936
2482
  export declare const canvasRestoreCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasRestoreCanvasData, ThrowOnError>) => RequestResult<CanvasRestoreCanvasResponses, CanvasRestoreCanvasErrors, ThrowOnError>;
2483
+ /**
2484
+ * List contents
2485
+ *
2486
+ * Discover the video contents of the API key's organization and obtain the content_id each later call takes. Archived contents stay out of the list unless status is archived; results are ordered by update_time, newest first. Filter with status (draft, published, unpublished or archived), kind (video), asset_id (the Media asset a content was made from) and q (a substring of the title). page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null, keeping the same filters.
2487
+ */
2488
+ export declare const contentListContents: <ThrowOnError extends boolean = false>(options?: Options<ContentListContentsData, ThrowOnError>) => RequestResult<ContentListContentsResponses, ContentListContentsErrors, ThrowOnError>;
2489
+ /**
2490
+ * Create a content
2491
+ *
2492
+ * Create a video content from one asset of a Media library, before publishing it to end users. Send library_id and asset_id from `praxis.media` (assets.create, assets.list or the asset you uploaded return them); the create pins asset_version (default 1) and immediately asks Media to transcode the wanted renditions, so the content reports readiness processing until they are ready. kind is video, the only kind today. settings is optional and its four groups are merged over the service defaults: source (library_id and asset_id required, asset_version 1, follow_new_versions false, renditions 480/720/1080), access (capability_seconds 600 within 100 to 3000, encryption false, allowed_origins empty), player (poster null, show_title true, accent_color null, default_quality auto, speeds 0.75/1/1.25/1.5/2, storyboard true, autoplay false, remember_position true) and description (at most 2000 characters). An unknown field — including mode, which was removed because a content is always signed — is refused by name with 400. Returns the new content with HTTP 201; save its id for publish, versions and playback calls.
2493
+ */
2494
+ export declare const contentCreateContent: <ThrowOnError extends boolean = false>(options: Options<ContentCreateContentData, ThrowOnError>) => RequestResult<ContentCreateContentResponses, ContentCreateContentErrors, ThrowOnError>;
2495
+ /**
2496
+ * Get a content
2497
+ *
2498
+ * Read one content with the settings that decide its playback: the source it publishes, its access settings, its player settings, its description, and the version numbers publish and versions calls need. Use it to see the status and readiness before publishing, or to read the live_version a playback will play. A content of another organization, and an archived or unknown id, all answer 404 CONTENT_NOT_FOUND.
2499
+ */
2500
+ export declare const contentGetContent: <ThrowOnError extends boolean = false>(options: Options<ContentGetContentData, ThrowOnError>) => RequestResult<ContentGetContentResponses, ContentGetContentErrors, ThrowOnError>;
2501
+ /**
2502
+ * Update a content
2503
+ *
2504
+ * Change a content's title, its settings, or both. Send only what changes: each settings group left out keeps its current value, and a group sent is a deep merge, so changing only access.capability_seconds leaves allowed_origins alone. A settings change makes a new version and never touches the live one, except access settings (capability_seconds, encryption, allowed_origins), which a playback reads from the latest version and so take effect at once with no republish (ADR-145 §4). A title-only change makes no version. Changing source (library_id, asset_id, asset_version, library_id, asset_id or renditions) asks Media to transcode again and needs a republish to play. An archived content is final and answers 409 CONTENT_INVALID_STATE.
2505
+ */
2506
+ export declare const contentUpdateContent: <ThrowOnError extends boolean = false>(options: Options<ContentUpdateContentData, ThrowOnError>) => RequestResult<ContentUpdateContentResponses, ContentUpdateContentErrors, ThrowOnError>;
2507
+ /**
2508
+ * Publish a content
2509
+ *
2510
+ * Make a content playable: publish the latest version, or pin the version you send in version to become the live one. Use it after the content's readiness is ready; publishing a version whose renditions are still transcoding answers 409 SOURCE_NOT_READY, and you retry once Media reports ready. A content that is already published can be published again with another version, which swaps the live one; an archived content answers 409 CONTENT_INVALID_STATE. Returns the content with status published and the new live_version. Only a published content opens a playback session.
2511
+ */
2512
+ export declare const contentPublishContent: <ThrowOnError extends boolean = false>(options: Options<ContentPublishContentData, ThrowOnError>) => RequestResult<ContentPublishContentResponses, ContentPublishContentErrors, ThrowOnError>;
2513
+ /**
2514
+ * Unpublish a content
2515
+ *
2516
+ * Take a published content offline without deleting it or losing a version. No playback opens on it afterwards, while capabilities already issued run out by themselves within their lifetime (at most 3000 seconds). Publishing it again with a version brings it back. Only a published content can be unpublished; any other state answers 409 CONTENT_INVALID_STATE. Returns the content with status unpublished and its live_version kept for the next publish.
2517
+ */
2518
+ export declare const contentUnpublishContent: <ThrowOnError extends boolean = false>(options: Options<ContentUnpublishContentData, ThrowOnError>) => RequestResult<ContentUnpublishContentResponses, ContentUnpublishContentErrors, ThrowOnError>;
2519
+ /**
2520
+ * Archive a content
2521
+ *
2522
+ * Close a content permanently when it is no longer published. A published content must be unpublished first, because a live content is never archived directly; archiving a published content answers 409 CONTENT_INVALID_STATE. An archived content is final: it cannot be republished, edited or archived again, it stays out of the list unless status is archived, and no playback opens on it. Returns the content with status archived and archive_time set.
2523
+ */
2524
+ export declare const contentArchiveContent: <ThrowOnError extends boolean = false>(options: Options<ContentArchiveContentData, ThrowOnError>) => RequestResult<ContentArchiveContentResponses, ContentArchiveContentErrors, ThrowOnError>;
2525
+ /**
2526
+ * List versions
2527
+ *
2528
+ * Read the immutable version history of a content, newest version first. Each entry is a snapshot of the settings at the time it was saved, with live telling whether that version is the one a playback plays. Use it to find the version number to pin in publish, or to read the access settings a playback is currently reading (they come from the latest version). page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null.
2529
+ */
2530
+ export declare const contentListVersions: <ThrowOnError extends boolean = false>(options: Options<ContentListVersionsData, ThrowOnError>) => RequestResult<ContentListVersionsResponses, ContentListVersionsErrors, ThrowOnError>;
2531
+ /**
2532
+ * Get a version
2533
+ *
2534
+ * Read one immutable version of a content: the settings exactly as they were saved, the live flag, when it was created and which actor created it. Use it to compare a version with the live one before pinning it in publish, or to check the access settings a playback is currently reading. The version segment is the positive version number from the versions list; an unknown number answers 404 VERSION_NOT_FOUND and an unknown content 404 CONTENT_NOT_FOUND.
2535
+ */
2536
+ export declare const contentGetVersion: <ThrowOnError extends boolean = false>(options: Options<ContentGetVersionData, ThrowOnError>) => RequestResult<ContentGetVersionResponses, ContentGetVersionErrors, ThrowOnError>;
2537
+ /**
2538
+ * Open a playback session
2539
+ *
2540
+ * Open one playback of a published content for an end user and get the manifest address a player loads. No platform API key is needed: the caller is the end user's own Praxis customer access token carried as `Authorization: Bearer <access_token>`, verified by this door exactly as the customer exchange verifies it. A caller with no token is left to the service, which refuses it RESOURCE_NOT_GRANTED, because a content is always signed and there is no public playback. The organization is taken from the content row, never from the token, and a token that claims another organization is refused. The content must be published (otherwise 403 CONTENT_NOT_PUBLISHED), its allowed_origins must accept the request Origin when the list is not empty (otherwise 403 ORIGIN_NOT_ALLOWED), the token must cover a resource for this content (otherwise 403 RESOURCE_NOT_GRANTED) and the pinned version must be ready (otherwise 409 SOURCE_NOT_READY; retry once readiness is ready). Returns HTTP 201 with the session id, manifest_url (https://content.praxisusercontent.com/{content_id}/{capability}/master.m3u8), expire_time, the renditions, the poster, the title when the player shows it, and the player settings. The playback reads access settings from the content's latest version and source and player from the live version, so a tightened origin or lifetime takes effect without a republish. This door has its own per-IP request budget: over it answers 429 RATE_LIMITED with Retry-After.
2541
+ */
2542
+ export declare const contentCreatePlaybackSession: <ThrowOnError extends boolean = false>(options: Options<ContentCreatePlaybackSessionData, ThrowOnError>) => RequestResult<ContentCreatePlaybackSessionResponses, ContentCreatePlaybackSessionErrors, ThrowOnError>;
1937
2543
  /**
1938
2544
  * List records
1939
2545
  *
@@ -2143,13 +2749,97 @@ export declare const crmChangesRevert: <ThrowOnError extends boolean = false>(op
2143
2749
  *
2144
2750
  * 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.
2145
2751
  */
2146
- export declare const crmLayoutsRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsRetrieveData, ThrowOnError>) => RequestResult<CrmLayoutsRetrieveResponses, CrmLayoutsRetrieveErrors, ThrowOnError>;
2752
+ export declare const crmLayoutsRetrieve: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsRetrieveData, ThrowOnError>) => RequestResult<CrmLayoutsRetrieveResponses, CrmLayoutsRetrieveErrors, ThrowOnError>;
2753
+ /**
2754
+ * Update record layout
2755
+ *
2756
+ * 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.
2757
+ */
2758
+ export declare const crmLayoutsUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsUpdateData, ThrowOnError>) => RequestResult<CrmLayoutsUpdateResponses, CrmLayoutsUpdateErrors, ThrowOnError>;
2759
+ /**
2760
+ * Create a grant code
2761
+ *
2762
+ * Sign one of your logged-in end users in from your backend, after your own login succeeded, by handing out a one-time grant code that the browser exchanges for an access token. Call it with the organization API key; never from the browser, because the API key must stay on your server. customer_id is your own identifier for the person (an opaque value such as your database user id, not an email address or phone number); a value starting with anon_ is reserved for anonymous visitors. resources name what the sign-in may reach and is required: each entry is a scope string in the form agent:<id>:chat, content:<id>:play or application:<id>:visit, or an object with that scope plus product params this service stores without interpreting; use the id form for one object and * for every object of a type. expires_in shortens the code's life in seconds (900 seconds, fifteen minutes, by default) and max_session_seconds shortens the sign-in's life (7 days by default); merge_customer_id merges an anonymous visitor's record into this person; origin pins the page the sign-in may be made from. When the browser still holds that visitor's own access token, send it as anonymous_access_token instead of merge_customer_id: the door verifies it and merges the visitor it names, which is the usual way a merchant continues a session the browser already began. The code is single use and unknown, used or expired codes all answer 401 GRANT_CODE_INVALID at the exchange. Returns the code with HTTP 201; pass it to the Kit in the browser and never call this route with it.
2763
+ */
2764
+ export declare const customerCreateGrantCode: <ThrowOnError extends boolean = false>(options: Options<CustomerCreateGrantCodeData, ThrowOnError>) => RequestResult<CustomerCreateGrantCodeResponses, CustomerCreateGrantCodeErrors, ThrowOnError>;
2765
+ /**
2766
+ * Exchange a grant code or publishable key
2767
+ *
2768
+ * Turn a grant code, or a publishable key for an anonymous visitor, into the Praxis customer access token that authorizes the Kit's sessions and playbacks. It is PRE-AUTH: no platform API key is needed, because the grant code or the publishable key is the credential; the Kit calls it from the browser, so send the page Origin when the code or key is bound to one. Send exactly one of grant_code or publishable_key — the door refuses any other combination with 400. With grant_code the code is consumed atomically: concurrent attempts have exactly one winner, and unknown, already used, expired and foreign codes all answer 401 GRANT_CODE_INVALID. With publishable_key a new anonymous customer (anon_…) is created and merged into the identified one later if it signs in. The sign-in may be bound to an origin at creation; when the request Origin does not satisfy it, the exchange answers 403 ORIGIN_NOT_ALLOWED, and a blocked end user answers 403 CUSTOMER_BLOCKED. The access token lasts at most two hours and never outlives the sign-in; renew it with praxis.customer.accessTokens.renew before expires_at. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.
2769
+ */
2770
+ export declare const customerCreateAccessToken: <ThrowOnError extends boolean = false>(options: Options<CustomerCreateAccessTokenData, ThrowOnError>) => RequestResult<CustomerCreateAccessTokenResponses, CustomerCreateAccessTokenErrors, ThrowOnError>;
2771
+ /**
2772
+ * Renew an access token
2773
+ *
2774
+ * Replace a live access token with a fresh one so a signed-in end user stays signed in without signing in again. It is PRE-AUTH: the credential is the token the caller already carries as `Authorization: Bearer <access_token>`, verified by this door, and the token names the sign-in it renews. Call it before the token's expires_at; the sign-in and its resource scopes stay the same, so what the end user may reach does not change. A missing, unverifiable or foreign token answers 401 ACCESS_TOKEN_EXPIRED, and a sign-in that is over answers 401 SIGN_IN_EXPIRED or SIGN_IN_REVOKED, in which case the end user signs in again through praxis.customer.accessTokens.create. A blocked end user answers 403 CUSTOMER_BLOCKED. When the sign-in itself has ended, the renewal does not extend it. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.
2775
+ */
2776
+ export declare const customerRenewAccessToken: <ThrowOnError extends boolean = false>(options?: Options<CustomerRenewAccessTokenData, ThrowOnError>) => RequestResult<CustomerRenewAccessTokenResponses, CustomerRenewAccessTokenErrors, ThrowOnError>;
2777
+ /**
2778
+ * Sign out the current token
2779
+ *
2780
+ * Sign out: end the sign-in the caller's token belongs to and revoke every token issued from it, exactly as a logout does. It is PRE-AUTH: the credential is the token the caller carries as `Authorization: Bearer <access_token>`. Use it when the end user asks to sign out, and after it every token of that sign-in stops working and a later session or playback answers 401 SIGN_IN_REVOKED; other sign-ins of the same end user are untouched (revoke every token of one end user, organization-wide, with praxis.customer.customers.revokeTokens). A missing or unverifiable token answers 401 ACCESS_TOKEN_EXPIRED. The call answers 200 with an empty body. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.
2781
+ */
2782
+ export declare const customerRevokeCurrentTokens: <ThrowOnError extends boolean = false>(options?: Options<CustomerRevokeCurrentTokensData, ThrowOnError>) => RequestResult<CustomerRevokeCurrentTokensResponses, CustomerRevokeCurrentTokensErrors, ThrowOnError>;
2783
+ /**
2784
+ * List end users
2785
+ *
2786
+ * Read the organization's end-user directory and obtain the customer_id the administrative acts take. Results are ordered by last_seen_at, most recently seen first. Filter with type (identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key), blocked (true or false), resource (one product in the form agent:<id>, content:<id> or application:<id>, giving that product's own view of the directory) and q (a prefix of the customer id). Identified and anonymous end users both appear; an anonymous one that later signs in shows merged_into and its record joins that person. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null, keeping the same filters.
2787
+ */
2788
+ export declare const customerListCustomers: <ThrowOnError extends boolean = false>(options?: Options<CustomerListCustomersData, ThrowOnError>) => RequestResult<CustomerListCustomersResponses, CustomerListCustomersErrors, ThrowOnError>;
2789
+ /**
2790
+ * Delete an end user
2791
+ *
2792
+ * Delete one end user on the merchant's own confirmation, for a deletion request the person made to you. The confirm query parameter must repeat the path's customer_id; the door passes it through verbatim and the service refuses any other value with 400 INVALID_PARAMS, so a missing confirm never deletes anything. The deletion is announced on the platform event bus and each product deletes its own sessions, events and files for that person, so the call returns as soon as the directory record is gone, not when every product has finished. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
2793
+ */
2794
+ export declare const customerDeleteCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerDeleteCustomerData, ThrowOnError>) => RequestResult<CustomerDeleteCustomerResponses, CustomerDeleteCustomerErrors, ThrowOnError>;
2795
+ /**
2796
+ * Get an end user
2797
+ *
2798
+ * Read one end user of the organization: the id, its kind, whether it is blocked, its metadata and when it was first and last seen. Add expand=products,sign_ins,usage (comma separated, any combination) to also receive the products it has used with their counts, its sign-ins with their resource scopes, and its recorded usage over the whole time. An unknown id, and an id of another organization, answer 404 CUSTOMER_NOT_FOUND.
2799
+ */
2800
+ export declare const customerGetCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerGetCustomerData, ThrowOnError>) => RequestResult<CustomerGetCustomerResponses, CustomerGetCustomerErrors, ThrowOnError>;
2801
+ /**
2802
+ * Read end-user usage
2803
+ *
2804
+ * Read what one end user has cost the organization, per product and per day. The directory stores no cost itself: this reads billing by the customerId dimension shared by every product, so it is the money figure the platform charged for that person. Send from and/or to as RFC 3339 times to narrow the window; omit both for everything recorded. Returns the total, the per-product breakdown and the per-day breakdown. An unknown id answers 404 CUSTOMER_NOT_FOUND.
2805
+ */
2806
+ export declare const customerGetUsage: <ThrowOnError extends boolean = false>(options: Options<CustomerGetUsageData, ThrowOnError>) => RequestResult<CustomerGetUsageResponses, CustomerGetUsageErrors, ThrowOnError>;
2807
+ /**
2808
+ * Block an end user
2809
+ *
2810
+ * Block one end user across every product of the organization. From then on no grant code, sign-in, renewal or new session and no playback is accepted for this id — each product's admission door refuses it at once. A stream already running and a playback capability already issued ride out their own token, at most two hours and 3000 seconds; they are not cut off. Send reason to record why, and the response's blocked field carries the block time, the reason and the actor. Blocking an already blocked end user is idempotent: the first block time is kept. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
2811
+ */
2812
+ export declare const customerBlockCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerBlockCustomerData, ThrowOnError>) => RequestResult<CustomerBlockCustomerResponses, CustomerBlockCustomerErrors, ThrowOnError>;
2813
+ /**
2814
+ * Unblock an end user
2815
+ *
2816
+ * Lift a block from one end user, so the products accept its grant codes, sign-ins, renewals and new sessions again. Tokens that were revoked to enforce the block are not restored: the end user signs in again for a fresh sign-in. Unblocking an end user that is not blocked is idempotent and returns it unchanged. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
2817
+ */
2818
+ export declare const customerUnblockCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerUnblockCustomerData, ThrowOnError>) => RequestResult<CustomerUnblockCustomerResponses, CustomerUnblockCustomerErrors, ThrowOnError>;
2819
+ /**
2820
+ * Revoke every token of an end user
2821
+ *
2822
+ * End every sign-in of one end user at once, everything of the organization's, not one product's and not one token's. Use it when credentials may have leaked and the end user must not be trusted until it signs in again; a single sign-in is ended instead with praxis.customer.accessTokens.revoke. After it every token of that end user stops working and a new session or playback answers 401 SIGN_IN_REVOKED, while the end user itself stays in the directory and may sign in again. The response counts how many sign-ins were revoked. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
2823
+ */
2824
+ export declare const customerRevokeTokens: <ThrowOnError extends boolean = false>(options: Options<CustomerRevokeTokensData, ThrowOnError>) => RequestResult<CustomerRevokeTokensResponses, CustomerRevokeTokensErrors, ThrowOnError>;
2825
+ /**
2826
+ * List publishable keys
2827
+ *
2828
+ * List the organization's publishable keys, newest first, so you can see which anonymous admittance is open and what each one may reach. A publishable key is public by design (it ships in the browser page); use it from the Kit to admit anonymous visitors, and never expose an API key this way. The plaintext value is not in this list: it is returned once, by the create call, and only its hash is stored. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null.
2829
+ */
2830
+ export declare const customerListPublishableKeys: <ThrowOnError extends boolean = false>(options?: Options<CustomerListPublishableKeysData, ThrowOnError>) => RequestResult<CustomerListPublishableKeysResponses, CustomerListPublishableKeysErrors, ThrowOnError>;
2831
+ /**
2832
+ * Create a publishable key
2833
+ *
2834
+ * Mint a publishable key so a page can admit anonymous visitors without you signing each one in from your backend. name labels the key for the console and the key list. resources is required and names what an anonymous visitor may reach, in the same form as the grant-code scopes: agent:<id>:chat, content:<id>:play or application:<id>:visit, with * for every object of one type; give it only what the anonymous experience needs, because any visitor who has the page can use the key. The response carries the plaintext key once, in key, and the store keeps only its hash — save it then, because no later call returns it. Returns HTTP 201; the exchange that consumes it is praxis.customer.accessTokens.create with publishable_key.
2835
+ */
2836
+ export declare const customerCreatePublishableKey: <ThrowOnError extends boolean = false>(options: Options<CustomerCreatePublishableKeyData, ThrowOnError>) => RequestResult<CustomerCreatePublishableKeyResponses, CustomerCreatePublishableKeyErrors, ThrowOnError>;
2147
2837
  /**
2148
- * Update record layout
2838
+ * Delete a publishable key
2149
2839
  *
2150
- * 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.
2840
+ * Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
2151
2841
  */
2152
- export declare const crmLayoutsUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsUpdateData, ThrowOnError>) => RequestResult<CrmLayoutsUpdateResponses, CrmLayoutsUpdateErrors, ThrowOnError>;
2842
+ export declare const customerDeletePublishableKey: <ThrowOnError extends boolean = false>(options: Options<CustomerDeletePublishableKeyData, ThrowOnError>) => RequestResult<CustomerDeletePublishableKeyResponses, CustomerDeletePublishableKeyErrors, ThrowOnError>;
2153
2843
  /**
2154
2844
  * List projects
2155
2845
  *
@@ -2203,7 +2893,7 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2203
2893
  * codemode.describe("praxis.cut.script") // names, one page at a time
2204
2894
  * ```
2205
2895
  *
2206
- * Published at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.
2896
+ * Published at https://docs.deepraxis.com/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.
2207
2897
  *
2208
2898
  * #### Script functions (script)
2209
2899
  *
@@ -2231,7 +2921,16 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2231
2921
  * - `Trim` — Move one clip edge by seconds.
2232
2922
  * - `Move` — Set a clip's start or track.
2233
2923
  * - `RippleDeleteRange` — Cut a time range and close the gap.
2924
+ * - `DeleteWords` — Cut transcript words and ripple every track, keeping a breath.
2925
+ * - `RemoveFillers` — List and delete filler words by media's own labels; dryRun first.
2926
+ * - `Matte` — Replace the clip's background with media's matte of its source, read as a luma mask.
2927
+ * - `EnhanceVoice` — Replace a clip's sound with media's enhanced speech on its own audio track.
2928
+ * - `AlignByAudio` — Line two recordings of the same sound up by media's measurement of their offset.
2929
+ * - `Reframe` — Swap the clip's media for media's reframed take at the aspect you ask for.
2930
+ * - `Upscale` — Swap the clip's media for media's upscaled take at the height you ask for.
2931
+ * - `Redact` — Pixelate the faces, QR codes or text media marks, leaving the rest of the frame plain.
2234
2932
  * - `AddTrack` — Add a video, audio or caption track.
2933
+ * - `MoveTrack` — Move a track between layers; 0 is the topmost.
2235
2934
  * - `UpdateTrack` — Change a track's name, lock, gain or role.
2236
2935
  * - `DeleteTrack` — Remove a track and its clips.
2237
2936
  * - `SetSettings` — Change canvas, frame rate or background.
@@ -2263,8 +2962,8 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2263
2962
  * - `transform` — Position, scale, rotation, opacity, crop, blur.
2264
2963
  * - `fit` — contain, cover, fill or none.
2265
2964
  * - `blend` — Layer blend mode; null clears.
2266
- * - `style` — Text styling: font, fill, strokes, glow, position.
2267
- * - `style.position` — top, middle or bottom; omit it, never null.
2965
+ * - `style` — Text styling in Shotstack's rich shape: font, gradient, stroke, shadow, box, border, align, per-word animation.
2966
+ * - `style.align.vertical` — top, middle or bottom; omit it, never null.
2268
2967
  * - `playback` — Rate, direction, audio policy, or freeze.
2269
2968
  * - `volumeDb` — Audio level in dB; 0 is source level.
2270
2969
  * - `gain` — Keyframed audio level in dB.
@@ -2285,6 +2984,8 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2285
2984
  * - `JOIN_CONFLICT` — A join is invalid or blocks this edit.
2286
2985
  * - `INVALID_TRANSITION` — Bad transition kind, parameter or length.
2287
2986
  * - `INVALID_STYLE` — A style value is out of range.
2987
+ * - `UNSUPPORTED_STYLE_FIELD` — A Shotstack style field this platform cannot render yet.
2988
+ * - `STYLE_LEGACY_FIELDS` — A style written in the old flat shape; it still works.
2288
2989
  * - `INVALID_MASK` — A mask definition is malformed.
2289
2990
  * - `MASK_IN_USE` — The edit would break a live mask.
2290
2991
  * - `TOO_MANY_MASKS` — At most 16 masks per project.
@@ -2333,6 +3034,9 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2333
3034
  * - `MEDIA_OFFLINE` — The asset cannot be fetched right now.
2334
3035
  * - `MEDIA_UNAVAILABLE` — The asset is not usable for rendering.
2335
3036
  * - `MEDIA_IMPORT_FAILED` — Importing media failed.
3037
+ * - `MEDIA_PROCESSING` — Media is still processing the clip; wait for the job and rerun.
3038
+ * - `MEDIA_PROCESSING_FAILED` — Media's processing job failed; nothing changed.
3039
+ * - `ALIGNMENT_UNCERTAIN` — `AlignByAudio` confidence too low; nothing changed.
2336
3040
  * - `FRAME_OUT_OF_RANGE` — The preview time is outside the project.
2337
3041
  * - `PROJECT_TOO_LARGE` — The project exceeds the size limit.
2338
3042
  * - `RESPONSE_TOO_LARGE` — The response would exceed its budget.
@@ -2366,7 +3070,7 @@ export declare const cutListFrames: <ThrowOnError extends boolean = false>(optio
2366
3070
  /**
2367
3071
  * Analyze project media or measure the project mix
2368
3072
  *
2369
- * 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. 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.
3073
+ * 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.
2370
3074
  */
2371
3075
  export declare const cutCreateAnalysis: <ThrowOnError extends boolean = false>(options: Options<CutCreateAnalysisData, ThrowOnError>) => RequestResult<CutCreateAnalysisResponses, CutCreateAnalysisErrors, ThrowOnError>;
2372
3076
  /**
@@ -2408,7 +3112,7 @@ export declare const cutCreateExport: <ThrowOnError extends boolean = false>(opt
2408
3112
  /**
2409
3113
  * Create draft range render
2410
3114
  *
2411
- * 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, 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.
3115
+ * 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.
2412
3116
  */
2413
3117
  export declare const cutCreateRender: <ThrowOnError extends boolean = false>(options: Options<CutCreateRenderData, ThrowOnError>) => RequestResult<CutCreateRenderResponses, CutCreateRenderErrors, ThrowOnError>;
2414
3118
  /**
@@ -2656,7 +3360,7 @@ export declare const devopsTestRunsList: <ThrowOnError extends boolean = false>(
2656
3360
  /**
2657
3361
  * Create a test run
2658
3362
  *
2659
- * 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.
3363
+ * 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.
2660
3364
  */
2661
3365
  export declare const devopsTestRunsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsCreateData, ThrowOnError>) => RequestResult<DevopsTestRunsCreateResponses, DevopsTestRunsCreateErrors, ThrowOnError>;
2662
3366
  /**
@@ -2680,15 +3384,507 @@ export declare const devopsTestExecutionsList: <ThrowOnError extends boolean = f
2680
3384
  /**
2681
3385
  * Retrieve one case's execution in a run
2682
3386
  *
2683
- * 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.
3387
+ * 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.
3388
+ */
3389
+ export declare const devopsTestExecutionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestExecutionsGetData, ThrowOnError>) => RequestResult<DevopsTestExecutionsGetResponses, DevopsTestExecutionsGetErrors, ThrowOnError>;
3390
+ /**
3391
+ * Upload an external test report
3392
+ *
3393
+ * 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. With purpose evidence the report is also filed as test evidence, package by package: DevOps recomputes each package's input hash from ref.commit (so the commit must already be pushed; an unreadable commit records the run but no evidence), and writes passed or failed only for a package whose every case at the gate's sizes the report carries — a report of a few files leaves that package without evidence. Pass ref.branch and ref.pullRequest so the run says where it came from; devops.projects.retrieveTestPlan at the commit then shows what the gate will read.
3394
+ */
3395
+ export declare const devopsTestReportsUpload: <ThrowOnError extends boolean = false>(options: Options<DevopsTestReportsUploadData, ThrowOnError>) => RequestResult<DevopsTestReportsUploadResponses, DevopsTestReportsUploadErrors, ThrowOnError>;
3396
+ /**
3397
+ * Retrieve the merge gate's test plan at a commit
3398
+ *
3399
+ * Ask what the merge gate would require at one commit before running anything: the packages the base...commit diff affects, each package's input hash at that commit's own tree, and whether evidence already answers it. The answer also carries cases: every feature scenario of the affected packages at the gate's sizes, each with required (whether this diff can affect it, chosen by the files the scenario was recorded running), the reason, the deps hash it is judged at and its own evidence. A merge needs evidence only for the required cases; run `praxis devops test <package> --record-impact` to record coverage and results. Read a package as passed when a recorded run covered every case the package has at the gate's sizes and they passed, failed when the newest evidence at its input hash failed, and missing when no run has a row for that (package, input hash). Use it before running tests — run `praxis devops test <package>` for each missing or failed package on a clean, pushed commit and the run files the evidence itself — or to explain a gate verdict, because it is the same required set and the same (package, input hash) lookup the gate itself decides on. The call is read-only: it starts no run, runs no case and writes nothing. The commit must already be pushed, since the hashes are recomputed from the tree GitHub holds; a commit whose tree cannot be read answers COMMIT_NOT_FOUND instead of an empty plan. A selection of nothing means every changed path belongs to no test package, which is a pass and not a failure.
3400
+ */
3401
+ export declare const devopsTestPlanGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlanGetData, ThrowOnError>) => RequestResult<DevopsTestPlanGetResponses, DevopsTestPlanGetErrors, ThrowOnError>;
3402
+ /**
3403
+ * List projects
3404
+ *
3405
+ * 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. The page always carries visibleProjects: how many projects the caller's own organization has in total, deleted ones excluded. Those are the projects visible to the credential's organization — the count filters by organization_id and is not a permission check — so an empty items array reads as "this organization has none yet" instead of leaving you to guess whether the read was lost or the credential points at another organization. It is the organization's total across all pages, not this page's length.
3406
+ */
3407
+ export declare const devopsProjectsList: <ThrowOnError extends boolean = false>(options?: Options<DevopsProjectsListData, ThrowOnError>) => RequestResult<DevopsProjectsListResponses, DevopsProjectsListErrors, ThrowOnError>;
3408
+ /**
3409
+ * Create a project
3410
+ *
3411
+ * Create a delivery project and its two default environments (develop, production). The code lives in one of two places. Our own Git: pass provider platform and package, the id (pkg_...) of a git package in your organization's registry (the registry domain lists packages and creates git libraries); there is no install flow and no connection, the project records the provider, the package and the package's default branch, and from then on pull requests, the merge gate, changes and cloud workspaces use that package and DevOps merges a pull request itself. A package backs at most one project (REPOSITORY_ALREADY_BOUND) and a package that is not a git package of your organization is INVALID_ARGUMENT. If the package has no default branch yet, which is usual for a library imported from elsewhere, pass initialRef, an existing branch such as import: the default branch is created at its head while the project is created, and no change can be opened before it exists. If the default branch already exists the call is refused with DEFAULT_BRANCH_EXISTS, and a missing initialRef branch with REF_NOT_FOUND; neither leaves a project behind. For a package whose project already exists, use devops.projects.initializeDefaultBranch instead. GitHub (the default): pass the connection of a completed GitHub App install and the repository (owner/name) it can see; leave both out to create a project with no repository yet. A name must be kebab-case and unused in the organization (PROJECT_NAME_TAKEN).
3412
+ */
3413
+ export declare const devopsProjectsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsCreateData, ThrowOnError>) => RequestResult<DevopsProjectsCreateResponses, DevopsProjectsCreateErrors, ThrowOnError>;
3414
+ /**
3415
+ * Create a project's default branch
3416
+ *
3417
+ * Create the default branch of a project on our own Git, once. A git package imported from elsewhere can hold branches and no default branch, and every change is cut from the default branch, so until it exists no change can be opened. The default branch is protected and only DevOps holds the credential that may write it, so this call is the one way to create it: it points the default branch at the head of the existing branch named in from (for example import). It only creates: a default branch that already exists is refused with DEFAULT_BRANCH_EXISTS and is never moved, a from that is not a branch of the repository is REF_NOT_FOUND, and a GitHub project is INVALID_ARGUMENT because GitHub's branches are GitHub's. The push reaches the project like any other push to its default branch. Read the project first (devops.projects.retrieve) for the package's default branch name.
3418
+ */
3419
+ export declare const devopsProjectsInitializeDefaultBranch: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsInitializeDefaultBranchData, ThrowOnError>) => RequestResult<DevopsProjectsInitializeDefaultBranchResponses, DevopsProjectsInitializeDefaultBranchErrors, ThrowOnError>;
3420
+ /**
3421
+ * Retrieve a project
3422
+ *
3423
+ * 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.
3424
+ */
3425
+ export declare const devopsProjectsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsGetData, ThrowOnError>) => RequestResult<DevopsProjectsGetResponses, DevopsProjectsGetErrors, ThrowOnError>;
3426
+ /**
3427
+ * Update a project
3428
+ *
3429
+ * 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.
3430
+ */
3431
+ export declare const devopsProjectsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsUpdateData, ThrowOnError>) => RequestResult<DevopsProjectsUpdateResponses, DevopsProjectsUpdateErrors, ThrowOnError>;
3432
+ /**
3433
+ * List releases
3434
+ *
3435
+ * 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.
3436
+ */
3437
+ export declare const devopsReleasesList: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesListData, ThrowOnError>) => RequestResult<DevopsReleasesListResponses, DevopsReleasesListErrors, ThrowOnError>;
3438
+ /**
3439
+ * Create a release
3440
+ *
3441
+ * 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.
3442
+ */
3443
+ export declare const devopsReleasesCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesCreateData, ThrowOnError>) => RequestResult<DevopsReleasesCreateResponses, DevopsReleasesCreateErrors, ThrowOnError>;
3444
+ /**
3445
+ * Retrieve a release
3446
+ *
3447
+ * 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.
3448
+ */
3449
+ export declare const devopsReleasesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesGetData, ThrowOnError>) => RequestResult<DevopsReleasesGetResponses, DevopsReleasesGetErrors, ThrowOnError>;
3450
+ /**
3451
+ * Abandon a release
3452
+ *
3453
+ * 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.
3454
+ */
3455
+ export declare const devopsReleasesAbandon: <ThrowOnError extends boolean = false>(options: Options<DevopsReleasesAbandonData, ThrowOnError>) => RequestResult<DevopsReleasesAbandonResponses, DevopsReleasesAbandonErrors, ThrowOnError>;
3456
+ /**
3457
+ * Create a promotion
3458
+ *
3459
+ * 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 skip that on purpose, pass dependencies skip, a forced express that deploys only the named targets and records that it did so (see dependencies). 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`.
3460
+ */
3461
+ export declare const devopsPromotionsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCreateData, ThrowOnError>) => RequestResult<DevopsPromotionsCreateResponses, DevopsPromotionsCreateErrors, ThrowOnError>;
3462
+ /**
3463
+ * List promotions
3464
+ *
3465
+ * 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.
3466
+ */
3467
+ export declare const devopsPromotionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsListData, ThrowOnError>) => RequestResult<DevopsPromotionsListResponses, DevopsPromotionsListErrors, ThrowOnError>;
3468
+ /**
3469
+ * Retrieve a promotion
3470
+ *
3471
+ * 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).
3472
+ */
3473
+ export declare const devopsPromotionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsGetData, ThrowOnError>) => RequestResult<DevopsPromotionsGetResponses, DevopsPromotionsGetErrors, ThrowOnError>;
3474
+ /**
3475
+ * Approve or reject a promotion
3476
+ *
3477
+ * 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.
3478
+ */
3479
+ export declare const devopsPromotionsApprove: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsApproveData, ThrowOnError>) => RequestResult<DevopsPromotionsApproveResponses, DevopsPromotionsApproveErrors, ThrowOnError>;
3480
+ /**
3481
+ * Cancel a promotion
3482
+ *
3483
+ * 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.
3484
+ */
3485
+ export declare const devopsPromotionsCancel: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCancelData, ThrowOnError>) => RequestResult<DevopsPromotionsCancelResponses, DevopsPromotionsCancelErrors, ThrowOnError>;
3486
+ /**
3487
+ * Retry a promotion
3488
+ *
3489
+ * Continue a promotion that stopped part-way: one in halted (some targets deployed, some failed, some never started) or one in failed. The answer is a NEW promotion whose plan names only the targets that did not reach the release, so a partially deployed environment is completed rather than redeployed from the start. A halted promotion is stopped first — its run is asked to cancel and the executor is read back until the run is no longer running — because a new plan that starts while the old run still deploys the same targets would deploy them twice; when the run will not stop, the call is refused with PROMOTION_RUN_STILL_RUNNING and creates nothing. Once that run is over the halt is closed as the partial deploy it is (the targets that really deployed move their checkpoints) and the new promotion is planned from those checkpoints. Any other state is refused with PROMOTION_NOT_RETRYABLE, whose message names the state and what to do instead: a promotion that is still deploying has nothing to continue (cancel it to stop it), and a succeeded, cancelled or superseded one has nothing left — promote the release again if this environment must take it. The retry is attributed to the credential that sends it and is recorded on the promotion.
3490
+ */
3491
+ export declare const devopsPromotionsRetry: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsRetryData, ThrowOnError>) => RequestResult<DevopsPromotionsRetryResponses, DevopsPromotionsRetryErrors, ThrowOnError>;
3492
+ /**
3493
+ * Conclude an observation
3494
+ *
3495
+ * 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.
3496
+ */
3497
+ export declare const devopsPromotionsConclude: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsConcludeData, ThrowOnError>) => RequestResult<DevopsPromotionsConcludeResponses, DevopsPromotionsConcludeErrors, ThrowOnError>;
3498
+ /**
3499
+ * Get the checkout credential of a running promotion
3500
+ *
3501
+ * Issue the credential the deploy machine fetches a platform-Git project's code with. The caller is the deploy machine itself, during a run: its `devops/prepare` step sends the API key it already holds and receives the clone URL of the project's repository plus a pull-only credential for exactly that one repository. The credential lives 15 minutes and is issued again on every request, so it never sits in the run's stored input or log, and a leaked copy is useless almost at once. A run that needs the code later, such as an engine checkout after a long install, asks again. It answers only while the promotion is deploying (a rollback is a promotion and deploys too) or halted; a promotion that is queued, waiting for approval, observing or finished is refused with PROMOTION_NOT_RUNNING, because no machine should be fetching code for it. A project whose code is on GitHub is refused with SOURCE_NOT_PLATFORM: its checkout uses the GitHub App token, not this. The key must belong to the promotion's organization, the same check as reading the promotion with `praxis api devops promotion get <id>`. People do not need this call: to read a platform project's code use the code browser calls instead.
3502
+ */
3503
+ export declare const devopsPromotionsCheckoutCredential: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCheckoutCredentialData, ThrowOnError>) => RequestResult<DevopsPromotionsCheckoutCredentialResponses, DevopsPromotionsCheckoutCredentialErrors, ThrowOnError>;
3504
+ /**
3505
+ * List a promotion's rollouts
3506
+ *
3507
+ * 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.
3508
+ */
3509
+ export declare const devopsRolloutsList: <ThrowOnError extends boolean = false>(options: Options<DevopsRolloutsListData, ThrowOnError>) => RequestResult<DevopsRolloutsListResponses, DevopsRolloutsListErrors, ThrowOnError>;
3510
+ /**
3511
+ * Retrieve a rollout
3512
+ *
3513
+ * 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.
3514
+ */
3515
+ export declare const devopsRolloutsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsRolloutsGetData, ThrowOnError>) => RequestResult<DevopsRolloutsGetResponses, DevopsRolloutsGetErrors, ThrowOnError>;
3516
+ /**
3517
+ * List environments
3518
+ *
3519
+ * 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.
3520
+ */
3521
+ export declare const devopsEnvironmentsList: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsListData, ThrowOnError>) => RequestResult<DevopsEnvironmentsListResponses, DevopsEnvironmentsListErrors, ThrowOnError>;
3522
+ /**
3523
+ * Update an environment
3524
+ *
3525
+ * 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.
3526
+ */
3527
+ export declare const devopsEnvironmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsUpdateData, ThrowOnError>) => RequestResult<DevopsEnvironmentsUpdateResponses, DevopsEnvironmentsUpdateErrors, ThrowOnError>;
3528
+ /**
3529
+ * List environment checkpoints
3530
+ *
3531
+ * 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.
3532
+ */
3533
+ export declare const devopsEnvironmentsCheckpointsList: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsCheckpointsListData, ThrowOnError>) => RequestResult<DevopsEnvironmentsCheckpointsListResponses, DevopsEnvironmentsCheckpointsListErrors, ThrowOnError>;
3534
+ /**
3535
+ * Roll an environment back
3536
+ *
3537
+ * 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.
3538
+ */
3539
+ export declare const devopsEnvironmentsRollback: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsRollbackData, ThrowOnError>) => RequestResult<DevopsEnvironmentsRollbackResponses, DevopsEnvironmentsRollbackErrors, ThrowOnError>;
3540
+ /**
3541
+ * List targets
3542
+ *
3543
+ * 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.
3544
+ */
3545
+ export declare const devopsTargetsList: <ThrowOnError extends boolean = false>(options: Options<DevopsTargetsListData, ThrowOnError>) => RequestResult<DevopsTargetsListResponses, DevopsTargetsListErrors, ThrowOnError>;
3546
+ /**
3547
+ * Refresh the target catalog
3548
+ *
3549
+ * 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.
3550
+ */
3551
+ export declare const devopsTargetsRefresh: <ThrowOnError extends boolean = false>(options: Options<DevopsTargetsRefreshData, ThrowOnError>) => RequestResult<DevopsTargetsRefreshResponses, DevopsTargetsRefreshErrors, ThrowOnError>;
3552
+ /**
3553
+ * List flags
3554
+ *
3555
+ * 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.
3556
+ */
3557
+ export declare const devopsFlagsList: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsListData, ThrowOnError>) => RequestResult<DevopsFlagsListResponses, DevopsFlagsListErrors, ThrowOnError>;
3558
+ /**
3559
+ * Create a flag
3560
+ *
3561
+ * 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.
3562
+ */
3563
+ export declare const devopsFlagsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsCreateData, ThrowOnError>) => RequestResult<DevopsFlagsCreateResponses, DevopsFlagsCreateErrors, ThrowOnError>;
3564
+ /**
3565
+ * Report a project's flag code references
3566
+ *
3567
+ * Store one code-reference scan for a project in a single call: send the commit the scan read (scannedCommit, the checkout's `git rev-parse HEAD`) and, for every flag key the scan knows, the places code reads it ({path, line, snippet}). Send every key the checkout still expects to be referenced, including the ones found nowhere: a project flag with no entry in refs is stored with zero references, and zero is what lets `archive` see the code that named the flag is gone. A key that matches no live flag of the project — one already archived, or from another project — is returned in unknownKeys and stores nothing; reporting it is not an error. updated is how many flags were written, which is every live flag of the project because each gets a row. This is the write side of the archive gate: `POST /v1/flags/{id}:archive` refuses with FLAG_STILL_REFERENCED while the stored count is above zero, and the count it reads is exactly the one stored here. Staleness is not corrected for — the stored scannedCommit and count are used as they stand. At most 500 references are stored per flag; a longer list is truncated for storage while count still reports the true number. Reporting changes no flag's runtime behaviour.
3568
+ */
3569
+ export declare const devopsFlagsReportCodeRefs: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsReportCodeRefsData, ThrowOnError>) => RequestResult<DevopsFlagsReportCodeRefsResponses, DevopsFlagsReportCodeRefsErrors, ThrowOnError>;
3570
+ /**
3571
+ * Retrieve a flag
3572
+ *
3573
+ * 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.
3574
+ */
3575
+ export declare const devopsFlagsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsGetData, ThrowOnError>) => RequestResult<DevopsFlagsGetResponses, DevopsFlagsGetErrors, ThrowOnError>;
3576
+ /**
3577
+ * Update a flag
3578
+ *
3579
+ * 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.
3580
+ */
3581
+ export declare const devopsFlagsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsUpdateData, ThrowOnError>) => RequestResult<DevopsFlagsUpdateResponses, DevopsFlagsUpdateErrors, ThrowOnError>;
3582
+ /**
3583
+ * Update a flag's environment
3584
+ *
3585
+ * 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.
3586
+ */
3587
+ export declare const devopsFlagsUpdateEnvironment: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsUpdateEnvironmentData, ThrowOnError>) => RequestResult<DevopsFlagsUpdateEnvironmentResponses, DevopsFlagsUpdateEnvironmentErrors, ThrowOnError>;
3588
+ /**
3589
+ * Conclude a flag
3590
+ *
3591
+ * 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`.
3592
+ */
3593
+ export declare const devopsFlagsConclude: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsConcludeData, ThrowOnError>) => RequestResult<DevopsFlagsConcludeResponses, DevopsFlagsConcludeErrors, ThrowOnError>;
3594
+ /**
3595
+ * Archive a flag
3596
+ *
3597
+ * 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 is the delete, and the platform refuses it while the last reported scan still finds the key in code or while the flag is on in an environment: a flag whose codeRefs.count is above zero is refused with FLAG_STILL_REFERENCED, and a flag whose on state is true in any environment is refused with FLAG_HAS_LIVE_RULES, so archiving succeeds only once the code that names the key is deployed away and every environment is off. The gate reads the stored scan as it stands — an out-of-date scannedCommit is not corrected for — and there is no force flag. 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.
3598
+ */
3599
+ export declare const devopsFlagsArchive: <ThrowOnError extends boolean = false>(options: Options<DevopsFlagsArchiveData, ThrowOnError>) => RequestResult<DevopsFlagsArchiveResponses, DevopsFlagsArchiveErrors, ThrowOnError>;
3600
+ /**
3601
+ * Create a progressive rollout
3602
+ *
3603
+ * 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.
3604
+ */
3605
+ export declare const devopsProgressiveRolloutsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsCreateData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsCreateResponses, DevopsProgressiveRolloutsCreateErrors, ThrowOnError>;
3606
+ /**
3607
+ * Retrieve a progressive rollout
3608
+ *
3609
+ * 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.
3610
+ */
3611
+ export declare const devopsProgressiveRolloutsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsGetData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsGetResponses, DevopsProgressiveRolloutsGetErrors, ThrowOnError>;
3612
+ /**
3613
+ * Pause a progressive rollout
3614
+ *
3615
+ * 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.
3616
+ */
3617
+ export declare const devopsProgressiveRolloutsPause: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsPauseData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsPauseResponses, DevopsProgressiveRolloutsPauseErrors, ThrowOnError>;
3618
+ /**
3619
+ * Resume a progressive rollout
3620
+ *
3621
+ * 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.
3622
+ */
3623
+ export declare const devopsProgressiveRolloutsResume: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsResumeData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsResumeResponses, DevopsProgressiveRolloutsResumeErrors, ThrowOnError>;
3624
+ /**
3625
+ * Roll back a progressive rollout
3626
+ *
3627
+ * 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.
3628
+ */
3629
+ export declare const devopsProgressiveRolloutsRollback: <ThrowOnError extends boolean = false>(options: Options<DevopsProgressiveRolloutsRollbackData, ThrowOnError>) => RequestResult<DevopsProgressiveRolloutsRollbackResponses, DevopsProgressiveRolloutsRollbackErrors, ThrowOnError>;
3630
+ /**
3631
+ * Delete a target's OpenTofu state
3632
+ *
3633
+ * 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.
3634
+ */
3635
+ export declare const devopsTofuStateDelete: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateDeleteData, ThrowOnError>) => RequestResult<DevopsTofuStateDeleteResponses, DevopsTofuStateDeleteErrors, ThrowOnError>;
3636
+ /**
3637
+ * Read a target's OpenTofu state
3638
+ *
3639
+ * 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.
3640
+ */
3641
+ export declare const devopsTofuStateGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateGetData, ThrowOnError>) => RequestResult<DevopsTofuStateGetResponses, DevopsTofuStateGetErrors, ThrowOnError>;
3642
+ /**
3643
+ * Write a target's OpenTofu state
3644
+ *
3645
+ * 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.
3646
+ */
3647
+ export declare const devopsTofuStateWrite: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateWriteData, ThrowOnError>) => RequestResult<DevopsTofuStateWriteResponses, DevopsTofuStateWriteErrors, ThrowOnError>;
3648
+ /**
3649
+ * Unlock a target's OpenTofu state
3650
+ *
3651
+ * 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.
3652
+ */
3653
+ export declare const devopsTofuStateUnlock: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateUnlockData, ThrowOnError>) => RequestResult<DevopsTofuStateUnlockResponses, DevopsTofuStateUnlockErrors, ThrowOnError>;
3654
+ /**
3655
+ * Lock a target's OpenTofu state
3656
+ *
3657
+ * 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.
3658
+ */
3659
+ export declare const devopsTofuStateLock: <ThrowOnError extends boolean = false>(options: Options<DevopsTofuStateLockData, ThrowOnError>) => RequestResult<DevopsTofuStateLockResponses, DevopsTofuStateLockErrors, ThrowOnError>;
3660
+ /**
3661
+ * List changes
3662
+ *
3663
+ * 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.
3664
+ */
3665
+ export declare const devopsChangesList: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesListData, ThrowOnError>) => RequestResult<DevopsChangesListResponses, DevopsChangesListErrors, ThrowOnError>;
3666
+ /**
3667
+ * Create a change
3668
+ *
3669
+ * 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.
3670
+ */
3671
+ export declare const devopsChangesCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesCreateData, ThrowOnError>) => RequestResult<DevopsChangesCreateResponses, DevopsChangesCreateErrors, ThrowOnError>;
3672
+ /**
3673
+ * Retrieve a change
3674
+ *
3675
+ * 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.
3676
+ */
3677
+ export declare const devopsChangesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesGetData, ThrowOnError>) => RequestResult<DevopsChangesGetResponses, DevopsChangesGetErrors, ThrowOnError>;
3678
+ /**
3679
+ * Abandon a change
3680
+ *
3681
+ * 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 it has not merged are closed with it: each one is closed on GitHub with a note naming the change and this reason, so an abandoned change never leaves an open pull request behind for someone else to clean up — a change with no open pull request makes no GitHub call at all. That close happens BEFORE the change is marked, so an abandon that cannot close them is refused with GITHUB_UNAVAILABLE and nothing has changed; send it again. 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). Repeating the call on a change that is already abandoned answers the change as it stands instead of refusing it: the first abandon is the fact, and a caller that lost the answer gets it back.
3682
+ */
3683
+ export declare const devopsChangesAbandon: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesAbandonData, ThrowOnError>) => RequestResult<DevopsChangesAbandonResponses, DevopsChangesAbandonErrors, ThrowOnError>;
3684
+ /**
3685
+ * Mark the last slice
3686
+ *
3687
+ * 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).
3688
+ */
3689
+ export declare const devopsChangesMarkLastSlice: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesMarkLastSliceData, ThrowOnError>) => RequestResult<DevopsChangesMarkLastSliceResponses, DevopsChangesMarkLastSliceErrors, ThrowOnError>;
3690
+ /**
3691
+ * Open a change's pull request
3692
+ *
3693
+ * Open the pull request for a change: its branch into the project's default branch, opened by DevOps's own GitHub App. A cloud workspace holds no GitHub credential, so this is how work pushed with the unit push becomes a pull request; `praxis devops change pr` calls it from the workspace. Push first: a branch with no commits beyond the default branch is refused with PULL_REQUEST_REFUSED and GitHub's words. A branch that already has an open pull request answers that one with created=false, so calling again is safe; when the call passes a title or a body, those fields are written onto that pull request (GitHub PATCH /pulls/{number}) and the answer says updated=true, while a field not passed is left as it is — which is how a wrong or missing description is corrected, and how the merge gate's exposure-declared check is re-evaluated from the new body. Only an open pull request can be rewritten: once it is merged or closed its head branch is usually deleted with it, so a call that names a title or a body is refused with PULL_REQUEST_NOT_OPEN, naming that pull request and the branch, instead of trying to open a second one. The pull request then appears on the change and runs its merge gate as usual. The id is the branch name; give it as it comes back (fix/expired-links) — the SDK and the CLI encode the slash themselves, and only a hand-written HTTP request sends fix%2Fexpired-links.
3694
+ */
3695
+ export declare const devopsChangesOpenPullRequest: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesOpenPullRequestData, ThrowOnError>) => RequestResult<DevopsChangesOpenPullRequestResponses, DevopsChangesOpenPullRequestErrors, ThrowOnError>;
3696
+ /**
3697
+ * Get a change workspace's read-only git credential
3698
+ *
3699
+ * A read-only git credential for the repository a change's project is bound to: a GitHub App installation token limited to that one repository with contents read, which GitHub expires within an hour. It exists for git's credential helper inside the change's cloud workspace (`praxis devops change git-credential`, installed by DevOps when it clones the repository), so `git fetch`, history and lazily fetched file contents work there; the helper hands the token to that one git request and keeps nothing. Writing is never possible with it: commits reach the branch only through the unit push. You do not need to call this yourself. Anyone who can read the change can read its repository already through the code reads, so this grants no new access. An abandoned change is refused with INVALID_ARGUMENT and a project without a repository with SOURCE_NOT_CONFIGURED. The id is the branch name and its slash must be percent-encoded in the path (fix%2Fexpired-links).
3700
+ */
3701
+ export declare const devopsChangesGitCredential: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesGitCredentialData, ThrowOnError>) => RequestResult<DevopsChangesGitCredentialResponses, DevopsChangesGitCredentialErrors, ThrowOnError>;
3702
+ /**
3703
+ * List a project's pull requests
3704
+ *
3705
+ * 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.
3706
+ */
3707
+ export declare const devopsPullRequestsList: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsListData, ThrowOnError>) => RequestResult<DevopsPullRequestsListResponses, DevopsPullRequestsListErrors, ThrowOnError>;
3708
+ /**
3709
+ * Retrieve a pull request
3710
+ *
3711
+ * 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 tests check is never pending, because DevOps runs no tests for a pull request: it is passed, or failed naming the missing or failed cases and the command `praxis devops test <package> --record-impact` the author runs on the pushed head; 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 test runs reported at the head commit (uploaded by the author, never started by DevOps), newest first.
3712
+ */
3713
+ export declare const devopsPullRequestsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsGetData, ThrowOnError>) => RequestResult<DevopsPullRequestsGetResponses, DevopsPullRequestsGetErrors, ThrowOnError>;
3714
+ /**
3715
+ * Decide a pull request's merge gate again
3716
+ *
3717
+ * 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 flag was registered, or a check that had no evidence now has some (test evidence uploaded for the head already decides the gate again by itself) — 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.
3718
+ */
3719
+ export declare const devopsPullRequestsRerunGate: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRerunGateData, ThrowOnError>) => RequestResult<DevopsPullRequestsRerunGateResponses, DevopsPullRequestsRerunGateErrors, ThrowOnError>;
3720
+ /**
3721
+ * Merge a pull request through its gate
3722
+ *
3723
+ * 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; on GitHub it defaults to rebase. A project on our own Git (provider platform) merges by squash only: no method means squash, and rebase or merge is refused with INVALID_ARGUMENT naming squash. 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.
3724
+ */
3725
+ export declare const devopsPullRequestsMerge: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsMergeData, ThrowOnError>) => RequestResult<DevopsPullRequestsMergeResponses, DevopsPullRequestsMergeErrors, ThrowOnError>;
3726
+ /**
3727
+ * Record a review verdict on a pull request
3728
+ *
3729
+ * Record a reviewer's verdict on a pull request, after the fact (Sean 2026-11-24). The merge gate no longer waits for it: exposure-judged is decided by machine from the declaration for every kind of exposure, so a pull request merges without any verdict. This call is the review record — send result passed or failed with reason saying in a sentence a reviewer can act on why. It is stored on the pull request as review and announced with the event devops.pullRequest.reviewed. A failed verdict on an already merged pull request is a finding for follow-up (the event says finding true): the merge stands, nothing is un-merged, and a rollback or a fix is asked for on the ticket. headSha must be the pull request's head, and a verdict for another commit is refused with INVALID_ARGUMENT. List the merged pull requests nobody reviewed with pullRequests.list reviewed=false.
3730
+ */
3731
+ export declare const devopsPullRequestsRecordVerdict: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRecordVerdictData, ThrowOnError>) => RequestResult<DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRecordVerdictErrors, ThrowOnError>;
3732
+ /**
3733
+ * Close a pull request without merging it
3734
+ *
3735
+ * End a pull request that will never land, without abandoning the change it belongs to. DevOps closes it on GitHub through the project's own App installation, after writing this reason on the pull request, so it leaves the review queue instead of waiting for a merge that is not coming and whoever finds it later sees who ended it and why. Use it when one slice of a change is dropped while the change continues; abandoning the CHANGE closes its unmerged pull requests on its own and needs no second call. Only an open pull request can be closed: a merged one is refused with PULL_REQUEST_NOT_OPEN, because closing does not undo a merge and GitHub will not move a merged pull request back to closed, and one that is already closed answers itself unchanged, so repeating the call is safe. A pull request GitHub no longer has open is refused the same way — nothing was closed, and the platform's record catches up with GitHub on its next delivery.
3736
+ */
3737
+ export declare const devopsPullRequestsClose: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsCloseData, ThrowOnError>) => RequestResult<DevopsPullRequestsCloseResponses, DevopsPullRequestsCloseErrors, ThrowOnError>;
3738
+ /**
3739
+ * Review a pull request on our own Git
3740
+ *
3741
+ * Give your verdict on a pull request whose project keeps its code on the platform's own Git, where there is no GitHub to hold reviews. The reviewer is you — the user or agent the credential names, never a name in the body — and the platform stores your verdict on the pull request's reviewers under your id, so an ownership rule that lists principal ids reads it. Send approved to approve, changes_requested to hold it with changes you want, or commented to say something without a verdict. A second review from you replaces your first, and the gate is decided again so a rule that reads reviews sees it at once. Only an open pull request is reviewed: a merged or closed one is refused with PULL_REQUEST_NOT_OPEN. A project connected to GitHub is refused with INVALID_ARGUMENT, because its reviews belong to GitHub and the platform projects them from there, so a verdict is never recorded in two places that can disagree.
3742
+ */
3743
+ export declare const devopsPullRequestsReviewsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsReviewsCreateData, ThrowOnError>) => RequestResult<DevopsPullRequestsReviewsCreateResponses, DevopsPullRequestsReviewsCreateErrors, ThrowOnError>;
3744
+ /**
3745
+ * List connections
3746
+ *
3747
+ * 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.
3748
+ */
3749
+ export declare const devopsConnectionsList: <ThrowOnError extends boolean = false>(options?: Options<DevopsConnectionsListData, ThrowOnError>) => RequestResult<DevopsConnectionsListResponses, DevopsConnectionsListErrors, ThrowOnError>;
3750
+ /**
3751
+ * Start a GitHub connection
3752
+ *
3753
+ * 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.
3754
+ */
3755
+ export declare const devopsConnectionsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsCreateData, ThrowOnError>) => RequestResult<DevopsConnectionsCreateResponses, DevopsConnectionsCreateErrors, ThrowOnError>;
3756
+ /**
3757
+ * Finish a GitHub connection
3758
+ *
3759
+ * 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.
3760
+ */
3761
+ export declare const devopsConnectionsComplete: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsCompleteData, ThrowOnError>) => RequestResult<DevopsConnectionsCompleteResponses, DevopsConnectionsCompleteErrors, ThrowOnError>;
3762
+ /**
3763
+ * Retrieve a connection
3764
+ *
3765
+ * 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".
3766
+ */
3767
+ export declare const devopsConnectionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsGetData, ThrowOnError>) => RequestResult<DevopsConnectionsGetResponses, DevopsConnectionsGetErrors, ThrowOnError>;
3768
+ /**
3769
+ * List a connection's repositories
3770
+ *
3771
+ * 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.
3772
+ */
3773
+ export declare const devopsConnectionsListRepositories: <ThrowOnError extends boolean = false>(options: Options<DevopsConnectionsListRepositoriesData, ThrowOnError>) => RequestResult<DevopsConnectionsListRepositoriesResponses, DevopsConnectionsListRepositoriesErrors, ThrowOnError>;
3774
+ /**
3775
+ * List segments
3776
+ *
3777
+ * 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.
3778
+ */
3779
+ export declare const devopsSegmentsList: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsListData, ThrowOnError>) => RequestResult<DevopsSegmentsListResponses, DevopsSegmentsListErrors, ThrowOnError>;
3780
+ /**
3781
+ * Create a segment
3782
+ *
3783
+ * 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.
3784
+ */
3785
+ export declare const devopsSegmentsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsCreateData, ThrowOnError>) => RequestResult<DevopsSegmentsCreateResponses, DevopsSegmentsCreateErrors, ThrowOnError>;
3786
+ /**
3787
+ * Update a segment
3788
+ *
3789
+ * 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.
3790
+ */
3791
+ export declare const devopsSegmentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsSegmentsUpdateData, ThrowOnError>) => RequestResult<DevopsSegmentsUpdateResponses, DevopsSegmentsUpdateErrors, ThrowOnError>;
3792
+ /**
3793
+ * Retry the failed cases of a run
3794
+ *
3795
+ * 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.
3796
+ */
3797
+ export declare const devopsTestRunsRetryFailed: <ThrowOnError extends boolean = false>(options: Options<DevopsTestRunsRetryFailedData, ThrowOnError>) => RequestResult<DevopsTestRunsRetryFailedResponses, DevopsTestRunsRetryFailedErrors, ThrowOnError>;
3798
+ /**
3799
+ * List a project's stage workspaces
3800
+ *
3801
+ * List the project's three stage workspaces — development, integration and release — 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.
3802
+ */
3803
+ export declare const devopsWorkspacesList: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesListData, ThrowOnError>) => RequestResult<DevopsWorkspacesListResponses, DevopsWorkspacesListErrors, ThrowOnError>;
3804
+ /**
3805
+ * Retrieve a stage workspace
3806
+ *
3807
+ * 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.
3808
+ */
3809
+ export declare const devopsWorkspacesGet: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesGetData, ThrowOnError>) => RequestResult<DevopsWorkspacesGetResponses, DevopsWorkspacesGetErrors, ThrowOnError>;
3810
+ /**
3811
+ * Update a stage workspace
3812
+ *
3813
+ * 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.
3814
+ */
3815
+ export declare const devopsWorkspacesUpdate: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesUpdateData, ThrowOnError>) => RequestResult<DevopsWorkspacesUpdateResponses, DevopsWorkspacesUpdateErrors, ThrowOnError>;
3816
+ /**
3817
+ * List a project's units
3818
+ *
3819
+ * 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.
3820
+ */
3821
+ export declare const devopsUnitsList: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsListData, ThrowOnError>) => RequestResult<DevopsUnitsListResponses, DevopsUnitsListErrors, ThrowOnError>;
3822
+ /**
3823
+ * Open a unit for a change
3824
+ *
3825
+ * 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.
3826
+ */
3827
+ export declare const devopsUnitsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsCreateData, ThrowOnError>) => RequestResult<DevopsUnitsCreateResponses, DevopsUnitsCreateErrors, ThrowOnError>;
3828
+ /**
3829
+ * List a project's cleanup ledger
3830
+ *
3831
+ * List what the daily cleanup job removed or archived for the project, newest decision first: merged branches deleted when their pull request merged, stopped units deleted after the project's window, test evidence past its age, and prebuilds beyond the kept versions. Each row names the kind of thing, which one, whether it was archived (the record stays, the heavy content goes) or deleted, the reason and when it was decided and done; error is set while the last attempt failed and the job will try again. The ledger is read-only: the job is its only writer, and a project changes what is kept through settings.retention on devops.projects.update. A project with no row has had nothing cleaned.
3832
+ */
3833
+ export declare const devopsCleanupsList: <ThrowOnError extends boolean = false>(options: Options<DevopsCleanupsListData, ThrowOnError>) => RequestResult<DevopsCleanupsListResponses, DevopsCleanupsListErrors, ThrowOnError>;
3834
+ /**
3835
+ * Delete a unit
3836
+ *
3837
+ * 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.
3838
+ */
3839
+ export declare const devopsUnitsDelete: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsDeleteData, ThrowOnError>) => RequestResult<DevopsUnitsDeleteResponses, DevopsUnitsDeleteErrors, ThrowOnError>;
3840
+ /**
3841
+ * Retrieve a unit
3842
+ *
3843
+ * 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.
3844
+ */
3845
+ export declare const devopsUnitsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsGetData, ThrowOnError>) => RequestResult<DevopsUnitsGetResponses, DevopsUnitsGetErrors, ThrowOnError>;
3846
+ /**
3847
+ * Start a unit
3848
+ *
3849
+ * 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.
3850
+ */
3851
+ export declare const devopsUnitsStart: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsStartData, ThrowOnError>) => RequestResult<DevopsUnitsStartResponses, DevopsUnitsStartErrors, ThrowOnError>;
3852
+ /**
3853
+ * Stop a unit
3854
+ *
3855
+ * 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.
3856
+ */
3857
+ export declare const devopsUnitsStop: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsStopData, ThrowOnError>) => RequestResult<DevopsUnitsStopResponses, DevopsUnitsStopErrors, ThrowOnError>;
3858
+ /**
3859
+ * Fetch a unit's branch
3860
+ *
3861
+ * 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.
3862
+ */
3863
+ export declare const devopsUnitsFetch: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsFetchData, ThrowOnError>) => RequestResult<DevopsUnitsFetchResponses, DevopsUnitsFetchErrors, ThrowOnError>;
3864
+ /**
3865
+ * Push a unit's branch
3866
+ *
3867
+ * 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 git refuses inside the machine answers with the cause in the error message and in details.detail (the last 4000 characters of git's output, credentials redacted) and details.exitCode (git's exit code): 409 PUSH_REJECTED_BY_HOOK when a pre-push hook such as lefthook rejected it, so read the hook output, fix the content and push again, 409 PUSH_REJECTED_NON_FAST_FORWARD when the remote moved ahead, so fetch and reconcile, 409 HEAD_MOVED when the lease on expectedHead no longer holds, and 500 PUSH_FAILED for anything else. Do not retry the same push unchanged.
3868
+ */
3869
+ export declare const devopsUnitsPush: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsPushData, ThrowOnError>) => RequestResult<DevopsUnitsPushResponses, DevopsUnitsPushErrors, ThrowOnError>;
3870
+ /**
3871
+ * Connect to a unit's terminal
3872
+ *
3873
+ * 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.
3874
+ */
3875
+ export declare const devopsUnitsConnect: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsConnectData, ThrowOnError>) => RequestResult<DevopsUnitsConnectResponses, DevopsUnitsConnectErrors, ThrowOnError>;
3876
+ /**
3877
+ * Run a command inside a unit
3878
+ *
3879
+ * 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.
2684
3880
  */
2685
- export declare const devopsTestExecutionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestExecutionsGetData, ThrowOnError>) => RequestResult<DevopsTestExecutionsGetResponses, DevopsTestExecutionsGetErrors, ThrowOnError>;
3881
+ export declare const devopsUnitsExec: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsExecData, ThrowOnError>) => RequestResult<DevopsUnitsExecResponses, DevopsUnitsExecErrors, ThrowOnError>;
2686
3882
  /**
2687
- * Upload an external test report
3883
+ * List a unit's transitions
2688
3884
  *
2689
- * 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.
3885
+ * 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.
2690
3886
  */
2691
- export declare const devopsTestReportsUpload: <ThrowOnError extends boolean = false>(options: Options<DevopsTestReportsUploadData, ThrowOnError>) => RequestResult<DevopsTestReportsUploadResponses, DevopsTestReportsUploadErrors, ThrowOnError>;
3887
+ export declare const devopsUnitsTransitionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsTransitionsListData, ThrowOnError>) => RequestResult<DevopsUnitsTransitionsListResponses, DevopsUnitsTransitionsListErrors, ThrowOnError>;
2692
3888
  /**
2693
3889
  * List knowledge bases
2694
3890
  *
@@ -2824,7 +4020,7 @@ export declare const knowledgeListEvents: <ThrowOnError extends boolean = false>
2824
4020
  /**
2825
4021
  * List libraries
2826
4022
  *
2827
- * 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.
4023
+ * 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.
2828
4024
  */
2829
4025
  export declare const mediaListLibraries: <ThrowOnError extends boolean = false>(options?: Options<MediaListLibrariesData, ThrowOnError>) => RequestResult<MediaListLibrariesResponses, MediaListLibrariesErrors, ThrowOnError>;
2830
4026
  /**
@@ -2842,13 +4038,13 @@ export declare const mediaCreateFrameUrls: <ThrowOnError extends boolean = false
2842
4038
  /**
2843
4039
  * Delete library
2844
4040
  *
2845
- * 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.
4041
+ * 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.
2846
4042
  */
2847
4043
  export declare const mediaDeleteLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteLibraryData, ThrowOnError>) => RequestResult<MediaDeleteLibraryResponses, MediaDeleteLibraryErrors, ThrowOnError>;
2848
4044
  /**
2849
4045
  * Get library
2850
4046
  *
2851
- * 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.
4047
+ * 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.
2852
4048
  */
2853
4049
  export declare const mediaGetLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaGetLibraryData, ThrowOnError>) => RequestResult<MediaGetLibraryResponses, MediaGetLibraryErrors, ThrowOnError>;
2854
4050
  /**
@@ -2860,25 +4056,25 @@ export declare const mediaUpdateLibrary: <ThrowOnError extends boolean = false>(
2860
4056
  /**
2861
4057
  * Restore library
2862
4058
  *
2863
- * 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.
4059
+ * 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.
2864
4060
  */
2865
4061
  export declare const mediaRestoreLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaRestoreLibraryData, ThrowOnError>) => RequestResult<MediaRestoreLibraryResponses, MediaRestoreLibraryErrors, ThrowOnError>;
2866
4062
  /**
2867
4063
  * Purge library
2868
4064
  *
2869
- * 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.
4065
+ * 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.
2870
4066
  */
2871
4067
  export declare const mediaPurgeLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaPurgeLibraryData, ThrowOnError>) => RequestResult<MediaPurgeLibraryResponses, MediaPurgeLibraryErrors, ThrowOnError>;
2872
4068
  /**
2873
4069
  * List assets
2874
4070
  *
2875
- * 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.
4071
+ * 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.
2876
4072
  */
2877
4073
  export declare const mediaListAssets: <ThrowOnError extends boolean = false>(options: Options<MediaListAssetsData, ThrowOnError>) => RequestResult<MediaListAssetsResponses, MediaListAssetsErrors, ThrowOnError>;
2878
4074
  /**
2879
4075
  * Upload asset
2880
4076
  *
2881
- * 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.
4077
+ * 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.
2882
4078
  */
2883
4079
  export declare const mediaUploadAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUploadAssetData, ThrowOnError>) => RequestResult<MediaUploadAssetResponses, MediaUploadAssetErrors, ThrowOnError>;
2884
4080
  /**
@@ -2890,25 +4086,31 @@ export declare const mediaImportAsset: <ThrowOnError extends boolean = false>(op
2890
4086
  /**
2891
4087
  * Delete asset
2892
4088
  *
2893
- * 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.
4089
+ * 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.
2894
4090
  */
2895
4091
  export declare const mediaDeleteAsset: <ThrowOnError extends boolean = false>(options: Options<MediaDeleteAssetData, ThrowOnError>) => RequestResult<MediaDeleteAssetResponses, MediaDeleteAssetErrors, ThrowOnError>;
2896
4092
  /**
2897
4093
  * Get asset
2898
4094
  *
2899
- * 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.
4095
+ * 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.
2900
4096
  */
2901
4097
  export declare const mediaGetAsset: <ThrowOnError extends boolean = false>(options: Options<MediaGetAssetData, ThrowOnError>) => RequestResult<MediaGetAssetResponses, MediaGetAssetErrors, ThrowOnError>;
2902
4098
  /**
2903
4099
  * Update asset
2904
4100
  *
2905
- * 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.
4101
+ * 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.
2906
4102
  */
2907
4103
  export declare const mediaUpdateAsset: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateAssetData, ThrowOnError>) => RequestResult<MediaUpdateAssetResponses, MediaUpdateAssetErrors, ThrowOnError>;
4104
+ /**
4105
+ * Restore asset version
4106
+ *
4107
+ * 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.
4108
+ */
4109
+ export declare const mediaRestoreAssetVersion: <ThrowOnError extends boolean = false>(options: Options<MediaRestoreAssetVersionData, ThrowOnError>) => RequestResult<MediaRestoreAssetVersionResponses, MediaRestoreAssetVersionErrors, ThrowOnError>;
2908
4110
  /**
2909
4111
  * Reprocess asset
2910
4112
  *
2911
- * 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.
4113
+ * 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.
2912
4114
  */
2913
4115
  export declare const mediaReprocessAsset: <ThrowOnError extends boolean = false>(options: Options<MediaReprocessAssetData, ThrowOnError>) => RequestResult<MediaReprocessAssetResponses, MediaReprocessAssetErrors, ThrowOnError>;
2914
4116
  /**
@@ -2920,31 +4122,31 @@ export declare const mediaListUnderstandings: <ThrowOnError extends boolean = fa
2920
4122
  /**
2921
4123
  * Expression search
2922
4124
  *
2923
- * 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.
4125
+ * 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.
2924
4126
  */
2925
4127
  export declare const mediaExpressionSearch: <ThrowOnError extends boolean = false>(options: Options<MediaExpressionSearchData, ThrowOnError>) => RequestResult<MediaExpressionSearchResponses, MediaExpressionSearchErrors, ThrowOnError>;
2926
4128
  /**
2927
4129
  * Visual search
2928
4130
  *
2929
- * 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.
4131
+ * 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.
2930
4132
  */
2931
4133
  export declare const mediaVisualSearch: <ThrowOnError extends boolean = false>(options: Options<MediaVisualSearchData, ThrowOnError>) => RequestResult<MediaVisualSearchResponses, MediaVisualSearchErrors, ThrowOnError>;
2932
4134
  /**
2933
4135
  * Semantic search
2934
4136
  *
2935
- * 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.
4137
+ * 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.
2936
4138
  */
2937
4139
  export declare const mediaSemanticSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSemanticSearchData, ThrowOnError>) => RequestResult<MediaSemanticSearchResponses, MediaSemanticSearchErrors, ThrowOnError>;
2938
4140
  /**
2939
4141
  * Semantic search alias
2940
4142
  *
2941
- * 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.
4143
+ * 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.
2942
4144
  */
2943
4145
  export declare const mediaSearch: <ThrowOnError extends boolean = false>(options: Options<MediaSearchData, ThrowOnError>) => RequestResult<MediaSearchResponses, MediaSearchErrors, ThrowOnError>;
2944
4146
  /**
2945
4147
  * List folders
2946
4148
  *
2947
- * undefined understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.
4149
+ * 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.
2948
4150
  */
2949
4151
  export declare const mediaListFolders: <ThrowOnError extends boolean = false>(options: Options<MediaListFoldersData, ThrowOnError>) => RequestResult<MediaListFoldersResponses, MediaListFoldersErrors, ThrowOnError>;
2950
4152
  /**
@@ -2956,7 +4158,7 @@ export declare const mediaCreateBatch: <ThrowOnError extends boolean = false>(op
2956
4158
  /**
2957
4159
  * Get batch
2958
4160
  *
2959
- * 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.
4161
+ * 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.
2960
4162
  */
2961
4163
  export declare const mediaGetBatch: <ThrowOnError extends boolean = false>(options: Options<MediaGetBatchData, ThrowOnError>) => RequestResult<MediaGetBatchResponses, MediaGetBatchErrors, ThrowOnError>;
2962
4164
  /**
@@ -2968,7 +4170,7 @@ export declare const mediaBatchAssets: <ThrowOnError extends boolean = false>(op
2968
4170
  /**
2969
4171
  * Get job
2970
4172
  *
2971
- * Read the current batch or video-generation Job status and progress. For generation, inspect outputs and failures, then save successful candidates before their preview and save window expires after 7 days.
4173
+ * Read a generation, edit or batch Job; poll it after every generation or edit until status is terminal, every few seconds (an image takes seconds, a video a few minutes; an edit of a video took about four). status: queued is waiting (queue_reason says why, queue_position its place in line; provider_queue means the model’s supplier holds the task in its own queue, which can take hours when it is busy — the job keeps waiting for as long as the supplier keeps the task, and only past the supplier’s own task lifetime fails with detail_code UPSTREAM_WAIT_EXCEEDED, uncharged); in_progress or running is generating; completed means every output succeeded; completed_with_errors means some did; failed means none did; canceled or cancelled means it was stopped. Read the result output by output. A succeeded entry of outputs[] has asset_id and viewer_url, because the output is already a library asset: give viewer_url to the person. Its seed is present only when the model reports one (Doubao Seedance 2.x neither takes nor reports a seed); where present, send it back as seed with an adjusted prompt to vary that take. A failed entry has its reason in the failures[] entry with the same index: code is the error to branch on, for example CONTENT_REJECTED when the model's moderation refused an input or the result (a real human face in a reference is one cause; change the prompt or the reference, because retrying unchanged fails again) or GENERATION_FAILED when the model call failed (retrying may succeed); detail_code is the model's finer reason and model_request_id the model call to trace. usage is what the job has cost so far and is final at a terminal status; failed and refused outputs are not charged, so usage counts succeeded outputs only, and it is absent when nothing was charged.
2972
4174
  */
2973
4175
  export declare const mediaGetJob: <ThrowOnError extends boolean = false>(options: Options<MediaGetJobData, ThrowOnError>) => RequestResult<MediaGetJobResponses, MediaGetJobErrors, ThrowOnError>;
2974
4176
  /**
@@ -2983,6 +4185,66 @@ export declare const mediaListEvents: <ThrowOnError extends boolean = false>(opt
2983
4185
  * 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.
2984
4186
  */
2985
4187
  export declare const mediaCreateDeliveryToken: <ThrowOnError extends boolean = false>(options: Options<MediaCreateDeliveryTokenData, ThrowOnError>) => RequestResult<MediaCreateDeliveryTokenResponses, MediaCreateDeliveryTokenErrors, ThrowOnError>;
4188
+ /**
4189
+ * Get default library
4190
+ *
4191
+ * 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.
4192
+ */
4193
+ export declare const mediaGetDefaultLibrary: <ThrowOnError extends boolean = false>(options?: Options<MediaGetDefaultLibraryData, ThrowOnError>) => RequestResult<MediaGetDefaultLibraryResponses, MediaGetDefaultLibraryErrors, ThrowOnError>;
4194
+ /**
4195
+ * Set default library
4196
+ *
4197
+ * 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.
4198
+ */
4199
+ export declare const mediaSetDefaultLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaSetDefaultLibraryData, ThrowOnError>) => RequestResult<MediaSetDefaultLibraryResponses, MediaSetDefaultLibraryErrors, ThrowOnError>;
4200
+ /**
4201
+ * Get asset lineage
4202
+ *
4203
+ * 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.
4204
+ */
4205
+ export declare const mediaGetAssetLineage: <ThrowOnError extends boolean = false>(options: Options<MediaGetAssetLineageData, ThrowOnError>) => RequestResult<MediaGetAssetLineageResponses, MediaGetAssetLineageErrors, ThrowOnError>;
4206
+ /**
4207
+ * Generate image
4208
+ *
4209
+ * Generate images into a library from a prompt, optionally guided by existing pictures. {library_id} also accepts default, the organization’s default library. prompt is required; n (1 to 10), size, background, output_format, output, references, seed, model, asset_folder and understanding are optional. Name size, not an aspect ratio. Set output to sticker for a cut-out with a transparent background. references attach pictures of the same library with a role: subject keeps a person, product or scene consistent (several subjects put several characters in one picture), edit_target is the picture to change, style is the look to follow, structure the composition. Only a model whose modes in GET /media/v1/generation/capabilities include image takes references; any other answers INVALID_PARAMS naming the models that do, and a role a model cannot honour answers REFERENCE_TYPE_MISMATCH, both before anything is charged. A reference may be an element id (a character, product, scene or brand from the materials endpoints), which expands into its pictures and appends its description to the prompt. To draw several candidates of one key frame, send n and keep the ones you want; delete the rest. Charges are per image at the model API prices and appear in the Job’s usage; a refused or failed image costs nothing. The response is 202 with a queued Job; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} for each output’s asset and viewer_url, give viewer_url to the person and tell them usage. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice.
4210
+ */
4211
+ export declare const mediaGenerateImage: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateImageData, ThrowOnError>) => RequestResult<MediaGenerateImageResponses, MediaGenerateImageErrors, ThrowOnError>;
4212
+ /**
4213
+ * Generate video
4214
+ *
4215
+ * Generate videos into a library: from a prompt, from frames, from reference pictures or videos, or by editing an existing video. {library_id} also accepts default, the organization’s default library. mode picks the anchor: text (prompt only); image (animates first_frame); first_last (between first_frame and last_frame); reference (1 to 9 references: pictures with role subject or style keep a person, product or look consistent, and video assets with role video give the camera and motion to follow; an element id expands into its pictures and description); edit (keeps the video named by source, at least 4 s, and changes what the prompt says, such as replacing its person with a subject picture; the output is as long as the source). Frames and references are assets of the same library; in the prompt call them @video1 and @image1, @image2… in request order. Read GET /media/v1/generation/capabilities first: a model takes only the modes it lists. To draw several takes of one shot and keep the best, send n (1 to 4); 480p is the cheapest way to compare takes. Charges are per output second at the model API prices and appear in the Job’s usage; a job with an input video is metered on input plus output seconds, so it costs more than the output length suggests (a 5 s edit of a 5 s source bills about 6 s); a refused or failed output costs nothing, and so does a request refused before the job starts. A real human face in a source or reference is refused by the model with CONTENT_REJECTED. Refused before any charge: output gif (OPERATION_NOT_SUPPORTED), negative_prompt, references outside reference and edit, and an unknown mode. The response is 202 with a queued Job; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} for each output’s asset and viewer_url, give viewer_url to the person and tell them usage. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice.
4216
+ */
4217
+ export declare const mediaGenerateVideo: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateVideoData, ThrowOnError>) => RequestResult<MediaGenerateVideoResponses, MediaGenerateVideoErrors, ThrowOnError>;
4218
+ /**
4219
+ * Edit asset
4220
+ *
4221
+ * Change an existing asset and store the result as a new asset; the source is never overwritten. {library_id} also accepts default, the organization’s default library. The body is operation (its type selects the edit and carries that edit’s own fields) plus optional model, asset_folder, understanding and idempotency_key. Edits by material: on an image, variations (near copies of a take you like), inpaint (mask, a PNG File id beginning with file-, whose transparent area is replaced by what prompt describes), erase, replace_object, recolor, replace_background, remove_background, upscale and talking_avatar (the portrait speaks a recording of the same library); on a video, upscale, reframe, redact, trim, mute, crop, extract_audio (pulls the sound out of a video as its own audio asset), erase (removes burned-in subtitles, captions and corner watermarks, found automatically or inside the boxes given), replace_person (puts the person of an image of the same library in place of the video’s person), lip_sync (re-syncs the lips to a recording of the same library), animate_person (an image of the same library performs the video’s motion), edit_video (the video changed by a one-line instruction, optionally guided by one image of the same library) and remove_background; on a recording or a video’s audio, enhance_voice; and to_video, frame and resynthesize on the material each takes. Any other type answers OPERATION_NOT_SUPPORTED, and an edit that does not fit the source’s material answers REFERENCE_TYPE_MISMATCH. Video and audio edits take their model from the platform catalogue (override with operation.model; extract_audio takes no model, it has exactly one function); an edit whose catalogue is empty answers OPERATION_NOT_SUPPORTED, 尚未上架. remove_background on a video makes a portrait matte: output mask is a small black-and-white video to use as a Cut track mask (the choice for compositing), output alpha (the default) a transparent ProRes 4444 file of about 870 MB per 15 s of 1080p, for when the transparent file itself is the deliverable; pick model from types.matting.models of the generation capabilities. output and model on an image source answer INVALID_PARAMS. The new asset records the source in derived_from; assets.lineage reads the whole edit chain. Charges are at the model API prices (video and audio edits per second of input) and appear in the Job’s usage; repeating the same edit of the same source answers the asset already made instead of paying again. The response is 202 with a queued Job whose source_asset_id is the edited asset; poll GET /media/v1/libraries/{library_id}/jobs/{job_id}, give the output’s viewer_url to the person and tell them usage.
4222
+ */
4223
+ export declare const mediaEditAsset: <ThrowOnError extends boolean = false>(options: Options<MediaEditAssetData, ThrowOnError>) => RequestResult<MediaEditAssetResponses, MediaEditAssetErrors, ThrowOnError>;
4224
+ /**
4225
+ * Create speech
4226
+ *
4227
+ * 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. tier chooses which speech model speaks, instead of naming one: economy is the cheapest and fastest, balanced the best value and quality the best result, and the tier picks among the models that carry the voice you name — a voice a model does not offer is never selected and then refused. model is the transition-window parameter and names the same choice, so send only one of the two; omitting both speaks with the library’s speech model, or by its default tier once the platform turns the media-tier-defaults switch on. 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.
4228
+ */
4229
+ export declare const mediaCreateSpeech: <ThrowOnError extends boolean = false>(options: Options<MediaCreateSpeechData, ThrowOnError>) => RequestResult<MediaCreateSpeechResponses, MediaCreateSpeechErrors, ThrowOnError>;
4230
+ /**
4231
+ * Create material
4232
+ *
4233
+ * 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"}]}}.
4234
+ */
4235
+ export declare const mediaCreateMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaCreateMaterialData, ThrowOnError>) => RequestResult<MediaCreateMaterialResponses, MediaCreateMaterialErrors, ThrowOnError>;
4236
+ /**
4237
+ * Get material
4238
+ *
4239
+ * 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.
4240
+ */
4241
+ export declare const mediaGetMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaGetMaterialData, ThrowOnError>) => RequestResult<MediaGetMaterialResponses, MediaGetMaterialErrors, ThrowOnError>;
4242
+ /**
4243
+ * Update material
4244
+ *
4245
+ * 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"}.
4246
+ */
4247
+ export declare const mediaUpdateMaterial: <ThrowOnError extends boolean = false>(options: Options<MediaUpdateMaterialData, ThrowOnError>) => RequestResult<MediaUpdateMaterialResponses, MediaUpdateMaterialErrors, ThrowOnError>;
2986
4248
  /**
2987
4249
  * Summarize understanding failures
2988
4250
  *
@@ -2995,36 +4257,54 @@ export declare const mediaUnderstandingFailureSummary: <ThrowOnError extends boo
2995
4257
  * 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.
2996
4258
  */
2997
4259
  export declare const mediaListUnderstandingsByLibrary: <ThrowOnError extends boolean = false>(options: Options<MediaListUnderstandingsByLibraryData, ThrowOnError>) => RequestResult<MediaListUnderstandingsByLibraryResponses, MediaListUnderstandingsByLibraryErrors, ThrowOnError>;
2998
- /**
2999
- * Create video generation
3000
- *
3001
- * Create a video.generate job. Generation is charged per second. The response is 202 with a queued Job; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until terminal, then save successful outputs. Unsaved candidate Files expire after 7 days.
3002
- */
3003
- export declare const mediaCreateGeneration: <ThrowOnError extends boolean = false>(options: Options<MediaCreateGenerationData, ThrowOnError>) => RequestResult<MediaCreateGenerationResponses, MediaCreateGenerationErrors, ThrowOnError>;
3004
4260
  /**
3005
4261
  * List jobs
3006
4262
  *
3007
- * List batch and video-generation jobs in a library. Filter by status and continue with next_cursor. Poll a generation Job until terminal, then save successful candidate outputs before they expire after 7 days.
4263
+ * List the batch and generation jobs of a library, newest first, to find a job whose id you lost or to watch several takes at once. Filter by status or by pipeline_run_id (the jobs one automation run started) and continue with next_cursor. Each entry is the same Job that GET /media/v1/libraries/{library_id}/jobs/{job_id} returns, with outputs, failures and usage.
3008
4264
  */
3009
4265
  export declare const mediaListJobs: <ThrowOnError extends boolean = false>(options: Options<MediaListJobsData, ThrowOnError>) => RequestResult<MediaListJobsResponses, MediaListJobsErrors, ThrowOnError>;
3010
4266
  /**
3011
4267
  * Cancel job
3012
4268
  *
3013
- * Cancel a queued or running generation job. Already completed outputs remain available to save; poll or read the returned Job to confirm its status.
4269
+ * Stop a generation job you no longer need, for example after the first takes of a draw show the prompt is wrong. Outputs that are queued are cancelled and never charged; outputs already produced stay in the library and stay charged. A video cannot be stopped once the provider has started generating it: the call answers 409 JOB_INVALID_STATE (details VIDEO_ALREADY_RUNNING), and that output still finishes, is saved to the library and is charged. Read the returned Job, or poll it, to see which outputs ended.
3014
4270
  */
3015
4271
  export declare const mediaCancelJob: <ThrowOnError extends boolean = false>(options: Options<MediaCancelJobData, ThrowOnError>) => RequestResult<MediaCancelJobResponses, MediaCancelJobErrors, ThrowOnError>;
3016
4272
  /**
3017
- * Save generation output
4273
+ * Get generation capabilities
3018
4274
  *
3019
- * Save a successful candidate as a library asset. Candidate outputs expire after 7 days; save before expiry. Generation is charged per second when the job runs, not when an output is saved.
4275
+ * 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.
3020
4276
  */
3021
- export declare const mediaSaveGenerationOutput: <ThrowOnError extends boolean = false>(options: Options<MediaSaveGenerationOutputData, ThrowOnError>) => RequestResult<MediaSaveGenerationOutputResponses, MediaSaveGenerationOutputErrors, ThrowOnError>;
4277
+ export declare const mediaGetGenerationCapabilities: <ThrowOnError extends boolean = false>(options?: Options<MediaGetGenerationCapabilitiesData, ThrowOnError>) => RequestResult<MediaGetGenerationCapabilitiesResponses, MediaGetGenerationCapabilitiesErrors, ThrowOnError>;
3022
4278
  /**
3023
- * Get generation capabilities
4279
+ * Align asset
3024
4280
  *
3025
- * Read supported text-to-video intent, default model, duration and aspect-ratio limits, per-library concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.
4281
+ * Align two recordings by their sound and learn how they line up, without producing an asset. The route names the source asset; the body names the reference to compare against it. Both must be audio or a video, of the same library; anything else is refused with REFERENCE_TYPE_MISMATCH before a job exists. The call is an analysis: it decides and charges nothing else, bills per second of input, and stores no asset — the completed job carries the answer in result, offset_seconds saying how many seconds later the reference starts (so a caller holding both recordings knows which one to slide) and confidence how sure the correlation is. The analysis is idempotent on the source, the reference and the parameters: asking again with the same pair answers the completed job and its result instead of analysing and charging again. A max_offset_seconds caps how far apart the two may be; alignment needs an alignment model from the platform model catalogue, and with none published the request is refused with OPERATION_NOT_SUPPORTED, 尚未上架. Send Idempotency-Key, or idempotency_key in the body, to retry without analysing twice. The response is 202 with a queued Job whose operation is align; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until it is completed or failed, then read result. Example: POST /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/align with {"reference_asset_id":"3f2a9c1e5b7d4e6f8a0b1c2d3e4f5a6b","max_offset_seconds":30}.
3026
4282
  */
3027
- export declare const mediaGetGenerationCapabilities: <ThrowOnError extends boolean = false>(options?: Options<MediaGetGenerationCapabilitiesData, ThrowOnError>) => RequestResult<MediaGetGenerationCapabilitiesResponses, MediaGetGenerationCapabilitiesErrors, ThrowOnError>;
4283
+ export declare const mediaAlignAsset: <ThrowOnError extends boolean = false>(options: Options<MediaAlignAssetData, ThrowOnError>) => RequestResult<MediaAlignAssetResponses, MediaAlignAssetErrors, ThrowOnError>;
4284
+ /**
4285
+ * Get HLS renditions
4286
+ *
4287
+ * Read how ready a video asset’s on-demand ladder is, rung by rung, without building anything. Use library_id and asset_id as everywhere else. The answer names the asset, its current version, the asset’s own facts (resource_type, is_audio and duration) and one entry per recorded rung — name, height, the first indexed piece’s width, the rung’s bitrate and stored bytes, and its state (processing while pieces run, ready when every piece is ready, failed when a piece gave up). A ladder that was never requested, and an asset that is not a video, answer an empty renditions rather than an error. This read mints no capability and signs nothing, so play the ladder through the content service, which issues the short-lived play address for the current version. Example: GET /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/hls.
4288
+ */
4289
+ export declare const mediaGetHlsRenditions: <ThrowOnError extends boolean = false>(options: Options<MediaGetHlsRenditionsData, ThrowOnError>) => RequestResult<MediaGetHlsRenditionsResponses, MediaGetHlsRenditionsErrors, ThrowOnError>;
4290
+ /**
4291
+ * Request HLS renditions
4292
+ *
4293
+ * Build a video asset’s adaptive HLS ladder for its current version, so one asset plays at several clarities on an ordinary player. Use library_id from creation or listing and the asset_id of a video asset; the ladder belongs to the version the asset has now, and a later version gets its own. heights names the rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats, or omitted to build all three. The ladder never upscales — a rung above the source’s short side is dropped, and a list entirely above it keeps its lowest rung. The call is asynchronous and starts paid transcoding: the work runs as the video-transcode-hls model, one piece per rung per ten minutes of source, and it is charged per output minute at that model’s published price to the organization that owns the asset (ADR-146 §5) — a rung the source cannot carry, and a failed rung, are not charged. A source longer than eight hours (28800 seconds) is refused with SOURCE_TOO_LONG before anything is planned. Repeating the call is safe: a rung already processing, ready or failed is left as it is and is never encoded twice. The response is 202 with the asset_id, its current version and one entry per rung — name, height, width, bitrate, bytes and state, where processing means the rung is still being encoded, ready means it plays and failed means it gave up and can be retried by asking again. Poll GET /media/v1/libraries/{library_id}/assets/{asset_id}/hls until every rung is ready, then play the ladder through the content service, which mints the short-lived play address. Example: POST /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/hls with {"heights":[480,720,1080]}.
4294
+ */
4295
+ export declare const mediaRequestHlsRenditions: <ThrowOnError extends boolean = false>(options: Options<MediaRequestHlsRenditionsData, ThrowOnError>) => RequestResult<MediaRequestHlsRenditionsResponses, MediaRequestHlsRenditionsErrors, ThrowOnError>;
4296
+ /**
4297
+ * Create voice
4298
+ *
4299
+ * Create a voice for this library. Send exactly one of the two shapes: consent_id with samples (a real person’s recordings, a consented voice, cloned before it can speak) or design_asset_id (a preview the voice-design run produced in this library, a generated voice). A generated voice is not cloned: it is ready when the call answers, its job already completed, and it speaks only through the speech model recorded on it, so speech naming another model is refused with INVALID_PARAMS. Each preview builds at most one voice, and building one gives back the design’s other previews, which then cannot be used. Sending both shapes, or neither, is refused with INVALID_PARAMS, and origin is written by the platform only. Answers 202 with a job.
4300
+ */
4301
+ export declare const mediaCreateVoice: <ThrowOnError extends boolean = false>(options: Options<MediaCreateVoiceData, ThrowOnError>) => RequestResult<MediaCreateVoiceResponses, MediaCreateVoiceErrors, ThrowOnError>;
4302
+ /**
4303
+ * Design a voice
4304
+ *
4305
+ * Design a voice from a text description. The model makes count preview recordings (default 3), each stored in this library as an audio asset; listen, then create a voice whose design_asset_id names the preview you chose. Send description (1 to 500 characters), preview_text (15 to 200 characters, the line each preview speaks), language (zh or en) and optionally count (1 to 3). A description that fails review fails the slot with CONTENT_REJECTED and is never retried, so changing the words is the fix. Answers 202 with a job to poll.
4306
+ */
4307
+ export declare const mediaDesignVoice: <ThrowOnError extends boolean = false>(options: Options<MediaDesignVoiceData, ThrowOnError>) => RequestResult<MediaDesignVoiceResponses, MediaDesignVoiceErrors, ThrowOnError>;
3028
4308
  /**
3029
4309
  * List types
3030
4310
  *
@@ -3052,7 +4332,7 @@ export declare const ontologyListNodes: <ThrowOnError extends boolean = false>(o
3052
4332
  /**
3053
4333
  * Create node
3054
4334
  *
3055
- * 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 — to give an agent something to remember, use POST /agent/v1/agents/{agent_id}/consolidations.
4335
+ * 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.
3056
4336
  */
3057
4337
  export declare const ontologyCreateNode: <ThrowOnError extends boolean = false>(options: Options<OntologyCreateNodeData, ThrowOnError>) => RequestResult<OntologyCreateNodeResponses, OntologyCreateNodeErrors, ThrowOnError>;
3058
4338
  /**
@@ -3067,6 +4347,12 @@ export declare const ontologyRetrieveNode: <ThrowOnError extends boolean = false
3067
4347
  * 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.
3068
4348
  */
3069
4349
  export declare const ontologyUpdateNode: <ThrowOnError extends boolean = false>(options: Options<OntologyUpdateNodeData, ThrowOnError>) => RequestResult<OntologyUpdateNodeResponses, OntologyUpdateNodeErrors, ThrowOnError>;
4350
+ /**
4351
+ * Retrieve neighborhood
4352
+ *
4353
+ * 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.
4354
+ */
4355
+ export declare const ontologyNeighborhood: <ThrowOnError extends boolean = false>(options: Options<OntologyNeighborhoodData, ThrowOnError>) => RequestResult<OntologyNeighborhoodResponses, OntologyNeighborhoodErrors, ThrowOnError>;
3070
4356
  /**
3071
4357
  * Merge node
3072
4358
  *
@@ -3082,7 +4368,7 @@ export declare const ontologyListRelations: <ThrowOnError extends boolean = fals
3082
4368
  /**
3083
4369
  * Create relation
3084
4370
  *
3085
- * 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 — to give an agent something to remember, use POST /agent/v1/agents/{agent_id}/consolidations.
4371
+ * 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.
3086
4372
  */
3087
4373
  export declare const ontologyCreateRelation: <ThrowOnError extends boolean = false>(options: Options<OntologyCreateRelationData, ThrowOnError>) => RequestResult<OntologyCreateRelationResponses, OntologyCreateRelationErrors, ThrowOnError>;
3088
4374
  /**
@@ -3106,9 +4392,171 @@ export declare const ontologyApplyChangeset: <ThrowOnError extends boolean = fal
3106
4392
  /**
3107
4393
  * Search nodes
3108
4394
  *
3109
- * 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 recall — agents recall through POST /agent/v1/agents/{agent_id}/consolidations.
4395
+ * 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.
3110
4396
  */
3111
4397
  export declare const ontologySearch: <ThrowOnError extends boolean = false>(options: Options<OntologySearchData, ThrowOnError>) => RequestResult<OntologySearchResponses, OntologySearchErrors, ThrowOnError>;
4398
+ /**
4399
+ * List repositories
4400
+ *
4401
+ * 列出这个组织现有的库,默认库也在其中。库很少,一页通常装得下;用 next_cursor 翻页。先在这里拿到 repository_id,再用它列出或发布包。
4402
+ */
4403
+ export declare const registryRepositoriesList: <ThrowOnError extends boolean = false>(options?: Options<RegistryRepositoriesListData, ThrowOnError>) => RequestResult<RegistryRepositoriesListResponses, RegistryRepositoriesListErrors, ThrowOnError>;
4404
+ /**
4405
+ * Create repository
4406
+ *
4407
+ * 新建一个库来分类存放包。name 是库的唯一标识,小写字母、数字和连字符,最多 63 个字符,且不能和已有的库重名;display_name 和 description 是给人看的。每个组织本来就有一个默认库,需要新分类时才建;一个库非空时不能删除,所以不要用库来临时隔离一次上传。format 默认 oci,库里放技能和插件;要放 git 仓库就传 format=git,建库后 format 不能改。git 库需要这个组织已开放 git 功能,否则返回 409。
4408
+ */
4409
+ export declare const registryRepositoriesCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesCreateData, ThrowOnError>) => RequestResult<RegistryRepositoriesCreateResponses, RegistryRepositoriesCreateErrors, ThrowOnError>;
4410
+ /**
4411
+ * Delete repository
4412
+ *
4413
+ * 删一个空的库。默认库不能删(FAILED_PRECONDITION);库里还有包时也不能删,先把包删掉或改用别的库。删除请求重发会 404,所以删除前先读一次确认。
4414
+ */
4415
+ export declare const registryRepositoriesDelete: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesDeleteData, ThrowOnError>) => RequestResult<RegistryRepositoriesDeleteResponses, RegistryRepositoriesDeleteErrors, ThrowOnError>;
4416
+ /**
4417
+ * Retrieve repository
4418
+ *
4419
+ * 读一个库的名称、说明、包数量和默认标记。repository_id 来自 repositories.list 或 repositories.create;另一个组织的库或不存在的库一律 404,不区分两者。
4420
+ */
4421
+ export declare const registryRepositoriesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesRetrieveData, ThrowOnError>) => RequestResult<RegistryRepositoriesRetrieveResponses, RegistryRepositoriesRetrieveErrors, ThrowOnError>;
4422
+ /**
4423
+ * Update repository
4424
+ *
4425
+ * 改库的 display_name 或 description。只送要改的字段,省略的保持原值;name 建库之后不能改,它标识库。一个字段都不送会 400。
4426
+ */
4427
+ export declare const registryRepositoriesUpdate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesUpdateData, ThrowOnError>) => RequestResult<RegistryRepositoriesUpdateResponses, RegistryRepositoriesUpdateErrors, ThrowOnError>;
4428
+ /**
4429
+ * List packages
4430
+ *
4431
+ * 列出一个库里的包,可按种类筛、按名字搜、按最近更新或下载量排序。kind=skill 只看技能,kind=plugin 只看插件,省略则两类都返回。q 在 name、title 和 description 上做子串匹配。sort 默认 updated;downloads 按累计下载量降序,用来找这个库最常用的资源。
4432
+ */
4433
+ export declare const registryRepositoriesPackagesList: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesPackagesListData, ThrowOnError>) => RequestResult<RegistryRepositoriesPackagesListResponses, RegistryRepositoriesPackagesListErrors, ThrowOnError>;
4434
+ /**
4435
+ * Create a package
4436
+ *
4437
+ * 在一个库里建新包,按库的 format 走两条路。git 库(format=git):Content-Type 用 application/json,请求体 {name, format:"git", default_branch?, description?, import?},建一个空的 git 仓库,或者用 import.url(公开 https 仓库)从现有仓库导入;成功返回的包带 clone_url、default_branch 和 protected_refs(默认只保护默认分支),接着调用 packages.git-credential 取推拉凭据;组织未开放 git 功能返回 409,往 oci 库里用 JSON 建包也是 409。oci 库(技能和插件):把一个新包发布进这个库,一次调用建立包并上传它的第一个版本,Content-Type 用 multipart/form-data。发布内容是 multipart:version 必填,archive 给一个 zip,或者 files 给一组文件(每个文件的 filename 是相对上传根的路径,例如 pdf/SKILL.md)。单个顶层目录会被剥掉。种类按根上有什么判:有 SKILL.md 就是 skill,有 .claude-plugin/plugin.json 就是 plugin;两者都没有、或都有,会被拒。名字从 SKILL.md 或 plugin.json 里读,不从路径或 query 猜。限额:上传 ≤25 MiB,解压后 ≤50 MiB,≤1000 个文件。版本必须是 semver 且严格递增;第一个版本可以是任意合法 semver,之后每个新版本都要比已发布的最高版本高。把已有智能体的技能搬过来时,先用 GET /agent/v1/skills/{id}/versions/{v}/content 导出 zip,再在这里作为 archive 发布。
4438
+ */
4439
+ export declare const registryRepositoriesPackagesCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesPackagesCreateData, ThrowOnError>) => RequestResult<RegistryRepositoriesPackagesCreateResponses, RegistryRepositoriesPackagesCreateErrors, ThrowOnError>;
4440
+ /**
4441
+ * Retrieve package
4442
+ *
4443
+ * 读一个包的元数据:种类、所属库、当前 latest_version、作者、标签和累计下载量。package_id 来自 packages.list 或 packages.create;另一个组织或不存在都返回 404。软删期间这个包一律 404,恢复后才重新出现。
4444
+ */
4445
+ export declare const registryPackagesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesRetrieveData, ThrowOnError>) => RequestResult<RegistryPackagesRetrieveResponses, RegistryPackagesRetrieveErrors, ThrowOnError>;
4446
+ /**
4447
+ * List versions
4448
+ *
4449
+ * 列出一个包的所有版本,含已撤回的。撤回的版本仍在列表里(它占着版本号),withdrawn 为 true,并带 withdraw_time。按发布顺序返回。
4450
+ */
4451
+ export declare const registryPackagesVersionsList: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsListData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsListResponses, RegistryPackagesVersionsListErrors, ThrowOnError>;
4452
+ /**
4453
+ * Publish a version
4454
+ *
4455
+ * 给一个已有的包发新版本。请求体与 packages.create 相同(multipart:version 必填,archive 或 files 给内容),但种类和名字沿用这个包,不再从上传内容重判。version 必须比已发布的最高版本高(撤回的版本也占号,不能复用);比它低或相等返回 FAILED_PRECONDITION。title、description、tags 不填就沿用这个包现在显示的,不会被新版本里 SKILL.md 或 plugin.json 的描述覆盖;要改就在这次请求里给。作者不随新版本改变。
4456
+ */
4457
+ export declare const registryPackagesVersionsCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsCreateData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsCreateResponses, RegistryPackagesVersionsCreateErrors, ThrowOnError>;
4458
+ /**
4459
+ * Create a git credential
4460
+ *
4461
+ * 给一个 git 包换一个短期的 git 凭据,用来 git clone / git push。access 选 pull(只读,用来克隆和拉取)或 push(推分支,同时可以克隆和拉取)。push-protected(更新受保护分支)暂不发放,请推到别的分支再合并,请求它返回 400。ttl_seconds 是有效秒数,1-3600,默认 3600;到期后重新调用本接口,不要缓存过期的凭据。返回的 password 是敏感信息,只出现这一次,不要写进日志或提交。用法:git clone https://x-access-token:$PASSWORD@host/git/组织/库/包.git,或把 url 里的地址配上 http.extraHeader。组织未开放 git 功能返回 409;另一个组织的包、已被删除的包和 oci 包都返回 404。同一个 package_id 可以多次取,每次是一个新凭据,互不影响。
4462
+ */
4463
+ export declare const registryPackagesGitCredentialCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesGitCredentialCreateData, ThrowOnError>) => RequestResult<RegistryPackagesGitCredentialCreateResponses, RegistryPackagesGitCredentialCreateErrors, ThrowOnError>;
4464
+ /**
4465
+ * List commits
4466
+ *
4467
+ * 列出一个 git 包的提交历史,最新的在前。ref 不给就是包的默认分支;limit 与 offset 分页,has_more 为 true 表示还有下一页。只读:提交只能通过 git 协议推送(clone 地址在包的 clone_url)。OCI 包没有 git 读接口,返回 404。
4468
+ */
4469
+ export declare const registryGitLog: <ThrowOnError extends boolean = false>(options: Options<RegistryGitLogData, ThrowOnError>) => RequestResult<RegistryGitLogResponses, RegistryGitLogErrors, ThrowOnError>;
4470
+ /**
4471
+ * Read a commit
4472
+ *
4473
+ * 按对象 id 读一个提交(完整 sha,不解析缩写)。返回提交信息、作者、提交时间与父提交;changed_files=true 时再返回它相对第一个父提交改了哪些文件(根提交的全部文件算新增),文件列表被上限截断时 changed_files_truncated 为 true。仓库里没有这个对象返回 404。
4474
+ */
4475
+ export declare const registryGitCommitsRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitCommitsRetrieveData, ThrowOnError>) => RequestResult<RegistryGitCommitsRetrieveResponses, RegistryGitCommitsRetrieveErrors, ThrowOnError>;
4476
+ /**
4477
+ * List a tree
4478
+ *
4479
+ * 读一个树对象(或一个提交的根树)的条目:名字、类型(blob / tree / commit)、模式、对象 id,以及已知时的大小。只列这一层,不递归。
4480
+ */
4481
+ export declare const registryGitTreesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitTreesRetrieveData, ThrowOnError>) => RequestResult<RegistryGitTreesRetrieveResponses, RegistryGitTreesRetrieveErrors, ThrowOnError>;
4482
+ /**
4483
+ * List branches and tags
4484
+ *
4485
+ * 列出一个 git 包的分支和标签,按名字排序;prefix 只取 refs/heads/(分支)或 refs/tags/(标签),不给就两者都列。page 从 1 起,size 1 到 500,默认 100;has_more 为 true 表示还有下一页。带注解的标签返回它指向的提交 id,不是标签对象的 id。想把一个名字换成提交 id 用 git/resolve,不要自己在这个列表里找。只读;OCI 包返回 404。
4486
+ */
4487
+ export declare const registryGitRefs: <ThrowOnError extends boolean = false>(options: Options<RegistryGitRefsData, ThrowOnError>) => RequestResult<RegistryGitRefsResponses, RegistryGitRefsErrors, ThrowOnError>;
4488
+ /**
4489
+ * Resolve a ref
4490
+ *
4491
+ * 把一个引用换成它指向的提交 id:ref 可以是分支名、标签名、refs/… 全名、HEAD 或完整对象 id(40 或 64 位十六进制,缩写不解析)。名字既是标签又是分支时取标签。完整对象 id 只在仓库里真有这个提交时才返回。仓库没有这个引用或提交返回 404(GIT_OBJECT_NOT_FOUND),不会返回空值。要比较两个引用用 git/compare。
4492
+ */
4493
+ export declare const registryGitResolve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitResolveData, ThrowOnError>) => RequestResult<RegistryGitResolveResponses, RegistryGitResolveErrors, ThrowOnError>;
4494
+ /**
4495
+ * Compare two refs
4496
+ *
4497
+ * 比较 base 与 head(引用名或完整对象 id):status 是 identical、ahead(head 在 base 之上有新提交)、behind(head 已包含在 base 里)或 diverged(两边各有提交);merge_base 是找到的最近共同祖先;files 是 head 相对 merge_base 改了哪些文件(added、modified、removed、renamed,renamed 带 previous_path),commits 是 head 比 base 多出的提交,最新的在前。Artifacts 无法低成本回答祖先关系,所以这里只沿两边的第一父链各走最多 300 个提交,并在有界读取下比对树:找不到共同祖先时返回 diverged、merge_base 为 null;files 被上限(3000 个文件、1000 次树读取)截断时 truncated 为 true;commits 被截断、或合并提交藏起了被合并分支上的提交时 commits_truncated 为 true。truncated 或 commits_truncated 为 true 时不要把列表当作完整结果。引用不存在返回 404。只读。
4498
+ */
4499
+ export declare const registryGitCompare: <ThrowOnError extends boolean = false>(options: Options<RegistryGitCompareData, ThrowOnError>) => RequestResult<RegistryGitCompareResponses, RegistryGitCompareErrors, ThrowOnError>;
4500
+ /**
4501
+ * List a tree recursively
4502
+ *
4503
+ * 读一个提交(或树对象)下的全部条目,递归,每个条目用相对根的完整路径命名,目录和子模块也是条目(子模块不展开)。适合要拿到整个仓库文件清单的场景(例如 DevOps 的构建判断);只想看一个目录用 git/trees/{sha}。相同的子树只读一次。条目上限 20000、树读取上限 1000 次,撞到上限时 truncated 为 true、entries 只是前一部分,不要当作全部。sha 通常来自 git/resolve。仓库里没有这个对象返回 404。只读。
4504
+ */
4505
+ export declare const registryGitTreesRecursive: <ThrowOnError extends boolean = false>(options: Options<RegistryGitTreesRecursiveData, ThrowOnError>) => RequestResult<RegistryGitTreesRecursiveResponses, RegistryGitTreesRecursiveErrors, ThrowOnError>;
4506
+ /**
4507
+ * Download a file from a ref
4508
+ *
4509
+ * 按引用读一个文件的原始字节,边读边发(流式),没有大小上限。path 是仓库内相对路径,可以含斜杠;ref 不给就是默认分支。路径不是文件或引用不存在返回 404。
4510
+ */
4511
+ export declare const registryGitFilesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitFilesRetrieveData, ThrowOnError>) => RequestResult<RegistryGitFilesRetrieveResponses, RegistryGitFilesRetrieveErrors, ThrowOnError>;
4512
+ /**
4513
+ * List version contents
4514
+ *
4515
+ * 列出一个版本解压后的文件清单(路径和大小),用来在不下载整个包的前提下看它包含什么。路径是相对包根的,例如 SKILL.md 或 plugin/skills/review.md。已撤回的版本仍可读清单。
4516
+ */
4517
+ export declare const registryPackagesVersionsContents: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsContentsData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsContentsResponses, RegistryPackagesVersionsContentsErrors, ThrowOnError>;
4518
+ /**
4519
+ * Download a file
4520
+ *
4521
+ * 下载一个版本里的单个文件,返回原始字节。path 是 contents 给出的路径,可以含斜杠(例如 plugin/skills/review.md)。用它按文件取内容,装到磁盘上时保留这个相对路径。不计入 downloads。
4522
+ */
4523
+ export declare const registryPackagesVersionsFilesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsFilesRetrieveData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsFilesRetrieveResponses, RegistryPackagesVersionsFilesRetrieveErrors, ThrowOnError>;
4524
+ /**
4525
+ * Download version archive
4526
+ *
4527
+ * 下载一个版本的完整 zip 归档,用来整包安装或转存。每次调用都计入这个包的 downloads,所以不要为了看内容而反复拉 archive——先读 contents,只取需要的文件用 files 下载。
4528
+ */
4529
+ export declare const registryPackagesVersionsArchive: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsArchiveData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsArchiveResponses, RegistryPackagesVersionsArchiveErrors, ThrowOnError>;
4530
+ /**
4531
+ * Withdraw a version
4532
+ *
4533
+ * 撤回一个版本。撤回后它不再是 latest、不能被新装;已经装好的照常可用。版本号仍被占着,不能再用它发新版本。已经撤回的版本再撤回会返回 FAILED_PRECONDITION。撤回是不可逆的:要重新提供这个版本,用更高的版本号重新发布。
4534
+ */
4535
+ export declare const registryPackagesVersionsWithdraw: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsWithdrawData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsWithdrawResponses, RegistryPackagesVersionsWithdrawErrors, ThrowOnError>;
4536
+ /**
4537
+ * List installations
4538
+ *
4539
+ * 列出这个包装在哪些智能体和电脑上。每次读取都会和目标那边对账,以目标现在的实际情况为准,所以每条记录的 state 是读取这一刻的结论:installed 表示目标上有它且版本与记录一致;drifted 表示目标上有它但版本不同,此时 version 显示目标上的版本;missing 表示目标上已经没有它(被人在智能体或电脑那边删掉了),记录仍保留,可以用 installations.delete 清掉,或用 installations.update 重新装回;unknown 表示这次问不到目标,不代表没装,稍后重读。withdrawn 表示这条记录的版本已被撤回。一次返回全部记录,没有分页,按创建时间排序。
4540
+ */
4541
+ export declare const registryPackagesInstallationsList: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesInstallationsListData, ThrowOnError>) => RequestResult<RegistryPackagesInstallationsListResponses, RegistryPackagesInstallationsListErrors, ThrowOnError>;
4542
+ /**
4543
+ * Install a package
4544
+ *
4545
+ * 把一个包装到目标上:技能装到智能体(agent_ids),插件装到电脑(computer_ids),一次最多 50 个目标;目标种类给错会被拒(400),包的种类可从 packages.retrieve 的 kind 得知。技能装的是具体版本,version 省略时装最新版,之后不会自动升级,要换版本用 installations.update。插件只能装库里的最新版本,version 若给了就必须等于最新版,否则 FAILED_PRECONDITION。撤回的版本不能新装。同一目标重复装同一个包不会报错,而是把它移到这个版本。技能被拒的情形:智能体上已有同名的另一个技能(名字冲突),或这个智能体已经有 20 个技能。各目标独立处理:只要有一个成功就返回 201,成功的在 data 里,失败的目标在 errors 里逐个列出 target_id、code 和 message,按消息修正后只对失败的目标重发;全部失败时不返回 201,而是按第一个失败返回错误状态。装到智能体或电脑上要求调用者本人有权限,权限不足会出现在该目标的 errors 里。
4546
+ */
4547
+ export declare const registryPackagesInstallationsCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesInstallationsCreateData, ThrowOnError>) => RequestResult<RegistryPackagesInstallationsCreateResponses, RegistryPackagesInstallationsCreateErrors, ThrowOnError>;
4548
+ /**
4549
+ * Update an installation
4550
+ *
4551
+ * 把一条安装记录换到另一个版本。技能可以换到任何未撤回的版本(升级或回退),version 省略时换到最新版;插件只能换到库里的最新版本,version 给了也必须等于最新版。撤回的版本不能换过去。对账为 missing 的记录用它可以重新装回去。同名冲突和 20 个技能上限的规则与安装时相同。
4552
+ */
4553
+ export declare const registryInstallationsUpdate: <ThrowOnError extends boolean = false>(options: Options<RegistryInstallationsUpdateData, ThrowOnError>) => RequestResult<RegistryInstallationsUpdateResponses, RegistryInstallationsUpdateErrors, ThrowOnError>;
4554
+ /**
4555
+ * Remove an installation
4556
+ *
4557
+ * 把包从目标上卸下来,并删掉这条安装记录:技能从智能体的技能列表里移除,插件从电脑上卸载。目标那边已经没有它时也算完成。包本身和它的版本不受影响,之后可以重新安装。记录删除后重发会 404,所以删除前先用 installations.list 确认。
4558
+ */
4559
+ export declare const registryInstallationsDelete: <ThrowOnError extends boolean = false>(options: Options<RegistryInstallationsDeleteData, ThrowOnError>) => RequestResult<RegistryInstallationsDeleteResponses, RegistryInstallationsDeleteErrors, ThrowOnError>;
3112
4560
  /**
3113
4561
  * List sandboxes (v2)
3114
4562
  *
@@ -3118,7 +4566,7 @@ export declare const getSandboxV1Sandboxes: <ThrowOnError extends boolean = fals
3118
4566
  /**
3119
4567
  * Create sandbox (v2)
3120
4568
  *
3121
- * Create a sandbox from the template. All system communication with the sandbox is secured.
4569
+ * 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. To keep results, declare outputs: [{ path }] on the own face (up to eight absolute paths, a directory or a file): when the sandbox ends for any reason except provider loss or a failed start, each path is packed as .tar.gz and stored in File, and the killed event of GET /sandbox/v1/events/sandboxes/{sandboxID} lists each fileId or the reason it was not kept. Paths not declared are not kept. The E2B face refuses outputs. On the own face an android phone accepts waitForReady: true, an own-face-only option: the create then waits until the phone program has connected (state running) or 55 seconds have passed since the request arrived (the vendor create itself takes about 48 s, so this is often not enough), and answers with the state it reached — a timeout is not an error; omit it (the default) and the create answers at once, before the phone connects, with state starting or booting, which you follow with the detail read or the act socket.
3122
4570
  */
3123
4571
  export declare const postSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesResponses, PostSandboxV1SandboxesErrors, ThrowOnError>;
3124
4572
  /**
@@ -3217,6 +4665,12 @@ export declare const putSandboxV1SandboxesBySandboxIdNetwork: <ThrowOnError exte
3217
4665
  * 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.
3218
4666
  */
3219
4667
  export declare const getSandboxV1SandboxesBySandboxIdLogs: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdLogsData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdLogsErrors, ThrowOnError>;
4668
+ /**
4669
+ * Get sandbox events
4670
+ *
4671
+ * 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.
4672
+ */
4673
+ export declare const getSandboxEvents: <ThrowOnError extends boolean = false>(options: Options<GetSandboxEventsData, ThrowOnError>) => RequestResult<GetSandboxEventsResponses, GetSandboxEventsErrors, ThrowOnError>;
3220
4674
  /**
3221
4675
  * Start template build (v2)
3222
4676
  *
@@ -3289,6 +4743,30 @@ export declare const searchCrawl: <ThrowOnError extends boolean = false>(options
3289
4743
  * Tavily Map traverses websites like a graph and can explore hundreds of paths in parallel with intelligent discovery to generate comprehensive site maps.
3290
4744
  */
3291
4745
  export declare const searchMap: <ThrowOnError extends boolean = false>(options: Options<SearchMapData, ThrowOnError>) => RequestResult<SearchMapResponses, SearchMapErrors, ThrowOnError>;
4746
+ /**
4747
+ * List shares
4748
+ *
4749
+ * Find the shares of this organization, newest first, for example every link that exposes one file before you decide which to revoke. Filter by resource_type, resource_id and status; filters combine with AND. Continue with next_page_token as page_token until next_page_token is null. Records never include link.web_url. A credential bound to specific files must pass resource_type and resource_id of a bound file, and an unbound file answers 404.
4750
+ */
4751
+ export declare const shareListPermissions: <ThrowOnError extends boolean = false>(options?: Options<ShareListPermissionsData, ThrowOnError>) => RequestResult<ShareListPermissionsResponses, ShareListPermissionsErrors, ThrowOnError>;
4752
+ /**
4753
+ * Create share
4754
+ *
4755
+ * Make one object readable by anyone holding a link, before sending the link to a person or embedding it. Name the object as resource {type, id} — a file id from the File API, a canvas id, a media asset's library_id/asset_id, or an agent id (agent_...) of a service agent whose owner turned share links on. The response is 201 and is the only time link.web_url is returned; store it, because later reads omit it and a lost address means creating another share (the old one keeps working until you delete it). Opening a file or media link signs a short-lived read address; opening a canvas link shows a snapshot rendered at that moment; opening an agent link starts a Hosted conversation with that agent as the visitor, so each browser keeps its own history. The link is anonymous, and for every type so far read-only. A type that cannot be shared answers 400 RESOURCE_TYPE_UNSUPPORTED; an agent whose share links are switched off answers 400 RESOURCE_NOT_SHAREABLE and its owner turns them on in the agent's embed settings (share_links), which also requires the agent to have a short number; an object that is missing or outside your organization answers 404 RESOURCE_NOT_FOUND.
4756
+ */
4757
+ export declare const shareCreatePermission: <ThrowOnError extends boolean = false>(options: Options<ShareCreatePermissionData, ThrowOnError>) => RequestResult<ShareCreatePermissionResponses, ShareCreatePermissionErrors, ThrowOnError>;
4758
+ /**
4759
+ * Delete share
4760
+ *
4761
+ * Take a link back so nobody can open it again. This revokes the share, the record stays readable with status revoked, and opening the link answers 410. Repeating the call on a revoked share is harmless and answers 204 again. Content addresses already signed when the link was opened expire on their own within five minutes. Take the id from shares.create or shares.list.
4762
+ */
4763
+ export declare const shareDeletePermission: <ThrowOnError extends boolean = false>(options: Options<ShareDeletePermissionData, ThrowOnError>) => RequestResult<ShareDeletePermissionResponses, ShareDeletePermissionErrors, ThrowOnError>;
4764
+ /**
4765
+ * Retrieve share
4766
+ *
4767
+ * Read one share to see whether its link is still active, when it expires, and how many times it was opened. Take the id from shares.create or shares.list. The record never includes link.web_url, because the address is shown once at creation. A share that does not exist or belongs to another organization answers 404 PERMISSION_NOT_FOUND.
4768
+ */
4769
+ export declare const shareRetrievePermission: <ThrowOnError extends boolean = false>(options: Options<ShareRetrievePermissionData, ThrowOnError>) => RequestResult<ShareRetrievePermissionResponses, ShareRetrievePermissionErrors, ThrowOnError>;
3292
4770
  /**
3293
4771
  * List the genres Studio can write
3294
4772
  *
@@ -3322,7 +4800,7 @@ export declare const studioWorksList: <ThrowOnError extends boolean = false>(opt
3322
4800
  /**
3323
4801
  * Create a work with its goal
3324
4802
  *
3325
- * 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, the one-sentence message and the constraints — and the original brief the person gave in their own words. 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.
4803
+ * 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.
3326
4804
  */
3327
4805
  export declare const studioWorksCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksCreateData, ThrowOnError>) => RequestResult<StudioWorksCreateResponses, StudioWorksCreateErrors, ThrowOnError>;
3328
4806
  /**
@@ -3343,12 +4821,6 @@ export declare const studioWorksGet: <ThrowOnError extends boolean = false>(opti
3343
4821
  * 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.
3344
4822
  */
3345
4823
  export declare const studioWorksUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksUpdateData, ThrowOnError>) => RequestResult<StudioWorksUpdateResponses, StudioWorksUpdateErrors, ThrowOnError>;
3346
- /**
3347
- * Add to or correct the original brief
3348
- *
3349
- * Extend the original brief: append text, attach files, add points taken from an outline, edit one point, or drop a point. 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 brief carries its own revision, separate from the work and from each draft.
3350
- */
3351
- export declare const studioWorksUpdateBrief: <ThrowOnError extends boolean = false>(options: Options<StudioWorksUpdateBriefData, ThrowOnError>) => RequestResult<StudioWorksUpdateBriefResponses, StudioWorksUpdateBriefErrors, ThrowOnError>;
3352
4824
  /**
3353
4825
  * List the drafts a work carries
3354
4826
  *
@@ -3373,12 +4845,54 @@ export declare const studioDraftsGet: <ThrowOnError extends boolean = false>(opt
3373
4845
  * 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.
3374
4846
  */
3375
4847
  export declare const studioDraftsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsUpdateData, ThrowOnError>) => RequestResult<StudioDraftsUpdateResponses, StudioDraftsUpdateErrors, ThrowOnError>;
4848
+ /**
4849
+ * Add to or correct a draft's brief
4850
+ *
4851
+ * 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.
4852
+ */
4853
+ export declare const studioDraftsUpdateBrief: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsUpdateBriefData, ThrowOnError>) => RequestResult<StudioDraftsUpdateBriefResponses, StudioDraftsUpdateBriefErrors, ThrowOnError>;
3376
4854
  /**
3377
4855
  * Read the whole unit outline as Markdown
3378
4856
  *
3379
4857
  * 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.
3380
4858
  */
3381
4859
  export declare const studioDraftsOutline: <ThrowOnError extends boolean = false>(options: Options<StudioDraftsOutlineData, ThrowOnError>) => RequestResult<StudioDraftsOutlineResponses, StudioDraftsOutlineErrors, ThrowOnError>;
4860
+ /**
4861
+ * List the foreshadows of a draft
4862
+ *
4863
+ * 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.
4864
+ */
4865
+ export declare const studioForeshadowsList: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsListData, ThrowOnError>) => RequestResult<StudioForeshadowsListResponses, StudioForeshadowsListErrors, ThrowOnError>;
4866
+ /**
4867
+ * Drop a foreshadow
4868
+ *
4869
+ * 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.
4870
+ */
4871
+ export declare const studioForeshadowsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsDeleteData, ThrowOnError>) => RequestResult<StudioForeshadowsDeleteResponses, StudioForeshadowsDeleteErrors, ThrowOnError>;
4872
+ /**
4873
+ * Plant or pay off a foreshadow
4874
+ *
4875
+ * 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.
4876
+ */
4877
+ export declare const studioForeshadowsUpsert: <ThrowOnError extends boolean = false>(options: Options<StudioForeshadowsUpsertData, ThrowOnError>) => RequestResult<StudioForeshadowsUpsertResponses, StudioForeshadowsUpsertErrors, ThrowOnError>;
4878
+ /**
4879
+ * List the setting changes of a work
4880
+ *
4881
+ * 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.
4882
+ */
4883
+ export declare const studioProgressionsList: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsListData, ThrowOnError>) => RequestResult<StudioProgressionsListResponses, StudioProgressionsListErrors, ThrowOnError>;
4884
+ /**
4885
+ * Record how a setting entry changes at a unit
4886
+ *
4887
+ * 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.
4888
+ */
4889
+ export declare const studioProgressionsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsCreateData, ThrowOnError>) => RequestResult<StudioProgressionsCreateResponses, StudioProgressionsCreateErrors, ThrowOnError>;
4890
+ /**
4891
+ * Delete a setting change
4892
+ *
4893
+ * Remove one recorded change, by the prg_ identifier the list returns; to correct a change, delete it and record the new one.
4894
+ */
4895
+ export declare const studioProgressionsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioProgressionsDeleteData, ThrowOnError>) => RequestResult<StudioProgressionsDeleteResponses, StudioProgressionsDeleteErrors, ThrowOnError>;
3382
4896
  /**
3383
4897
  * Read the computed todo list of a draft
3384
4898
  *
@@ -3454,13 +4968,13 @@ export declare const studioUnitsContext: <ThrowOnError extends boolean = false>(
3454
4968
  /**
3455
4969
  * List the reference libraries of this organization
3456
4970
  *
3457
- * 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. A library is shared across works, so the list is the whole organization's rather than one work's.
4971
+ * 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.
3458
4972
  */
3459
4973
  export declare const studioCodexesList: <ThrowOnError extends boolean = false>(options?: Options<StudioCodexesListData, ThrowOnError>) => RequestResult<StudioCodexesListResponses, StudioCodexesListErrors, ThrowOnError>;
3460
4974
  /**
3461
4975
  * Create a reference library
3462
4976
  *
3463
- * Create a reference library: a shared store of the people, places, products and facts a piece draws on, reusable across works. 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 is not private to one work, so the same brand facts can serve every piece that mentions them.
4977
+ * 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.
3464
4978
  */
3465
4979
  export declare const studioCodexesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioCodexesCreateData, ThrowOnError>) => RequestResult<StudioCodexesCreateResponses, StudioCodexesCreateErrors, ThrowOnError>;
3466
4980
  /**
@@ -3490,7 +5004,7 @@ export declare const studioEntriesList: <ThrowOnError extends boolean = false>(o
3490
5004
  /**
3491
5005
  * Add an entry to a reference library
3492
5006
  *
3493
- * 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 and facts that should reach a writer when it is mentioned. 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.
5007
+ * 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.
3494
5008
  */
3495
5009
  export declare const studioEntriesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesCreateData, ThrowOnError>) => RequestResult<StudioEntriesCreateResponses, StudioEntriesCreateErrors, ThrowOnError>;
3496
5010
  /**
@@ -3502,13 +5016,13 @@ export declare const studioEntriesDelete: <ThrowOnError extends boolean = false>
3502
5016
  /**
3503
5017
  * Read one reference entry
3504
5018
  *
3505
- * Read one entry in full: its description, its fact ledger, its relations to other entries, its detection settings and its images. 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.
5019
+ * 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.
3506
5020
  */
3507
5021
  export declare const studioEntriesGet: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesGetData, ThrowOnError>) => RequestResult<StudioEntriesGetResponses, StudioEntriesGetErrors, ThrowOnError>;
3508
5022
  /**
3509
5023
  * Change what a reference entry says
3510
5024
  *
3511
- * Change one entry: its type, its name, its aliases, its description, its facts, its notes, its tracking setting, its images 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.
5025
+ * 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.
3512
5026
  */
3513
5027
  export declare const studioEntriesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioEntriesUpdateData, ThrowOnError>) => RequestResult<StudioEntriesUpdateResponses, StudioEntriesUpdateErrors, ThrowOnError>;
3514
5028
  /**
@@ -3520,7 +5034,7 @@ export declare const studioStylesList: <ThrowOnError extends boolean = false>(op
3520
5034
  /**
3521
5035
  * Create a writing style
3522
5036
  *
3523
- * 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. Attach a style to a work, or to one draft of it, and its samples then reach every context pack.
5037
+ * 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.
3524
5038
  */
3525
5039
  export declare const studioStylesCreate: <ThrowOnError extends boolean = false>(options: Options<StudioStylesCreateData, ThrowOnError>) => RequestResult<StudioStylesCreateResponses, StudioStylesCreateErrors, ThrowOnError>;
3526
5040
  /**
@@ -3538,7 +5052,7 @@ export declare const studioStylesGet: <ThrowOnError extends boolean = false>(opt
3538
5052
  /**
3539
5053
  * Change a writing style
3540
5054
  *
3541
- * Change a style: its name, its description, its 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.
5055
+ * 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.
3542
5056
  */
3543
5057
  export declare const studioStylesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioStylesUpdateData, ThrowOnError>) => RequestResult<StudioStylesUpdateResponses, StudioStylesUpdateErrors, ThrowOnError>;
3544
5058
  /**
@@ -3568,7 +5082,7 @@ export declare const studioTemplatesGet: <ThrowOnError extends boolean = false>(
3568
5082
  /**
3569
5083
  * List the rendition themes of a platform
3570
5084
  *
3571
- * 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. 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.
5085
+ * 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.
3572
5086
  */
3573
5087
  export declare const studioThemesList: <ThrowOnError extends boolean = false>(options?: Options<StudioThemesListData, ThrowOnError>) => RequestResult<StudioThemesListResponses, StudioThemesListErrors, ThrowOnError>;
3574
5088
  /**
@@ -3595,6 +5109,114 @@ export declare const studioThemesGet: <ThrowOnError extends boolean = false>(opt
3595
5109
  * 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.
3596
5110
  */
3597
5111
  export declare const studioThemesUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioThemesUpdateData, ThrowOnError>) => RequestResult<StudioThemesUpdateResponses, StudioThemesUpdateErrors, ThrowOnError>;
5112
+ /**
5113
+ * Create a rendition of a draft for a platform
5114
+ *
5115
+ * 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.
5116
+ */
5117
+ export declare const studioRenditionsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsCreateData, ThrowOnError>) => RequestResult<StudioRenditionsCreateResponses, StudioRenditionsCreateErrors, ThrowOnError>;
5118
+ /**
5119
+ * List the renditions of a work
5120
+ *
5121
+ * 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.
5122
+ */
5123
+ export declare const studioRenditionsList: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsListData, ThrowOnError>) => RequestResult<StudioRenditionsListResponses, StudioRenditionsListErrors, ThrowOnError>;
5124
+ /**
5125
+ * Delete a rendition
5126
+ *
5127
+ * 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.
5128
+ */
5129
+ export declare const studioRenditionsDelete: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsDeleteData, ThrowOnError>) => RequestResult<StudioRenditionsDeleteResponses, StudioRenditionsDeleteErrors, ThrowOnError>;
5130
+ /**
5131
+ * Read one rendition
5132
+ *
5133
+ * 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.
5134
+ */
5135
+ export declare const studioRenditionsGet: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsGetData, ThrowOnError>) => RequestResult<StudioRenditionsGetResponses, StudioRenditionsGetErrors, ThrowOnError>;
5136
+ /**
5137
+ * Change the theme or settings of a rendition
5138
+ *
5139
+ * 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.
5140
+ */
5141
+ export declare const studioRenditionsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsUpdateData, ThrowOnError>) => RequestResult<StudioRenditionsUpdateResponses, StudioRenditionsUpdateErrors, ThrowOnError>;
5142
+ /**
5143
+ * Render a rendition again from the current draft
5144
+ *
5145
+ * 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.
5146
+ */
5147
+ export declare const studioRenditionsRender: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsRenderData, ThrowOnError>) => RequestResult<StudioRenditionsRenderResponses, StudioRenditionsRenderErrors, ThrowOnError>;
5148
+ /**
5149
+ * Export a rendition
5150
+ *
5151
+ * 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.
5152
+ */
5153
+ export declare const studioRenditionsPublish: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsPublishData, ThrowOnError>) => RequestResult<StudioRenditionsPublishResponses, StudioRenditionsPublishErrors, ThrowOnError>;
5154
+ /**
5155
+ * Get a download URL for a rendition file
5156
+ *
5157
+ * 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.
5158
+ */
5159
+ export declare const studioRenditionsContentUrl: <ThrowOnError extends boolean = false>(options: Options<StudioRenditionsContentUrlData, ThrowOnError>) => RequestResult<StudioRenditionsContentUrlResponses, StudioRenditionsContentUrlErrors, ThrowOnError>;
5160
+ /**
5161
+ * List the blind review rounds of a work
5162
+ *
5163
+ * 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.
5164
+ */
5165
+ export declare const studioWorksReviewsList: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsListData, ThrowOnError>) => RequestResult<StudioWorksReviewsListResponses, StudioWorksReviewsListErrors, ThrowOnError>;
5166
+ /**
5167
+ * Send a draft to blind review
5168
+ *
5169
+ * 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.
5170
+ */
5171
+ export declare const studioWorksReviewsCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsCreateData, ThrowOnError>) => RequestResult<StudioWorksReviewsCreateResponses, StudioWorksReviewsCreateErrors, ThrowOnError>;
5172
+ /**
5173
+ * Read one blind review round
5174
+ *
5175
+ * 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.
5176
+ */
5177
+ export declare const studioWorksReviewsRetrieve: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsRetrieveData, ThrowOnError>) => RequestResult<StudioWorksReviewsRetrieveResponses, StudioWorksReviewsRetrieveErrors, ThrowOnError>;
5178
+ /**
5179
+ * Cancel a running review round
5180
+ *
5181
+ * 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.
5182
+ */
5183
+ export declare const studioWorksReviewsCancel: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewsCancelData, ThrowOnError>) => RequestResult<StudioWorksReviewsCancelResponses, StudioWorksReviewsCancelErrors, ThrowOnError>;
5184
+ /**
5185
+ * Read the review settings of a work
5186
+ *
5187
+ * 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.
5188
+ */
5189
+ export declare const studioWorksReviewSettingsRetrieve: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewSettingsRetrieveData, ThrowOnError>) => RequestResult<StudioWorksReviewSettingsRetrieveResponses, StudioWorksReviewSettingsRetrieveErrors, ThrowOnError>;
5190
+ /**
5191
+ * Change how many rounds a work may take
5192
+ *
5193
+ * 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.
5194
+ */
5195
+ export declare const studioWorksReviewSettingsUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewSettingsUpdateData, ThrowOnError>) => RequestResult<StudioWorksReviewSettingsUpdateResponses, StudioWorksReviewSettingsUpdateErrors, ThrowOnError>;
5196
+ /**
5197
+ * List the reviewers of a work
5198
+ *
5199
+ * 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.
5200
+ */
5201
+ export declare const studioWorksReviewersList: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersListData, ThrowOnError>) => RequestResult<StudioWorksReviewersListResponses, StudioWorksReviewersListErrors, ThrowOnError>;
5202
+ /**
5203
+ * Add a reviewer to a work
5204
+ *
5205
+ * 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.
5206
+ */
5207
+ export declare const studioWorksReviewersCreate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersCreateData, ThrowOnError>) => RequestResult<StudioWorksReviewersCreateResponses, StudioWorksReviewersCreateErrors, ThrowOnError>;
5208
+ /**
5209
+ * Remove a reviewer from a work
5210
+ *
5211
+ * 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.
5212
+ */
5213
+ export declare const studioWorksReviewersDelete: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersDeleteData, ThrowOnError>) => RequestResult<StudioWorksReviewersDeleteResponses, StudioWorksReviewersDeleteErrors, ThrowOnError>;
5214
+ /**
5215
+ * Change a reviewer's kind
5216
+ *
5217
+ * 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.
5218
+ */
5219
+ export declare const studioWorksReviewersUpdate: <ThrowOnError extends boolean = false>(options: Options<StudioWorksReviewersUpdateData, ThrowOnError>) => RequestResult<StudioWorksReviewersUpdateResponses, StudioWorksReviewersUpdateErrors, ThrowOnError>;
3598
5220
  /**
3599
5221
  * List vaults
3600
5222
  *
@@ -3652,13 +5274,13 @@ export declare const vaultListSecrets: <ThrowOnError extends boolean = false>(op
3652
5274
  /**
3653
5275
  * Create secret
3654
5276
  *
3655
- * 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.
5277
+ * Store a manually supplied token in an active vault. Declare allowed_hosts (1–16 domains) to let the value be redeemed for those destinations; omit it to store an empty list, which name-based resolution still returns but no destination can redeem, and which a service agent's session environment never receives either way. MCP credential matching reads the same declarations, so a `*.` entry covers subdomains there too. Unlike Anthropic credentials, this native operation takes name and value 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.
3656
5278
  */
3657
5279
  export declare const vaultCreateSecret: <ThrowOnError extends boolean = false>(options: Options<VaultCreateSecretData, ThrowOnError>) => RequestResult<VaultCreateSecretResponses, VaultCreateSecretErrors, ThrowOnError>;
3658
5280
  /**
3659
5281
  * Import secrets
3660
5282
  *
3661
- * 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.
5283
+ * 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 get an empty host list, which name-based resolution still returns but no destination can redeem. Imported entries carry the same host rules as Create secret, and a service agent's session environment never receives a credential that declares hosts.
3662
5284
  */
3663
5285
  export declare const vaultImportSecrets: <ThrowOnError extends boolean = false>(options: Options<VaultImportSecretsData, ThrowOnError>) => RequestResult<VaultImportSecretsResponses, VaultImportSecretsErrors, ThrowOnError>;
3664
5286
  /**
@@ -3706,7 +5328,7 @@ export declare const vaultListTemplates: <ThrowOnError extends boolean = false>(
3706
5328
  /**
3707
5329
  * Create authorization
3708
5330
  *
3709
- * Connect an OAuth service to an active vault using either an OAuth template or a resource URL. Unlike Anthropic mcp_oauth credential creation, this flow obtains tokens through user consent rather than accepting an auth token bundle; compatible mcp_oauth creation and updates return 501. Open connect_url, then poll praxis.vault.authorizations.retrieve until completed, failed or expired; only completed supplies the resulting secret_id. This stores a credential but does not enable vault-backed MCP authentication in Agent sessions.
5331
+ * Connect an OAuth service to an active vault using either an OAuth template or a resource URL. Unlike Anthropic mcp_oauth credential creation, this flow obtains tokens through user consent rather than accepting an auth token bundle; compatible mcp_oauth creation and updates return 501. Open connect_url, then poll praxis.vault.authorizations.retrieve until completed, failed or expired; only completed supplies the resulting secret_id. The resulting oauth secret serves vault-backed MCP authentication — an Agent session or deployment whose vault_ids include this vault sends it to the MCP server whose URL equals this authorization's resource URL (normalized), and the platform refreshes the token once when that server answers 401.
3710
5332
  */
3711
5333
  export declare const vaultCreateAuthorization: <ThrowOnError extends boolean = false>(options: Options<VaultCreateAuthorizationData, ThrowOnError>) => RequestResult<VaultCreateAuthorizationResponses, VaultCreateAuthorizationErrors, ThrowOnError>;
3712
5334
  /**
@@ -3766,7 +5388,7 @@ export declare const ticketGetTickets: <ThrowOnError extends boolean = false>(op
3766
5388
  /**
3767
5389
  * Create or add tickets
3768
5390
  *
3769
- * 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.
5391
+ * 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.
3770
5392
  */
3771
5393
  export declare const ticketPostTickets: <ThrowOnError extends boolean = false>(options: Options<TicketPostTicketsData, ThrowOnError>) => RequestResult<TicketPostTicketsResponses, TicketPostTicketsErrors, ThrowOnError>;
3772
5394
  /**
@@ -3778,7 +5400,7 @@ export declare const ticketGetTicketsNumber: <ThrowOnError extends boolean = fal
3778
5400
  /**
3779
5401
  * Update tickets
3780
5402
  *
3781
- * 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.
5403
+ * 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.
3782
5404
  */
3783
5405
  export declare const ticketPatchTicketsNumber: <ThrowOnError extends boolean = false>(options: Options<TicketPatchTicketsNumberData, ThrowOnError>) => RequestResult<TicketPatchTicketsNumberResponses, TicketPatchTicketsNumberErrors, ThrowOnError>;
3784
5406
  /**
@@ -3802,7 +5424,7 @@ export declare const ticketGetTicketsNumberComments: <ThrowOnError extends boole
3802
5424
  /**
3803
5425
  * Create or add comments
3804
5426
  *
3805
- * 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.
5427
+ * 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.
3806
5428
  */
3807
5429
  export declare const ticketPostTicketsNumberComments: <ThrowOnError extends boolean = false>(options: Options<TicketPostTicketsNumberCommentsData, ThrowOnError>) => RequestResult<TicketPostTicketsNumberCommentsResponses, TicketPostTicketsNumberCommentsErrors, ThrowOnError>;
3808
5430
  /**
@@ -3820,7 +5442,7 @@ export declare const ticketGetCommentsId: <ThrowOnError extends boolean = false>
3820
5442
  /**
3821
5443
  * Update comments
3822
5444
  *
3823
- * 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.
5445
+ * 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.
3824
5446
  */
3825
5447
  export declare const ticketPatchCommentsId: <ThrowOnError extends boolean = false>(options: Options<TicketPatchCommentsIdData, ThrowOnError>) => RequestResult<TicketPatchCommentsIdResponses, TicketPatchCommentsIdErrors, ThrowOnError>;
3826
5448
  /**
@@ -3997,3 +5619,9 @@ export declare const ticketGetActivity: <ThrowOnError extends boolean = false>(o
3997
5619
  * 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.
3998
5620
  */
3999
5621
  export declare const ticketGetRepositories: <ThrowOnError extends boolean = false>(options?: Options<TicketGetRepositoriesData, ThrowOnError>) => RequestResult<TicketGetRepositoriesResponses, TicketGetRepositoriesErrors, ThrowOnError>;
5622
+ /**
5623
+ * Update repositories
5624
+ *
5625
+ * 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.
5626
+ */
5627
+ export declare const ticketPatchRepositoriesId: <ThrowOnError extends boolean = false>(options: Options<TicketPatchRepositoriesIdData, ThrowOnError>) => RequestResult<TicketPatchRepositoriesIdResponses, TicketPatchRepositoriesIdErrors, ThrowOnError>;