@deepraxis/sdk 0.1.1-dev.ff9de03 → 0.2.0-dev.053bf41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/METHODS.md +730 -113
  2. package/README.md +5 -4
  3. package/dist/core/binary-operations.d.ts +3 -0
  4. package/dist/core/binary-operations.js +14 -0
  5. package/dist/core/credentials.d.ts +16 -6
  6. package/dist/core/credentials.js +24 -5
  7. package/dist/core/deprecation.d.ts +11 -0
  8. package/dist/core/deprecation.js +20 -0
  9. package/dist/core/retry.js +2 -0
  10. package/dist/core/transport.d.ts +4 -0
  11. package/dist/core/transport.js +26 -7
  12. package/dist/generated/binary-operations.gen.d.ts +3 -0
  13. package/dist/generated/binary-operations.gen.js +14 -0
  14. package/dist/generated/index.d.ts +2 -2
  15. package/dist/generated/index.js +1 -1
  16. package/dist/generated/sdk.gen.d.ts +1487 -315
  17. package/dist/generated/sdk.gen.js +6679 -3498
  18. package/dist/generated/types.gen.d.ts +73873 -50909
  19. package/dist/helpers/application-publish.js +16 -2
  20. package/dist/helpers/browser-actions.d.ts +2 -0
  21. package/dist/helpers/browser-actions.js +5 -1
  22. package/dist/helpers/browser-connect-error.d.ts +34 -0
  23. package/dist/helpers/browser-connect-error.js +85 -0
  24. package/dist/helpers/browser-connect.d.ts +3 -1
  25. package/dist/helpers/browser-connect.js +49 -44
  26. package/dist/helpers/browser-decisions.d.ts +16 -0
  27. package/dist/helpers/browser-decisions.js +16 -0
  28. package/dist/helpers/browser-documentation.d.ts +1 -1
  29. package/dist/helpers/browser-documentation.js +15 -2
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.js +2 -0
  32. package/dist/operations.generated.d.ts +1 -0
  33. package/dist/operations.generated.js +19102 -12752
  34. package/dist/resources.generated.d.ts +2939 -344
  35. package/dist/resources.generated.js +636 -121
  36. package/package.json +1 -1
@@ -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, AlignOrganizationObjectiveData, AlignOrganizationObjectiveErrors, AlignOrganizationObjectiveResponses, AmendOrganizationDepartmentCharterData, AmendOrganizationDepartmentCharterErrors, AmendOrganizationDepartmentCharterResponses, ApplicationCreateAssetUploadSessionData, ApplicationCreateAssetUploadSessionErrors, ApplicationCreateAssetUploadSessionResponses, ApplicationCreateDeploymentData, ApplicationCreateDeploymentErrors, ApplicationCreateDeploymentResponses, ApplicationCreateGrantData, ApplicationCreateGrantErrors, ApplicationCreateGrantResponses, ApplicationCreateVersionData, ApplicationCreateVersionErrors, ApplicationCreateVersionResponses, ApplicationCreateWorkerData, ApplicationCreateWorkerErrors, ApplicationCreateWorkerResponses, ApplicationDeleteGrantData, ApplicationDeleteGrantErrors, ApplicationDeleteGrantResponses, ApplicationDeleteSecretData, ApplicationDeleteSecretErrors, ApplicationDeleteSecretResponses, ApplicationDeleteWorkerData, ApplicationDeleteWorkerErrors, ApplicationDeleteWorkerResponses, ApplicationGetDeploymentData, ApplicationGetDeploymentErrors, ApplicationGetDeploymentResponses, ApplicationGetSubdomainData, ApplicationGetSubdomainErrors, ApplicationGetSubdomainResponses, ApplicationGetVersionAssetManifestData, ApplicationGetVersionAssetManifestErrors, ApplicationGetVersionAssetManifestResponses, ApplicationGetVersionData, ApplicationGetVersionErrors, ApplicationGetVersionResponses, ApplicationGetWorkerData, ApplicationGetWorkerErrors, ApplicationGetWorkerResponses, ApplicationListComponentsData, ApplicationListComponentsErrors, ApplicationListComponentsResponses, ApplicationListDeploymentsData, ApplicationListDeploymentsErrors, ApplicationListDeploymentsResponses, ApplicationListEventsData, ApplicationListEventsErrors, ApplicationListEventsResponses, ApplicationListGrantsData, ApplicationListGrantsErrors, ApplicationListGrantsResponses, ApplicationListSecretsData, ApplicationListSecretsErrors, ApplicationListSecretsResponses, ApplicationListVersionsData, ApplicationListVersionsErrors, ApplicationListVersionsResponses, ApplicationListWorkersData, ApplicationListWorkersErrors, ApplicationListWorkersResponses, ApplicationPutSecretData, ApplicationPutSecretErrors, ApplicationPutSecretResponses, ApplicationPutSubdomainData, ApplicationPutSubdomainErrors, ApplicationPutSubdomainResponses, ApplicationRestoreWorkerData, ApplicationRestoreWorkerErrors, ApplicationRestoreWorkerResponses, ApplicationUpdateWorkerData, ApplicationUpdateWorkerErrors, ApplicationUpdateWorkerResponses, ApplicationUploadAssetsData, ApplicationUploadAssetsErrors, ApplicationUploadAssetsResponses, ApplyAgentVersionData, ApplyAgentVersionErrors, ApplyAgentVersionResponses, AssignTemplateTagsData, AssignTemplateTagsErrors, AssignTemplateTagsResponses, AutomationActionsArchiveData, AutomationActionsArchiveErrors, AutomationActionsArchiveResponses, AutomationActionsCreateData, AutomationActionsCreateErrors, AutomationActionsCreateResponses, AutomationActionsDependentsData, AutomationActionsDependentsErrors, AutomationActionsDependentsResponses, AutomationActionsGetData, AutomationActionsGetErrors, AutomationActionsGetResponses, AutomationActionsInvocationsData, AutomationActionsInvocationsErrors, AutomationActionsInvocationsResponses, AutomationActionsListData, AutomationActionsListErrors, AutomationActionsListResponses, AutomationActionsRestoreData, AutomationActionsRestoreErrors, AutomationActionsRestoreResponses, AutomationActionsRevisionData, AutomationActionsRevisionErrors, AutomationActionsRevisionResponses, AutomationActionsRevisionsData, AutomationActionsRevisionsErrors, AutomationActionsRevisionsResponses, AutomationActionsRollbackData, AutomationActionsRollbackErrors, AutomationActionsRollbackResponses, AutomationActionsUpdateData, AutomationActionsUpdateErrors, AutomationActionsUpdateResponses, AutomationHooksReceiveData, AutomationHooksReceiveErrors, AutomationHooksReceiveResponses, AutomationHumanTasksCancelData, AutomationHumanTasksCancelErrors, AutomationHumanTasksCancelResponses, AutomationHumanTasksDelegateData, AutomationHumanTasksDelegateErrors, AutomationHumanTasksDelegateResponses, AutomationHumanTasksGetData, AutomationHumanTasksGetErrors, AutomationHumanTasksGetResponses, AutomationHumanTasksListData, AutomationHumanTasksListErrors, AutomationHumanTasksListResponses, AutomationHumanTasksRespondData, AutomationHumanTasksRespondErrors, AutomationHumanTasksRespondResponses, AutomationResolveResolveData, AutomationResolveResolveErrors, AutomationResolveResolveResponses, AutomationRunsArtifactsData, AutomationRunsArtifactsErrors, AutomationRunsArtifactsResponses, AutomationRunsCallsData, AutomationRunsCallsErrors, AutomationRunsCallsResponses, AutomationRunsCancelData, AutomationRunsCancelErrors, AutomationRunsCancelResponses, AutomationRunsCompleteWaitData, AutomationRunsCompleteWaitErrors, AutomationRunsCompleteWaitResponses, AutomationRunsCreateData, AutomationRunsCreateErrors, AutomationRunsCreateResponses, AutomationRunsEventsData, AutomationRunsEventsErrors, AutomationRunsEventsResponses, AutomationRunsGetData, AutomationRunsGetErrors, AutomationRunsGetResponses, AutomationRunsListData, AutomationRunsListErrors, AutomationRunsListResponses, AutomationRunsLogsData, AutomationRunsLogsErrors, AutomationRunsLogsResponses, AutomationRunsRerunData, AutomationRunsRerunErrors, AutomationRunsRerunResponses, AutomationRunsResumeData, AutomationRunsResumeErrors, AutomationRunsResumeResponses, AutomationRunsSourceData, AutomationRunsSourceErrors, AutomationRunsSourceResponses, AutomationRunsSuspendData, AutomationRunsSuspendErrors, AutomationRunsSuspendResponses, AutomationRunsTasksData, AutomationRunsTasksErrors, AutomationRunsTasksResponses, AutomationRunsWaitsData, AutomationRunsWaitsErrors, AutomationRunsWaitsResponses, AutomationScriptsArchiveData, AutomationScriptsArchiveErrors, AutomationScriptsArchiveResponses, AutomationScriptsCreateData, AutomationScriptsCreateErrors, AutomationScriptsCreateResponses, AutomationScriptsDeleteDistTagData, AutomationScriptsDeleteDistTagErrors, AutomationScriptsDeleteDistTagResponses, AutomationScriptsDeprecateData, AutomationScriptsDeprecateErrors, AutomationScriptsDeprecateResponses, AutomationScriptsDistTagsData, AutomationScriptsDistTagsErrors, AutomationScriptsDistTagsResponses, AutomationScriptsGetData, AutomationScriptsGetErrors, AutomationScriptsGetResponses, AutomationScriptsListData, AutomationScriptsListErrors, AutomationScriptsListResponses, AutomationScriptsPatchData, AutomationScriptsPatchErrors, AutomationScriptsPatchResponses, AutomationScriptsPublishData, AutomationScriptsPublishErrors, AutomationScriptsPublishResponses, AutomationScriptsRestoreData, AutomationScriptsRestoreErrors, AutomationScriptsRestoreResponses, AutomationScriptsSetDistTagData, AutomationScriptsSetDistTagErrors, AutomationScriptsSetDistTagResponses, AutomationScriptsVaultsDeleteData, AutomationScriptsVaultsDeleteErrors, AutomationScriptsVaultsDeleteResponses, AutomationScriptsVaultsListData, AutomationScriptsVaultsListErrors, AutomationScriptsVaultsListResponses, AutomationScriptsVaultsSetData, AutomationScriptsVaultsSetErrors, AutomationScriptsVaultsSetResponses, AutomationScriptsVersionData, AutomationScriptsVersionErrors, AutomationScriptsVersionResponses, AutomationScriptsVersionsData, AutomationScriptsVersionsErrors, AutomationScriptsVersionsResponses, AutomationTargetsTargetsData, AutomationTargetsTargetsErrors, AutomationTargetsTargetsResponses, AutomationTriggersCreateData, AutomationTriggersCreateErrors, AutomationTriggersCreateResponses, AutomationTriggersDeleteData, AutomationTriggersDeleteErrors, AutomationTriggersDeleteResponses, AutomationTriggersFireData, AutomationTriggersFireErrors, AutomationTriggersFireResponses, AutomationTriggersFiringsData, AutomationTriggersFiringsErrors, AutomationTriggersFiringsResponses, AutomationTriggersGetData, AutomationTriggersGetErrors, AutomationTriggersGetResponses, AutomationTriggersListData, AutomationTriggersListErrors, AutomationTriggersListResponses, AutomationTriggersPatchData, AutomationTriggersPatchErrors, AutomationTriggersPatchResponses, AutomationTriggersPauseData, AutomationTriggersPauseErrors, AutomationTriggersPauseResponses, AutomationTriggersPreviewData, AutomationTriggersPreviewErrors, AutomationTriggersPreviewResponses, AutomationTriggersResumeData, AutomationTriggersResumeErrors, AutomationTriggersResumeResponses, AutomationTriggersRotateWebhookData, AutomationTriggersRotateWebhookErrors, AutomationTriggersRotateWebhookResponses, AutomationValidateValidateData, AutomationValidateValidateErrors, AutomationValidateValidateResponses, AutomationWorkflowsArchiveData, AutomationWorkflowsArchiveErrors, AutomationWorkflowsArchiveResponses, AutomationWorkflowsCreateData, AutomationWorkflowsCreateErrors, AutomationWorkflowsCreateResponses, AutomationWorkflowsDeleteDistTagData, AutomationWorkflowsDeleteDistTagErrors, AutomationWorkflowsDeleteDistTagResponses, AutomationWorkflowsDeprecateData, AutomationWorkflowsDeprecateErrors, AutomationWorkflowsDeprecateResponses, AutomationWorkflowsDistTagsData, AutomationWorkflowsDistTagsErrors, AutomationWorkflowsDistTagsResponses, AutomationWorkflowsGetData, AutomationWorkflowsGetErrors, AutomationWorkflowsGetResponses, AutomationWorkflowsListData, AutomationWorkflowsListErrors, AutomationWorkflowsListResponses, AutomationWorkflowsPatchData, AutomationWorkflowsPatchErrors, AutomationWorkflowsPatchResponses, AutomationWorkflowsPublishData, AutomationWorkflowsPublishErrors, AutomationWorkflowsPublishResponses, AutomationWorkflowsRestoreData, AutomationWorkflowsRestoreErrors, AutomationWorkflowsRestoreResponses, AutomationWorkflowsSetDistTagData, AutomationWorkflowsSetDistTagErrors, AutomationWorkflowsSetDistTagResponses, AutomationWorkflowsVaultsDeleteData, AutomationWorkflowsVaultsDeleteErrors, AutomationWorkflowsVaultsDeleteResponses, AutomationWorkflowsVaultsListData, AutomationWorkflowsVaultsListErrors, AutomationWorkflowsVaultsListResponses, AutomationWorkflowsVaultsSetData, AutomationWorkflowsVaultsSetErrors, AutomationWorkflowsVaultsSetResponses, AutomationWorkflowsVersionData, AutomationWorkflowsVersionErrors, AutomationWorkflowsVersionResponses, AutomationWorkflowsVersionsData, AutomationWorkflowsVersionsErrors, AutomationWorkflowsVersionsResponses, BlockCustomerData, BlockCustomerErrors, BlockCustomerResponses, BrowserCloseSessionData, BrowserCloseSessionErrors, BrowserCloseSessionResponses, BrowserCompleteHandoffData, BrowserCompleteHandoffErrors, BrowserCompleteHandoffResponses, BrowserConnectData, BrowserConnectErrors, BrowserCreateContextData, BrowserCreateContextErrors, BrowserCreateContextResponses, BrowserCreateSessionData, BrowserCreateSessionErrors, BrowserCreateSessionResponses, BrowserDeleteContextData, BrowserDeleteContextErrors, BrowserDeleteContextResponses, BrowserGetContextData, BrowserGetContextErrors, BrowserGetContextResponses, BrowserGetDebugData, BrowserGetDebugErrors, BrowserGetDebugResponses, BrowserGetSessionData, BrowserGetSessionErrors, BrowserGetSessionFrameData, BrowserGetSessionFrameErrors, BrowserGetSessionFrameResponses, BrowserGetSessionResponses, BrowserListContextsData, BrowserListContextsErrors, BrowserListContextsResponses, BrowserListEventsData, BrowserListEventsErrors, BrowserListEventsResponses, BrowserListSessionsData, BrowserListSessionsErrors, BrowserListSessionsResponses, BrowserLiveViewData, BrowserLiveViewErrors, BrowserRequestHandoffData, BrowserRequestHandoffErrors, BrowserRequestHandoffResponses, BrowserRunPageActionData, BrowserRunPageActionErrors, BrowserRunPageActionResponses, BrowserSeleniumUnsupportedData, BrowserSeleniumUnsupportedErrors, BrowserStreamSessionData, BrowserStreamSessionFramesData, BrowserStreamSessionFramesResponse, BrowserStreamSessionFramesResponses, BrowserStreamSessionResponse, BrowserStreamSessionResponses, BrowserUpdateContextData, BrowserUpdateContextErrors, BrowserUpdateContextResponses, BrowserViewerHeartbeatData, BrowserViewerHeartbeatErrors, BrowserViewerHeartbeatResponses, CancelResponseData, CancelResponseErrors, CancelResponseResponses, CanvasCreateCanvasData, CanvasCreateCanvasErrors, CanvasCreateCanvasResponses, CanvasCreateCollectionData, CanvasCreateCollectionErrors, CanvasCreateCollectionResponses, CanvasDeleteCanvasData, CanvasDeleteCanvasErrors, CanvasDeleteCanvasResponses, CanvasDeleteCollectionData, CanvasDeleteCollectionErrors, CanvasDeleteCollectionResponses, CanvasExecuteData, CanvasExecuteErrors, CanvasExecuteResponses, CanvasListCanvasesData, CanvasListCanvasesErrors, CanvasListCanvasesResponses, CanvasListCollectionsData, CanvasListCollectionsErrors, CanvasListCollectionsResponses, CanvasListImagesData, CanvasListImagesErrors, CanvasListImagesResponses, CanvasListNodesData, CanvasListNodesErrors, CanvasListNodesResponses, CanvasListVersionsData, CanvasListVersionsErrors, CanvasListVersionsResponses, CanvasRestoreCanvasData, CanvasRestoreCanvasErrors, CanvasRestoreCanvasResponses, CanvasRetrieveCanvasData, CanvasRetrieveCanvasErrors, CanvasRetrieveCanvasResponses, CanvasRetrieveCollectionData, CanvasRetrieveCollectionErrors, CanvasRetrieveCollectionResponses, CanvasUpdateCanvasData, CanvasUpdateCanvasErrors, CanvasUpdateCanvasResponses, CanvasUpdateCollectionData, CanvasUpdateCollectionErrors, CanvasUpdateCollectionResponses, CloseOrganizationPeriodData, CloseOrganizationPeriodErrors, CloseOrganizationPeriodResponses, CloseOrganizationPositionData, CloseOrganizationPositionErrors, CloseOrganizationPositionResponses, CompactResponseData, CompactResponseErrors, CompactResponseResponses, CompactSessionData, CompactSessionErrors, CompactSessionResponses, ComputersArchiveData, ComputersArchiveErrors, ComputersArchiveResponses, ComputersAttachmentsCreateData, ComputersAttachmentsCreateErrors, ComputersAttachmentsCreateResponses, ComputersCreateData, ComputersCreateErrors, ComputersCreateResponses, ComputersDeleteData, ComputersDeleteErrors, ComputersDeleteResponses, ComputersFilesContentData, ComputersFilesContentErrors, ComputersFilesContentResponses, ComputersFilesConvertData, ComputersFilesConvertErrors, ComputersFilesConvertResponses, ComputersFilesListData, ComputersFilesListErrors, ComputersFilesListResponses, ComputersListData, ComputersListErrors, ComputersListResponses, ComputersRetrieveData, ComputersRetrieveErrors, ComputersRetrieveResponses, ComputersUpdateData, ComputersUpdateErrors, ComputersUpdateResponses, ConnectComputerData, ConnectComputerErrors, ConnectComputerResponses, CountResponseInputTokensData, CountResponseInputTokensErrors, CountResponseInputTokensResponses, CountTokensData, CountTokensErrors, CountTokensResponses, CreateAgentConsolidationData, CreateAgentConsolidationErrors, CreateAgentConsolidationResponses, CreateAudioSpeechData, CreateAudioSpeechErrors, CreateAudioSpeechResponses, CreateAudioTranscriptionData, CreateAudioTranscriptionErrors, CreateAudioTranscriptionResponses, CreateChatCompletionData, CreateChatCompletionErrors, CreateChatCompletionResponses, CreateConversationData, CreateConversationItemsData, CreateConversationItemsErrors, CreateConversationItemsResponses, CreateConversationResponses, CreateCustomerAccessTokenData, CreateCustomerAccessTokenErrors, CreateCustomerAccessTokenResponses, CreateCustomerGrantCodeData, CreateCustomerGrantCodeErrors, CreateCustomerGrantCodeResponses, CreateEmbeddingData, CreateEmbeddingErrors, CreateEmbeddingResponses, CreateImageData, CreateImageErrors, CreateImageResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOcrData, CreateOcrErrors, CreateOcrResponses, CreateOrganizationFeedbackData, CreateOrganizationFeedbackErrors, CreateOrganizationFeedbackMessageData, CreateOrganizationFeedbackMessageErrors, CreateOrganizationFeedbackMessageResponses, CreateOrganizationFeedbackResponses, CreateResponseData, CreateResponseErrors, CreateResponseResponses, 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, CutCancelExportData, CutCancelExportErrors, CutCancelExportResponses, CutCreateAnalysisData, CutCreateAnalysisErrors, CutCreateAnalysisResponses, CutCreateBindingData, CutCreateBindingErrors, CutCreateBindingResponses, CutCreateExportData, CutCreateExportErrors, CutCreateExportResponses, CutCreateProjectData, CutCreateProjectErrors, CutCreateProjectResponses, CutCreateRenderData, CutCreateRenderErrors, CutCreateRenderResponses, CutCreateVersionData, CutCreateVersionErrors, CutCreateVersionResponses, CutDeleteBindingData, CutDeleteBindingErrors, CutDeleteBindingResponses, CutDeleteProjectData, CutDeleteProjectErrors, CutDeleteProjectResponses, CutExecuteData, CutExecuteErrors, CutExecuteResponses, CutImportMediaData, CutImportMediaErrors, CutImportMediaResponses, CutListBindingsData, CutListBindingsErrors, CutListBindingsResponses, CutListExportsData, CutListExportsErrors, CutListExportsResponses, CutListFramesData, CutListFramesErrors, CutListFramesResponses, CutListProjectsData, CutListProjectsErrors, CutListProjectsResponses, CutListVersionsData, CutListVersionsErrors, CutListVersionsResponses, CutRestoreVersionData, CutRestoreVersionErrors, CutRestoreVersionResponses, CutRetrieveExportData, CutRetrieveExportErrors, CutRetrieveExportResponses, CutRetrieveProjectData, CutRetrieveProjectErrors, CutRetrieveProjectResponses, CutRetrieveRenderData, CutRetrieveRenderErrors, CutRetrieveRenderResponses, CutRetrieveStateData, CutRetrieveStateErrors, CutRetrieveStateResponses, CutRetrieveTimelineData, CutRetrieveTimelineErrors, CutRetrieveTimelineResponses, CutUndeleteProjectData, CutUndeleteProjectErrors, CutUndeleteProjectResponses, CutUpdateProjectData, CutUpdateProjectErrors, CutUpdateProjectResponses, DatabaseAddFieldData, DatabaseAddFieldErrors, DatabaseAddFieldResponses, DatabaseCreateDatabaseData, DatabaseCreateDatabaseErrors, DatabaseCreateDatabaseResponses, DatabaseCreateTableData, DatabaseCreateTableErrors, DatabaseCreateTableResponses, DatabaseDeleteData, DatabaseDeleteDatabaseData, DatabaseDeleteDatabaseErrors, DatabaseDeleteDatabaseResponses, DatabaseDeleteErrors, DatabaseDeleteFieldData, DatabaseDeleteFieldErrors, DatabaseDeleteFieldResponses, DatabaseDeleteResponses, DatabaseDeleteTableData, DatabaseDeleteTableErrors, DatabaseDeleteTableResponses, DatabaseGetDatabaseData, DatabaseGetDatabaseErrors, DatabaseGetDatabaseResponses, DatabaseGetTableData, DatabaseGetTableErrors, DatabaseGetTableResponses, DatabaseHeadData, DatabaseHeadErrors, DatabaseHeadResponses, DatabaseInsertData, DatabaseInsertErrors, DatabaseInsertResponses, DatabaseListDatabasesData, DatabaseListDatabasesErrors, DatabaseListDatabasesResponses, DatabaseListEventsData, DatabaseListEventsErrors, DatabaseListEventsResponses, DatabaseListTablesData, DatabaseListTablesErrors, DatabaseListTablesResponses, DatabasePurgeDatabaseData, DatabasePurgeDatabaseErrors, DatabasePurgeDatabaseResponses, DatabaseRestoreDatabaseData, DatabaseRestoreDatabaseErrors, DatabaseRestoreDatabaseResponses, DatabaseSelectData, DatabaseSelectErrors, DatabaseSelectResponses, DatabaseUpdateData, DatabaseUpdateDatabaseData, DatabaseUpdateDatabaseErrors, DatabaseUpdateDatabaseResponses, DatabaseUpdateErrors, DatabaseUpdateFieldData, DatabaseUpdateFieldErrors, DatabaseUpdateFieldResponses, DatabaseUpdateResponses, DatabaseUpdateTableData, DatabaseUpdateTableErrors, DatabaseUpdateTableResponses, DefineOrganizationJobData, DefineOrganizationJobErrors, DefineOrganizationJobResponses, DefineOrganizationLadderData, DefineOrganizationLadderErrors, DefineOrganizationLadderResponses, DeleteConversationData, DeleteConversationErrors, DeleteConversationItemData, DeleteConversationItemErrors, DeleteConversationItemResponses, DeleteConversationResponses, DeleteCurrentCustomerAccessTokenData, DeleteCurrentCustomerAccessTokenErrors, DeleteCurrentCustomerAccessTokenResponses, DeleteCustomerData, DeleteCustomerErrors, DeleteCustomerResponses, DeleteResponseData, DeleteResponseResponses, DeleteRunFeedbackData, DeleteRunFeedbackErrors, DeleteRunFeedbackResponses, DeleteSandboxV1SandboxesBySandboxIdData, DeleteSandboxV1SandboxesBySandboxIdErrors, DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SnapshotsBySnapshotIdData, DeleteSandboxV1SnapshotsBySnapshotIdErrors, DeleteSandboxV1SnapshotsBySnapshotIdResponses, DeleteSandboxV1VolumesByVolumeIdData, DeleteSandboxV1VolumesByVolumeIdErrors, DeleteSandboxV1VolumesByVolumeIdResponses, DeleteTemplateTagsData, DeleteTemplateTagsErrors, DeleteTemplateTagsResponses, DeleteUserTemplateData, DeleteUserTemplateErrors, DeleteUserTemplateResponses, DeleteVideoData, DeleteVideoErrors, DeleteVideoResponses, DeploymentRunsListData, DeploymentRunsListErrors, DeploymentRunsListResponses, DeploymentRunsRetrieveData, DeploymentRunsRetrieveErrors, DeploymentRunsRetrieveResponses, DeploymentsArchiveData, DeploymentsArchiveErrors, DeploymentsArchiveResponses, DeploymentsCreateData, DeploymentsCreateErrors, DeploymentsCreateResponses, DeploymentsListData, DeploymentsListErrors, DeploymentsListResponses, DeploymentsPauseData, DeploymentsPauseErrors, DeploymentsPauseResponses, DeploymentsRetrieveData, DeploymentsRetrieveErrors, DeploymentsRetrieveResponses, DeploymentsRunData, DeploymentsRunErrors, DeploymentsRunResponses, DeploymentsUnpauseData, DeploymentsUnpauseErrors, DeploymentsUnpauseResponses, DeploymentsUpdateData, DeploymentsUpdateErrors, DeploymentsUpdateResponses, DesignateOrganizationPositionHeadData, DesignateOrganizationPositionHeadErrors, DesignateOrganizationPositionHeadResponses, DevopsChangesAbandonData, DevopsChangesAbandonErrors, DevopsChangesAbandonResponses, DevopsChangesCreateData, DevopsChangesCreateErrors, DevopsChangesCreateResponses, DevopsChangesGetData, DevopsChangesGetErrors, DevopsChangesGetResponses, DevopsChangesListData, DevopsChangesListErrors, DevopsChangesListResponses, DevopsChangesMarkLastSliceData, DevopsChangesMarkLastSliceErrors, DevopsChangesMarkLastSliceResponses, DevopsConnectionsCompleteData, DevopsConnectionsCompleteErrors, DevopsConnectionsCompleteResponses, DevopsConnectionsCreateData, DevopsConnectionsCreateErrors, DevopsConnectionsCreateResponses, DevopsConnectionsGetData, DevopsConnectionsGetErrors, DevopsConnectionsGetResponses, DevopsConnectionsListData, DevopsConnectionsListErrors, DevopsConnectionsListRepositoriesData, DevopsConnectionsListRepositoriesErrors, DevopsConnectionsListRepositoriesResponses, DevopsConnectionsListResponses, DevopsEnvironmentsCheckpointsListData, DevopsEnvironmentsCheckpointsListErrors, DevopsEnvironmentsCheckpointsListResponses, DevopsEnvironmentsListData, DevopsEnvironmentsListErrors, DevopsEnvironmentsListResponses, DevopsEnvironmentsRollbackData, DevopsEnvironmentsRollbackErrors, DevopsEnvironmentsRollbackResponses, DevopsEnvironmentsUpdateData, DevopsEnvironmentsUpdateErrors, DevopsEnvironmentsUpdateResponses, DevopsFlagsArchiveData, DevopsFlagsArchiveErrors, DevopsFlagsArchiveResponses, DevopsFlagsConcludeData, DevopsFlagsConcludeErrors, DevopsFlagsConcludeResponses, DevopsFlagsCreateData, DevopsFlagsCreateErrors, DevopsFlagsCreateResponses, DevopsFlagsGetData, DevopsFlagsGetErrors, DevopsFlagsGetResponses, DevopsFlagsListData, DevopsFlagsListErrors, DevopsFlagsListResponses, DevopsFlagsReportCodeRefsData, DevopsFlagsReportCodeRefsErrors, DevopsFlagsReportCodeRefsResponses, DevopsFlagsUpdateData, DevopsFlagsUpdateEnvironmentData, DevopsFlagsUpdateEnvironmentErrors, DevopsFlagsUpdateEnvironmentResponses, DevopsFlagsUpdateErrors, DevopsFlagsUpdateResponses, DevopsProgressiveRolloutsCreateData, DevopsProgressiveRolloutsCreateErrors, DevopsProgressiveRolloutsCreateResponses, DevopsProgressiveRolloutsGetData, DevopsProgressiveRolloutsGetErrors, DevopsProgressiveRolloutsGetResponses, DevopsProgressiveRolloutsPauseData, DevopsProgressiveRolloutsPauseErrors, DevopsProgressiveRolloutsPauseResponses, DevopsProgressiveRolloutsResumeData, DevopsProgressiveRolloutsResumeErrors, DevopsProgressiveRolloutsResumeResponses, DevopsProgressiveRolloutsRollbackData, DevopsProgressiveRolloutsRollbackErrors, DevopsProgressiveRolloutsRollbackResponses, DevopsProjectsGetData, DevopsProjectsGetErrors, DevopsProjectsGetResponses, DevopsProjectsListData, DevopsProjectsListErrors, DevopsProjectsListResponses, DevopsProjectsUpdateData, DevopsProjectsUpdateErrors, DevopsProjectsUpdateResponses, DevopsPromotionsApproveData, DevopsPromotionsApproveErrors, DevopsPromotionsApproveResponses, DevopsPromotionsCancelData, DevopsPromotionsCancelErrors, DevopsPromotionsCancelResponses, DevopsPromotionsConcludeData, DevopsPromotionsConcludeErrors, DevopsPromotionsConcludeResponses, DevopsPromotionsCreateData, DevopsPromotionsCreateErrors, DevopsPromotionsCreateResponses, DevopsPromotionsGetData, DevopsPromotionsGetErrors, DevopsPromotionsGetResponses, DevopsPromotionsListData, DevopsPromotionsListErrors, DevopsPromotionsListResponses, DevopsPromotionsRetryData, DevopsPromotionsRetryErrors, DevopsPromotionsRetryResponses, DevopsPullRequestsGetData, DevopsPullRequestsGetErrors, DevopsPullRequestsGetResponses, DevopsPullRequestsListData, DevopsPullRequestsListErrors, DevopsPullRequestsListResponses, DevopsPullRequestsMergeData, DevopsPullRequestsMergeErrors, DevopsPullRequestsMergeResponses, DevopsPullRequestsRecordVerdictData, DevopsPullRequestsRecordVerdictErrors, DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRerunGateData, DevopsPullRequestsRerunGateErrors, DevopsPullRequestsRerunGateResponses, DevopsReleasesAbandonData, DevopsReleasesAbandonErrors, DevopsReleasesAbandonResponses, DevopsReleasesCreateData, DevopsReleasesCreateErrors, DevopsReleasesCreateResponses, DevopsReleasesGetData, DevopsReleasesGetErrors, DevopsReleasesGetResponses, DevopsReleasesListData, DevopsReleasesListErrors, DevopsReleasesListResponses, DevopsRolloutsGetData, DevopsRolloutsGetErrors, DevopsRolloutsGetResponses, DevopsRolloutsListData, DevopsRolloutsListErrors, DevopsRolloutsListResponses, DevopsSegmentsCreateData, DevopsSegmentsCreateErrors, DevopsSegmentsCreateResponses, DevopsSegmentsListData, DevopsSegmentsListErrors, DevopsSegmentsListResponses, DevopsSegmentsUpdateData, DevopsSegmentsUpdateErrors, DevopsSegmentsUpdateResponses, DevopsTargetsListData, DevopsTargetsListErrors, DevopsTargetsListResponses, DevopsTargetsRefreshData, DevopsTargetsRefreshErrors, DevopsTargetsRefreshResponses, DevopsTestCasesGetData, DevopsTestCasesGetErrors, DevopsTestCasesGetResponses, DevopsTestCasesListData, DevopsTestCasesListErrors, DevopsTestCasesListResponses, DevopsTestCatalogGetData, DevopsTestCatalogGetErrors, DevopsTestCatalogGetResponses, DevopsTestExecutionsGetData, DevopsTestExecutionsGetErrors, DevopsTestExecutionsGetResponses, DevopsTestExecutionsListData, DevopsTestExecutionsListErrors, DevopsTestExecutionsListResponses, DevopsTestPlansCreateData, DevopsTestPlansCreateErrors, DevopsTestPlansCreateResponses, DevopsTestPlansDeleteData, DevopsTestPlansDeleteErrors, DevopsTestPlansDeleteResponses, DevopsTestPlansGetData, DevopsTestPlansGetErrors, DevopsTestPlansGetResponses, DevopsTestPlansListData, DevopsTestPlansListErrors, DevopsTestPlansListResponses, DevopsTestPlansPauseData, DevopsTestPlansPauseErrors, DevopsTestPlansPauseResponses, DevopsTestPlansResumeData, DevopsTestPlansResumeErrors, DevopsTestPlansResumeResponses, DevopsTestPlansUpdateData, DevopsTestPlansUpdateErrors, DevopsTestPlansUpdateResponses, DevopsTestReportsUploadData, DevopsTestReportsUploadErrors, DevopsTestReportsUploadResponses, DevopsTestRunsCancelData, DevopsTestRunsCancelErrors, DevopsTestRunsCancelResponses, DevopsTestRunsCreateData, DevopsTestRunsCreateErrors, DevopsTestRunsCreateResponses, DevopsTestRunsGetData, DevopsTestRunsGetErrors, DevopsTestRunsGetResponses, DevopsTestRunsListData, DevopsTestRunsListErrors, DevopsTestRunsListResponses, DevopsTestRunsRetryFailedData, DevopsTestRunsRetryFailedErrors, DevopsTestRunsRetryFailedResponses, DevopsTestSuitesGetData, DevopsTestSuitesGetErrors, DevopsTestSuitesGetResponses, DevopsTestSuitesListData, DevopsTestSuitesListErrors, DevopsTestSuitesListResponses, DevopsTofuStateDeleteData, DevopsTofuStateDeleteErrors, DevopsTofuStateDeleteResponses, DevopsTofuStateGetData, DevopsTofuStateGetErrors, DevopsTofuStateGetResponses, DevopsTofuStateLockData, DevopsTofuStateLockErrors, DevopsTofuStateLockResponses, DevopsTofuStateUnlockData, DevopsTofuStateUnlockErrors, DevopsTofuStateUnlockResponses, DevopsTofuStateWriteData, DevopsTofuStateWriteErrors, DevopsTofuStateWriteResponses, DevopsUnitsConnectData, DevopsUnitsConnectErrors, DevopsUnitsConnectResponses, DevopsUnitsCreateData, DevopsUnitsCreateErrors, DevopsUnitsCreateResponses, DevopsUnitsDeleteData, DevopsUnitsDeleteErrors, DevopsUnitsDeleteResponses, DevopsUnitsExecData, DevopsUnitsExecErrors, DevopsUnitsExecResponses, DevopsUnitsFetchData, DevopsUnitsFetchErrors, DevopsUnitsFetchResponses, DevopsUnitsGetData, DevopsUnitsGetErrors, DevopsUnitsGetResponses, DevopsUnitsListData, DevopsUnitsListErrors, DevopsUnitsListResponses, DevopsUnitsPushData, DevopsUnitsPushErrors, DevopsUnitsPushResponses, DevopsUnitsStartData, DevopsUnitsStartErrors, DevopsUnitsStartResponses, DevopsUnitsStopData, DevopsUnitsStopErrors, DevopsUnitsStopResponses, DevopsUnitsTransitionsListData, DevopsUnitsTransitionsListErrors, DevopsUnitsTransitionsListResponses, DevopsWorkspacesGetData, DevopsWorkspacesGetErrors, DevopsWorkspacesGetResponses, DevopsWorkspacesListData, DevopsWorkspacesListErrors, DevopsWorkspacesListResponses, DevopsWorkspacesUpdateData, DevopsWorkspacesUpdateErrors, DevopsWorkspacesUpdateResponses, DisableModelAccessData, DisableModelAccessErrors, DisableModelAccessResponses, 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, GetCustomerData, GetCustomerDeletionData, GetCustomerDeletionErrors, GetCustomerDeletionResponses, GetCustomerErrors, GetCustomerResponses, GetGenerationData, GetGenerationErrors, GetGenerationResponses, GetObservedProcessOutputData, GetObservedProcessOutputErrors, GetObservedProcessOutputResponses, GetOrganizationActorData, GetOrganizationActorErrors, GetOrganizationActorResponses, GetOrganizationAssignmentData, GetOrganizationAssignmentErrors, GetOrganizationAssignmentResponses, GetOrganizationDepartmentData, GetOrganizationDepartmentErrors, GetOrganizationDepartmentResponses, GetOrganizationEventData, GetOrganizationEventErrors, GetOrganizationEventResponses, GetOrganizationFeedbackCountsData, GetOrganizationFeedbackCountsErrors, GetOrganizationFeedbackCountsResponses, GetOrganizationFeedbackData, GetOrganizationFeedbackErrors, GetOrganizationFeedbackResponses, GetOrganizationJobData, GetOrganizationJobErrors, GetOrganizationJobResponses, GetOrganizationKeyResultData, GetOrganizationKeyResultErrors, GetOrganizationKeyResultResponses, GetOrganizationLadderData, GetOrganizationLadderErrors, GetOrganizationLadderResponses, GetOrganizationObjectiveData, GetOrganizationObjectiveErrors, GetOrganizationObjectiveResponses, GetOrganizationPeriodData, GetOrganizationPeriodErrors, GetOrganizationPeriodResponses, GetOrganizationPositionData, GetOrganizationPositionErrors, GetOrganizationPositionResponses, GetSandboxEventsData, GetSandboxEventsErrors, GetSandboxEventsResponses, GetSandboxTaskLogData, GetSandboxTaskLogErrors, GetSandboxTaskLogResponses, GetSandboxV1SandboxesBySandboxIdData, GetSandboxV1SandboxesBySandboxIdErrors, GetSandboxV1SandboxesBySandboxIdLogsData, GetSandboxV1SandboxesBySandboxIdLogsErrors, GetSandboxV1SandboxesBySandboxIdLogsResponses, GetSandboxV1SandboxesBySandboxIdMetricsData, GetSandboxV1SandboxesBySandboxIdMetricsErrors, GetSandboxV1SandboxesBySandboxIdMetricsResponses, GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesData, GetSandboxV1SandboxesErrors, GetSandboxV1SandboxesResponses, GetSandboxV1SnapshotsData, GetSandboxV1SnapshotsErrors, GetSandboxV1SnapshotsResponses, GetSandboxV1VolumesByVolumeIdData, GetSandboxV1VolumesByVolumeIdErrors, GetSandboxV1VolumesByVolumeIdResponses, GetSandboxV1VolumesData, GetSandboxV1VolumesErrors, GetSandboxV1VolumesResponses, GetSessionBackgroundTaskOutputData, GetSessionBackgroundTaskOutputErrors, GetSessionBackgroundTaskOutputResponses, GetSessionCompactionData, GetSessionCompactionErrors, GetSessionCompactionResponses, GetSessionContextData, GetSessionContextErrors, GetSessionContextResponses, GetTemplateBuildStatusData, GetTemplateBuildStatusErrors, GetTemplateBuildStatusResponses, GetTemplateWithBuildsData, GetTemplateWithBuildsErrors, GetTemplateWithBuildsResponses, GradeOrganizationObjectiveData, GradeOrganizationObjectiveErrors, GradeOrganizationObjectiveResponses, HealthCheckData, HealthCheckResponses, HireOrganizationPositionData, HireOrganizationPositionErrors, HireOrganizationPositionResponses, KnowledgeAttachFileData, KnowledgeAttachFileErrors, KnowledgeAttachFileResponses, KnowledgeCancelFileBatchData, KnowledgeCancelFileBatchErrors, KnowledgeCancelFileBatchResponses, KnowledgeCreateFileBatchData, KnowledgeCreateFileBatchErrors, KnowledgeCreateFileBatchResponses, KnowledgeCreateVectorStoreData, KnowledgeCreateVectorStoreErrors, KnowledgeCreateVectorStoreResponses, KnowledgeDeleteVectorStoreData, KnowledgeDeleteVectorStoreErrors, KnowledgeDeleteVectorStoreResponses, KnowledgeListBatchFilesData, KnowledgeListBatchFilesErrors, KnowledgeListBatchFilesResponses, KnowledgeListEventsData, KnowledgeListEventsErrors, KnowledgeListEventsResponses, KnowledgeListFilesData, KnowledgeListFilesErrors, KnowledgeListFilesResponses, KnowledgeListSegmentsData, KnowledgeListSegmentsErrors, KnowledgeListSegmentsResponses, KnowledgeListVectorStoresData, KnowledgeListVectorStoresErrors, KnowledgeListVectorStoresResponses, KnowledgePurgeVectorStoreData, KnowledgePurgeVectorStoreErrors, KnowledgePurgeVectorStoreResponses, KnowledgeRemoveFileData, KnowledgeRemoveFileErrors, KnowledgeRemoveFileResponses, KnowledgeRestoreVectorStoreData, KnowledgeRestoreVectorStoreErrors, KnowledgeRestoreVectorStoreResponses, KnowledgeRetrieveFileBatchData, KnowledgeRetrieveFileBatchErrors, KnowledgeRetrieveFileBatchResponses, KnowledgeRetrieveFileContentData, KnowledgeRetrieveFileContentErrors, KnowledgeRetrieveFileContentResponses, KnowledgeRetrieveFileData, KnowledgeRetrieveFileErrors, KnowledgeRetrieveFileResponses, KnowledgeRetrieveSegmentData, KnowledgeRetrieveSegmentErrors, KnowledgeRetrieveSegmentResponses, KnowledgeRetrieveVectorStoreData, KnowledgeRetrieveVectorStoreErrors, KnowledgeRetrieveVectorStoreResponses, KnowledgeRetryFileData, KnowledgeRetryFileErrors, KnowledgeRetryFileResponses, KnowledgeSearchVectorStoreData, KnowledgeSearchVectorStoreErrors, KnowledgeSearchVectorStoreResponses, KnowledgeUpdateFileData, KnowledgeUpdateFileErrors, KnowledgeUpdateFileResponses, KnowledgeUpdateVectorStoreData, KnowledgeUpdateVectorStoreErrors, KnowledgeUpdateVectorStoreResponses, ListAgentEventsData, ListAgentEventsErrors, ListAgentEventsResponses, ListAgentInboxLettersData, ListAgentInboxLettersErrors, ListAgentInboxLettersResponses, 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, ListOrganizationUsageData, ListOrganizationUsageErrors, ListOrganizationUsageResponses, 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, MediaDeleteAssetData, MediaDeleteAssetErrors, MediaDeleteAssetResponses, MediaDeleteLibraryData, MediaDeleteLibraryErrors, MediaDeleteLibraryResponses, MediaEditAssetData, MediaEditAssetErrors, MediaEditAssetResponses, MediaExpressionSearchData, MediaExpressionSearchErrors, MediaExpressionSearchResponses, MediaGenerateImageData, MediaGenerateImageErrors, MediaGenerateImageResponses, MediaGenerateVideoData, MediaGenerateVideoErrors, MediaGenerateVideoResponses, MediaGetAssetData, MediaGetAssetErrors, MediaGetAssetLineageData, MediaGetAssetLineageErrors, MediaGetAssetLineageResponses, MediaGetAssetResponses, MediaGetBatchData, MediaGetBatchErrors, MediaGetBatchResponses, MediaGetDefaultLibraryData, MediaGetDefaultLibraryErrors, MediaGetDefaultLibraryResponses, MediaGetGenerationCapabilitiesData, MediaGetGenerationCapabilitiesErrors, MediaGetGenerationCapabilitiesResponses, MediaGetJobData, MediaGetJobErrors, MediaGetJobResponses, MediaGetLibraryData, MediaGetLibraryErrors, MediaGetLibraryResponses, MediaGetMaterialData, MediaGetMaterialErrors, MediaGetMaterialResponses, MediaImportAssetData, MediaImportAssetErrors, MediaImportAssetResponses, MediaListAssetsData, MediaListAssetsErrors, MediaListAssetsResponses, MediaListEventsData, MediaListEventsErrors, MediaListEventsResponses, MediaListFoldersData, MediaListFoldersErrors, MediaListFoldersResponses, MediaListJobsData, MediaListJobsErrors, MediaListJobsResponses, MediaListLibrariesData, MediaListLibrariesErrors, MediaListLibrariesResponses, MediaListUnderstandingsByLibraryData, MediaListUnderstandingsByLibraryErrors, MediaListUnderstandingsByLibraryResponses, MediaListUnderstandingsData, MediaListUnderstandingsErrors, MediaListUnderstandingsResponses, MediaPurgeLibraryData, MediaPurgeLibraryErrors, MediaPurgeLibraryResponses, MediaReprocessAssetData, MediaReprocessAssetErrors, MediaReprocessAssetResponses, MediaRestoreAssetVersionData, MediaRestoreAssetVersionErrors, MediaRestoreAssetVersionResponses, MediaRestoreLibraryData, MediaRestoreLibraryErrors, MediaRestoreLibraryResponses, MediaSearchData, MediaSearchErrors, MediaSearchResponses, MediaSemanticSearchData, MediaSemanticSearchErrors, MediaSemanticSearchResponses, MediaSetDefaultLibraryData, MediaSetDefaultLibraryErrors, MediaSetDefaultLibraryResponses, MediaUnderstandingFailureSummaryData, MediaUnderstandingFailureSummaryErrors, MediaUnderstandingFailureSummaryResponses, MediaUpdateAssetData, MediaUpdateAssetErrors, MediaUpdateAssetResponses, MediaUpdateLibraryData, MediaUpdateLibraryErrors, MediaUpdateLibraryResponses, MediaUpdateMaterialData, MediaUpdateMaterialErrors, MediaUpdateMaterialResponses, MediaUploadAssetData, MediaUploadAssetErrors, MediaUploadAssetResponses, MediaVisualSearchData, MediaVisualSearchErrors, MediaVisualSearchResponses, MetaDocsRetrieveData, MetaDocsRetrieveErrors, MetaDocsRetrieveResponses, MetaDocsSearchData, MetaDocsSearchErrors, MetaDocsSearchResponses, MetaMethodsRetrieveData, MetaMethodsRetrieveErrors, MetaMethodsRetrieveResponses, MetaMethodsSearchData, MetaMethodsSearchErrors, MetaMethodsSearchResponses, OntologyApplyChangesetData, OntologyApplyChangesetErrors, OntologyApplyChangesetResponses, OntologyCreateNodeData, OntologyCreateNodeErrors, OntologyCreateNodeResponses, OntologyCreateRelationData, OntologyCreateRelationErrors, OntologyCreateRelationResponses, OntologyInvalidateRelationData, OntologyInvalidateRelationErrors, OntologyInvalidateRelationResponses, OntologyListNodesData, OntologyListNodesErrors, OntologyListNodesResponses, OntologyListRelationsData, OntologyListRelationsErrors, OntologyListRelationsResponses, OntologyListTypesData, OntologyListTypesErrors, OntologyListTypesResponses, OntologyMergeNodeData, OntologyMergeNodeErrors, OntologyMergeNodeResponses, OntologyNeighborhoodData, OntologyNeighborhoodErrors, OntologyNeighborhoodResponses, OntologyRegisterTypeData, OntologyRegisterTypeErrors, OntologyRetrieveNodeData, OntologyRetrieveNodeErrors, OntologyRetrieveNodeResponses, OntologyRetrieveRelationData, OntologyRetrieveRelationErrors, OntologyRetrieveRelationResponses, OntologyRetrieveTypeData, OntologyRetrieveTypeErrors, OntologyRetrieveTypeResponses, OntologySearchData, OntologySearchErrors, OntologySearchResponses, OntologyUpdateNodeData, OntologyUpdateNodeErrors, OntologyUpdateNodeResponses, OpenOrganizationPeriodData, OpenOrganizationPeriodErrors, OpenOrganizationPeriodResponses, OpenOrganizationPositionsData, OpenOrganizationPositionsErrors, OpenOrganizationPositionsResponses, PostSandboxV1SandboxesBySandboxIdConnectData, PostSandboxV1SandboxesBySandboxIdConnectErrors, PostSandboxV1SandboxesBySandboxIdConnectResponses, PostSandboxV1SandboxesBySandboxIdForkData, PostSandboxV1SandboxesBySandboxIdForkErrors, PostSandboxV1SandboxesBySandboxIdForkResponses, PostSandboxV1SandboxesBySandboxIdPauseData, PostSandboxV1SandboxesBySandboxIdPauseErrors, PostSandboxV1SandboxesBySandboxIdPauseResponses, PostSandboxV1SandboxesBySandboxIdSnapshotsData, PostSandboxV1SandboxesBySandboxIdSnapshotsErrors, PostSandboxV1SandboxesBySandboxIdSnapshotsResponses, PostSandboxV1SandboxesBySandboxIdTimeoutData, PostSandboxV1SandboxesBySandboxIdTimeoutErrors, PostSandboxV1SandboxesBySandboxIdTimeoutResponses, PostSandboxV1SandboxesData, PostSandboxV1SandboxesErrors, PostSandboxV1SandboxesResponses, PostSandboxV1VolumesData, PostSandboxV1VolumesErrors, PostSandboxV1VolumesResponses, PutSandboxV1SandboxesBySandboxIdNetworkData, PutSandboxV1SandboxesBySandboxIdNetworkErrors, PutSandboxV1SandboxesBySandboxIdNetworkResponses, ReadSandboxFileData, ReadSandboxFileErrors, ReadSandboxFileResponses, ReassignOrganizationPositionManagerData, ReassignOrganizationPositionManagerErrors, ReassignOrganizationPositionManagerResponses, RegradeOrganizationPositionData, RegradeOrganizationPositionErrors, RegradeOrganizationPositionResponses, ReleaseComputerLeaseData, ReleaseComputerLeaseErrors, ReleaseComputerLeaseResponses, RemixVideoData, RemixVideoErrors, RemoveSandboxFileData, RemoveSandboxFileErrors, RemoveSandboxFileResponses, RenameSandboxData, RenameSandboxErrors, RenameSandboxResponses, RenewComputerLeaseData, RenewComputerLeaseErrors, RenewComputerLeaseResponses, RenewCustomerAccessTokenData, RenewCustomerAccessTokenErrors, RenewCustomerAccessTokenResponses, ReorganizeOrganizationDepartmentData, ReorganizeOrganizationDepartmentErrors, ReorganizeOrganizationDepartmentResponses, ReplaceOrganizationPositionHolderData, ReplaceOrganizationPositionHolderErrors, ReplaceOrganizationPositionHolderResponses, RequestTemplateBuildData, RequestTemplateBuildErrors, RequestTemplateBuildResponses, RerankData, RerankErrors, RerankResponses, ResolveTemplateAliasData, ResolveTemplateAliasErrors, ResolveTemplateAliasResponses, RetireOrganizationJobData, RetireOrganizationJobErrors, RetireOrganizationJobResponses, RetrieveConversationData, RetrieveConversationErrors, RetrieveConversationItemData, RetrieveConversationItemErrors, RetrieveConversationItemResponses, RetrieveConversationResponses, RetrieveModelData, RetrieveModelErrors, RetrieveModelResponses, RetrieveResponseData, RetrieveResponseResponses, RetrieveVideoData, RetrieveVideoErrors, RetrieveVideoResponses, ReviseOrganizationJobData, ReviseOrganizationJobErrors, ReviseOrganizationJobResponses, ReviseOrganizationKeyResultData, ReviseOrganizationKeyResultErrors, ReviseOrganizationKeyResultResponses, ReviseOrganizationLadderData, ReviseOrganizationLadderErrors, ReviseOrganizationLadderResponses, ReviseOrganizationObjectiveData, ReviseOrganizationObjectiveErrors, ReviseOrganizationObjectiveResponses, ReviseOrganizationPositionData, ReviseOrganizationPositionErrors, ReviseOrganizationPositionResponses, RevokeCustomerTokensData, RevokeCustomerTokensErrors, RevokeCustomerTokensResponses, RunSandboxCommandData, RunSandboxCommandErrors, RunSandboxCommandResponses, SearchCrawlData, SearchCrawlErrors, SearchCrawlResponses, SearchExtractData, SearchExtractErrors, SearchExtractResponses, SearchMapData, SearchMapErrors, SearchMapResponses, SearchSearchData, SearchSearchErrors, SearchSearchResponses, SendAgentEventsData, SendAgentEventsErrors, SendAgentEventsResponses, SessionsArchiveData, SessionsArchiveErrors, SessionsArchiveResponses, SessionsCreateData, SessionsCreateErrors, SessionsCreateResponses, SessionsDeleteData, SessionsDeleteErrors, SessionsDeleteResponses, SessionsEventsListData, SessionsEventsListErrors, SessionsEventsListResponses, SessionsEventsSendData, SessionsEventsSendErrors, SessionsEventsSendResponses, SessionsEventsStreamData, SessionsEventsStreamResponse, SessionsEventsStreamResponses, SessionsListData, SessionsListErrors, SessionsListResponses, SessionsResourcesAddData, SessionsResourcesAddErrors, SessionsResourcesAddResponses, SessionsResourcesDeleteData, SessionsResourcesDeleteErrors, SessionsResourcesDeleteResponses, SessionsResourcesListData, SessionsResourcesListErrors, SessionsResourcesListResponses, SessionsResourcesRetrieveData, SessionsResourcesRetrieveErrors, SessionsResourcesRetrieveResponses, SessionsRetrieveData, SessionsRetrieveErrors, SessionsRetrieveResponses, SessionsThreadsArchiveData, SessionsThreadsArchiveErrors, SessionsThreadsArchiveResponses, SessionsThreadsEventsListData, SessionsThreadsEventsListErrors, SessionsThreadsEventsListResponses, SessionsThreadsEventsStreamData, SessionsThreadsEventsStreamResponse, SessionsThreadsEventsStreamResponses, SessionsThreadsListData, SessionsThreadsListErrors, SessionsThreadsListResponses, SessionsThreadsRetrieveData, SessionsThreadsRetrieveErrors, SessionsThreadsRetrieveResponses, SessionsUpdateData, SessionsUpdateErrors, SessionsUpdateResponses, SetOrganizationKeyResultData, SetOrganizationKeyResultErrors, SetOrganizationKeyResultResponses, SetOrganizationObjectiveData, SetOrganizationObjectiveErrors, SetOrganizationObjectiveResponses, SetRunFeedbackData, SetRunFeedbackErrors, SetRunFeedbackResponses, 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, 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, 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, ArchiveOrganizationNotificationLetterData, ArchiveOrganizationNotificationLetterErrors, ArchiveOrganizationNotificationLetterResponses, 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, BrowserClaimByobPairingData, BrowserClaimByobPairingErrors, BrowserClaimByobPairingResponses, BrowserCloseSessionData, BrowserCloseSessionErrors, BrowserCloseSessionResponses, BrowserCompleteHandoffData, BrowserCompleteHandoffErrors, BrowserCompleteHandoffResponses, BrowserConnectData, BrowserConnectErrors, BrowserCreateByobPairingData, BrowserCreateByobPairingErrors, BrowserCreateByobPairingResponses, BrowserCreateContextData, BrowserCreateContextErrors, BrowserCreateContextResponses, BrowserCreateSessionData, BrowserCreateSessionErrors, BrowserCreateSessionResponses, BrowserDeleteContextData, BrowserDeleteContextErrors, BrowserDeleteContextResponses, BrowserDisconnectByobBrowserData, BrowserDisconnectByobBrowserErrors, BrowserDisconnectByobBrowserResponses, BrowserGetByobBrowserData, BrowserGetByobBrowserErrors, BrowserGetByobBrowserResponses, BrowserGetContextData, BrowserGetContextErrors, BrowserGetContextResponses, BrowserGetDebugData, BrowserGetDebugErrors, BrowserGetDebugResponses, BrowserGetSessionData, BrowserGetSessionErrors, BrowserGetSessionFrameData, BrowserGetSessionFrameErrors, BrowserGetSessionFrameResponses, BrowserGetSessionResponses, BrowserListByobBrowsersData, BrowserListByobBrowsersErrors, BrowserListByobBrowsersResponses, BrowserListContextsData, BrowserListContextsErrors, BrowserListContextsResponses, BrowserListEventsData, BrowserListEventsErrors, BrowserListEventsResponses, BrowserListSessionsData, BrowserListSessionsErrors, BrowserListSessionsResponses, BrowserLiveViewData, BrowserLiveViewErrors, BrowserReadByobPairingData, BrowserReadByobPairingErrors, BrowserReadByobPairingResponses, BrowserRequestHandoffData, BrowserRequestHandoffErrors, BrowserRequestHandoffResponses, BrowserRunPageActionData, BrowserRunPageActionErrors, BrowserRunPageActionResponses, BrowserSeleniumUnsupportedData, BrowserSeleniumUnsupportedErrors, BrowserStreamSessionData, BrowserStreamSessionFramesData, BrowserStreamSessionFramesResponse, BrowserStreamSessionFramesResponses, BrowserStreamSessionResponse, BrowserStreamSessionResponses, BrowserUpdateByobBrowserData, BrowserUpdateByobBrowserErrors, BrowserUpdateByobBrowserResponses, BrowserUpdateContextData, BrowserUpdateContextErrors, BrowserUpdateContextResponses, BrowserViewerHeartbeatData, BrowserViewerHeartbeatErrors, BrowserViewerHeartbeatResponses, CancelResponseData, CancelResponseErrors, CancelResponseResponses, CanvasCreateCanvasData, CanvasCreateCanvasErrors, CanvasCreateCanvasResponses, CanvasCreateCollectionData, CanvasCreateCollectionErrors, CanvasCreateCollectionResponses, CanvasDeleteCanvasData, CanvasDeleteCanvasErrors, CanvasDeleteCanvasResponses, CanvasDeleteCollectionData, CanvasDeleteCollectionErrors, CanvasDeleteCollectionResponses, CanvasDeleteImportData, CanvasDeleteImportErrors, CanvasDeleteImportResponses, CanvasExecuteData, CanvasExecuteErrors, CanvasExecuteResponses, CanvasListCanvasesData, CanvasListCanvasesErrors, CanvasListCanvasesResponses, CanvasListCollectionsData, CanvasListCollectionsErrors, CanvasListCollectionsResponses, CanvasListImagesData, CanvasListImagesErrors, CanvasListImagesResponses, CanvasListLibrariesData, CanvasListLibrariesErrors, CanvasListLibrariesResponses, CanvasListLibraryVersionsData, CanvasListLibraryVersionsErrors, CanvasListLibraryVersionsResponses, CanvasListNodesData, CanvasListNodesErrors, CanvasListNodesResponses, CanvasListVersionsData, CanvasListVersionsErrors, CanvasListVersionsResponses, CanvasPublishLibraryData, CanvasPublishLibraryErrors, CanvasPublishLibraryResponses, CanvasRestoreCanvasData, CanvasRestoreCanvasErrors, CanvasRestoreCanvasResponses, CanvasRetrieveCanvasData, CanvasRetrieveCanvasErrors, CanvasRetrieveCanvasResponses, CanvasRetrieveCollectionData, CanvasRetrieveCollectionErrors, CanvasRetrieveCollectionResponses, CanvasSetImportData, CanvasSetImportErrors, CanvasSetImportResponses, 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, CreateAgentLoginIntentData, CreateAgentLoginIntentErrors, CreateAgentLoginIntentResponses, 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, CreateMediaPipelineData, CreateMediaPipelineErrors, CreateMediaPipelineResponses, CreateMediaStreamData, CreateMediaStreamErrors, CreateMediaStreamOutputData, CreateMediaStreamOutputErrors, CreateMediaStreamOutputResponses, CreateMediaStreamPlaybackData, CreateMediaStreamPlaybackErrors, CreateMediaStreamPlaybackResponses, CreateMediaStreamResponses, CreateMediaStreamSubscriptionData, CreateMediaStreamSubscriptionErrors, CreateMediaStreamSubscriptionResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOcrData, CreateOcrErrors, CreateOcrResponses, CreateOrganizationFeedbackData, CreateOrganizationFeedbackErrors, CreateOrganizationFeedbackMessageData, CreateOrganizationFeedbackMessageErrors, CreateOrganizationFeedbackMessageResponses, CreateOrganizationFeedbackResponses, CreateResponseData, CreateResponseErrors, CreateResponseResponses, CreateSessionArtifactContentUrlData, CreateSessionArtifactContentUrlErrors, CreateSessionArtifactContentUrlResponses, CreateSessionDictationData, CreateSessionDictationErrors, CreateSessionDictationResponses, 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, CustomerUpdatePublishableKeyData, CustomerUpdatePublishableKeyErrors, CustomerUpdatePublishableKeyResponses, 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, DatabaseCreateKvDatabaseData, DatabaseCreateKvDatabaseErrors, DatabaseCreateKvDatabaseResponses, DatabaseCreateTableData, DatabaseCreateTableDatabaseData, DatabaseCreateTableDatabaseErrors, DatabaseCreateTableDatabaseResponses, DatabaseCreateTableErrors, DatabaseCreateTableResponses, DatabaseDeleteData, DatabaseDeleteDatabaseData, DatabaseDeleteDatabaseErrors, DatabaseDeleteDatabaseResponses, DatabaseDeleteErrors, DatabaseDeleteFieldData, DatabaseDeleteFieldErrors, DatabaseDeleteFieldResponses, DatabaseDeleteKeyData, DatabaseDeleteKeyErrors, DatabaseDeleteKeyResponses, DatabaseDeleteKvDatabaseData, DatabaseDeleteKvDatabaseErrors, DatabaseDeleteKvDatabaseResponses, DatabaseDeleteResponses, DatabaseDeleteTableData, DatabaseDeleteTableDatabaseData, DatabaseDeleteTableDatabaseErrors, DatabaseDeleteTableDatabaseResponses, DatabaseDeleteTableErrors, DatabaseDeleteTableResponses, DatabaseExecuteCommandData, DatabaseExecuteCommandErrors, DatabaseExecuteCommandResponses, DatabaseGetDatabaseData, DatabaseGetDatabaseErrors, DatabaseGetDatabaseResponses, DatabaseGetKeyData, DatabaseGetKeyErrors, DatabaseGetKeyResponses, DatabaseGetKvDatabaseData, DatabaseGetKvDatabaseErrors, DatabaseGetKvDatabaseResponses, DatabaseGetTableData, DatabaseGetTableDatabaseData, DatabaseGetTableDatabaseErrors, DatabaseGetTableDatabaseResponses, DatabaseGetTableErrors, DatabaseGetTableResponses, DatabaseHeadData, DatabaseHeadErrors, DatabaseHeadResponses, DatabaseInsertData, DatabaseInsertErrors, DatabaseInsertResponses, DatabaseKvDeleteKeyData, DatabaseKvDeleteKeyErrors, DatabaseKvDeleteKeyResponses, DatabaseKvExecuteCommandData, DatabaseKvExecuteCommandErrors, DatabaseKvExecuteCommandResponses, DatabaseKvGetKeyData, DatabaseKvGetKeyErrors, DatabaseKvGetKeyResponses, DatabaseKvListEventsData, DatabaseKvListEventsErrors, DatabaseKvListEventsResponses, DatabaseKvListKeysData, DatabaseKvListKeysErrors, DatabaseKvListKeysResponses, DatabaseKvSetKeyData, DatabaseKvSetKeyErrors, DatabaseKvSetKeyResponses, DatabaseKvUpdateKeyData, DatabaseKvUpdateKeyErrors, DatabaseKvUpdateKeyResponses, DatabaseListDatabasesData, DatabaseListDatabasesErrors, DatabaseListDatabasesResponses, DatabaseListEventsData, DatabaseListEventsErrors, DatabaseListEventsResponses, DatabaseListKeysData, DatabaseListKeysErrors, DatabaseListKeysResponses, DatabaseListKvDatabasesData, DatabaseListKvDatabasesErrors, DatabaseListKvDatabasesResponses, DatabaseListTableDatabasesData, DatabaseListTableDatabasesErrors, DatabaseListTableDatabasesResponses, DatabaseListTablesData, DatabaseListTablesErrors, DatabaseListTablesResponses, DatabasePurgeDatabaseData, DatabasePurgeDatabaseErrors, DatabasePurgeDatabaseResponses, DatabasePurgeKvDatabaseData, DatabasePurgeKvDatabaseErrors, DatabasePurgeKvDatabaseResponses, DatabasePurgeTableDatabaseData, DatabasePurgeTableDatabaseErrors, DatabasePurgeTableDatabaseResponses, DatabaseRestoreDatabaseData, DatabaseRestoreDatabaseErrors, DatabaseRestoreDatabaseResponses, DatabaseRestoreKvDatabaseData, DatabaseRestoreKvDatabaseErrors, DatabaseRestoreKvDatabaseResponses, DatabaseRestoreTableDatabaseData, DatabaseRestoreTableDatabaseErrors, DatabaseRestoreTableDatabaseResponses, DatabaseSelectData, DatabaseSelectErrors, DatabaseSelectResponses, DatabaseSetKeyData, DatabaseSetKeyErrors, DatabaseSetKeyResponses, DatabaseTableAddFieldData, DatabaseTableAddFieldErrors, DatabaseTableAddFieldResponses, DatabaseTableCreateTableData, DatabaseTableCreateTableErrors, DatabaseTableCreateTableResponses, DatabaseTableDeleteData, DatabaseTableDeleteErrors, DatabaseTableDeleteFieldData, DatabaseTableDeleteFieldErrors, DatabaseTableDeleteFieldResponses, DatabaseTableDeleteResponses, DatabaseTableDeleteTableData, DatabaseTableDeleteTableErrors, DatabaseTableDeleteTableResponses, DatabaseTableGetTableData, DatabaseTableGetTableErrors, DatabaseTableGetTableResponses, DatabaseTableHeadData, DatabaseTableHeadErrors, DatabaseTableHeadResponses, DatabaseTableInsertData, DatabaseTableInsertErrors, DatabaseTableInsertResponses, DatabaseTableListEventsData, DatabaseTableListEventsErrors, DatabaseTableListEventsResponses, DatabaseTableListTablesData, DatabaseTableListTablesErrors, DatabaseTableListTablesResponses, DatabaseTableSelectData, DatabaseTableSelectErrors, DatabaseTableSelectResponses, DatabaseTableUpdateData, DatabaseTableUpdateErrors, DatabaseTableUpdateFieldData, DatabaseTableUpdateFieldErrors, DatabaseTableUpdateFieldResponses, DatabaseTableUpdateResponses, DatabaseTableUpdateTableData, DatabaseTableUpdateTableErrors, DatabaseTableUpdateTableResponses, DatabaseUpdateData, DatabaseUpdateDatabaseData, DatabaseUpdateDatabaseErrors, DatabaseUpdateDatabaseResponses, DatabaseUpdateErrors, DatabaseUpdateFieldData, DatabaseUpdateFieldErrors, DatabaseUpdateFieldResponses, DatabaseUpdateKeyData, DatabaseUpdateKeyErrors, DatabaseUpdateKeyResponses, DatabaseUpdateKvDatabaseData, DatabaseUpdateKvDatabaseErrors, DatabaseUpdateKvDatabaseResponses, DatabaseUpdateResponses, DatabaseUpdateTableData, DatabaseUpdateTableDatabaseData, DatabaseUpdateTableDatabaseErrors, DatabaseUpdateTableDatabaseResponses, DatabaseUpdateTableErrors, DatabaseUpdateTableResponses, DefineOrganizationJobData, DefineOrganizationJobErrors, DefineOrganizationJobResponses, DefineOrganizationLadderData, DefineOrganizationLadderErrors, DefineOrganizationLadderResponses, DeleteConversationData, DeleteConversationErrors, DeleteConversationItemData, DeleteConversationItemErrors, DeleteConversationItemResponses, DeleteConversationResponses, DeleteCustomerData, DeleteCustomerErrors, DeleteCustomerResponses, DeleteMediaPipelineData, DeleteMediaPipelineErrors, DeleteMediaPipelineResponses, DeleteMediaStreamData, DeleteMediaStreamErrors, DeleteMediaStreamOutputData, DeleteMediaStreamOutputErrors, DeleteMediaStreamOutputResponses, DeleteMediaStreamResponses, 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, DevopsChangesSlicesCreateData, DevopsChangesSlicesCreateErrors, DevopsChangesSlicesCreateResponses, 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, DisableMediaStreamData, DisableMediaStreamErrors, DisableMediaStreamResponses, DisableModelAccessData, DisableModelAccessErrors, DisableModelAccessResponses, DisconnectByodDeviceData, DisconnectByodDeviceErrors, DisconnectByodDeviceResponses, DissolveOrganizationDepartmentData, DissolveOrganizationDepartmentErrors, DissolveOrganizationDepartmentResponses, DownloadVideoContentData, DownloadVideoContentErrors, DownloadVideoContentResponses, EditImageData, EditImageErrors, EditImageResponses, EnableMediaStreamData, EnableMediaStreamErrors, EnableMediaStreamResponses, 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, GetMediaPipelineData, GetMediaPipelineErrors, GetMediaPipelineResponses, GetMediaStreamData, GetMediaStreamErrors, GetMediaStreamLivePlaylistData, GetMediaStreamLivePlaylistErrors, GetMediaStreamLivePlaylistResponses, GetMediaStreamOutputData, GetMediaStreamOutputErrors, GetMediaStreamOutputResponses, GetMediaStreamResponses, 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, GetOrganizationNotificationDefaultsData, GetOrganizationNotificationDefaultsErrors, GetOrganizationNotificationDefaultsResponses, GetOrganizationNotificationLetterData, GetOrganizationNotificationLetterErrors, GetOrganizationNotificationLetterResponses, GetOrganizationNotificationPreferencesData, GetOrganizationNotificationPreferencesErrors, GetOrganizationNotificationPreferencesResponses, GetOrganizationNotificationsInboxData, GetOrganizationNotificationsInboxErrors, GetOrganizationNotificationsInboxResponses, GetOrganizationObjectiveData, GetOrganizationObjectiveErrors, GetOrganizationObjectiveResponses, GetOrganizationPeriodData, GetOrganizationPeriodErrors, GetOrganizationPeriodResponses, GetOrganizationPositionData, GetOrganizationPositionErrors, GetOrganizationPositionResponses, GetOrganizationReconcileStatusData, GetOrganizationReconcileStatusErrors, GetOrganizationReconcileStatusResponses, GetOrganizationSpecData, GetOrganizationSpecErrors, GetOrganizationSpecResponses, GetOrganizationSpecSchemaData, GetOrganizationSpecSchemaErrors, GetOrganizationSpecSchemaResponses, 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, GetSessionPromptRevsData, GetSessionPromptRevsErrors, GetSessionPromptRevsResponses, 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, ListAgentDeviceLocalSessionsData, ListAgentDeviceLocalSessionsErrors, ListAgentDeviceLocalSessionsResponses, ListAgentEventsData, ListAgentEventsErrors, ListAgentEventsResponses, ListAgentInboxLettersData, ListAgentInboxLettersErrors, ListAgentInboxLettersResponses, ListByodDevicesData, ListByodDevicesErrors, ListByodDevicesResponses, ListConversationItemsData, ListConversationItemsErrors, ListConversationItemsResponses, ListCustomersData, ListCustomersErrors, ListCustomersResponses, ListMediaPipelinesData, ListMediaPipelinesErrors, ListMediaPipelinesResponses, ListMediaStreamEventsData, ListMediaStreamEventsErrors, ListMediaStreamEventsResponses, ListMediaStreamOutputsData, ListMediaStreamOutputsErrors, ListMediaStreamOutputsResponses, ListMediaStreamsData, ListMediaStreamsErrors, ListMediaStreamsResponses, 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, ListOrganizationNotificationDeliveriesData, ListOrganizationNotificationDeliveriesErrors, ListOrganizationNotificationDeliveriesResponses, ListOrganizationNotificationLettersData, ListOrganizationNotificationLettersErrors, ListOrganizationNotificationLettersResponses, 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, ReadAllOrganizationNotificationLettersData, ReadAllOrganizationNotificationLettersErrors, ReadAllOrganizationNotificationLettersResponses, ReadOrganizationNotificationLetterData, ReadOrganizationNotificationLetterErrors, ReadOrganizationNotificationLetterResponses, 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, ResetMediaStreamTokenData, ResetMediaStreamTokenErrors, ResetMediaStreamTokenResponses, 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, UpdateMediaPipelineData, UpdateMediaPipelineErrors, UpdateMediaPipelineResponses, UpdateMediaStreamData, UpdateMediaStreamErrors, UpdateMediaStreamOutputData, UpdateMediaStreamOutputErrors, UpdateMediaStreamOutputResponses, UpdateMediaStreamResponses, UpdateOrganizationNotificationDefaultsData, UpdateOrganizationNotificationDefaultsErrors, UpdateOrganizationNotificationDefaultsResponses, UpdateOrganizationNotificationPreferencesData, UpdateOrganizationNotificationPreferencesErrors, UpdateOrganizationNotificationPreferencesResponses, 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
@@ -16,19 +16,19 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
16
16
  /**
17
17
  * Read your conversation with an agent
18
18
  *
19
- * Read your conversation with a personal or general agent: the events of your own main session with that agent, the same page sessions.events.list returns — same query parameters, same data + next_page envelope, same event shapes. {agent_id} takes the agent_… id, the eight character identity number or the handle; a service or assume agent answers 400. Use it to collect a reply, to find tool calls waiting for approval, or to learn the real session id without ever asking for one.
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
20
  */
21
21
  export declare const listAgentEvents: <ThrowOnError extends boolean = false>(options: Options<ListAgentEventsData, ThrowOnError>) => RequestResult<ListAgentEventsResponses, ListAgentEventsErrors, ThrowOnError>;
22
22
  /**
23
23
  * Send events to an agent
24
24
  *
25
- * Talk to a personal or general agent: the message goes to your own main session with that agent — one entry per person, created on first use and the same every time after — so no session id is needed. This is sessions.events.send addressed by the agent instead of the session: the same body (user.message with exactly one nonempty text block, user.interrupt, user.tool_confirmation, user.custom_tool_result, user.steer, user.withdraw), the same acknowledgement and the same billing. {agent_id} takes the agent_… id, the eight character identity number or the handle. A service or assume agent answers 400 — it has no main session: reach a service agent over A2A, or open a session explicitly with sessions.create. Read the reply with agents.events.list, or follow it while it is produced with agents.events.stream. Example: POST /agent/v1/agents/agent_example/events with {"events":[{"type":"user.message","content":[{"type":"text","text":"你好"}]}]}.
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
26
  */
27
27
  export declare const sendAgentEvents: <ThrowOnError extends boolean = false>(options: Options<SendAgentEventsData, ThrowOnError>) => RequestResult<SendAgentEventsResponses, SendAgentEventsErrors, ThrowOnError>;
28
28
  /**
29
29
  * Follow an agent live
30
30
  *
31
- * Follow an agent live over Server-Sent Events. For a personal or 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.
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
32
  */
33
33
  export declare const streamAgentEvents: <ThrowOnError extends boolean = false>(options: Options<StreamAgentEventsData, ThrowOnError, StreamAgentEventsResponse>) => Promise<ServerSentEventsResult<StreamAgentEventsResponses>>;
34
34
  /**
@@ -44,11 +44,25 @@ export declare const createAgentConsolidation: <ThrowOnError extends boolean = f
44
44
  */
45
45
  export declare const getAgentConsolidation: <ThrowOnError extends boolean = false>(options: Options<GetAgentConsolidationData, ThrowOnError>) => RequestResult<GetAgentConsolidationResponses, GetAgentConsolidationErrors, ThrowOnError>;
46
46
  /**
47
- * List an assume agent's waiting letters
47
+ * List a BYOA agent's waiting letters
48
48
  *
49
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
50
  */
51
51
  export declare const listAgentInboxLetters: <ThrowOnError extends boolean = false>(options: Options<ListAgentInboxLettersData, ThrowOnError>) => RequestResult<ListAgentInboxLettersResponses, ListAgentInboxLettersErrors, ThrowOnError>;
52
+ /**
53
+ * List the Claude Code sessions already on a device
54
+ *
55
+ * List the Claude Code sessions that already exist on a person's paired machine for a directory bound to this BYOA agent (started in a terminal, not on the platform), newest first, so one can be continued from the platform: pick an id and create a session with runtime.resume_session_id set to it (runtime.type device, the same device_id and cwd). Only the person who paired the device may ask. cwd is required and must be the directory exactly as the device registered it and bound it to this agent. Pass next_cursor back as cursor for the next page; null means the last page.
56
+ */
57
+ export declare const listAgentDeviceLocalSessions: <ThrowOnError extends boolean = false>(options: Options<ListAgentDeviceLocalSessionsData, ThrowOnError>) => RequestResult<ListAgentDeviceLocalSessionsResponses, ListAgentDeviceLocalSessionsErrors, ThrowOnError>;
58
+ /**
59
+ * Create a login intent for the calling agent
60
+ *
61
+ * Create a one-time login code for yourself from your own non-cli session, then redeem it on your own computer as a cli login.
62
+ *
63
+ * Only for yourself, and only for your own computer: the agent, its organization and its platform computer all come from the credential and the agent's record, and the request body accepts no field at all (place included), so this call can be aimed neither at another agent nor at somebody else's computer. The member driving the session must be that agent's sponsor: the code becomes a thirty-day cli login for the agent, so only the sponsor may open one, and a session that names no member (a terminal customer's session) is refused. A cli session is refused (a login token cannot mint another login). The code lives five minutes and is redeemed once, at the gateway, where the redeem credential rides in Authorization.
64
+ */
65
+ export declare const createAgentLoginIntent: <ThrowOnError extends boolean = false>(options?: Options<CreateAgentLoginIntentData, ThrowOnError>) => RequestResult<CreateAgentLoginIntentResponses, CreateAgentLoginIntentErrors, ThrowOnError>;
52
66
  /**
53
67
  * Apply Agent Version
54
68
  *
@@ -142,51 +156,43 @@ export declare const revokeCustomerTokens: <ThrowOnError extends boolean = false
142
156
  */
143
157
  export declare const getAgentAppearance: <ThrowOnError extends boolean = false>(options: Options<GetAgentAppearanceData, ThrowOnError>) => RequestResult<GetAgentAppearanceResponses, GetAgentAppearanceErrors, ThrowOnError>;
144
158
  /**
145
- * Create customer grant code
146
- *
147
- * 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.
159
+ * Retrieve agent phone
148
160
  *
149
- * 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"}.
161
+ * 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.
150
162
  */
151
- export declare const createCustomerGrantCode: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerGrantCodeData, ThrowOnError>) => RequestResult<CreateCustomerGrantCodeResponses, CreateCustomerGrantCodeErrors, ThrowOnError>;
163
+ export declare const agentsPhoneRetrieve: <ThrowOnError extends boolean = false>(options: Options<AgentsPhoneRetrieveData, ThrowOnError>) => RequestResult<AgentsPhoneRetrieveResponses, AgentsPhoneRetrieveErrors, ThrowOnError>;
152
164
  /**
153
- * Create customer access token
165
+ * Release agent phone
154
166
  *
155
- * 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.
156
- *
157
- * 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_…"}.
167
+ * 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.
158
168
  */
159
- export declare const createCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerAccessTokenData, ThrowOnError>) => RequestResult<CreateCustomerAccessTokenResponses, CreateCustomerAccessTokenErrors, ThrowOnError>;
169
+ export declare const agentsPhoneRelease: <ThrowOnError extends boolean = false>(options: Options<AgentsPhoneReleaseData, ThrowOnError>) => RequestResult<AgentsPhoneReleaseResponses, AgentsPhoneReleaseErrors, ThrowOnError>;
160
170
  /**
161
- * Renew customer access token
162
- *
163
- * Get a fresh customer access token in the same sign-in, authenticated with the current one.
171
+ * Get agent embed policy
164
172
  *
165
- * 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.
173
+ * 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.
166
174
  */
167
- export declare const renewCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<RenewCustomerAccessTokenData, ThrowOnError>) => RequestResult<RenewCustomerAccessTokenResponses, RenewCustomerAccessTokenErrors, ThrowOnError>;
175
+ export declare const getAgentEmbedPolicy: <ThrowOnError extends boolean = false>(options: Options<GetAgentEmbedPolicyData, ThrowOnError>) => RequestResult<GetAgentEmbedPolicyResponses, GetAgentEmbedPolicyErrors, ThrowOnError>;
168
176
  /**
169
- * Log out customer
177
+ * Update agent embed policy
170
178
  *
171
- * Log the customer out by revoking the sign-in of the presented access token and every token issued in it.
172
- *
173
- * 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.
179
+ * 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"]}.
174
180
  */
175
- export declare const deleteCurrentCustomerAccessToken: <ThrowOnError extends boolean = false>(options: Options<DeleteCurrentCustomerAccessTokenData, ThrowOnError>) => RequestResult<DeleteCurrentCustomerAccessTokenResponses, DeleteCurrentCustomerAccessTokenErrors, ThrowOnError>;
181
+ export declare const updateAgentEmbedPolicy: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentEmbedPolicyData, ThrowOnError>) => RequestResult<UpdateAgentEmbedPolicyResponses, UpdateAgentEmbedPolicyErrors, ThrowOnError>;
176
182
  /**
177
183
  * List Computers
178
184
  *
179
185
  * List the computers of your organization, archived ones included.
180
186
  *
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; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
187
+ * 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.
182
188
  */
183
189
  export declare const computersList: <ThrowOnError extends boolean = false>(options?: Options<ComputersListData, ThrowOnError>) => RequestResult<ComputersListResponses, ComputersListErrors, ThrowOnError>;
184
190
  /**
185
191
  * Create Computer
186
192
  *
187
- * Create a durable computer: a named machine whose files outlive sessions, for general and personal agents.
193
+ * Create a durable computer: a named machine whose files outlive sessions, for general agents.
188
194
  *
189
- * 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.
195
+ * 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.
190
196
  */
191
197
  export declare const computersCreate: <ThrowOnError extends boolean = false>(options: Options<ComputersCreateData, ThrowOnError>) => RequestResult<ComputersCreateResponses, ComputersCreateErrors, ThrowOnError>;
192
198
  /**
@@ -202,15 +208,15 @@ export declare const computersDelete: <ThrowOnError extends boolean = false>(opt
202
208
  *
203
209
  * Read one computer's status, storage use and sandbox id.
204
210
  *
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; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
211
+ * 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.
206
212
  */
207
213
  export declare const computersRetrieve: <ThrowOnError extends boolean = false>(options: Options<ComputersRetrieveData, ThrowOnError>) => RequestResult<ComputersRetrieveResponses, ComputersRetrieveErrors, ThrowOnError>;
208
214
  /**
209
215
  * Update Computer
210
216
  *
211
- * Rename a computer.
217
+ * Rename a computer, declare its environment, or drop that declaration without touching the machine.
212
218
  *
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; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
219
+ * 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.
214
220
  */
215
221
  export declare const computersUpdate: <ThrowOnError extends boolean = false>(options: Options<ComputersUpdateData, ThrowOnError>) => RequestResult<ComputersUpdateResponses, ComputersUpdateErrors, ThrowOnError>;
216
222
  /**
@@ -218,7 +224,7 @@ export declare const computersUpdate: <ThrowOnError extends boolean = false>(opt
218
224
  *
219
225
  * Archive a computer: its files stay readable but new sessions cannot use it.
220
226
  *
221
- * 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.
227
+ * 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.
222
228
  */
223
229
  export declare const computersArchive: <ThrowOnError extends boolean = false>(options: Options<ComputersArchiveData, ThrowOnError>) => RequestResult<ComputersArchiveResponses, ComputersArchiveErrors, ThrowOnError>;
224
230
  /**
@@ -234,7 +240,7 @@ export declare const computersAttachmentsCreate: <ThrowOnError extends boolean =
234
240
  *
235
241
  * List the entries of one directory on a computer.
236
242
  *
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; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
243
+ * 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.
238
244
  */
239
245
  export declare const computersFilesList: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesListData, ThrowOnError>) => RequestResult<ComputersFilesListResponses, ComputersFilesListErrors, ThrowOnError>;
240
246
  /**
@@ -242,9 +248,23 @@ export declare const computersFilesList: <ThrowOnError extends boolean = false>(
242
248
  *
243
249
  * Download the bytes of one file on a computer, up to 16 MiB, with single-range support.
244
250
  *
245
- * 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.
251
+ * 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.
246
252
  */
247
253
  export declare const computersFilesContent: <ThrowOnError extends boolean = false>(options: Options<ComputersFilesContentData, ThrowOnError>) => RequestResult<ComputersFilesContentResponses, ComputersFilesContentErrors, ThrowOnError>;
254
+ /**
255
+ * Write computer file content
256
+ *
257
+ * Write the bytes of one existing file on a computer, only if the file is still the version you read.
258
+ *
259
+ * 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.
260
+ */
261
+ export declare const updateComputerFileContent: <ThrowOnError extends boolean = false>(options: Options<UpdateComputerFileContentData, ThrowOnError>) => RequestResult<UpdateComputerFileContentResponses, UpdateComputerFileContentErrors, ThrowOnError>;
262
+ /**
263
+ * Preview a computer file
264
+ *
265
+ * 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.
266
+ */
267
+ export declare const previewComputerFile: <ThrowOnError extends boolean = false>(options: Options<PreviewComputerFileData, ThrowOnError>) => RequestResult<PreviewComputerFileResponses, PreviewComputerFileErrors, ThrowOnError>;
248
268
  /**
249
269
  * Convert a Computer Document to PDF
250
270
  *
@@ -258,9 +278,9 @@ export declare const computersFilesConvert: <ThrowOnError extends boolean = fals
258
278
  *
259
279
  * Resume the computer and issue a sandbox connection.
260
280
  *
261
- * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
281
+ * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus tier (kept for compatibility: a Computer is one machine, so tier does not name a machine you can choose) and the lease that keeps the machine in service (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
262
282
  *
263
- * Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.
283
+ * Connect to a computer with a caller-held lease. Omit the body or send {}: the optional need field is accepted for compatibility and changes nothing, because a Computer is one machine. Renew the lease while using the connection and release it with DELETE when finished.
264
284
  */
265
285
  export declare const connectComputer: <ThrowOnError extends boolean = false>(options: Options<ConnectComputerData, ThrowOnError>) => RequestResult<ConnectComputerResponses, ConnectComputerErrors, ThrowOnError>;
266
286
  /**
@@ -282,7 +302,7 @@ export declare const releaseComputerLease: <ThrowOnError extends boolean = false
282
302
  /**
283
303
  * List Toolsets
284
304
  *
285
- * 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.
305
+ * 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.
286
306
  */
287
307
  export declare const listToolsets: <ThrowOnError extends boolean = false>(options?: Options<ListToolsetsData, ThrowOnError>) => RequestResult<ListToolsetsResponses, ListToolsetsErrors, ThrowOnError>;
288
308
  /**
@@ -293,6 +313,22 @@ export declare const listToolsets: <ThrowOnError extends boolean = false>(option
293
313
  * Praxis extension available only on /agent/v1, following Claude Agent SDK getContextUsage() with snake_case fields. detail is summary: the latest actual model usage takes precedence, and local estimates apportion source totals; used categories sum to total_tokens. Only nonzero sources appear. Classify rows by kind (used/free/buffer/deferred). key is a stable source identifier extension; clients must tolerate unknown keys and new sources, falling back to name. MCP tools group by server, plugin blocks by id, and compaction summaries are counted separately. excluded_items is currently zero. Before measurement, total_tokens, total_tokens_source and measured_at are null, categories is empty, and details are zero or empty arrays. Model selection recalculates max_tokens, auto_compact_threshold and free/buffer while preserving the latest measurement. is_auto_compact_enabled is false for unknown capacity or a tripped compaction breaker. For example model.thinking is {efforts: [high, xhigh], can_disable: true, default_effort: high}. model.thinking contains efforts, can_disable and nullable default_effort; the entire thinking value is null when capability is unknown. Missing or inaccessible sessions return 404.
294
314
  */
295
315
  export declare const getSessionContext: <ThrowOnError extends boolean = false>(options: Options<GetSessionContextData, ThrowOnError>) => RequestResult<GetSessionContextResponses, GetSessionContextErrors, ThrowOnError>;
316
+ /**
317
+ * Read one turn's platform prompt Revs
318
+ *
319
+ * Read back which platform prompt inputs one turn ran on, from the session's own ledger.
320
+ *
321
+ * The answer carries the configuration revision the turn pinned, that revision's version number, one 8-hex content Rev per platform input and when the record was taken. The platform inputs are ONE map keyed by each input's own name — `section:<name>` for a prompt section, plus `catalog` and `tools` — because catalog and tools are ordinary entries of that map, not layers of their own. Revs are content hashes: no prompt text, no tool description and no catalog content is ever in the answer, so the body can be compared across turns and releases without exposing what it names.
322
+ *
323
+ * With `run_id` you read that run's own record; without it you read the LAST record written. The last record is rewritten when the Rev set moves, not once per turn, so it may be several turns older than this call — which is why the answer's `run_id` is null in that case rather than naming a turn the record does not belong to, and why `at` is there: it is how you see how old the answer is. `at` never takes part in a comparison.
324
+ *
325
+ * **This read constructs the session object once.** A Durable Object cannot be read without being entered, so the call runs the object's startup, which may settle an interrupted turn; `acknowledge_wake=true` is required for exactly that reason, and the answer reports `reaped_turns` — how many interrupted turns this call's own arrival settled, `0` when it settled none. Only a value above 0 is evidence about this call. The read writes no row and does not refresh the eviction ordering key of the session's cached context parts.
326
+ *
327
+ * **What this method does not tell you:** whether the object was a new instance or a rebuilt first probe. That distinction is not in the contract yet; when `agent.sessions.tablesInfo`'s contract face carries `start_phase`, the two read methods move to it together. Do not infer it from this answer.
328
+ *
329
+ * A run that was never recorded, or a session that has recorded nothing yet, answers 404 with `reason: unknown_run`; a session that is absent or unreadable answers 404 with `reason: unknown_session`. Neither 404 body carries a record field — not even `run_id: null` — because "no record" and "an empty record" must not look the same. Own face only: the compatible face's vocabulary is the vendor's.
330
+ */
331
+ export declare const getSessionPromptRevs: <ThrowOnError extends boolean = false>(options: Options<GetSessionPromptRevsData, ThrowOnError>) => RequestResult<GetSessionPromptRevsResponses, GetSessionPromptRevsErrors, ThrowOnError>;
296
332
  /**
297
333
  * Fork Session (Extension)
298
334
  *
@@ -301,12 +337,28 @@ export declare const getSessionContext: <ThrowOnError extends boolean = false>(o
301
337
  * 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.
302
338
  */
303
339
  export declare const forkSession: <ThrowOnError extends boolean = false>(options: Options<ForkSessionData, ThrowOnError>) => RequestResult<ForkSessionResponses, ForkSessionErrors, ThrowOnError>;
340
+ /**
341
+ * Rename Session (Extension)
342
+ *
343
+ * Give a session a short, branch-like name; the main session is always main and cannot be renamed.
344
+ *
345
+ * 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"}.
346
+ */
347
+ export declare const renameSession: <ThrowOnError extends boolean = false>(options: Options<RenameSessionData, ThrowOnError>) => RequestResult<RenameSessionResponses, RenameSessionErrors, ThrowOnError>;
348
+ /**
349
+ * Update session agent version
350
+ *
351
+ * Move one session to a version of its agent
352
+ *
353
+ * 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.
354
+ */
355
+ export declare const updateSessionAgentVersion: <ThrowOnError extends boolean = false>(options: Options<UpdateSessionAgentVersionData, ThrowOnError>) => RequestResult<UpdateSessionAgentVersionResponses, UpdateSessionAgentVersionErrors, ThrowOnError>;
304
356
  /**
305
357
  * List Session Artifacts (Extension)
306
358
  *
307
359
  * List the files this session delivered; an end-customer token reads its own session.
308
360
  *
309
- * Own-face extension. Returns { data: Artifact[] } ordered by create_time. Each artifact is one file in the session outputs directory 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.
361
+ * 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.
310
362
  */
311
363
  export declare const listSessionArtifacts: <ThrowOnError extends boolean = false>(options: Options<ListSessionArtifactsData, ThrowOnError>) => RequestResult<ListSessionArtifactsResponses, ListSessionArtifactsErrors, ThrowOnError>;
312
364
  /**
@@ -314,7 +366,7 @@ export declare const listSessionArtifacts: <ThrowOnError extends boolean = false
314
366
  *
315
367
  * Mint a short-lived download address for one file of an artifact.
316
368
  *
317
- * 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. 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.
369
+ * 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.
318
370
  */
319
371
  export declare const createSessionArtifactContentUrl: <ThrowOnError extends boolean = false>(options: Options<CreateSessionArtifactContentUrlData, ThrowOnError>) => RequestResult<CreateSessionArtifactContentUrlResponses, CreateSessionArtifactContentUrlErrors, ThrowOnError>;
320
372
  /**
@@ -322,9 +374,17 @@ export declare const createSessionArtifactContentUrl: <ThrowOnError extends bool
322
374
  *
323
375
  * List the requests a session is waiting on; an end-customer token reads its own session.
324
376
  *
325
- * 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 (question for the ask_user_question tool, approval for any other tool that waits for permission), 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.
377
+ * 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.
326
378
  */
327
379
  export declare const listSessionRequests: <ThrowOnError extends boolean = false>(options: Options<ListSessionRequestsData, ThrowOnError>) => RequestResult<ListSessionRequestsResponses, ListSessionRequestsErrors, ThrowOnError>;
380
+ /**
381
+ * Create Session Dictation Stream (Extension)
382
+ *
383
+ * Open a dictation stream for a session and get the address to push microphone audio to.
384
+ *
385
+ * Own-face extension. The body is optional: hotwords (at most 50 words the recogniser should favour). Returns 201 { id, push_url, expires_at }: id is the stream id (mst_...), push_url a wss address, expires_at when the address stops accepting a new connection. The speech-to-text model is the agent's dictation_model, or the platform default when it names none. Once connected to push_url, send one text frame {"type":"start","format":"pcm_s16le","sample_rate":16000,"channels":1}, then binary PCM frames of at most 64 KiB, then {"type":"stop"}; the text frames you receive are partial, final, done (with audio_seconds and cost_usd) and error. Each final carries end_ms, where that sentence ends in the audio you sent: if the connection drops, send what comes after the last end_ms to a new dictation. You may connect ahead of time: the stream waits up to 5 minutes for start; after start it closes after 30 s without a frame, and it carries at most 10 minutes of audio. push_url carries a short-lived capability: treat it as a secret and do not store or log it. A session that is missing or not yours returns 404; a model that cannot transcribe a live stream returns 409 DICTATION_UNCONFIGURED; dictation not available in this environment returns 503 DICTATION_UNAVAILABLE; more than 50 hotwords or an unsupported field returns 400.
386
+ */
387
+ export declare const createSessionDictation: <ThrowOnError extends boolean = false>(options: Options<CreateSessionDictationData, ThrowOnError>) => RequestResult<CreateSessionDictationResponses, CreateSessionDictationErrors, ThrowOnError>;
328
388
  /**
329
389
  * List Session Background Tasks (Extension)
330
390
  *
@@ -373,12 +433,30 @@ export declare const getSessionCompaction: <ThrowOnError extends boolean = false
373
433
  * 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.
374
434
  */
375
435
  export declare const listSessionCompactions: <ThrowOnError extends boolean = false>(options: Options<ListSessionCompactionsData, ThrowOnError>) => RequestResult<ListSessionCompactionsResponses, ListSessionCompactionsErrors, ThrowOnError>;
436
+ /**
437
+ * Upload a File (Extension)
438
+ *
439
+ * 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"}.
440
+ */
441
+ export declare const createAgentUpload: <ThrowOnError extends boolean = false>(options: Options<CreateAgentUploadData, ThrowOnError>) => RequestResult<CreateAgentUploadResponses, CreateAgentUploadErrors, ThrowOnError>;
442
+ /**
443
+ * Create Upload Content URL (Extension)
444
+ *
445
+ * 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.
446
+ */
447
+ export declare const createAgentUploadContentUrl: <ThrowOnError extends boolean = false>(options: Options<CreateAgentUploadContentUrlData, ThrowOnError>) => RequestResult<CreateAgentUploadContentUrlResponses, CreateAgentUploadContentUrlErrors, ThrowOnError>;
376
448
  /**
377
449
  * Generate speech
378
450
  *
379
451
  * 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"}.
380
452
  */
381
453
  export declare const createAudioSpeech: <ThrowOnError extends boolean = false>(options: Options<CreateAudioSpeechData, ThrowOnError>) => RequestResult<CreateAudioSpeechResponses, CreateAudioSpeechErrors, ThrowOnError>;
454
+ /**
455
+ * List current prices
456
+ *
457
+ * 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.
458
+ */
459
+ export declare const listPublicPrices: <ThrowOnError extends boolean = false>(options?: Options<ListPublicPricesData, ThrowOnError>) => RequestResult<ListPublicPricesResponses, ListPublicPricesErrors, ThrowOnError>;
382
460
  /**
383
461
  * 列出浏览器会话
384
462
  *
@@ -388,7 +466,7 @@ export declare const browserListSessions: <ThrowOnError extends boolean = false>
388
466
  /**
389
467
  * 创建浏览器会话
390
468
  *
391
- * 创建云端 Chrome,返回自带凭证的 connectUrl。API 会话默认断开后结束;最长 6 小时。
469
+ * 创建云端 Chrome,返回自带凭证的 connectUrl;带 name 时按名字幂等:本账户已有同名且 RUNNING(未在释放中)、挂载的登录态与本次相同(都没挂也算相同)的会话,就直接返回这个会话(HTTP 200,reused=true,不新开、不计费),同名但登录态不同返回 409 SESSION_NAME_IN_USE(消息写明已有会话的 id),同名会话已在释放或已结束则新开;不带 name 时每次都新开(HTTP 201,reused=false)。同一件事请固定一个会话名并复用,不要每步新开再关闭:频繁新开会话对网站来说像同一账号不断换新设备登录,容易触发风控。persist 写入租约仍只属于这一个会话。它是一条完整 CDP 连接,真指针事件(触摸、拖拽、按坐标点击)从那里发送,页面动作接口只做按 ref 的语义动作。API 会话默认断开后结束;最长 6 小时。运行中服务每 60 秒做一次健康检查(Browser.getVersion,超时 10 秒),连续 2 次失败即以 closeReason=watchdog 结束会话,keepAlive=true 也不豁免;该事件记录判据读数。
392
470
  */
393
471
  export declare const browserCreateSession: <ThrowOnError extends boolean = false>(options: Options<BrowserCreateSessionData, ThrowOnError>) => RequestResult<BrowserCreateSessionResponses, BrowserCreateSessionErrors, ThrowOnError>;
394
472
  /**
@@ -406,7 +484,7 @@ export declare const browserCloseSession: <ThrowOnError extends boolean = false>
406
484
  /**
407
485
  * 读取调试地址
408
486
  *
409
- * 读取当前会话及各标签页的实时观看地址和 CDP 连接地址。直接使用返回的完整链接,保留查询凭证;会话不在运行状态时 pages 为空,返回地址不代表会话仍可连接。
487
+ * 读取当前会话及各标签页的实时观看地址和 CDP 连接地址。直接使用返回的完整链接,保留查询凭证;会话不在运行状态时 pages 为空,返回地址不代表会话仍可连接——会话结束后(进入释放或已释放),用返回的 wsUrl 建立 CDP 连接会得到 409 SESSION_ENDED。
410
488
  */
411
489
  export declare const browserGetDebug: <ThrowOnError extends boolean = false>(options: Options<BrowserGetDebugData, ThrowOnError>) => RequestResult<BrowserGetDebugResponses, BrowserGetDebugErrors, ThrowOnError>;
412
490
  /**
@@ -418,7 +496,7 @@ export declare const browserListEvents: <ThrowOnError extends boolean = false>(o
418
496
  /**
419
497
  * 执行页面动作
420
498
  *
421
- * 在会话的浏览器里执行一个页面动作并返回结果,由浏览器服务执行,客户端不需要 Playwright。同一会话的动作按到达顺序串行执行,单个动作 30 秒内完成。先用 snapshot 读取页面:元素带 [ref=eN],click、fill、select 按 ref 操作;ref 只在最近一次快照里有效,页面跳转后失效(409 ACTION_REF_STALE,重新 snapshot)。省略 tab 时作用于当前标签页。
499
+ * 在会话的浏览器里执行一个页面动作并返回结果,由浏览器服务执行,客户端不需要 Playwright。同一会话的动作按到达顺序串行执行,单个动作 30 秒内完成。先用 snapshot 读取页面:元素带 [ref=eN],click、fill、select 按 ref 操作;ref 只在最近一次快照里有效,页面跳转后失效(409 ACTION_REF_STALE,重新 snapshot)。省略 tab 时作用于当前标签页。动作都是语义动作:click、fill、select 按快照 ref 定位元素,scroll 派发滚轮事件;没有触摸、拖拽或按坐标点击,也没有按坐标派发指针事件的动作。页面必须收到真手指或指针事件(touchstart/touchmove/touchend、拖拽、按坐标点击)时,改用 CDP 连接:使用创建会话返回的 connectUrl,或 /browser/v1/connect 建立连接,再发送 Input.dispatchTouchEvent、Input.dispatchMouseEvent 等 CDP 命令。
422
500
  */
423
501
  export declare const browserRunPageAction: <ThrowOnError extends boolean = false>(options: Options<BrowserRunPageActionData, ThrowOnError>) => RequestResult<BrowserRunPageActionResponses, BrowserRunPageActionErrors, ThrowOnError>;
424
502
  /**
@@ -475,10 +553,52 @@ export declare const browserGetContext: <ThrowOnError extends boolean = false>(o
475
553
  * 更新登录态的名称和标签并返回更新后的对象,不修改已保存的 cookie 或 localStorage。省略字段保留原值;空名称清除名称,传入 labels 会整体替换标签,空对象清除标签。
476
554
  */
477
555
  export declare const browserUpdateContext: <ThrowOnError extends boolean = false>(options: Options<BrowserUpdateContextData, ThrowOnError>) => RequestResult<BrowserUpdateContextResponses, BrowserUpdateContextErrors, ThrowOnError>;
556
+ /**
557
+ * 创建浏览器配对码
558
+ *
559
+ * 为一个要接入的 Chrome 或 Edge 创建 8 位配对码,一次性、10 分钟有效;把它交给用户,由用户在浏览器扩展里输入或由 Console 直接交给扩展,用户点「允许」后配对完成。需要组织已开通 BYOB,否则返回 501 PROVIDER_UNSUPPORTED。
560
+ */
561
+ export declare const browserCreateByobPairing: <ThrowOnError extends boolean = false>(options?: Options<BrowserCreateByobPairingData, ThrowOnError>) => RequestResult<BrowserCreateByobPairingResponses, BrowserCreateByobPairingErrors, ThrowOnError>;
562
+ /**
563
+ * 列出自带浏览器
564
+ *
565
+ * 分页列出当前组织已配对且未断开的自带浏览器,按 ID 升序。将 nextCursor 原样传入读取下一页,直到其为 null。
566
+ */
567
+ export declare const browserListByobBrowsers: <ThrowOnError extends boolean = false>(options?: Options<BrowserListByobBrowsersData, ThrowOnError>) => RequestResult<BrowserListByobBrowsersResponses, BrowserListByobBrowsersErrors, ThrowOnError>;
568
+ /**
569
+ * 读取自带浏览器
570
+ *
571
+ * 读取当前组织的指定自带浏览器,包括已断开的(revoked_at 不为 null)。不存在或不属于当前组织时返回 404 BROWSER_NOT_FOUND。
572
+ */
573
+ export declare const browserGetByobBrowser: <ThrowOnError extends boolean = false>(options: Options<BrowserGetByobBrowserData, ThrowOnError>) => RequestResult<BrowserGetByobBrowserResponses, BrowserGetByobBrowserErrors, ThrowOnError>;
574
+ /**
575
+ * 更新自带浏览器的名称、授权智能体与允许站点
576
+ *
577
+ * 给自带浏览器改名,只改请求里出现的字段。已断开的浏览器返回 410 BROWSER_REVOKED,需要重新配对。
578
+ */
579
+ export declare const browserUpdateByobBrowser: <ThrowOnError extends boolean = false>(options: Options<BrowserUpdateByobBrowserData, ThrowOnError>) => RequestResult<BrowserUpdateByobBrowserResponses, BrowserUpdateByobBrowserErrors, ThrowOnError>;
580
+ /**
581
+ * 断开自带浏览器
582
+ *
583
+ * 断开自带浏览器:之后没有任何智能体能再驱动它,要用必须重新配对。可重复调用,结果相同;功能开关关闭时也能断开。
584
+ */
585
+ export declare const browserDisconnectByobBrowser: <ThrowOnError extends boolean = false>(options: Options<BrowserDisconnectByobBrowserData, ThrowOnError>) => RequestResult<BrowserDisconnectByobBrowserResponses, BrowserDisconnectByobBrowserErrors, ThrowOnError>;
586
+ /**
587
+ * 读取浏览器配对授权页信息
588
+ *
589
+ * 扩展的授权页读取配对码对应的组织与发起人,让用户确认后再点「允许」。不需要 API Key,配对码就是凭证;码不存在、已过期、已使用一律返回 404 PAIRING_NOT_FOUND,不区分原因。
590
+ */
591
+ export declare const browserReadByobPairing: <ThrowOnError extends boolean = false>(options: Options<BrowserReadByobPairingData, ThrowOnError>) => RequestResult<BrowserReadByobPairingResponses, BrowserReadByobPairingErrors, ThrowOnError>;
592
+ /**
593
+ * 认领浏览器配对码
594
+ *
595
+ * 用户点「允许」后,扩展用配对码认领一次,登记这个浏览器并取得 browser_id 和要拨入的 link_url。不需要 API Key,配对码就是凭证,只能使用一次;码不存在、已过期、已使用一律返回 404 PAIRING_NOT_FOUND。请求体不合格时返回 400 且不消耗配对码。
596
+ */
597
+ export declare const browserClaimByobPairing: <ThrowOnError extends boolean = false>(options: Options<BrowserClaimByobPairingData, ThrowOnError>) => RequestResult<BrowserClaimByobPairingResponses, BrowserClaimByobPairingErrors, ThrowOnError>;
478
598
  /**
479
599
  * 连接云端浏览器
480
600
  *
481
- * CDP WebSocket:不填 session 或 name 时新开;session 连接已有会话;name 有就连接、没有就新开。session 与 name 不可同时提供。新建参数在连接已有会话时忽略。使用 Authorization: Bearer API_KEY,或直接使用创建会话返回的带 signingKey 的 connectUrl。连上后发送 CDP 命令 Praxis.getSession,获取 sessionId、liveViewUrl、consoleUrl。
601
+ * CDP WebSocket:不填 session 或 name 时新开;session 连接已有会话;name 有就连接、没有就新开。session 与 name 不可同时提供。新建参数在连接已有会话时忽略。使用 Authorization: Bearer API_KEY,或直接使用创建会话返回的带 signingKey 的 connectUrl。连上后发送 CDP 命令 Praxis.getSession,获取 sessionId、liveViewUrl、consoleUrl。这是完整 CDP 连接:真手指或指针事件(Emulation.setTouchEmulationEnabled 加 Input.dispatchTouchEvent、拖拽用的 Input.dispatchMouseEvent)只能从这里发,页面动作接口只做按 ref 的语义动作。要挂指定登录态,可用 context 参数,或直接连接 sessions.create 返回的 connectUrl。
482
602
  */
483
603
  export declare const browserConnect: <ThrowOnError extends boolean = false>(options?: Options<BrowserConnectData, ThrowOnError>) => RequestResult<unknown, BrowserConnectErrors, ThrowOnError>;
484
604
  /**
@@ -508,7 +628,7 @@ export declare const browserSeleniumUnsupported: <ThrowOnError extends boolean =
508
628
  /**
509
629
  * List files
510
630
  *
511
- * 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.
631
+ * 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.
512
632
  */
513
633
  export declare const fileListFiles: <ThrowOnError extends boolean = false>(options?: Options<FileListFilesData, ThrowOnError>) => RequestResult<FileListFilesResponses, FileListFilesErrors, ThrowOnError>;
514
634
  /**
@@ -568,7 +688,7 @@ export declare const fileRetrieveUpload: <ThrowOnError extends boolean = false>(
568
688
  /**
569
689
  * Create a one-time upload URL
570
690
  *
571
- * Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {"filename":"photo.png","bytes":2048,"content_type":"image/png"}.
691
+ * 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 201 with the same file, because a lost answer must not cost the file. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. An expired upload answers 410 UPLOAD_EXPIRED on its status_url and complete_url while the upload still exists in the caller's organization; revoked, invalid, cross-organization or unknown URLs return 404, including a link whose upload record no longer exists. A signed URL used for another action answers 403 CAPABILITY_MISMATCH, judged before expiry, so 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"}.
572
692
  */
573
693
  export declare const fileCreateSignedUpload: <ThrowOnError extends boolean = false>(options: Options<FileCreateSignedUploadData, ThrowOnError>) => RequestResult<FileCreateSignedUploadResponses, FileCreateSignedUploadErrors, ThrowOnError>;
574
694
  /**
@@ -629,6 +749,138 @@ export declare const metaDocsRetrieve: <ThrowOnError extends boolean = false>(op
629
749
  * Find guides and references by keyword before reading them with praxis.meta.docs.retrieve. Public; no API key required. Matches documentation titles, headings and page text without case sensitivity; all query words must occur. q is required; limit defaults to 20 and accepts 1–50. lang defaults to zh or use en for English. Returns paths, page titles, canonical URLs and short matching snippets; no matches returns an empty array.
630
750
  */
631
751
  export declare const metaDocsSearch: <ThrowOnError extends boolean = false>(options: Options<MetaDocsSearchData, ThrowOnError>) => RequestResult<MetaDocsSearchResponses, MetaDocsSearchErrors, ThrowOnError>;
752
+ /**
753
+ * List streams
754
+ *
755
+ * List the streams of your organization, newest first, to find a stream id or to see which are active; to read one stream use streams.retrieve. Pages hold limit streams (1 to 100, default 20); when has_more is true pass the id of the last stream you received as starting_after to get the next page. A stream that is deleted leaves the list at once. The list never shows another organization's streams. Example: GET /media/v1/streams?limit=20.
756
+ */
757
+ export declare const listMediaStreams: <ThrowOnError extends boolean = false>(options?: Options<ListMediaStreamsData, ThrowOnError>) => RequestResult<ListMediaStreamsResponses, ListMediaStreamsErrors, ThrowOnError>;
758
+ /**
759
+ * Create a stream
760
+ *
761
+ * Register one live source and get its id; use it before anything else on this face, and use streams.update instead to change a stream you already have. Send input as {kind: pull, url} to have Praxis pull an https, http, rtmp or rtmps address (an HLS .m3u8 or HTTP-FLV playlist, or an RTMP URL; SRT is not supported and answers 400), or as {kind: push} to receive a push address: the response then carries push {url, token, expires_at}, and the token is shown only in this response and in streams.resetToken.create because only its hash is kept. For an encoder such as OBS send {kind: push, protocol: rtmp} (or srt): the response then carries push {protocol, url, stream_key} (srt: {protocol, url, stream_id, passphrase}), which you type into the encoder; the key is shown only in this response and never again, a stream read does not carry it, and there is no token to reset. The stream pulls what the encoder sends by itself, so it goes waiting at once and active a few seconds after the encoder connects; stopping and restarting the encoder inside reconnect_window_s continues the same broadcast. Turn recording on (recording.mode automatic) to keep the broadcast as an asset. A stream pushed over rtmp or srt cannot have outputs yet: streams.outputs.create answers 422 with OUTPUT_SOURCE_NOT_SUPPORTED. The answer shows the stream idle. A pull stream starts pulling as soon as it is created, so a read a few seconds later shows waiting or active; a push stream stays idle until a source connects. Nothing is charged until a source goes active. reconnect_window_s (0 to 1800, default 60) is how long a source that drops may come back and continue the same broadcast; max_continuous_duration_s (60 to 43200, default 43200) ends a broadcast that runs that long. recording defaults to off. The owner is your organization (and the agent and session when a session token calls); the body cannot set it and unknown fields answer 400. Example: {"input":{"kind":"pull","url":"https://live.example.com/room/index.m3u8"},"recording":{"mode":"automatic","rendition":"source"}}.
762
+ */
763
+ export declare const createMediaStream: <ThrowOnError extends boolean = false>(options: Options<CreateMediaStreamData, ThrowOnError>) => RequestResult<CreateMediaStreamResponses, CreateMediaStreamErrors, ThrowOnError>;
764
+ /**
765
+ * Delete a stream
766
+ *
767
+ * Delete a stream and its event log for good; only an idle or disabled stream can be deleted, so stop a live one first with streams.disable.create. The stream leaves the list at once and gives back any slot it held. Recordings it already made are Media assets and stay. Deleting is not undone and the id is not reused. Example: DELETE /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec.
768
+ */
769
+ export declare const deleteMediaStream: <ThrowOnError extends boolean = false>(options: Options<DeleteMediaStreamData, ThrowOnError>) => RequestResult<DeleteMediaStreamResponses, DeleteMediaStreamErrors, ThrowOnError>;
770
+ /**
771
+ * Retrieve a stream
772
+ *
773
+ * Read one stream: its status, input, reconnect and duration limits, recording settings, pipeline, the asset of the current broadcast and the recent ones. Use it to check whether a stream is idle, waiting, active or disabled; to follow what happened to it read streams.events.list instead. The push token is never returned here, only in the create and reset-token responses. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec.
774
+ */
775
+ export declare const getMediaStream: <ThrowOnError extends boolean = false>(options: Options<GetMediaStreamData, ThrowOnError>) => RequestResult<GetMediaStreamResponses, GetMediaStreamErrors, ThrowOnError>;
776
+ /**
777
+ * Update a stream
778
+ *
779
+ * Change the settings of a stream you own; send only the fields to change. reconnect_window_s and max_continuous_duration_s take the same ranges as on create. recording is merged onto the current settings (send {rendition: sd} to change only the rendition; a null optional field such as library_id clears it). pipeline_id is stored as given (null clears it). input can change only the url of a pull stream and only while it is idle or disabled; a push stream has no address to change and a live pull stream answers 409. An empty patch, an unknown field or an invalid value answers 400. Example: {"reconnect_window_s":120,"recording":{"mode":"automatic"}}.
780
+ */
781
+ export declare const updateMediaStream: <ThrowOnError extends boolean = false>(options: Options<UpdateMediaStreamData, ThrowOnError>) => RequestResult<UpdateMediaStreamResponses, UpdateMediaStreamErrors, ThrowOnError>;
782
+ /**
783
+ * Enable a stream
784
+ *
785
+ * Bring a disabled stream back to idle so a source may drive it again; it does not start anything by itself. Only a disabled stream can be enabled; an idle, waiting or active stream answers 409. Use streams.disable.create to stop a stream. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/enable with no body.
786
+ */
787
+ export declare const enableMediaStream: <ThrowOnError extends boolean = false>(options: Options<EnableMediaStreamData, ThrowOnError>) => RequestResult<EnableMediaStreamResponses, EnableMediaStreamErrors, ThrowOnError>;
788
+ /**
789
+ * Disable a stream
790
+ *
791
+ * Stop a stream from any status: a live stream is closed out (its log records stream.disconnected and stream.idle), it gives back its active slot, and a source can no longer drive it until streams.enable.create. Disabling a disabled stream changes nothing and answers 200. Use it before deleting a live stream or to switch a source off without losing the stream. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/disable with no body.
792
+ */
793
+ export declare const disableMediaStream: <ThrowOnError extends boolean = false>(options: Options<DisableMediaStreamData, ThrowOnError>) => RequestResult<DisableMediaStreamResponses, DisableMediaStreamErrors, ThrowOnError>;
794
+ /**
795
+ * Get the address and capability to subscribe to a stream's events
796
+ *
797
+ * Mint a subscribe capability for the stream's event socket: a WebSocket that sends every event after a sequence number, then each new event as it is written. Use it for live delivery to an app or a dashboard; to read the log in pages without holding a socket use streams.events.list, and to receive events at your server use a webhook element of a pipeline. The response carries {url, token, expires_at}: open the url as a WebSocket and append &after=<seq> with the highest seq you have already seen (omit it, or use 0, to read from the start). A subscriber that was away comes back with its last seq and is sent every event it missed, then the live ones; the same event can arrive again, so de-duplicate on the event id. The token opens the socket and nothing else, is valid for one hour, may be held by any number of subscribers at once and is shown only in this response; mint a new one to reconnect after it expires. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/subscribe-token with no body.
798
+ */
799
+ export declare const createMediaStreamSubscription: <ThrowOnError extends boolean = false>(options: Options<CreateMediaStreamSubscriptionData, ThrowOnError>) => RequestResult<CreateMediaStreamSubscriptionResponses, CreateMediaStreamSubscriptionErrors, ThrowOnError>;
800
+ /**
801
+ * Get the address and capability to play a stream live
802
+ *
803
+ * Mint a playback capability for the stream: an address of its live HLS playlist that a browser player can open with no API key. Call it from your own server and hand the address to the page, so the API key never reaches the browser; the Praxis Kit LiveStreamPlayer takes it as playbackUrl. The stream must have playback.enabled set (or record automatically), otherwise nothing is kept to play and the answer is 409. The response carries {url, expires_at}: the token is valid for one hour, any number can be held at once, and it opens this stream's playlist and nothing else. The playlist shows the newest six segments of the broadcast in progress with PROGRAM-DATE-TIME on each, and ends (EXT-X-ENDLIST) when the stream is idle or disabled. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/playback-token with no body.
804
+ */
805
+ export declare const createMediaStreamPlayback: <ThrowOnError extends boolean = false>(options: Options<CreateMediaStreamPlaybackData, ThrowOnError>) => RequestResult<CreateMediaStreamPlaybackResponses, CreateMediaStreamPlaybackErrors, ThrowOnError>;
806
+ /**
807
+ * Read the live HLS playlist of a stream
808
+ *
809
+ * The live HLS playlist of the broadcast in progress: a sliding window of the newest six segments, each with EXT-X-PROGRAM-DATE-TIME (the wall clock of its first frame) and the address of its media, signed for ten minutes. Players read it again every few seconds. It carries no media itself and takes no API key: the token in the address (minted by streams.playbackToken) is the credential, and the answer is open to any browser origin. Use the address as given; do not build it by hand. The playlist ends with EXT-X-ENDLIST once the stream is idle or disabled. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/live.m3u8?token=Qm9v.
810
+ */
811
+ export declare const getMediaStreamLivePlaylist: <ThrowOnError extends boolean = false>(options: Options<GetMediaStreamLivePlaylistData, ThrowOnError>) => RequestResult<GetMediaStreamLivePlaylistResponses, GetMediaStreamLivePlaylistErrors, ThrowOnError>;
812
+ /**
813
+ * Reset the push token of a stream
814
+ *
815
+ * Mint a new push token for a push stream and invalidate the old one, for example when the token leaked or has expired (a token is valid for 24 hours). The response carries the new push {url, token, expires_at}; the token is shown only here. A pull stream has no token and answers 409. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/reset-token with no body.
816
+ */
817
+ export declare const resetMediaStreamToken: <ThrowOnError extends boolean = false>(options: Options<ResetMediaStreamTokenData, ThrowOnError>) => RequestResult<ResetMediaStreamTokenResponses, ResetMediaStreamTokenErrors, ThrowOnError>;
818
+ /**
819
+ * List the events of a stream
820
+ *
821
+ * Read the stream's event log in order, to follow what the stream did or to catch up after a disconnect: pass after set to the highest seq you have seen and you receive every later event, oldest first, up to limit (1 to 100, default 100). Events are delivered at least once and each has a stable id, so a repeat is the same event. Kinds are the life cycle of the stream (stream.waiting, stream.connected, stream.active, stream.disconnected, stream.idle), recording.ready and recording.failed, output.status, and the results of its pipeline (transcript.partial, transcript.final, frame.described, alert, pipeline.unsupported_audio, pipeline.describe_failed). at is wall-clock time and at_source says whether it came from the source (program_date_time) or was the time Praxis received it; offset_ms is the position inside the stream when known. Events are kept at least 24 hours. When has_more is false next_after is the seq to pass next time. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/events?after=12&limit=50.
822
+ */
823
+ export declare const listMediaStreamEvents: <ThrowOnError extends boolean = false>(options: Options<ListMediaStreamEventsData, ThrowOnError>) => RequestResult<ListMediaStreamEventsResponses, ListMediaStreamEventsErrors, ThrowOnError>;
824
+ /**
825
+ * List pipelines
826
+ *
827
+ * List the pipelines of your organization, newest first, to find a pipeline id; to read one use pipelines.retrieve. Pages hold limit pipelines (1 to 100, default 20); when has_more is true pass the id of the last pipeline you received as starting_after to get the next page. Example: GET /media/v1/pipelines?limit=20.
828
+ */
829
+ export declare const listMediaPipelines: <ThrowOnError extends boolean = false>(options?: Options<ListMediaPipelinesData, ThrowOnError>) => RequestResult<ListMediaPipelinesResponses, ListMediaPipelinesErrors, ThrowOnError>;
830
+ /**
831
+ * Create a pipeline
832
+ *
833
+ * Describe what to run while a stream is live, once, and attach it to as many streams as you like with pipeline_id. A pipeline is an ordered list of elements: processors that read the broadcast and sinks that receive the results. transcribe {language?, hot_words?} turns the speech into transcript.partial and transcript.final events (each carries offset_ms in the stream, end_ms and the wall-clock time at, which is the source's own PROGRAM-DATE-TIME when it has one and the time received otherwise). describe_frames {interval_s 5 to 300 default 10, prompt?, model?} describes one keyframe every interval_s as a frame.described event; a slow description skips the frames in between, it never queues them. match_keywords {keywords} raises an alert event when a final sentence of the transcript holds one of the words, as a keyword_match alert rule does; the sinks send the results on: webhook {url} posts every event of the stream to your server, signed as Standard Webhooks (the secret whsec_ is shown once, in the response that adds the webhook), and agent {session_id} sends them to an agent session; the events sink is always on. A processor appears once; webhook and agent sinks up to five each. alert_rules holds keyword_match {keywords} and model_judgment {prompt}. A stream runs the pipeline as it was when the broadcast began: editing it changes the next broadcast, not the one on air. Example: {"name":"jewellery room","elements":[{"type":"transcribe","language":"zh"},{"type":"describe_frames","interval_s":20}]}.
834
+ */
835
+ export declare const createMediaPipeline: <ThrowOnError extends boolean = false>(options: Options<CreateMediaPipelineData, ThrowOnError>) => RequestResult<CreateMediaPipelineResponses, CreateMediaPipelineErrors, ThrowOnError>;
836
+ /**
837
+ * Delete a pipeline
838
+ *
839
+ * Delete a pipeline that no stream names. A stream that still has it as its pipeline_id keeps the deletion from happening, so detach it first with streams.update (pipeline_id: null) or delete the stream. Deleting is not undone and the id is not reused. Example: DELETE /media/v1/pipelines/msp_zpnqd7a2kxwg3vhr5tj4bfm6ec.
840
+ */
841
+ export declare const deleteMediaPipeline: <ThrowOnError extends boolean = false>(options: Options<DeleteMediaPipelineData, ThrowOnError>) => RequestResult<DeleteMediaPipelineResponses, DeleteMediaPipelineErrors, ThrowOnError>;
842
+ /**
843
+ * Retrieve a pipeline
844
+ *
845
+ * Read one pipeline: its name, elements and alert rules, as a stream that names it will run them. Example: GET /media/v1/pipelines/msp_zpnqd7a2kxwg3vhr5tj4bfm6ec.
846
+ */
847
+ export declare const getMediaPipeline: <ThrowOnError extends boolean = false>(options: Options<GetMediaPipelineData, ThrowOnError>) => RequestResult<GetMediaPipelineResponses, GetMediaPipelineErrors, ThrowOnError>;
848
+ /**
849
+ * Update a pipeline
850
+ *
851
+ * Change a pipeline's name, elements or alert_rules; each field you send replaces the whole of that field (elements is a list, not a merge) and a field you leave out stays. A stream that is live keeps the pipeline it began its broadcast with; the change takes effect from its next broadcast. An empty body answers 400. Example: {"elements":[{"type":"transcribe"}]}.
852
+ */
853
+ export declare const updateMediaPipeline: <ThrowOnError extends boolean = false>(options: Options<UpdateMediaPipelineData, ThrowOnError>) => RequestResult<UpdateMediaPipelineResponses, UpdateMediaPipelineErrors, ThrowOnError>;
854
+ /**
855
+ * List a stream's re-broadcast targets
856
+ *
857
+ * List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the reason of one that is errored or trying again. Use it to see at a glance which targets are live; to change one use streams.outputs.update and to follow status changes as they happen read streams.events.list. A stream has at most 5 outputs, so the list is one page. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs.
858
+ */
859
+ export declare const listMediaStreamOutputs: <ThrowOnError extends boolean = false>(options: Options<ListMediaStreamOutputsData, ThrowOnError>) => RequestResult<ListMediaStreamOutputsResponses, ListMediaStreamOutputsErrors, ThrowOnError>;
860
+ /**
861
+ * Add a re-broadcast target to a stream
862
+ *
863
+ * Re-broadcast a live stream to another service (simulcast): give the target's RTMP address in url and its stream key in stream_key, and every broadcast of this stream is also sent there, without transcoding, while the stream is active. Use it to feed YouTube, Twitch or your own RTMP server from one source; to follow what the target does read streams.events.list for output.status events, and use streams.outputs.retrieve for its current status. url must be rtmp:// or rtmps:// on a public host and name the application (rtmp://a.rtmp.youtube.com/live2); the key is write-only, it is never returned, a read only says stream_key_set is true. A stream has at most 5 outputs. A new output is idle and starts with the next broadcast, or at once when the stream is active. One output that is slow or down never affects the others, the recording or the pipeline. Example: {"url":"rtmps://live.example.com:443/app","stream_key":"live_abc123"}.
864
+ */
865
+ export declare const createMediaStreamOutput: <ThrowOnError extends boolean = false>(options: Options<CreateMediaStreamOutputData, ThrowOnError>) => RequestResult<CreateMediaStreamOutputResponses, CreateMediaStreamOutputErrors, ThrowOnError>;
866
+ /**
867
+ * Remove a re-broadcast target
868
+ *
869
+ * Stop re-broadcasting to a target and forget it: its connection is closed at once and its key is deleted. The stream, its recording and its other outputs are not touched. Deleting is not undone and the id is not reused; to send there again create a new output. Example: DELETE /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.
870
+ */
871
+ export declare const deleteMediaStreamOutput: <ThrowOnError extends boolean = false>(options: Options<DeleteMediaStreamOutputData, ThrowOnError>) => RequestResult<DeleteMediaStreamOutputResponses, DeleteMediaStreamOutputErrors, ThrowOnError>;
872
+ /**
873
+ * Read one re-broadcast target
874
+ *
875
+ * Read one output: its address, whether a key is set (the key itself is never returned), its status and, when it is errored or trying again, why. Use it to check a target after streams.outputs.create or after an output.status event; status broadcasting means the target accepted the stream and is receiving it. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.
876
+ */
877
+ export declare const getMediaStreamOutput: <ThrowOnError extends boolean = false>(options: Options<GetMediaStreamOutputData, ThrowOnError>) => RequestResult<GetMediaStreamOutputResponses, GetMediaStreamOutputErrors, ThrowOnError>;
878
+ /**
879
+ * Change a re-broadcast target
880
+ *
881
+ * Change the address or the key of an output, for example after the target gave you a new key or an errored output was refused for a bad one; send at least one of url and stream_key. An output that is running starts over with the new values: its connection is closed and opened again, and its status goes through starting again. Use streams.outputs.delete to stop sending to a target for good. Example: {"stream_key":"live_new456"}.
882
+ */
883
+ export declare const updateMediaStreamOutput: <ThrowOnError extends boolean = false>(options: Options<UpdateMediaStreamOutputData, ThrowOnError>) => RequestResult<UpdateMediaStreamOutputResponses, UpdateMediaStreamOutputErrors, ThrowOnError>;
632
884
  /**
633
885
  * List Models
634
886
  *
@@ -896,7 +1148,7 @@ export declare const createOrganizationFeedbackMessage: <ThrowOnError extends bo
896
1148
  /**
897
1149
  * List Organization Costs
898
1150
  *
899
- * Billed cost per time bucket per group (AWS GetCostAndUsage shape). Buckets are whole UTC hour/day periods; a window is answered over the aligned envelope covering it. Amounts are exact decimal strings in the currency the organization was charged in (BillingCurrency, CNY or USD); a group charged in two currencies is two results. estimated is always false: charges are final when they are recorded. Windows span at most 93 days; longer ranges belong to the charges export.
1151
+ * Billed cost per time bucket per group (AWS GetCostAndUsage shape). Buckets are whole hour or day periods in time_zone (UTC by default); a window is answered over the aligned envelope covering it. Amounts are exact decimal strings in the currency the organization was charged in (BillingCurrency, CNY or USD); a group charged in two currencies is two results. estimated is always false: charges are final when they are recorded. Windows span at most 93 days; longer ranges belong to the charges export.
900
1152
  *
901
1153
  */
902
1154
  export declare const listOrganizationCosts: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationCostsData, ThrowOnError>) => RequestResult<ListOrganizationCostsResponses, ListOrganizationCostsErrors, ThrowOnError>;
@@ -910,7 +1162,7 @@ export declare const listOrganizationUsage: <ThrowOnError extends boolean = fals
910
1162
  /**
911
1163
  * List Organization Usage Events
912
1164
  *
913
- * 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.
1165
+ * 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.
914
1166
  *
915
1167
  */
916
1168
  export declare const listOrganizationEvents: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationEventsData, ThrowOnError>) => RequestResult<ListOrganizationEventsResponses, ListOrganizationEventsErrors, ThrowOnError>;
@@ -929,175 +1181,383 @@ export declare const getOrganizationEvent: <ThrowOnError extends boolean = false
929
1181
  */
930
1182
  export declare const exportOrganizationCharges: <ThrowOnError extends boolean = false>(options: Options<ExportOrganizationChargesData, ThrowOnError>) => RequestResult<ExportOrganizationChargesResponses, ExportOrganizationChargesErrors, ThrowOnError>;
931
1183
  /**
932
- * List departments
1184
+ * Your inbox counts for the notification bell
933
1185
  *
934
- * 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.
1186
+ * Bell-badge counts for the calling person in the organization behind your credential: notices not yet read and not yet seen. The person is always the credential's own; the request cannot name another member. Read-only; no usage charge.
935
1187
  */
936
- export declare const listOrganizationDepartments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationDepartmentsData, ThrowOnError>) => RequestResult<ListOrganizationDepartmentsResponses, ListOrganizationDepartmentsErrors, ThrowOnError>;
1188
+ export declare const getOrganizationNotificationsInbox: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationNotificationsInboxData, ThrowOnError>) => RequestResult<GetOrganizationNotificationsInboxResponses, GetOrganizationNotificationsInboxErrors, ThrowOnError>;
937
1189
  /**
938
- * Establish a department
1190
+ * List the letters addressed to you
939
1191
  *
940
- * 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"}.
1192
+ * The letters this person received in this organization, newest first, as the notification center lists them (ADR-193 §5, #4107): the sender, the summary and the whole body are the copy this reader receives — every human:/agent: address is rendered as the directory's display name, and one the directory cannot name reads 「未知成员」, never an address or an internal id. Also the kind, when it arrived, whether it is read, and one line saying why it reached this person. The address is the credential's own and is never a request field. Details stay whole in body; open one by its id. Pass next_cursor unchanged as cursor; null ends the list. Read-only; no usage charge.
941
1193
  */
942
- export declare const establishOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<EstablishOrganizationDepartmentData, ThrowOnError>) => RequestResult<EstablishOrganizationDepartmentResponses, EstablishOrganizationDepartmentErrors, ThrowOnError>;
1194
+ export declare const listOrganizationNotificationLetters: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationNotificationLettersData, ThrowOnError>) => RequestResult<ListOrganizationNotificationLettersResponses, ListOrganizationNotificationLettersErrors, ThrowOnError>;
943
1195
  /**
944
- * Get a department
1196
+ * Open one of your letters by its id
945
1197
  *
946
- * 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.
1198
+ * One letter from your own mailbox in this organization, by id, as the notification center lists it: the same row the letters list gives, the same fields, the same copy written for you — and the organization the letter belongs to beside them. A link that arrives carrying an org can therefore check the letter's own organization instead of trusting the link. The mailbox is the credential's own, and the request names only the letter. A letter that is not in your mailbox in this organization, is still scheduled, or does not exist answers 404 the same way, without saying which. Nothing is marked read; use the :read action for that. Read-only; no usage charge.
947
1199
  */
948
- export declare const getOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationDepartmentData, ThrowOnError>) => RequestResult<GetOrganizationDepartmentResponses, GetOrganizationDepartmentErrors, ThrowOnError>;
1200
+ export declare const getOrganizationNotificationLetter: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationNotificationLetterData, ThrowOnError>) => RequestResult<GetOrganizationNotificationLetterResponses, GetOrganizationNotificationLetterErrors, ThrowOnError>;
949
1201
  /**
950
- * Reorganize a department
1202
+ * Mark one of your letters read
951
1203
  *
952
- * 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.
1204
+ * Mark one letter addressed to you as read, together with the bell notice it wrote, so the platform does not email it later as unread. The mailbox is the credential's own — an agent credential reads its own agent mailbox, never its owner's — and the request names only the letter. Repeating the call changes nothing and keeps the first read time. A letter that is not in your mailbox in this organization, or does not exist, answers 404 the same way. Returns how many delivered letters you still have unread. No usage charge.
953
1205
  */
954
- export declare const reorganizeOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<ReorganizeOrganizationDepartmentData, ThrowOnError>) => RequestResult<ReorganizeOrganizationDepartmentResponses, ReorganizeOrganizationDepartmentErrors, ThrowOnError>;
1206
+ export declare const readOrganizationNotificationLetter: <ThrowOnError extends boolean = false>(options: Options<ReadOrganizationNotificationLetterData, ThrowOnError>) => RequestResult<ReadOrganizationNotificationLetterResponses, ReadOrganizationNotificationLetterErrors, ThrowOnError>;
955
1207
  /**
956
- * Dissolve a department
1208
+ * Mark all your letters read
957
1209
  *
958
- * 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.
1210
+ * Mark every delivered letter in your own mailbox in this organization as read, with their bell notices; give kind to read only letters of that kind. Nothing in another mailbox is touched. Letters still scheduled are not delivered yet and stay as they are. Returns how many delivered letters you still have unread. No usage charge.
959
1211
  */
960
- export declare const dissolveOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<DissolveOrganizationDepartmentData, ThrowOnError>) => RequestResult<DissolveOrganizationDepartmentResponses, DissolveOrganizationDepartmentErrors, ThrowOnError>;
1212
+ export declare const readAllOrganizationNotificationLetters: <ThrowOnError extends boolean = false>(options?: Options<ReadAllOrganizationNotificationLettersData, ThrowOnError>) => RequestResult<ReadAllOrganizationNotificationLettersResponses, ReadAllOrganizationNotificationLettersErrors, ThrowOnError>;
961
1213
  /**
962
- * Amend a department charter
1214
+ * Archive one of your letters
963
1215
  *
964
- * 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.
1216
+ * Archive one letter addressed to you: it leaves the default letters list (ask for archived=true to see archived ones) and is marked read, with its bell notice. Repeating the call changes nothing and keeps the first archive time. A letter that is not in your mailbox in this organization, or does not exist, answers 404 the same way. Returns how many delivered letters you still have unread. No usage charge.
965
1217
  */
966
- export declare const amendOrganizationDepartmentCharter: <ThrowOnError extends boolean = false>(options: Options<AmendOrganizationDepartmentCharterData, ThrowOnError>) => RequestResult<AmendOrganizationDepartmentCharterResponses, AmendOrganizationDepartmentCharterErrors, ThrowOnError>;
1218
+ export declare const archiveOrganizationNotificationLetter: <ThrowOnError extends boolean = false>(options: Options<ArchiveOrganizationNotificationLetterData, ThrowOnError>) => RequestResult<ArchiveOrganizationNotificationLetterResponses, ArchiveOrganizationNotificationLetterErrors, ThrowOnError>;
967
1219
  /**
968
- * List jobs
1220
+ * Your notification switches, and what they resolve to
969
1221
  *
970
- * 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.
1222
+ * This person's notification preferences in the organization behind the credential: their own per-category switches, the channels they unsubscribed from everywhere, the organization's layer (defaults, blocked channels, whether members may change their own switches, hidden categories), and for every offered channel the answer the five layers produce — which layer decided it (platform_mandatory, channel_opt_out, person, organization_default, platform_default). Each catalog row also carries its severity (high/medium/low/none): it shapes the display only and never decides delivery (#4107). Read-only; no usage charge.
971
1223
  */
972
- export declare const listOrganizationJobs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationJobsData, ThrowOnError>) => RequestResult<ListOrganizationJobsResponses, ListOrganizationJobsErrors, ThrowOnError>;
1224
+ export declare const getOrganizationNotificationPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationNotificationPreferencesData, ThrowOnError>) => RequestResult<GetOrganizationNotificationPreferencesResponses, GetOrganizationNotificationPreferencesErrors, ThrowOnError>;
973
1225
  /**
974
- * Define a job
1226
+ * Change your notification switches
975
1227
  *
976
- * 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."}.
1228
+ * Set this person's own notification switches in this organization. Refused with INVALID_PARAMS for an unknown category, a channel the category does not declare, or a channel this deployment has no provider for (nothing is stored that could not take effect); NOT_CONFIGURABLE for a category nobody configures; CRITICAL_CHANNELS_OFF when a critical category would be left with every offered channel off; ORGANIZATION_LOCKED when the organization does not let members change their own switches. A channel the organization blocked is still storable — the block decides, the switch stays theirs.
977
1229
  */
978
- export declare const defineOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationJobData, ThrowOnError>) => RequestResult<DefineOrganizationJobResponses, DefineOrganizationJobErrors, ThrowOnError>;
1230
+ export declare const updateOrganizationNotificationPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateOrganizationNotificationPreferencesData, ThrowOnError>) => RequestResult<UpdateOrganizationNotificationPreferencesResponses, UpdateOrganizationNotificationPreferencesErrors, ThrowOnError>;
979
1231
  /**
980
- * Get a job
1232
+ * The organization's notification layer
981
1233
  *
982
- * 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.
1234
+ * The organization's own preference layer: its per-category defaults for members who said nothing, the channels it blocks for everyone, whether members may change their own switches, and the non-critical categories it keeps off members' pages. Any member may read it; only an owner or admin may change it. A critical category can never be hidden, because hiding it would hide a channel nobody may switch off.
983
1235
  */
984
- export declare const getOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationJobData, ThrowOnError>) => RequestResult<GetOrganizationJobResponses, GetOrganizationJobErrors, ThrowOnError>;
1236
+ export declare const getOrganizationNotificationDefaults: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationNotificationDefaultsData, ThrowOnError>) => RequestResult<GetOrganizationNotificationDefaultsResponses, GetOrganizationNotificationDefaultsErrors, ThrowOnError>;
985
1237
  /**
986
- * Revise a job
1238
+ * Set the organization's notification layer
987
1239
  *
988
- * 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.
1240
+ * Change the organization's notification layer. Requires an organization owner or admin role; a member answers 403. Refused with INVALID_PARAMS for an unknown or non-configurable category, a channel the category does not declare, or a hidden critical category. Blocking a channel silences it for every member, and a critical category's mandatory channel still reaches people (ADR-193 §4 layer 1); setting member_may_change false makes these defaults final for members.
989
1241
  */
990
- export declare const reviseOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationJobData, ThrowOnError>) => RequestResult<ReviseOrganizationJobResponses, ReviseOrganizationJobErrors, ThrowOnError>;
1242
+ export declare const updateOrganizationNotificationDefaults: <ThrowOnError extends boolean = false>(options: Options<UpdateOrganizationNotificationDefaultsData, ThrowOnError>) => RequestResult<UpdateOrganizationNotificationDefaultsResponses, UpdateOrganizationNotificationDefaultsErrors, ThrowOnError>;
991
1243
  /**
992
- * Retire a job
1244
+ * Your own notification delivery records
993
1245
  *
994
- * 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.
1246
+ * This person's delivery records in this organization, newest first: channel, status, the reason nothing was sent, the address a mail actually went to, and a carrier's verdict for a sent sms. The recipient is always the credential's own. Records are kept 30 days. Pass next_page unchanged as page; null ends the list. Read-only; no usage charge.
995
1247
  */
996
- export declare const retireOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<RetireOrganizationJobData, ThrowOnError>) => RequestResult<RetireOrganizationJobResponses, RetireOrganizationJobErrors, ThrowOnError>;
1248
+ export declare const listOrganizationNotificationDeliveries: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationNotificationDeliveriesData, ThrowOnError>) => RequestResult<ListOrganizationNotificationDeliveriesResponses, ListOrganizationNotificationDeliveriesErrors, ThrowOnError>;
997
1249
  /**
998
- * List job ladders
1250
+ * Upgrade to a full sandbox
999
1251
  *
1000
- * 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.
1252
+ * 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.
1001
1253
  */
1002
- export declare const listOrganizationLadders: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationLaddersData, ThrowOnError>) => RequestResult<ListOrganizationLaddersResponses, ListOrganizationLaddersErrors, ThrowOnError>;
1254
+ export declare const upgradeSandbox: <ThrowOnError extends boolean = false>(options: Options<UpgradeSandboxData, ThrowOnError>) => RequestResult<UpgradeSandboxResponses, UpgradeSandboxErrors, ThrowOnError>;
1003
1255
  /**
1004
- * Define a job ladder
1256
+ * Extend a running sandbox without shortening its deadline
1005
1257
  *
1006
- * 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}]}.
1258
+ * 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.
1007
1259
  */
1008
- export declare const defineOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationLadderData, ThrowOnError>) => RequestResult<DefineOrganizationLadderResponses, DefineOrganizationLadderErrors, ThrowOnError>;
1260
+ export declare const extendSandbox: <ThrowOnError extends boolean = false>(options: Options<ExtendSandboxData, ThrowOnError>) => RequestResult<ExtendSandboxResponses, ExtendSandboxErrors, ThrowOnError>;
1009
1261
  /**
1010
- * Get a job ladder
1262
+ * List live processes and retained observations
1011
1263
  *
1012
- * 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.
1264
+ * 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.
1013
1265
  */
1014
- export declare const getOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationLadderData, ThrowOnError>) => RequestResult<GetOrganizationLadderResponses, GetOrganizationLadderErrors, ThrowOnError>;
1266
+ export declare const listObservedProcesses: <ThrowOnError extends boolean = false>(options: Options<ListObservedProcessesData, ThrowOnError>) => RequestResult<ListObservedProcessesResponses, ListObservedProcessesErrors, ThrowOnError>;
1015
1267
  /**
1016
- * Revise a job ladder
1268
+ * Read bounded observed process output
1017
1269
  *
1018
- * 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.
1270
+ * 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.
1019
1271
  */
1020
- export declare const reviseOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationLadderData, ThrowOnError>) => RequestResult<ReviseOrganizationLadderResponses, ReviseOrganizationLadderErrors, ThrowOnError>;
1272
+ export declare const getObservedProcessOutput: <ThrowOnError extends boolean = false>(options: Options<GetObservedProcessOutputData, ThrowOnError>) => RequestResult<GetObservedProcessOutputResponses, GetObservedProcessOutputErrors, ThrowOnError>;
1021
1273
  /**
1022
- * List positions
1274
+ * Start a task whose output is pushed off the machine while it runs
1023
1275
  *
1024
- * 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.
1276
+ * 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.
1025
1277
  */
1026
- export declare const listOrganizationPositions: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPositionsData, ThrowOnError>) => RequestResult<ListOrganizationPositionsResponses, ListOrganizationPositionsErrors, ThrowOnError>;
1278
+ export declare const startSandboxTask: <ThrowOnError extends boolean = false>(options: Options<StartSandboxTaskData, ThrowOnError>) => RequestResult<StartSandboxTaskResponses, StartSandboxTaskErrors, ThrowOnError>;
1027
1279
  /**
1028
- * Open positions
1280
+ * Read a range of a task's pushed output
1029
1281
  *
1030
- * 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"}.
1282
+ * 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.
1031
1283
  */
1032
- export declare const openOrganizationPositions: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPositionsData, ThrowOnError>) => RequestResult<OpenOrganizationPositionsResponses, OpenOrganizationPositionsErrors, ThrowOnError>;
1284
+ export declare const getSandboxTaskLog: <ThrowOnError extends boolean = false>(options: Options<GetSandboxTaskLogData, ThrowOnError>) => RequestResult<GetSandboxTaskLogResponses, GetSandboxTaskLogErrors, ThrowOnError>;
1033
1285
  /**
1034
- * Get a position
1286
+ * Kill sandbox
1035
1287
  *
1036
- * 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.
1288
+ * 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.
1037
1289
  */
1038
- export declare const getOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPositionData, ThrowOnError>) => RequestResult<GetOrganizationPositionResponses, GetOrganizationPositionErrors, ThrowOnError>;
1290
+ export declare const deleteSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1039
1291
  /**
1040
- * Revise a position
1292
+ * Sandbox
1041
1293
  *
1042
- * 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.
1294
+ * 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.
1043
1295
  */
1044
- export declare const reviseOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationPositionData, ThrowOnError>) => RequestResult<ReviseOrganizationPositionResponses, ReviseOrganizationPositionErrors, ThrowOnError>;
1296
+ export declare const getSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1045
1297
  /**
1046
- * Close a position
1298
+ * Rename a sandbox
1047
1299
  *
1048
- * 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.
1300
+ * 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.
1049
1301
  */
1050
- export declare const closeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPositionData, ThrowOnError>) => RequestResult<CloseOrganizationPositionResponses, CloseOrganizationPositionErrors, ThrowOnError>;
1302
+ export declare const renameSandbox: <ThrowOnError extends boolean = false>(options: Options<RenameSandboxData, ThrowOnError>) => RequestResult<RenameSandboxResponses, RenameSandboxErrors, ThrowOnError>;
1051
1303
  /**
1052
- * Freeze a position
1304
+ * Act on a phone sandbox's screen
1053
1305
  *
1054
- * 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.
1306
+ * 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.
1307
+ *
1308
+ * 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.
1055
1309
  */
1056
- export declare const freezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<FreezeOrganizationPositionData, ThrowOnError>) => RequestResult<FreezeOrganizationPositionResponses, FreezeOrganizationPositionErrors, ThrowOnError>;
1310
+ export declare const actOnSandboxDisplay: <ThrowOnError extends boolean = false>(options: Options<ActOnSandboxDisplayData, ThrowOnError>) => RequestResult<ActOnSandboxDisplayResponses, ActOnSandboxDisplayErrors, ThrowOnError>;
1057
1311
  /**
1058
- * Unfreeze a position
1312
+ * Remove a file or directory in the sandbox
1059
1313
  *
1060
- * 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.
1314
+ * 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.
1061
1315
  */
1062
- export declare const unfreezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<UnfreezeOrganizationPositionData, ThrowOnError>) => RequestResult<UnfreezeOrganizationPositionResponses, UnfreezeOrganizationPositionErrors, ThrowOnError>;
1316
+ export declare const removeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<RemoveSandboxFileData, ThrowOnError>) => RequestResult<RemoveSandboxFileResponses, RemoveSandboxFileErrors, ThrowOnError>;
1063
1317
  /**
1064
- * Reassign a position's manager
1318
+ * Read a file in the sandbox
1065
1319
  *
1066
- * 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.
1320
+ * 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.
1067
1321
  */
1068
- export declare const reassignOrganizationPositionManager: <ThrowOnError extends boolean = false>(options: Options<ReassignOrganizationPositionManagerData, ThrowOnError>) => RequestResult<ReassignOrganizationPositionManagerResponses, ReassignOrganizationPositionManagerErrors, ThrowOnError>;
1322
+ export declare const readSandboxFile: <ThrowOnError extends boolean = false>(options: Options<ReadSandboxFileData, ThrowOnError>) => RequestResult<ReadSandboxFileResponses, ReadSandboxFileErrors, ThrowOnError>;
1069
1323
  /**
1070
- * Regrade a position
1324
+ * Write a file in the sandbox
1071
1325
  *
1072
- * 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.
1326
+ * 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"}.
1073
1327
  */
1074
- export declare const regradeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<RegradeOrganizationPositionData, ThrowOnError>) => RequestResult<RegradeOrganizationPositionResponses, RegradeOrganizationPositionErrors, ThrowOnError>;
1328
+ export declare const writeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<WriteSandboxFileData, ThrowOnError>) => RequestResult<WriteSandboxFileResponses, WriteSandboxFileErrors, ThrowOnError>;
1075
1329
  /**
1076
- * Designate a department head position
1330
+ * List files in a sandbox directory
1077
1331
  *
1078
- * 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.
1332
+ * 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.
1079
1333
  */
1080
- export declare const designateOrganizationPositionHead: <ThrowOnError extends boolean = false>(options: Options<DesignateOrganizationPositionHeadData, ThrowOnError>) => RequestResult<DesignateOrganizationPositionHeadResponses, DesignateOrganizationPositionHeadErrors, ThrowOnError>;
1334
+ export declare const listSandboxFiles: <ThrowOnError extends boolean = false>(options: Options<ListSandboxFilesData, ThrowOnError>) => RequestResult<ListSandboxFilesResponses, ListSandboxFilesErrors, ThrowOnError>;
1081
1335
  /**
1082
- * Hire into a position
1336
+ * Create a directory in the sandbox
1083
1337
  *
1084
- * Seats an existing member or agent in a vacant position; use it to fill a position that nobody holds, and use replace_holder to swap the current holder in one step. An actor is a person (human:usr_...) or an agent (agent:agent_...), treated identically, and must exist in your organization and not be archived. The position must be active and vacant, and a position has at most one active assignment. An actor may hold several positions, and exactly one of its active assignments is primary: omit primary to make the first assignment primary and later ones concurrent; primary true makes this one primary and turns the previous primary into a concurrent one; primary false for an actor that holds nothing is refused. request_id makes the call idempotent: repeating it returns the first assignment and seats nobody else. Requires an organization owner or admin, or the head of the position's department or of a department above it. Errors: 400 INVALID_PARAMS for a missing request_id, a candidate.kind other than member, an empty candidate.actor, a non-boolean primary or an unknown body field; 403 PERMISSION_DENIED; 404 POSITION_NOT_FOUND; 404 ACTOR_NOT_FOUND when the actor is not an active member or agent of your organization; 409 POSITION_FROZEN, POSITION_CLOSED or POSITION_OCCUPIED; 409 PRIMARY_ASSIGNMENT_REQUIRED for primary false on an actor that holds nothing. Example body: {"candidate":{"kind":"member","actor":"human:usr_123"},"request_id":"hire-support-1"}.
1338
+ * 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.
1085
1339
  */
1086
- export declare const hireOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<HireOrganizationPositionData, ThrowOnError>) => RequestResult<HireOrganizationPositionResponses, HireOrganizationPositionErrors, ThrowOnError>;
1340
+ export declare const makeSandboxDirectory: <ThrowOnError extends boolean = false>(options: Options<MakeSandboxDirectoryData, ThrowOnError>) => RequestResult<MakeSandboxDirectoryResponses, MakeSandboxDirectoryErrors, ThrowOnError>;
1087
1341
  /**
1088
- * Replace a position's holder
1342
+ * Run a command in the sandbox
1089
1343
  *
1090
- * 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"}.
1344
+ * 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"}.
1091
1345
  */
1092
- export declare const replaceOrganizationPositionHolder: <ThrowOnError extends boolean = false>(options: Options<ReplaceOrganizationPositionHolderData, ThrowOnError>) => RequestResult<ReplaceOrganizationPositionHolderResponses, ReplaceOrganizationPositionHolderErrors, ThrowOnError>;
1346
+ export declare const runSandboxCommand: <ThrowOnError extends boolean = false>(options: Options<RunSandboxCommandData, ThrowOnError>) => RequestResult<RunSandboxCommandResponses, RunSandboxCommandErrors, ThrowOnError>;
1093
1347
  /**
1094
- * List assignments
1348
+ * Start adding a phone of your own
1095
1349
  *
1096
- * 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.
1350
+ * 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'}.
1097
1351
  */
1098
- export declare const listOrganizationAssignments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationAssignmentsData, ThrowOnError>) => RequestResult<ListOrganizationAssignmentsResponses, ListOrganizationAssignmentsErrors, ThrowOnError>;
1352
+ export declare const createByodPairing: <ThrowOnError extends boolean = false>(options?: Options<CreateByodPairingData, ThrowOnError>) => RequestResult<CreateByodPairingResponses, CreateByodPairingErrors, ThrowOnError>;
1099
1353
  /**
1100
- * Get an assignment
1354
+ * List your organization's own devices
1355
+ *
1356
+ * 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:[]}]}.
1357
+ */
1358
+ export declare const listByodDevices: <ThrowOnError extends boolean = false>(options?: Options<ListByodDevicesData, ThrowOnError>) => RequestResult<ListByodDevicesResponses, ListByodDevicesErrors, ThrowOnError>;
1359
+ /**
1360
+ * Read one of your organization's devices
1361
+ *
1362
+ * 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.
1363
+ */
1364
+ export declare const getByodDevice: <ThrowOnError extends boolean = false>(options: Options<GetByodDeviceData, ThrowOnError>) => RequestResult<GetByodDeviceResponses, GetByodDeviceErrors, ThrowOnError>;
1365
+ /**
1366
+ * Rename one of your organization's devices
1367
+ *
1368
+ * 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.
1369
+ */
1370
+ export declare const updateByodDevice: <ThrowOnError extends boolean = false>(options: Options<UpdateByodDeviceData, ThrowOnError>) => RequestResult<UpdateByodDeviceResponses, UpdateByodDeviceErrors, ThrowOnError>;
1371
+ /**
1372
+ * Disconnect a device and revoke its credential
1373
+ *
1374
+ * 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}.
1375
+ */
1376
+ export declare const disconnectByodDevice: <ThrowOnError extends boolean = false>(options: Options<DisconnectByodDeviceData, ThrowOnError>) => RequestResult<DisconnectByodDeviceResponses, DisconnectByodDeviceErrors, ThrowOnError>;
1377
+ /**
1378
+ * Read a pairing for the phone's Allow screen
1379
+ *
1380
+ * 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'}.
1381
+ */
1382
+ export declare const getByodPairing: <ThrowOnError extends boolean = false>(options: Options<GetByodPairingData, ThrowOnError>) => RequestResult<GetByodPairingResponses, GetByodPairingErrors, ThrowOnError>;
1383
+ /**
1384
+ * Claim a pairing and register the phone
1385
+ *
1386
+ * 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.praxisusercontent.com/'}.
1387
+ */
1388
+ export declare const claimByodPairing: <ThrowOnError extends boolean = false>(options: Options<ClaimByodPairingData, ThrowOnError>) => RequestResult<ClaimByodPairingResponses, ClaimByodPairingErrors, ThrowOnError>;
1389
+ /**
1390
+ * List departments
1391
+ *
1392
+ * 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 /workforce/v1/departments?status=active.
1393
+ */
1394
+ export declare const listOrganizationDepartments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationDepartmentsData, ThrowOnError>) => RequestResult<ListOrganizationDepartmentsResponses, ListOrganizationDepartmentsErrors, ThrowOnError>;
1395
+ /**
1396
+ * Establish a department
1397
+ *
1398
+ * 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: 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"}.
1399
+ */
1400
+ export declare const establishOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<EstablishOrganizationDepartmentData, ThrowOnError>) => RequestResult<EstablishOrganizationDepartmentResponses, EstablishOrganizationDepartmentErrors, ThrowOnError>;
1401
+ /**
1402
+ * Get a department
1403
+ *
1404
+ * Reads one department with its head position id. A department's charter is the document of its spec (GET /workforce/v1/specs/department/{id}), not a field of the department. 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.
1405
+ */
1406
+ export declare const getOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationDepartmentData, ThrowOnError>) => RequestResult<GetOrganizationDepartmentResponses, GetOrganizationDepartmentErrors, ThrowOnError>;
1407
+ /**
1408
+ * Reorganize a department
1409
+ *
1410
+ * 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.
1411
+ */
1412
+ export declare const reorganizeOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<ReorganizeOrganizationDepartmentData, ThrowOnError>) => RequestResult<ReorganizeOrganizationDepartmentResponses, ReorganizeOrganizationDepartmentErrors, ThrowOnError>;
1413
+ /**
1414
+ * Dissolve a department
1415
+ *
1416
+ * 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.
1417
+ */
1418
+ export declare const dissolveOrganizationDepartment: <ThrowOnError extends boolean = false>(options: Options<DissolveOrganizationDepartmentData, ThrowOnError>) => RequestResult<DissolveOrganizationDepartmentResponses, DissolveOrganizationDepartmentErrors, ThrowOnError>;
1419
+ /**
1420
+ * Amend a department charter (gone)
1421
+ *
1422
+ * Deprecated: use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. A department's charter is now the `document` of its spec, not a field of the department: read it at GET /workforce/v1/specs/department/{id} and replace it with PUT /workforce/v1/specs/department/{id} sending metadata.revision and spec.document. The root department's charter is the organization's own spec at /workforce/v1/specs/organization/{organization_id}. Until then this path answers 410 with code DEPARTMENT_CHARTER_GONE and the same instruction.
1423
+ *
1424
+ * @deprecated
1425
+ */
1426
+ export declare const amendOrganizationDepartmentCharter: <ThrowOnError extends boolean = false>(options: Options<AmendOrganizationDepartmentCharterData, ThrowOnError>) => RequestResult<unknown, AmendOrganizationDepartmentCharterErrors, ThrowOnError>;
1427
+ /**
1428
+ * List jobs
1429
+ *
1430
+ * 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.
1431
+ */
1432
+ export declare const listOrganizationJobs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationJobsData, ThrowOnError>) => RequestResult<ListOrganizationJobsResponses, ListOrganizationJobsErrors, ThrowOnError>;
1433
+ /**
1434
+ * Define a job
1435
+ *
1436
+ * 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."}.
1437
+ */
1438
+ export declare const defineOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationJobData, ThrowOnError>) => RequestResult<DefineOrganizationJobResponses, DefineOrganizationJobErrors, ThrowOnError>;
1439
+ /**
1440
+ * Get a job
1441
+ *
1442
+ * 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.
1443
+ */
1444
+ export declare const getOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationJobData, ThrowOnError>) => RequestResult<GetOrganizationJobResponses, GetOrganizationJobErrors, ThrowOnError>;
1445
+ /**
1446
+ * Revise a job
1447
+ *
1448
+ * 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.
1449
+ */
1450
+ export declare const reviseOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationJobData, ThrowOnError>) => RequestResult<ReviseOrganizationJobResponses, ReviseOrganizationJobErrors, ThrowOnError>;
1451
+ /**
1452
+ * Retire a job
1453
+ *
1454
+ * 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.
1455
+ */
1456
+ export declare const retireOrganizationJob: <ThrowOnError extends boolean = false>(options: Options<RetireOrganizationJobData, ThrowOnError>) => RequestResult<RetireOrganizationJobResponses, RetireOrganizationJobErrors, ThrowOnError>;
1457
+ /**
1458
+ * List job ladders
1459
+ *
1460
+ * 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.
1461
+ */
1462
+ export declare const listOrganizationLadders: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationLaddersData, ThrowOnError>) => RequestResult<ListOrganizationLaddersResponses, ListOrganizationLaddersErrors, ThrowOnError>;
1463
+ /**
1464
+ * Define a job ladder
1465
+ *
1466
+ * 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}]}.
1467
+ */
1468
+ export declare const defineOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<DefineOrganizationLadderData, ThrowOnError>) => RequestResult<DefineOrganizationLadderResponses, DefineOrganizationLadderErrors, ThrowOnError>;
1469
+ /**
1470
+ * Get a job ladder
1471
+ *
1472
+ * 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.
1473
+ */
1474
+ export declare const getOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationLadderData, ThrowOnError>) => RequestResult<GetOrganizationLadderResponses, GetOrganizationLadderErrors, ThrowOnError>;
1475
+ /**
1476
+ * Revise a job ladder
1477
+ *
1478
+ * 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.
1479
+ */
1480
+ export declare const reviseOrganizationLadder: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationLadderData, ThrowOnError>) => RequestResult<ReviseOrganizationLadderResponses, ReviseOrganizationLadderErrors, ThrowOnError>;
1481
+ /**
1482
+ * List positions
1483
+ *
1484
+ * 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 /workforce/v1/positions?department_id=dept_123&status=active.
1485
+ */
1486
+ export declare const listOrganizationPositions: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPositionsData, ThrowOnError>) => RequestResult<ListOrganizationPositionsResponses, ListOrganizationPositionsErrors, ThrowOnError>;
1487
+ /**
1488
+ * Open positions
1489
+ *
1490
+ * 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"}.
1491
+ */
1492
+ export declare const openOrganizationPositions: <ThrowOnError extends boolean = false>(options: Options<OpenOrganizationPositionsData, ThrowOnError>) => RequestResult<OpenOrganizationPositionsResponses, OpenOrganizationPositionsErrors, ThrowOnError>;
1493
+ /**
1494
+ * Get a position
1495
+ *
1496
+ * 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.
1497
+ */
1498
+ export declare const getOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationPositionData, ThrowOnError>) => RequestResult<GetOrganizationPositionResponses, GetOrganizationPositionErrors, ThrowOnError>;
1499
+ /**
1500
+ * Revise a position
1501
+ *
1502
+ * 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.
1503
+ */
1504
+ export declare const reviseOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationPositionData, ThrowOnError>) => RequestResult<ReviseOrganizationPositionResponses, ReviseOrganizationPositionErrors, ThrowOnError>;
1505
+ /**
1506
+ * Close a position
1507
+ *
1508
+ * 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.
1509
+ */
1510
+ export declare const closeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<CloseOrganizationPositionData, ThrowOnError>) => RequestResult<CloseOrganizationPositionResponses, CloseOrganizationPositionErrors, ThrowOnError>;
1511
+ /**
1512
+ * Freeze a position
1513
+ *
1514
+ * 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.
1515
+ */
1516
+ export declare const freezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<FreezeOrganizationPositionData, ThrowOnError>) => RequestResult<FreezeOrganizationPositionResponses, FreezeOrganizationPositionErrors, ThrowOnError>;
1517
+ /**
1518
+ * Unfreeze a position
1519
+ *
1520
+ * 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.
1521
+ */
1522
+ export declare const unfreezeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<UnfreezeOrganizationPositionData, ThrowOnError>) => RequestResult<UnfreezeOrganizationPositionResponses, UnfreezeOrganizationPositionErrors, ThrowOnError>;
1523
+ /**
1524
+ * Reassign a position's manager
1525
+ *
1526
+ * 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.
1527
+ */
1528
+ export declare const reassignOrganizationPositionManager: <ThrowOnError extends boolean = false>(options: Options<ReassignOrganizationPositionManagerData, ThrowOnError>) => RequestResult<ReassignOrganizationPositionManagerResponses, ReassignOrganizationPositionManagerErrors, ThrowOnError>;
1529
+ /**
1530
+ * Regrade a position
1531
+ *
1532
+ * 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.
1533
+ */
1534
+ export declare const regradeOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<RegradeOrganizationPositionData, ThrowOnError>) => RequestResult<RegradeOrganizationPositionResponses, RegradeOrganizationPositionErrors, ThrowOnError>;
1535
+ /**
1536
+ * Designate a department head position
1537
+ *
1538
+ * 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.
1539
+ */
1540
+ export declare const designateOrganizationPositionHead: <ThrowOnError extends boolean = false>(options: Options<DesignateOrganizationPositionHeadData, ThrowOnError>) => RequestResult<DesignateOrganizationPositionHeadResponses, DesignateOrganizationPositionHeadErrors, ThrowOnError>;
1541
+ /**
1542
+ * Hire into a position
1543
+ *
1544
+ * 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"}.
1545
+ */
1546
+ export declare const hireOrganizationPosition: <ThrowOnError extends boolean = false>(options: Options<HireOrganizationPositionData, ThrowOnError>) => RequestResult<HireOrganizationPositionResponses, HireOrganizationPositionErrors, ThrowOnError>;
1547
+ /**
1548
+ * Replace a position's holder
1549
+ *
1550
+ * 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"}.
1551
+ */
1552
+ export declare const replaceOrganizationPositionHolder: <ThrowOnError extends boolean = false>(options: Options<ReplaceOrganizationPositionHolderData, ThrowOnError>) => RequestResult<ReplaceOrganizationPositionHolderResponses, ReplaceOrganizationPositionHolderErrors, ThrowOnError>;
1553
+ /**
1554
+ * List assignments
1555
+ *
1556
+ * 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 /workforce/v1/assignments?position_id=pos_123&active=true.
1557
+ */
1558
+ export declare const listOrganizationAssignments: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationAssignmentsData, ThrowOnError>) => RequestResult<ListOrganizationAssignmentsResponses, ListOrganizationAssignmentsErrors, ThrowOnError>;
1559
+ /**
1560
+ * Get an assignment
1101
1561
  *
1102
1562
  * 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.
1103
1563
  */
@@ -1123,19 +1583,19 @@ export declare const makePrimaryOrganizationAssignment: <ThrowOnError extends bo
1123
1583
  /**
1124
1584
  * List actors holding positions
1125
1585
  *
1126
- * 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.
1586
+ * 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 /workforce/v1/actors?department_id=dept_123.
1127
1587
  */
1128
1588
  export declare const listOrganizationActors: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationActorsData, ThrowOnError>) => RequestResult<ListOrganizationActorsResponses, ListOrganizationActorsErrors, ThrowOnError>;
1129
1589
  /**
1130
1590
  * Get the position chain of an actor
1131
1591
  *
1132
- * 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.
1592
+ * 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 (ids and names; a department's charter is its spec's document, read through /workforce/v1/specs), 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.
1133
1593
  */
1134
1594
  export declare const getOrganizationActor: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationActorData, ThrowOnError>) => RequestResult<GetOrganizationActorResponses, GetOrganizationActorErrors, ThrowOnError>;
1135
1595
  /**
1136
1596
  * List periods
1137
1597
  *
1138
- * 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.
1598
+ * 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 /workforce/v1/periods?cadence=quarter.
1139
1599
  */
1140
1600
  export declare const listOrganizationPeriods: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationPeriodsData, ThrowOnError>) => RequestResult<ListOrganizationPeriodsResponses, ListOrganizationPeriodsErrors, ThrowOnError>;
1141
1601
  /**
@@ -1159,7 +1619,7 @@ export declare const closeOrganizationPeriod: <ThrowOnError extends boolean = fa
1159
1619
  /**
1160
1620
  * List objectives
1161
1621
  *
1162
- * 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.
1622
+ * 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 /workforce/v1/objectives?period_id=prd_6d1f0c3a9b8e4a27a5c4e7d2f1b90a38&status=active.
1163
1623
  */
1164
1624
  export declare const listOrganizationObjectives: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationObjectivesData, ThrowOnError>) => RequestResult<ListOrganizationObjectivesResponses, ListOrganizationObjectivesErrors, ThrowOnError>;
1165
1625
  /**
@@ -1195,7 +1655,7 @@ export declare const gradeOrganizationObjective: <ThrowOnError extends boolean =
1195
1655
  /**
1196
1656
  * List key results
1197
1657
  *
1198
- * 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.
1658
+ * 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 /workforce/v1/key_results?objective_id=obj_3b7a52c1e9d84f06b2a1c8e4d7f50a96.
1199
1659
  */
1200
1660
  export declare const listOrganizationKeyResults: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationKeyResultsData, ThrowOnError>) => RequestResult<ListOrganizationKeyResultsResponses, ListOrganizationKeyResultsErrors, ThrowOnError>;
1201
1661
  /**
@@ -1217,95 +1677,77 @@ export declare const getOrganizationKeyResult: <ThrowOnError extends boolean = f
1217
1677
  */
1218
1678
  export declare const reviseOrganizationKeyResult: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationKeyResultData, ThrowOnError>) => RequestResult<ReviseOrganizationKeyResultResponses, ReviseOrganizationKeyResultErrors, ThrowOnError>;
1219
1679
  /**
1220
- * Upgrade to a full sandbox
1221
- *
1222
- * 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.
1223
- */
1224
- export declare const upgradeSandbox: <ThrowOnError extends boolean = false>(options: Options<UpgradeSandboxData, ThrowOnError>) => RequestResult<UpgradeSandboxResponses, UpgradeSandboxErrors, ThrowOnError>;
1225
- /**
1226
- * Extend a running sandbox without shortening its deadline
1227
- *
1228
- * 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.
1229
- */
1230
- export declare const extendSandbox: <ThrowOnError extends boolean = false>(options: Options<ExtendSandboxData, ThrowOnError>) => RequestResult<ExtendSandboxResponses, ExtendSandboxErrors, ThrowOnError>;
1231
- /**
1232
- * List live processes and retained observations
1680
+ * List specs
1233
1681
  *
1234
- * 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.
1682
+ * Lists the specs (规定) of the organization in the workforce/v1 envelope (api_version, kind, metadata, spec; status is null in a list); 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 /workforce/v1/specs?kind=job.
1235
1683
  */
1236
- export declare const listObservedProcesses: <ThrowOnError extends boolean = false>(options: Options<ListObservedProcessesData, ThrowOnError>) => RequestResult<ListObservedProcessesResponses, ListObservedProcessesErrors, ThrowOnError>;
1684
+ export declare const listOrganizationSpecs: <ThrowOnError extends boolean = false>(options?: Options<ListOrganizationSpecsData, ThrowOnError>) => RequestResult<ListOrganizationSpecsResponses, ListOrganizationSpecsErrors, ThrowOnError>;
1237
1685
  /**
1238
- * Read bounded observed process output
1686
+ * Get a spec
1239
1687
  *
1240
- * 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.
1688
+ * Reads one subject's spec in the workforce/v1 envelope: metadata (id, name, revision, labels, annotations, change_note, update_time, updated_by), spec ({ document, provision }) and status (how many holders last reconciled on it, how many are ready and how many have a failed block). revision reads one historical revision instead, with status null. A subject never written answers revision 0 with an empty spec, so a first revise sends metadata.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 /workforce/v1/specs/job/jpr_123?revision=2.
1241
1689
  */
1242
- export declare const getObservedProcessOutput: <ThrowOnError extends boolean = false>(options: Options<GetObservedProcessOutputData, ThrowOnError>) => RequestResult<GetObservedProcessOutputResponses, GetObservedProcessOutputErrors, ThrowOnError>;
1690
+ export declare const getOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationSpecData, ThrowOnError>) => RequestResult<GetOrganizationSpecResponses, GetOrganizationSpecErrors, ThrowOnError>;
1243
1691
  /**
1244
- * Start a task whose output is pushed off the machine while it runs
1692
+ * Revise a spec
1245
1693
  *
1246
- * 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.
1694
+ * Replaces the whole spec of a subject: metadata.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 is { document, provision }: document is Markdown text injected into the holder's memory and never merged, provision holds the capability blocks and remove; GET /workforce/v1/spec_schema returns the JSON Schema of every block, and a block outside it is refused with its path. labels and annotations carry over from the previous revision when omitted; change_note belongs to this revision only. Other metadata fields you read back (id, name, update_time, updated_by) are accepted and ignored. dry_run=true checks everything and writes nothing: it answers the spec that would be written, the changes against the live one and the reconcile plan of every affected holder in office (at most 50, plans_truncated says more exist). Requires an organization owner or admin, or the head of the subject's department. Errors: 400 INVALID_PARAMS for a missing spec or metadata.revision, an api_version other than workforce/v1, labels or annotations over their limits, 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: {"metadata":{"revision":0,"change_note":"first charter"},"spec":{"document":"Deliver reliably.","provision":{"computer":{"template":"base"}}}}.
1247
1695
  */
1248
- export declare const startSandboxTask: <ThrowOnError extends boolean = false>(options: Options<StartSandboxTaskData, ThrowOnError>) => RequestResult<StartSandboxTaskResponses, StartSandboxTaskErrors, ThrowOnError>;
1696
+ export declare const reviseOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<ReviseOrganizationSpecData, ThrowOnError>) => RequestResult<ReviseOrganizationSpecResponses, ReviseOrganizationSpecErrors, ThrowOnError>;
1249
1697
  /**
1250
- * Read a range of a task's pushed output
1698
+ * List spec revisions
1251
1699
  *
1252
- * 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.
1700
+ * 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.
1253
1701
  */
1254
- export declare const getSandboxTaskLog: <ThrowOnError extends boolean = false>(options: Options<GetSandboxTaskLogData, ThrowOnError>) => RequestResult<GetSandboxTaskLogResponses, GetSandboxTaskLogErrors, ThrowOnError>;
1702
+ export declare const listOrganizationSpecRevisions: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationSpecRevisionsData, ThrowOnError>) => RequestResult<ListOrganizationSpecRevisionsResponses, ListOrganizationSpecRevisionsErrors, ThrowOnError>;
1255
1703
  /**
1256
- * Kill sandbox
1704
+ * Diff two spec revisions
1257
1705
  *
1258
- * 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.
1706
+ * 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 /workforce/v1/specs/job/jpr_123/diff?from=1&to=2.
1259
1707
  */
1260
- export declare const deleteSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<DeleteSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<DeleteSandboxV1SandboxesBySandboxIdResponses, DeleteSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1708
+ export declare const diffOrganizationSpec: <ThrowOnError extends boolean = false>(options: Options<DiffOrganizationSpecData, ThrowOnError>) => RequestResult<DiffOrganizationSpecResponses, DiffOrganizationSpecErrors, ThrowOnError>;
1261
1709
  /**
1262
- * Sandbox
1710
+ * Read the effective spec
1263
1711
  *
1264
- * 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.
1712
+ * 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 /workforce/v1/effective_spec?actor=agent:agent_123.
1265
1713
  */
1266
- export declare const getSandboxV1SandboxesBySandboxId: <ThrowOnError extends boolean = false>(options: Options<GetSandboxV1SandboxesBySandboxIdData, ThrowOnError>) => RequestResult<GetSandboxV1SandboxesBySandboxIdResponses, GetSandboxV1SandboxesBySandboxIdErrors, ThrowOnError>;
1714
+ export declare const getOrganizationEffectiveSpec: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationEffectiveSpecData, ThrowOnError>) => RequestResult<GetOrganizationEffectiveSpecResponses, GetOrganizationEffectiveSpecErrors, ThrowOnError>;
1267
1715
  /**
1268
- * Rename a sandbox
1716
+ * Read the spec schema
1269
1717
  *
1270
- * 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.
1718
+ * Returns the JSON Schema (draft 2020-12) of a spec body, generated from the block registry: document, provision, every block and field under provision, and remove. Each field carries x-praxis-merge (single, set, keyed or layered), x-praxis-merge-key for a set, x-praxis-holders on a block (agent, human), and x-praxis-applied (whether reconcile applies it today), plus a Chinese title and an English description. Read it before writing a spec so a block or field is never guessed. The body is the schema itself, returned without any key renamed. Read-only. Errors: 403 PERMISSION_DENIED for a run or computer token, or a session token that names no agent. Example: GET /workforce/v1/spec_schema.
1271
1719
  */
1272
- export declare const renameSandbox: <ThrowOnError extends boolean = false>(options: Options<RenameSandboxData, ThrowOnError>) => RequestResult<RenameSandboxResponses, RenameSandboxErrors, ThrowOnError>;
1273
- /**
1274
- * Remove a file or directory in the sandbox
1275
- *
1276
- * 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.
1277
- */
1278
- export declare const removeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<RemoveSandboxFileData, ThrowOnError>) => RequestResult<RemoveSandboxFileResponses, RemoveSandboxFileErrors, ThrowOnError>;
1720
+ export declare const getOrganizationSpecSchema: <ThrowOnError extends boolean = false>(options?: Options<GetOrganizationSpecSchemaData, ThrowOnError>) => RequestResult<GetOrganizationSpecSchemaResponses, GetOrganizationSpecSchemaErrors, ThrowOnError>;
1279
1721
  /**
1280
- * Read a file in the sandbox
1722
+ * Plan reconciliation
1281
1723
  *
1282
- * 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.
1724
+ * 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 /workforce/v1/reconcile/plan?actor=agent:agent_123.
1283
1725
  */
1284
- export declare const readSandboxFile: <ThrowOnError extends boolean = false>(options: Options<ReadSandboxFileData, ThrowOnError>) => RequestResult<ReadSandboxFileResponses, ReadSandboxFileErrors, ThrowOnError>;
1726
+ export declare const planOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<PlanOrganizationReconcileData, ThrowOnError>) => RequestResult<PlanOrganizationReconcileResponses, PlanOrganizationReconcileErrors, ThrowOnError>;
1285
1727
  /**
1286
- * Write a file in the sandbox
1728
+ * Read reconcile status
1287
1729
  *
1288
- * 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"}.
1730
+ * 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, paused or not_applicable), 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 /workforce/v1/reconcile/status?actor=agent:agent_123.
1289
1731
  */
1290
- export declare const writeSandboxFile: <ThrowOnError extends boolean = false>(options: Options<WriteSandboxFileData, ThrowOnError>) => RequestResult<WriteSandboxFileResponses, WriteSandboxFileErrors, ThrowOnError>;
1732
+ export declare const getOrganizationReconcileStatus: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationReconcileStatusData, ThrowOnError>) => RequestResult<GetOrganizationReconcileStatusResponses, GetOrganizationReconcileStatusErrors, ThrowOnError>;
1291
1733
  /**
1292
- * List files in a sandbox directory
1734
+ * Run reconciliation now
1293
1735
  *
1294
- * 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.
1736
+ * 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"}.
1295
1737
  */
1296
- export declare const listSandboxFiles: <ThrowOnError extends boolean = false>(options: Options<ListSandboxFilesData, ThrowOnError>) => RequestResult<ListSandboxFilesResponses, ListSandboxFilesErrors, ThrowOnError>;
1738
+ export declare const runOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<RunOrganizationReconcileData, ThrowOnError>) => RequestResult<RunOrganizationReconcileResponses, RunOrganizationReconcileErrors, ThrowOnError>;
1297
1739
  /**
1298
- * Create a directory in the sandbox
1740
+ * Pause reconciliation
1299
1741
  *
1300
- * 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.
1742
+ * 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"}.
1301
1743
  */
1302
- export declare const makeSandboxDirectory: <ThrowOnError extends boolean = false>(options: Options<MakeSandboxDirectoryData, ThrowOnError>) => RequestResult<MakeSandboxDirectoryResponses, MakeSandboxDirectoryErrors, ThrowOnError>;
1744
+ export declare const pauseOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<PauseOrganizationReconcileData, ThrowOnError>) => RequestResult<PauseOrganizationReconcileResponses, PauseOrganizationReconcileErrors, ThrowOnError>;
1303
1745
  /**
1304
- * Run a command in the sandbox
1746
+ * Resume reconciliation
1305
1747
  *
1306
- * 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"}.
1748
+ * 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"}.
1307
1749
  */
1308
- export declare const runSandboxCommand: <ThrowOnError extends boolean = false>(options: Options<RunSandboxCommandData, ThrowOnError>) => RequestResult<RunSandboxCommandResponses, RunSandboxCommandErrors, ThrowOnError>;
1750
+ export declare const resumeOrganizationReconcile: <ThrowOnError extends boolean = false>(options: Options<ResumeOrganizationReconcileData, ThrowOnError>) => RequestResult<ResumeOrganizationReconcileResponses, ResumeOrganizationReconcileErrors, ThrowOnError>;
1309
1751
  /**
1310
1752
  * Delete session
1311
1753
  *
@@ -1315,25 +1757,25 @@ export declare const sessionsDelete: <ThrowOnError extends boolean = false>(opti
1315
1757
  /**
1316
1758
  * Get session
1317
1759
  *
1318
- * 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.
1760
+ * 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.
1319
1761
  */
1320
1762
  export declare const sessionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<SessionsRetrieveData, ThrowOnError>) => RequestResult<SessionsRetrieveResponses, SessionsRetrieveErrors, ThrowOnError>;
1321
1763
  /**
1322
1764
  * Update session
1323
1765
  *
1324
- * 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.
1766
+ * 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; secrets reach the session's machine as environment variables and are matched against its MCP servers. A budget limit must exceed consumed cost; null removes it permanently for this session. Updating an archived session returns 409.
1325
1767
  */
1326
1768
  export declare const sessionsUpdate: <ThrowOnError extends boolean = false>(options: Options<SessionsUpdateData, ThrowOnError>) => RequestResult<SessionsUpdateResponses, SessionsUpdateErrors, ThrowOnError>;
1327
1769
  /**
1328
1770
  * List agents
1329
1771
  *
1330
- * 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.
1772
+ * 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.
1331
1773
  */
1332
1774
  export declare const agentsList: <ThrowOnError extends boolean = false>(options?: Options<AgentsListData, ThrowOnError>) => RequestResult<AgentsListResponses, AgentsListErrors, ThrowOnError>;
1333
1775
  /**
1334
1776
  * Create agent
1335
1777
  *
1336
- * 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.
1778
+ * 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.
1337
1779
  */
1338
1780
  export declare const agentsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentsCreateData, ThrowOnError>) => RequestResult<AgentsCreateResponses, AgentsCreateErrors, ThrowOnError>;
1339
1781
  /**
@@ -1345,7 +1787,7 @@ export declare const agentsRetrieve: <ThrowOnError extends boolean = false>(opti
1345
1787
  /**
1346
1788
  * Update agent
1347
1789
  *
1348
- * 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.
1790
+ * 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.
1349
1791
  */
1350
1792
  export declare const agentsUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentsUpdateData, ThrowOnError>) => RequestResult<AgentsUpdateResponses, AgentsUpdateErrors, ThrowOnError>;
1351
1793
  /**
@@ -1369,7 +1811,7 @@ export declare const sessionsList: <ThrowOnError extends boolean = false>(option
1369
1811
  /**
1370
1812
  * Create session
1371
1813
  *
1372
- * 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.
1814
+ * 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. vault_ids (at most 50, owned by the organization, not archived) adds vaults to the agent's own vault_ids, the ones its department or organization rule grants attach, and the session carries both sets from creation; sessions.update replaces the session's own set later. The secrets of those vaults reach the session's machine as environment variables named after the secret, in every command it runs, and are matched against its MCP servers; a service agent's session skips OAuth credentials and secrets that declare allowed_hosts, and names the platform login owns are never taken. allowed_hosts does not limit what a command does with an exported value. A session with no machine has no environment. 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.
1373
1815
  */
1374
1816
  export declare const sessionsCreate: <ThrowOnError extends boolean = false>(options: Options<SessionsCreateData, ThrowOnError>) => RequestResult<SessionsCreateResponses, SessionsCreateErrors, ThrowOnError>;
1375
1817
  /**
@@ -1381,19 +1823,19 @@ export declare const sessionsArchive: <ThrowOnError extends boolean = false>(opt
1381
1823
  /**
1382
1824
  * List session events
1383
1825
  *
1384
- * 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 personal or general agent itself, use agents.events.list instead. In the path, session_id may also be `main` (your own main session with that agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
1826
+ * 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.
1385
1827
  */
1386
1828
  export declare const sessionsEventsList: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsListData, ThrowOnError>) => RequestResult<SessionsEventsListResponses, SessionsEventsListErrors, ThrowOnError>;
1387
1829
  /**
1388
1830
  * Send session events
1389
1831
  *
1390
- * Attach optional praxis_context={items:[{name,value}]} to user.message for untrusted page context on this turn only (maximum 32 items, 4096 UTF-8 JSON bytes). /anthropic/v1 rejects this field. Send events to a session: user.message (exactly one nonempty text block), user.interrupt, user.tool_confirmation to allow or deny a pending tool call, user.custom_tool_result to return a custom tool result, user.steer to inject a queued user.message into a turn that is still running, and user.withdraw to retract a queued message. The response only acknowledges the inputs; read replies with sessions.events.list or sessions.events.stream. A message sent while the session waits for tool approval is queued (processed_at null) and runs in order after the approval is resolved. Archived sessions reject new messages. To approve, read a pending agent.tool_use or agent.mcp_tool_use event and send {type: "user.tool_confirmation", tool_use_id: <that event id>, result: "allow"} (or deny); include session_thread_id for a child approval. Native confirmations also accept updated_permissions, answers and annotations, which /anthropic/v1 rejects. Both faces accept user.custom_tool_result with custom_tool_use_id from agent.custom_tool_use.id or the requires_action stop_reason.event_ids. Unlike Anthropic, result content accepts only text blocks (omit it for an empty array). Omitted or null is_error means false. The server routes child calls by id; session_thread_id is rejected in this input. Unknown call ids return 400; duplicate results or calls no longer waiting return 409. This operation addresses one session — normally a worker session an agent dispatched; to talk to a personal or general agent itself, use agents.events.send instead. In the path, session_id may also be `main` (your own main session with the agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
1832
+ * 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.
1391
1833
  */
1392
1834
  export declare const sessionsEventsSend: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsSendData, ThrowOnError>) => RequestResult<SessionsEventsSendResponses, SessionsEventsSendErrors, ThrowOnError>;
1393
1835
  /**
1394
1836
  * Stream session events
1395
1837
  *
1396
- * Open a Server-Sent Events stream of a session's events in real time. Use it to show a reply as it is produced; to read past events use sessions.events.list. Send a message through sessions.events.send in another request while the stream is open. Closing the stream only drops your subscription and does not stop the agent. Pass event_deltas[]=agent.message, agent.thinking or agent.tool_use to also receive event_start / event_delta previews before the final event. This operation addresses one session — normally a worker session an agent dispatched; to follow a personal or general agent itself, use agents.events.stream instead. In the path, session_id may also be `main` (your own main session with the agent) or a short session name, and either alias then requires agent_id with the agent_… id, the eight character identity number or the handle; only the own face /agent/v1 accepts an alias, /anthropic/v1 requires a real sesn_… id.
1838
+ * 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.
1397
1839
  */
1398
1840
  export declare const sessionsEventsStream: <ThrowOnError extends boolean = false>(options: Options<SessionsEventsStreamData, ThrowOnError, SessionsEventsStreamResponse>) => Promise<ServerSentEventsResult<SessionsEventsStreamResponses>>;
1399
1841
  /**
@@ -1489,7 +1931,7 @@ export declare const deploymentsList: <ThrowOnError extends boolean = false>(opt
1489
1931
  /**
1490
1932
  * Create deployment
1491
1933
  *
1492
- * 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.
1934
+ * Freeze session parameters as a deployment; this operation does not open a session. An agent reference with only an id follows the agent's active version: each run uses the version in effect at that moment, so a later agent save reaches the next run with no edit here. Name a version to pin it; only a version that is applied can be pinned, so a save made with apply false is refused with 409 AGENT_VERSION_NOT_APPLIED. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. environment_id and target are alternatives: send at least one of them; target:{type:"computer"} is for general agents and needs no environment_id, while target:{type:"environment"} still requires one. 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; secrets reach the session's machine as environment variables and are matched against its MCP servers. 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"}}.
1493
1935
  */
1494
1936
  export declare const deploymentsCreate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsCreateData, ThrowOnError>) => RequestResult<DeploymentsCreateResponses, DeploymentsCreateErrors, ThrowOnError>;
1495
1937
  /**
@@ -1501,7 +1943,7 @@ export declare const deploymentsRetrieve: <ThrowOnError extends boolean = false>
1501
1943
  /**
1502
1944
  * Update deployment
1503
1945
  *
1504
- * 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.
1946
+ * Partially update a deployment. Omitted fields keep their values. An agent reference with only an id makes the deployment follow the agent's active version from now on, so later agent saves carry through; name a version to pin it instead, and only a version that is applied (not one saved with apply false) may be pinned. 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.
1505
1947
  */
1506
1948
  export declare const deploymentsUpdate: <ThrowOnError extends boolean = false>(options: Options<DeploymentsUpdateData, ThrowOnError>) => RequestResult<DeploymentsUpdateResponses, DeploymentsUpdateErrors, ThrowOnError>;
1507
1949
  /**
@@ -1651,7 +2093,7 @@ export declare const applicationListVersions: <ThrowOnError extends boolean = fa
1651
2093
  /**
1652
2094
  * Create version
1653
2095
  *
1654
- * 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.
2096
+ * 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.
1655
2097
  */
1656
2098
  export declare const applicationCreateVersion: <ThrowOnError extends boolean = false>(options: Options<ApplicationCreateVersionData, ThrowOnError>) => RequestResult<ApplicationCreateVersionResponses, ApplicationCreateVersionErrors, ThrowOnError>;
1657
2099
  /**
@@ -1717,7 +2159,7 @@ export declare const applicationListGrants: <ThrowOnError extends boolean = fals
1717
2159
  /**
1718
2160
  * Create grant
1719
2161
  *
1720
- * 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).
2162
+ * 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), or to full authority (organization: id *, read_write), which excludes every other grant. The types are the ones a service agent can bind. The retired files type is refused; grant one file by its file-… id. A Worker's platform calls reach only what its grants name, and nothing with no grant; 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).
1721
2163
  */
1722
2164
  export declare const applicationCreateGrant: <ThrowOnError extends boolean = false>(options: Options<ApplicationCreateGrantData, ThrowOnError>) => RequestResult<ApplicationCreateGrantResponses, ApplicationCreateGrantErrors, ThrowOnError>;
1723
2165
  /**
@@ -1897,7 +2339,7 @@ export declare const automationWorkflowsList: <ThrowOnError extends boolean = fa
1897
2339
  /**
1898
2340
  * Create a workflow
1899
2341
  *
1900
- * 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.
2342
+ * 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.
1901
2343
  */
1902
2344
  export declare const automationWorkflowsCreate: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsCreateData, ThrowOnError>) => RequestResult<AutomationWorkflowsCreateResponses, AutomationWorkflowsCreateErrors, ThrowOnError>;
1903
2345
  /**
@@ -1909,7 +2351,7 @@ export declare const automationWorkflowsGet: <ThrowOnError extends boolean = fal
1909
2351
  /**
1910
2352
  * Update a workflow draft
1911
2353
  *
1912
- * 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.
2354
+ * 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.
1913
2355
  */
1914
2356
  export declare const automationWorkflowsPatch: <ThrowOnError extends boolean = false>(options: Options<AutomationWorkflowsPatchData, ThrowOnError>) => RequestResult<AutomationWorkflowsPatchResponses, AutomationWorkflowsPatchErrors, ThrowOnError>;
1915
2357
  /**
@@ -1969,7 +2411,7 @@ export declare const automationWorkflowsSetDistTag: <ThrowOnError extends boolea
1969
2411
  /**
1970
2412
  * Validate a definition
1971
2413
  *
1972
- * 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.
2414
+ * 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.
1973
2415
  */
1974
2416
  export declare const automationValidateValidate: <ThrowOnError extends boolean = false>(options: Options<AutomationValidateValidateData, ThrowOnError>) => RequestResult<AutomationValidateValidateResponses, AutomationValidateValidateErrors, ThrowOnError>;
1975
2417
  /**
@@ -2324,6 +2766,96 @@ export declare const canvasListVersions: <ThrowOnError extends boolean = false>(
2324
2766
  * 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.
2325
2767
  */
2326
2768
  export declare const canvasRestoreCanvas: <ThrowOnError extends boolean = false>(options: Options<CanvasRestoreCanvasData, ThrowOnError>) => RequestResult<CanvasRestoreCanvasResponses, CanvasRestoreCanvasErrors, ThrowOnError>;
2769
+ /**
2770
+ * Publish canvas library
2771
+ *
2772
+ * Freeze the reusable components of a canvas as the next numbered library version, so other canvases can use them; the first publish turns the canvas into a library. Supply a canvas_id from canvases.list or create after marking frames as components. The result lists which components were added, changed (compared by content) or removed since the previous version, and whether variables or themes changed. A removed component stays readable in the new version, marked removed. Publishing is not an edit, so the canvas version does not change. Component libraries are available only to organizations where the canvas-libraries feature is enabled; others receive FEATURE_DISABLED.
2773
+ */
2774
+ export declare const canvasPublishLibrary: <ThrowOnError extends boolean = false>(options: Options<CanvasPublishLibraryData, ThrowOnError>) => RequestResult<CanvasPublishLibraryResponses, CanvasPublishLibraryErrors, ThrowOnError>;
2775
+ /**
2776
+ * List library versions
2777
+ *
2778
+ * Read the release history of a library canvas, newest first, including each version's description and what it added, changed or removed. Supply a canvas_id of a canvas that has been published at least once; a canvas that never was answers NOT_A_LIBRARY. limit is 1–100 and defaults to 30; pass next_cursor as cursor until it is null. Library versions are never pruned. Listing does not change the canvas. Available only to organizations where the canvas-libraries feature is enabled.
2779
+ */
2780
+ export declare const canvasListLibraryVersions: <ThrowOnError extends boolean = false>(options: Options<CanvasListLibraryVersionsData, ThrowOnError>) => RequestResult<CanvasListLibraryVersionsResponses, CanvasListLibraryVersionsErrors, ThrowOnError>;
2781
+ /**
2782
+ * List libraries
2783
+ *
2784
+ * Discover the component libraries of the API key's organization, most recently published first. A library is a canvas that has been published at least once; each item gives its latest version, component count and how many live canvases use it. query keeps only libraries whose name contains the text, ignoring case. limit is 1–100 and defaults to 50; pass next_cursor as cursor until it is null. Deleted canvases are not listed. Available only to organizations where the canvas-libraries feature is enabled.
2785
+ */
2786
+ export declare const canvasListLibraries: <ThrowOnError extends boolean = false>(options?: Options<CanvasListLibrariesData, ThrowOnError>) => RequestResult<CanvasListLibrariesResponses, CanvasListLibrariesErrors, ThrowOnError>;
2787
+ /**
2788
+ * Import canvas library
2789
+ *
2790
+ * Make a published library's components usable in this canvas under an alias, or move an existing alias to another library version. Supply this canvas's canvas_id and the library's canvas id from libraries.list; the library must have been published at least once, and a library cannot itself import another library. After importing, reference a component as alias:component_id (for example ref ui:btn in a script) and a library variable as $alias:name; library nodes are read-only here. Moving an alias to a newer version keeps every instance and its overrides. The import is one new canvas version, so restoring an earlier version also restores the library versions it used. Importing the same alias and version again changes nothing. Component libraries are available only to organizations where the canvas-libraries feature is enabled.
2791
+ */
2792
+ export declare const canvasSetImport: <ThrowOnError extends boolean = false>(options: Options<CanvasSetImportData, ThrowOnError>) => RequestResult<CanvasSetImportResponses, CanvasSetImportErrors, ThrowOnError>;
2793
+ /**
2794
+ * Remove canvas library import
2795
+ *
2796
+ * Stop using an imported library in this canvas. Supply this canvas's canvas_id and the alias it was imported under, as listed in imports of retrieve. The import is refused while any node still instantiates one of the library's components (the count is in error.details.instances, and retrieve lists them per component), so delete or replace those nodes first. The removal is one new canvas version. Component libraries are available only to organizations where the canvas-libraries feature is enabled.
2797
+ */
2798
+ export declare const canvasDeleteImport: <ThrowOnError extends boolean = false>(options: Options<CanvasDeleteImportData, ThrowOnError>) => RequestResult<CanvasDeleteImportResponses, CanvasDeleteImportErrors, ThrowOnError>;
2799
+ /**
2800
+ * List contents
2801
+ *
2802
+ * 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.
2803
+ */
2804
+ export declare const contentListContents: <ThrowOnError extends boolean = false>(options?: Options<ContentListContentsData, ThrowOnError>) => RequestResult<ContentListContentsResponses, ContentListContentsErrors, ThrowOnError>;
2805
+ /**
2806
+ * Create a content
2807
+ *
2808
+ * 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.
2809
+ */
2810
+ export declare const contentCreateContent: <ThrowOnError extends boolean = false>(options: Options<ContentCreateContentData, ThrowOnError>) => RequestResult<ContentCreateContentResponses, ContentCreateContentErrors, ThrowOnError>;
2811
+ /**
2812
+ * Get a content
2813
+ *
2814
+ * 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.
2815
+ */
2816
+ export declare const contentGetContent: <ThrowOnError extends boolean = false>(options: Options<ContentGetContentData, ThrowOnError>) => RequestResult<ContentGetContentResponses, ContentGetContentErrors, ThrowOnError>;
2817
+ /**
2818
+ * Update a content
2819
+ *
2820
+ * 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.
2821
+ */
2822
+ export declare const contentUpdateContent: <ThrowOnError extends boolean = false>(options: Options<ContentUpdateContentData, ThrowOnError>) => RequestResult<ContentUpdateContentResponses, ContentUpdateContentErrors, ThrowOnError>;
2823
+ /**
2824
+ * Publish a content
2825
+ *
2826
+ * 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.
2827
+ */
2828
+ export declare const contentPublishContent: <ThrowOnError extends boolean = false>(options: Options<ContentPublishContentData, ThrowOnError>) => RequestResult<ContentPublishContentResponses, ContentPublishContentErrors, ThrowOnError>;
2829
+ /**
2830
+ * Unpublish a content
2831
+ *
2832
+ * 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.
2833
+ */
2834
+ export declare const contentUnpublishContent: <ThrowOnError extends boolean = false>(options: Options<ContentUnpublishContentData, ThrowOnError>) => RequestResult<ContentUnpublishContentResponses, ContentUnpublishContentErrors, ThrowOnError>;
2835
+ /**
2836
+ * Archive a content
2837
+ *
2838
+ * 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.
2839
+ */
2840
+ export declare const contentArchiveContent: <ThrowOnError extends boolean = false>(options: Options<ContentArchiveContentData, ThrowOnError>) => RequestResult<ContentArchiveContentResponses, ContentArchiveContentErrors, ThrowOnError>;
2841
+ /**
2842
+ * List versions
2843
+ *
2844
+ * 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.
2845
+ */
2846
+ export declare const contentListVersions: <ThrowOnError extends boolean = false>(options: Options<ContentListVersionsData, ThrowOnError>) => RequestResult<ContentListVersionsResponses, ContentListVersionsErrors, ThrowOnError>;
2847
+ /**
2848
+ * Get a version
2849
+ *
2850
+ * 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.
2851
+ */
2852
+ export declare const contentGetVersion: <ThrowOnError extends boolean = false>(options: Options<ContentGetVersionData, ThrowOnError>) => RequestResult<ContentGetVersionResponses, ContentGetVersionErrors, ThrowOnError>;
2853
+ /**
2854
+ * Open a playback session
2855
+ *
2856
+ * 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.
2857
+ */
2858
+ export declare const contentCreatePlaybackSession: <ThrowOnError extends boolean = false>(options: Options<ContentCreatePlaybackSessionData, ThrowOnError>) => RequestResult<ContentCreatePlaybackSessionResponses, ContentCreatePlaybackSessionErrors, ThrowOnError>;
2327
2859
  /**
2328
2860
  * List records
2329
2861
  *
@@ -2540,6 +3072,96 @@ export declare const crmLayoutsRetrieve: <ThrowOnError extends boolean = false>(
2540
3072
  * 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.
2541
3073
  */
2542
3074
  export declare const crmLayoutsUpdate: <ThrowOnError extends boolean = false>(options: Options<CrmLayoutsUpdateData, ThrowOnError>) => RequestResult<CrmLayoutsUpdateResponses, CrmLayoutsUpdateErrors, ThrowOnError>;
3075
+ /**
3076
+ * Create a grant code
3077
+ *
3078
+ * 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.
3079
+ */
3080
+ export declare const customerCreateGrantCode: <ThrowOnError extends boolean = false>(options: Options<CustomerCreateGrantCodeData, ThrowOnError>) => RequestResult<CustomerCreateGrantCodeResponses, CustomerCreateGrantCodeErrors, ThrowOnError>;
3081
+ /**
3082
+ * Exchange a grant code or publishable key
3083
+ *
3084
+ * 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. A publishable key may also carry its own limits (anon_rate_per_min and daily_session_cap, set on the key): over the key's per-minute exchanges the door answers 429 PUBLISHABLE_KEY_RATE_LIMITED, and once the key has admitted daily_session_cap new anonymous visitors in the current UTC day it answers 429 PUBLISHABLE_KEY_DAILY_CAP_REACHED to a new visitor while a returning visitor with a continuation_token still continues; both carry Retry-After, the seconds until their UTC minute or day ends. A key may also carry a daily_spend_cap, the most its visitors' usage may cost in one UTC day: once the usage events of this key in the current UTC day add up to it (when the platform has switched the spend cap on for your organization), the door answers 429 PUBLISHABLE_KEY_DAILY_SPEND_CAP_REACHED to every visitor, a returning one with a continuation_token included, with Retry-After until 00:00 UTC.
3085
+ */
3086
+ export declare const customerCreateAccessToken: <ThrowOnError extends boolean = false>(options: Options<CustomerCreateAccessTokenData, ThrowOnError>) => RequestResult<CustomerCreateAccessTokenResponses, CustomerCreateAccessTokenErrors, ThrowOnError>;
3087
+ /**
3088
+ * Renew an access token
3089
+ *
3090
+ * 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.
3091
+ */
3092
+ export declare const customerRenewAccessToken: <ThrowOnError extends boolean = false>(options?: Options<CustomerRenewAccessTokenData, ThrowOnError>) => RequestResult<CustomerRenewAccessTokenResponses, CustomerRenewAccessTokenErrors, ThrowOnError>;
3093
+ /**
3094
+ * Sign out the current token
3095
+ *
3096
+ * 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.
3097
+ */
3098
+ export declare const customerRevokeCurrentTokens: <ThrowOnError extends boolean = false>(options?: Options<CustomerRevokeCurrentTokensData, ThrowOnError>) => RequestResult<CustomerRevokeCurrentTokensResponses, CustomerRevokeCurrentTokensErrors, ThrowOnError>;
3099
+ /**
3100
+ * List end users
3101
+ *
3102
+ * 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.
3103
+ */
3104
+ export declare const customerListCustomers: <ThrowOnError extends boolean = false>(options?: Options<CustomerListCustomersData, ThrowOnError>) => RequestResult<CustomerListCustomersResponses, CustomerListCustomersErrors, ThrowOnError>;
3105
+ /**
3106
+ * Delete an end user
3107
+ *
3108
+ * 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.
3109
+ */
3110
+ export declare const customerDeleteCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerDeleteCustomerData, ThrowOnError>) => RequestResult<CustomerDeleteCustomerResponses, CustomerDeleteCustomerErrors, ThrowOnError>;
3111
+ /**
3112
+ * Get an end user
3113
+ *
3114
+ * 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.
3115
+ */
3116
+ export declare const customerGetCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerGetCustomerData, ThrowOnError>) => RequestResult<CustomerGetCustomerResponses, CustomerGetCustomerErrors, ThrowOnError>;
3117
+ /**
3118
+ * Read end-user usage
3119
+ *
3120
+ * 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.
3121
+ */
3122
+ export declare const customerGetUsage: <ThrowOnError extends boolean = false>(options: Options<CustomerGetUsageData, ThrowOnError>) => RequestResult<CustomerGetUsageResponses, CustomerGetUsageErrors, ThrowOnError>;
3123
+ /**
3124
+ * Block an end user
3125
+ *
3126
+ * 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.
3127
+ */
3128
+ export declare const customerBlockCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerBlockCustomerData, ThrowOnError>) => RequestResult<CustomerBlockCustomerResponses, CustomerBlockCustomerErrors, ThrowOnError>;
3129
+ /**
3130
+ * Unblock an end user
3131
+ *
3132
+ * 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.
3133
+ */
3134
+ export declare const customerUnblockCustomer: <ThrowOnError extends boolean = false>(options: Options<CustomerUnblockCustomerData, ThrowOnError>) => RequestResult<CustomerUnblockCustomerResponses, CustomerUnblockCustomerErrors, ThrowOnError>;
3135
+ /**
3136
+ * Revoke every token of an end user
3137
+ *
3138
+ * 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.
3139
+ */
3140
+ export declare const customerRevokeTokens: <ThrowOnError extends boolean = false>(options: Options<CustomerRevokeTokensData, ThrowOnError>) => RequestResult<CustomerRevokeTokensResponses, CustomerRevokeTokensErrors, ThrowOnError>;
3141
+ /**
3142
+ * List publishable keys
3143
+ *
3144
+ * 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.
3145
+ */
3146
+ export declare const customerListPublishableKeys: <ThrowOnError extends boolean = false>(options?: Options<CustomerListPublishableKeysData, ThrowOnError>) => RequestResult<CustomerListPublishableKeysResponses, CustomerListPublishableKeysErrors, ThrowOnError>;
3147
+ /**
3148
+ * Create a publishable key
3149
+ *
3150
+ * 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. anon_rate_per_min, daily_session_cap and daily_spend_cap are optional limits of the key itself, all absent by default: the first caps how many exchanges the key allows per UTC minute across all visitors, the second how many new anonymous visitors it admits per UTC day (returning visitors are not counted); the third, daily_spend_cap, is the most the usage of this key's visitors may cost in one UTC day, as an amount with its currency such as {"amount": "5.00", "currency": "USD"} (at most 2 decimals), read from the key's usage events; change them later with praxis.customer.publishableKeys.update. Returns HTTP 201; the exchange that consumes it is praxis.customer.accessTokens.create with publishable_key.
3151
+ */
3152
+ export declare const customerCreatePublishableKey: <ThrowOnError extends boolean = false>(options: Options<CustomerCreatePublishableKeyData, ThrowOnError>) => RequestResult<CustomerCreatePublishableKeyResponses, CustomerCreatePublishableKeyErrors, ThrowOnError>;
3153
+ /**
3154
+ * Delete a publishable key
3155
+ *
3156
+ * 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.
3157
+ */
3158
+ export declare const customerDeletePublishableKey: <ThrowOnError extends boolean = false>(options: Options<CustomerDeletePublishableKeyData, ThrowOnError>) => RequestResult<CustomerDeletePublishableKeyResponses, CustomerDeletePublishableKeyErrors, ThrowOnError>;
3159
+ /**
3160
+ * Update a publishable key
3161
+ *
3162
+ * Change the name of a publishable key or its own limits on anonymous admittance, for example to cap a page that is drawing more anonymous visitors than you want to pay for. Send at least one of name, anon_rate_per_min, daily_session_cap or daily_spend_cap; a field left out keeps its value, and null removes that limit. anon_rate_per_min caps the exchanges of this key per UTC minute across all visitors (returning visitors included), daily_session_cap caps the new anonymous visitors it admits per UTC day, and daily_spend_cap caps what its visitors' usage may cost per UTC day (a returning visitor is refused too, because it would start new chargeable work); a returning visitor that sends its continuation_token is never counted toward or refused by the daily cap. A new limit applies from the next exchange. The resources a key grants and its plaintext value never change; mint a new key for different resources. Get the key id from the publishable key list. An unknown, deleted or foreign id answers 400 INVALID_PARAMS, as does a limit outside its range.
3163
+ */
3164
+ export declare const customerUpdatePublishableKey: <ThrowOnError extends boolean = false>(options: Options<CustomerUpdatePublishableKeyData, ThrowOnError>) => RequestResult<CustomerUpdatePublishableKeyResponses, CustomerUpdatePublishableKeyErrors, ThrowOnError>;
2543
3165
  /**
2544
3166
  * List projects
2545
3167
  *
@@ -2593,7 +3215,7 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2593
3215
  * codemode.describe("praxis.cut.script") // names, one page at a time
2594
3216
  * ```
2595
3217
  *
2596
- * Published at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.
3218
+ * Published at https://docs.deepraxis.com/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.
2597
3219
  *
2598
3220
  * #### Script functions (script)
2599
3221
  *
@@ -2662,8 +3284,8 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2662
3284
  * - `transform` — Position, scale, rotation, opacity, crop, blur.
2663
3285
  * - `fit` — contain, cover, fill or none.
2664
3286
  * - `blend` — Layer blend mode; null clears.
2665
- * - `style` — Text styling: font, fill, strokes, glow, position.
2666
- * - `style.position` — top, middle or bottom; omit it, never null.
3287
+ * - `style` — Text styling in Shotstack's rich shape: font, gradient, stroke, shadow, box, border, align, per-word animation.
3288
+ * - `style.align.vertical` — top, middle or bottom; omit it, never null.
2667
3289
  * - `playback` — Rate, direction, audio policy, or freeze.
2668
3290
  * - `volumeDb` — Audio level in dB; 0 is source level.
2669
3291
  * - `gain` — Keyframed audio level in dB.
@@ -2684,6 +3306,8 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2684
3306
  * - `JOIN_CONFLICT` — A join is invalid or blocks this edit.
2685
3307
  * - `INVALID_TRANSITION` — Bad transition kind, parameter or length.
2686
3308
  * - `INVALID_STYLE` — A style value is out of range.
3309
+ * - `UNSUPPORTED_STYLE_FIELD` — A Shotstack style field this platform cannot render yet.
3310
+ * - `STYLE_LEGACY_FIELDS` — A style written in the old flat shape; it still works.
2687
3311
  * - `INVALID_MASK` — A mask definition is malformed.
2688
3312
  * - `MASK_IN_USE` — The edit would break a live mask.
2689
3313
  * - `TOO_MANY_MASKS` — At most 16 masks per project.
@@ -2746,237 +3370,539 @@ export declare const cutUndeleteProject: <ThrowOnError extends boolean = false>(
2746
3370
  * <!-- cut-reference:end -->
2747
3371
  *
2748
3372
  */
2749
- export declare const cutExecute: <ThrowOnError extends boolean = false>(options: Options<CutExecuteData, ThrowOnError>) => RequestResult<CutExecuteResponses, CutExecuteErrors, ThrowOnError>;
3373
+ export declare const cutExecute: <ThrowOnError extends boolean = false>(options: Options<CutExecuteData, ThrowOnError>) => RequestResult<CutExecuteResponses, CutExecuteErrors, ThrowOnError>;
3374
+ /**
3375
+ * Read editing state
3376
+ *
3377
+ * Read lightweight project context before composing an execute script. Returns current revision, rendering settings, track counts, library bindings and offline media count without individual clips. For complete clip documents or a selected time range, read timeline instead.
3378
+ */
3379
+ export declare const cutRetrieveState: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveStateData, ThrowOnError>) => RequestResult<CutRetrieveStateResponses, CutRetrieveStateErrors, ThrowOnError>;
3380
+ /**
3381
+ * Read project timeline
3382
+ *
3383
+ * Inspect clips and markers in a selected project range before editing. view=full returns structured tracks with all timeline positions in seconds; view=compact returns compact text for script context. from and to are seconds and tracks limits the selection to comma-separated track ids from state. Concurrent changes while preparing a full timeline return 409; retrieve the latest state and try the read again.
3384
+ */
3385
+ export declare const cutRetrieveTimeline: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveTimelineData, ThrowOnError>) => RequestResult<CutRetrieveTimelineResponses, CutRetrieveTimelineErrors, ThrowOnError>;
3386
+ /**
3387
+ * Render preview frames
3388
+ *
3389
+ * Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. The default scale is 0.25; use 0.5 for subtitle layout inspection (1080×1920 renders at 540×960). The maximum is 0.5; values above it return INVALID_PARAMS. Actual width and height are returned per frame. PNGs above 2 MiB or responses above 4 MiB return RESPONSE_TOO_LARGE without silently lowering resolution. The response always includes warnings; FRAME_UNAVAILABLE means a source preview could not be obtained and an offline tile was drawn. Its message identifies a timeout, delivery capacity limit, or unavailable source and contains no source URL. Decode each image's base64 payload to save it. Codemode returns at most four images per call, so request at most four times when reviewing there.
3390
+ */
3391
+ export declare const cutListFrames: <ThrowOnError extends boolean = false>(options: Options<CutListFramesData, ThrowOnError>) => RequestResult<CutListFramesResponses, CutListFramesErrors, ThrowOnError>;
3392
+ /**
3393
+ * Analyze project media or measure the project mix
3394
+ *
3395
+ * 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.
3396
+ */
3397
+ export declare const cutCreateAnalysis: <ThrowOnError extends boolean = false>(options: Options<CutCreateAnalysisData, ThrowOnError>) => RequestResult<CutCreateAnalysisResponses, CutCreateAnalysisErrors, ThrowOnError>;
3398
+ /**
3399
+ * List library bindings
3400
+ *
3401
+ * Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.
3402
+ */
3403
+ export declare const cutListBindings: <ThrowOnError extends boolean = false>(options: Options<CutListBindingsData, ThrowOnError>) => RequestResult<CutListBindingsResponses, CutListBindingsErrors, ThrowOnError>;
3404
+ /**
3405
+ * Bind media library
3406
+ *
3407
+ * Attach an accessible media library to an existing project under a unique name. Obtain library_id from praxis.media and choose read for source-only access or read_write for imports and exports. The project must retain exactly one read_write binding with default_upload true after the change.
3408
+ */
3409
+ export declare const cutCreateBinding: <ThrowOnError extends boolean = false>(options: Options<CutCreateBindingData, ThrowOnError>) => RequestResult<CutCreateBindingResponses, CutCreateBindingErrors, ThrowOnError>;
3410
+ /**
3411
+ * Remove library binding
3412
+ *
3413
+ * Detach a library alias obtained from bindings.list after removing all timeline clips that reference its library. BINDING_IN_USE returns 409 while references remain; inspect timeline and edit those clips first. Removal must preserve the one writable default upload binding.
3414
+ */
3415
+ export declare const cutDeleteBinding: <ThrowOnError extends boolean = false>(options: Options<CutDeleteBindingData, ThrowOnError>) => RequestResult<CutDeleteBindingResponses, CutDeleteBindingErrors, ThrowOnError>;
3416
+ /**
3417
+ * Import project media
3418
+ *
3419
+ * Import a URL, data URI or existing file into a writable project media library. Select binding from bindings.list or omit it to use default_upload. Save library_id and asset_id from the result and use them as libraryId and assetId inside execute script media references; overwrites follow the source asset latest version.
3420
+ */
3421
+ export declare const cutImportMedia: <ThrowOnError extends boolean = false>(options: Options<CutImportMediaData, ThrowOnError>) => RequestResult<CutImportMediaResponses, CutImportMediaErrors, ThrowOnError>;
3422
+ /**
3423
+ * List project exports
3424
+ *
3425
+ * Find export jobs associated with this project before polling or canceling a render. Copy an export id into praxis.cut.exports.retrieve or cancel. Continue with next_page_token as page_token when present; queued or in-progress jobs have not produced a final media asset.
3426
+ */
3427
+ export declare const cutListExports: <ThrowOnError extends boolean = false>(options: Options<CutListExportsData, ThrowOnError>) => RequestResult<CutListExportsResponses, CutListExportsErrors, ThrowOnError>;
3428
+ /**
3429
+ * Create video export
3430
+ *
3431
+ * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
3432
+ */
3433
+ export declare const cutCreateExport: <ThrowOnError extends boolean = false>(options: Options<CutCreateExportData, ThrowOnError>) => RequestResult<CutCreateExportResponses, CutCreateExportErrors, ThrowOnError>;
3434
+ /**
3435
+ * Create draft range render
3436
+ *
3437
+ * 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.
3438
+ */
3439
+ export declare const cutCreateRender: <ThrowOnError extends boolean = false>(options: Options<CutCreateRenderData, ThrowOnError>) => RequestResult<CutCreateRenderResponses, CutCreateRenderErrors, ThrowOnError>;
3440
+ /**
3441
+ * Retrieve draft range render
3442
+ *
3443
+ * Poll a draft render id returned by projects.renders.create to see whether the interval is ready, then read url while it lasts. queued and rendering are in progress; done provides file_id and a short-lived url for the rendered .m4a or .mp4; failed provides error. Only done yields a url, and the file behind it disappears 24 hours after it was stored, so retrieve again when the link has expired.
3444
+ */
3445
+ export declare const cutRetrieveRender: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveRenderData, ThrowOnError>) => RequestResult<CutRetrieveRenderResponses, CutRetrieveRenderErrors, ThrowOnError>;
3446
+ /**
3447
+ * Retrieve video export
3448
+ *
3449
+ * Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.
3450
+ */
3451
+ export declare const cutRetrieveExport: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveExportData, ThrowOnError>) => RequestResult<CutRetrieveExportResponses, CutRetrieveExportErrors, ThrowOnError>;
3452
+ /**
3453
+ * Cancel video export
3454
+ *
3455
+ * Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.
3456
+ */
3457
+ export declare const cutCancelExport: <ThrowOnError extends boolean = false>(options: Options<CutCancelExportData, ThrowOnError>) => RequestResult<CutCancelExportResponses, CutCancelExportErrors, ThrowOnError>;
3458
+ /**
3459
+ * List saved versions
3460
+ *
3461
+ * Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.
3462
+ */
3463
+ export declare const cutListVersions: <ThrowOnError extends boolean = false>(options: Options<CutListVersionsData, ThrowOnError>) => RequestResult<CutListVersionsResponses, CutListVersionsErrors, ThrowOnError>;
3464
+ /**
3465
+ * Save project version
3466
+ *
3467
+ * Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.
3468
+ */
3469
+ export declare const cutCreateVersion: <ThrowOnError extends boolean = false>(options: Options<CutCreateVersionData, ThrowOnError>) => RequestResult<CutCreateVersionResponses, CutCreateVersionErrors, ThrowOnError>;
3470
+ /**
3471
+ * Restore saved version
3472
+ *
3473
+ * Replace current editing content with a saved project snapshot selected from projects.versions.list. The restore commits a new transaction and revision while preserving the saved version for future use. Inspect the returned summary and timeline before further editing; a response revision conflict can follow a committed restore, so retrieve current state before retrying.
3474
+ */
3475
+ export declare const cutRestoreVersion: <ThrowOnError extends boolean = false>(options: Options<CutRestoreVersionData, ThrowOnError>) => RequestResult<CutRestoreVersionResponses, CutRestoreVersionErrors, ThrowOnError>;
3476
+ /**
3477
+ * List table databases
3478
+ *
3479
+ * Find the table databases owned by your tenant (databases of the other type are not listed) and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
3480
+ */
3481
+ export declare const databaseListTableDatabases: <ThrowOnError extends boolean = false>(options?: Options<DatabaseListTableDatabasesData, ThrowOnError>) => RequestResult<DatabaseListTableDatabasesResponses, DatabaseListTableDatabasesErrors, ThrowOnError>;
3482
+ /**
3483
+ * Create table database
3484
+ *
3485
+ * Creates an empty table database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.table.tables.create, then read and write rows with praxis.database.table.rest. The path is the type: the body takes no kind, and a body that carries kind returns 400 INVALID_PARAMS: kind is set by the path. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListTableDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies. For Redis-style keys use praxis.database.kv.create instead.
3486
+ */
3487
+ export declare const databaseCreateTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateTableDatabaseData, ThrowOnError>) => RequestResult<DatabaseCreateTableDatabaseResponses, DatabaseCreateTableDatabaseErrors, ThrowOnError>;
3488
+ /**
3489
+ * List key-value databases
3490
+ *
3491
+ * Find the key-value databases owned by your tenant (databases of the other type are not listed) and obtain their ids for key and command operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
3492
+ */
3493
+ export declare const databaseListKvDatabases: <ThrowOnError extends boolean = false>(options?: Options<DatabaseListKvDatabasesData, ThrowOnError>) => RequestResult<DatabaseListKvDatabasesResponses, DatabaseListKvDatabasesErrors, ThrowOnError>;
3494
+ /**
3495
+ * Create key-value database
3496
+ *
3497
+ * Creates an empty key-value database (键值库) for the caller and returns it with status active (HTTP 201); read and write it next with praxis.database.kv.keys and praxis.database.kv.commands, or point an existing Redis or @upstash/redis client at /redis/<database_id>. The path is the type: the body takes no kind, and a body that carries kind returns 400 INVALID_PARAMS: kind is set by the path. Creating a key-value database in an organization that has not been opened for it returns 400 INVALID_PARAMS: kind kv is not available. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListKvDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Use a Praxis credential; access is scoped to its tenant. For structured tables and rows use praxis.database.table.create instead.
3498
+ */
3499
+ export declare const databaseCreateKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateKvDatabaseData, ThrowOnError>) => RequestResult<DatabaseCreateKvDatabaseResponses, DatabaseCreateKvDatabaseErrors, ThrowOnError>;
3500
+ /**
3501
+ * Delete database
3502
+ *
3503
+ * Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
3504
+ */
3505
+ export declare const databaseDeleteTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteTableDatabaseData, ThrowOnError>) => RequestResult<DatabaseDeleteTableDatabaseResponses, DatabaseDeleteTableDatabaseErrors, ThrowOnError>;
3506
+ /**
3507
+ * Get table database
3508
+ *
3509
+ * Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id, or the id of a key-value database, returns 404 DATABASE_NOT_FOUND.
3510
+ */
3511
+ export declare const databaseGetTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetTableDatabaseData, ThrowOnError>) => RequestResult<DatabaseGetTableDatabaseResponses, DatabaseGetTableDatabaseErrors, ThrowOnError>;
3512
+ /**
3513
+ * Update database
3514
+ *
3515
+ * Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreTableDatabase.
3516
+ */
3517
+ export declare const databaseUpdateTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateTableDatabaseData, ThrowOnError>) => RequestResult<DatabaseUpdateTableDatabaseResponses, DatabaseUpdateTableDatabaseErrors, ThrowOnError>;
3518
+ /**
3519
+ * Delete database
3520
+ *
3521
+ * Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
3522
+ */
3523
+ export declare const databaseDeleteKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteKvDatabaseData, ThrowOnError>) => RequestResult<DatabaseDeleteKvDatabaseResponses, DatabaseDeleteKvDatabaseErrors, ThrowOnError>;
3524
+ /**
3525
+ * Get key-value database
3526
+ *
3527
+ * Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before key or command operations to confirm status is active: key and command calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id, or the id of a table database, returns 404 DATABASE_NOT_FOUND.
3528
+ */
3529
+ export declare const databaseGetKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetKvDatabaseData, ThrowOnError>) => RequestResult<DatabaseGetKvDatabaseResponses, DatabaseGetKvDatabaseErrors, ThrowOnError>;
3530
+ /**
3531
+ * Update database
3532
+ *
3533
+ * Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreKvDatabase.
3534
+ */
3535
+ export declare const databaseUpdateKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateKvDatabaseData, ThrowOnError>) => RequestResult<DatabaseUpdateKvDatabaseResponses, DatabaseUpdateKvDatabaseErrors, ThrowOnError>;
3536
+ /**
3537
+ * Restore database
3538
+ *
3539
+ * Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
3540
+ */
3541
+ export declare const databaseRestoreTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseRestoreTableDatabaseData, ThrowOnError>) => RequestResult<DatabaseRestoreTableDatabaseResponses, DatabaseRestoreTableDatabaseErrors, ThrowOnError>;
3542
+ /**
3543
+ * Restore database
3544
+ *
3545
+ * Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
3546
+ */
3547
+ export declare const databaseRestoreKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseRestoreKvDatabaseData, ThrowOnError>) => RequestResult<DatabaseRestoreKvDatabaseResponses, DatabaseRestoreKvDatabaseErrors, ThrowOnError>;
3548
+ /**
3549
+ * Permanently purge database
3550
+ *
3551
+ * Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
3552
+ */
3553
+ export declare const databasePurgeTableDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabasePurgeTableDatabaseData, ThrowOnError>) => RequestResult<DatabasePurgeTableDatabaseResponses, DatabasePurgeTableDatabaseErrors, ThrowOnError>;
3554
+ /**
3555
+ * Permanently purge database
3556
+ *
3557
+ * Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
3558
+ */
3559
+ export declare const databasePurgeKvDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabasePurgeKvDatabaseData, ThrowOnError>) => RequestResult<DatabasePurgeKvDatabaseResponses, DatabasePurgeKvDatabaseErrors, ThrowOnError>;
3560
+ /**
3561
+ * List tables
3562
+ *
3563
+ * Lists every table of an active database with its field definitions. A database holds at most 50 tables, so the single page contains all of them and next_cursor is always null. Use databaseTableGetTable instead when you also need row_count for one table.
3564
+ */
3565
+ export declare const databaseTableListTables: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableListTablesData, ThrowOnError>) => RequestResult<DatabaseTableListTablesResponses, DatabaseTableListTablesErrors, ThrowOnError>;
3566
+ /**
3567
+ * Create table
3568
+ *
3569
+ * Creates a table together with its initial fields in one call and returns it (HTTP 201) with generated tbl_ and fld_ ids. name must match ^[a-z_][a-z0-9_]{0,62}$ and be unused in this database (duplicate: 409 UNIQUE_VIOLATION). fields is required and may be an empty array; fields can also be added later with databaseTableAddField. Limits: 50 tables per database, 64 fields per table, and 16 indexed or unique fields per table; exceeding one returns 400 LIMIT_EXCEEDED. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. Every row also has a system id column, which is not declared as a field. Insert data afterwards with databaseTableInsert. Unlike Supabase, define schema with this table API and the field APIs; PostgreSQL DDL and SQL migration files cannot be submitted. Each table supports up to 1,000,000 rows.
3570
+ */
3571
+ export declare const databaseTableCreateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableCreateTableData, ThrowOnError>) => RequestResult<DatabaseTableCreateTableResponses, DatabaseTableCreateTableErrors, ThrowOnError>;
3572
+ /**
3573
+ * Delete table
3574
+ *
3575
+ * Permanently drops a table with all of its rows; the deletion is immediate and has no recovery window or undo. Refused with 409 REFERENCE_RESTRICT while a link field of another table points at this table, so delete or change those fields first. Returns {deleted: true}. A table name can be reused afterwards.
3576
+ */
3577
+ export declare const databaseTableDeleteTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableDeleteTableData, ThrowOnError>) => RequestResult<DatabaseTableDeleteTableResponses, DatabaseTableDeleteTableErrors, ThrowOnError>;
3578
+ /**
3579
+ * Get table
3580
+ *
3581
+ * Returns one table by id or name with its field definitions, schema_revision and row_count. row_count is only returned by this operation, not by list or create. Use field ids from this response for stable references because field names can be renamed; an unknown table returns 404 TABLE_NOT_FOUND.
3582
+ */
3583
+ export declare const databaseTableGetTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableGetTableData, ThrowOnError>) => RequestResult<DatabaseTableGetTableResponses, DatabaseTableGetTableErrors, ThrowOnError>;
2750
3584
  /**
2751
- * Read editing state
3585
+ * Update table
2752
3586
  *
2753
- * Read lightweight project context before composing an execute script. Returns current revision, rendering settings, track counts, library bindings and offline media count without individual clips. For complete clip documents or a selected time range, read timeline instead.
3587
+ * Renames a table and/or changes its description; send only the keys to change, and send description null to clear it. The new name must follow ^[a-z_][a-z0-9_]{0,62}$ and be unused (409 UNIQUE_VIOLATION); ids are stable, so renaming never rewrites row data. A body with no changes or values equal to the current ones does not bump schema_revision. Fields cannot be changed here; use databaseTableAddField, databaseTableUpdateField and databaseTableDeleteField.
2754
3588
  */
2755
- export declare const cutRetrieveState: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveStateData, ThrowOnError>) => RequestResult<CutRetrieveStateResponses, CutRetrieveStateErrors, ThrowOnError>;
3589
+ export declare const databaseTableUpdateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableUpdateTableData, ThrowOnError>) => RequestResult<DatabaseTableUpdateTableResponses, DatabaseTableUpdateTableErrors, ThrowOnError>;
2756
3590
  /**
2757
- * Read project timeline
3591
+ * Add field
2758
3592
  *
2759
- * Inspect clips and markers in a selected project range before editing. view=full returns structured tracks with all timeline positions in seconds; view=compact returns compact text for script context. from and to are seconds and tracks limits the selection to comma-separated track ids from state. Concurrent changes while preparing a full timeline return 409; retrieve the latest state and try the read again.
3593
+ * Adds one field to an existing table and returns the updated table (HTTP 201). Required inputs are name (lowercase letters, digits and underscores; id and names starting with _ are reserved) and type (string, integer, number, boolean, datetime, json or link); json needs options.schema and link needs options.linked_table_id and options.multiple. Adding a required field to a table that already has rows needs a default, otherwise the call fails with 400 VALIDATION_FAILED; a default is written into every existing row. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. JSON and link fields cannot be indexed. Limits: 64 fields and 16 indexed or unique fields per table (400 LIMIT_EXCEEDED). Unlike Supabase, schema evolution uses field definitions rather than ALTER TABLE statements or SQL migrations.
2760
3594
  */
2761
- export declare const cutRetrieveTimeline: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveTimelineData, ThrowOnError>) => RequestResult<CutRetrieveTimelineResponses, CutRetrieveTimelineErrors, ThrowOnError>;
3595
+ export declare const databaseTableAddField: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableAddFieldData, ThrowOnError>) => RequestResult<DatabaseTableAddFieldResponses, DatabaseTableAddFieldErrors, ThrowOnError>;
2762
3596
  /**
2763
- * Render preview frames
3597
+ * Delete field
2764
3598
  *
2765
- * Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. The default scale is 0.25; use 0.5 for subtitle layout inspection (1080×1920 renders at 540×960). The maximum is 0.5; values above it return INVALID_PARAMS. Actual width and height are returned per frame. PNGs above 2 MiB or responses above 4 MiB return RESPONSE_TOO_LARGE without silently lowering resolution. The response always includes warnings; FRAME_UNAVAILABLE means a source preview could not be obtained and an offline tile was drawn. Its message identifies a timeout, delivery capacity limit, or unavailable source and contains no source URL. Decode each image's base64 payload to save it. Codemode returns at most four images per call, so request at most four times when reviewing there.
3599
+ * Deletes one field definition from a table and returns the updated table; the deletion is immediate and has no recovery window. Look the field up by id or name. The field's index, if any, is dropped with it, and the name can be reused afterwards. Unknown fields return 400 FIELD_NOT_FOUND.
2766
3600
  */
2767
- export declare const cutListFrames: <ThrowOnError extends boolean = false>(options: Options<CutListFramesData, ThrowOnError>) => RequestResult<CutListFramesResponses, CutListFramesErrors, ThrowOnError>;
3601
+ export declare const databaseTableDeleteField: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableDeleteFieldData, ThrowOnError>) => RequestResult<DatabaseTableDeleteFieldResponses, DatabaseTableDeleteFieldErrors, ThrowOnError>;
2768
3602
  /**
2769
- * Analyze project media or measure the project mix
3603
+ * Update field
2770
3604
  *
2771
- * 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.
3605
+ * Changes a field's name, description, required flag, indexed flag, default or json options.schema and returns the updated table. The field type, a link field's linked_table_id and the unique flag cannot be changed (400 FIELD_TYPE_IMMUTABLE or INVALID_PARAMS). Setting required to true fails with 400 VALIDATION_FAILED while existing rows hold null for the field. A new json schema constrains only later writes; existing rows are not revalidated. Renaming never rewrites row data, and a request that changes nothing does not bump schema_revision. Unlike Supabase, field types and uniqueness cannot be altered through SQL migrations; use the supported field settings described here.
2772
3606
  */
2773
- export declare const cutCreateAnalysis: <ThrowOnError extends boolean = false>(options: Options<CutCreateAnalysisData, ThrowOnError>) => RequestResult<CutCreateAnalysisResponses, CutCreateAnalysisErrors, ThrowOnError>;
3607
+ export declare const databaseTableUpdateField: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableUpdateFieldData, ThrowOnError>) => RequestResult<DatabaseTableUpdateFieldResponses, DatabaseTableUpdateFieldErrors, ThrowOnError>;
2774
3608
  /**
2775
- * List library bindings
3609
+ * List events
2776
3610
  *
2777
- * Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.
3611
+ * Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.
2778
3612
  */
2779
- export declare const cutListBindings: <ThrowOnError extends boolean = false>(options: Options<CutListBindingsData, ThrowOnError>) => RequestResult<CutListBindingsResponses, CutListBindingsErrors, ThrowOnError>;
3613
+ export declare const databaseTableListEvents: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableListEventsData, ThrowOnError>) => RequestResult<DatabaseTableListEventsResponses, DatabaseTableListEventsErrors, ThrowOnError>;
2780
3614
  /**
2781
- * Bind media library
3615
+ * List key-value database events
2782
3616
  *
2783
- * Attach an accessible media library to an existing project under a unique name. Obtain library_id from praxis.media and choose read for source-only access or read_write for imports and exports. The project must retain exactly one read_write binding with default_upload true after the change.
3617
+ * Read the lifecycle events of a key-value database (created, status changes), including while the database is deleting; use it to see when the database was provisioned or deleted. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. This is paged lifecycle history, not a feed of key changes: writing, updating or deleting keys does not add events. The id of a table database returns 404 DATABASE_NOT_FOUND here; read its events with praxis.database.table.events.list.
2784
3618
  */
2785
- export declare const cutCreateBinding: <ThrowOnError extends boolean = false>(options: Options<CutCreateBindingData, ThrowOnError>) => RequestResult<CutCreateBindingResponses, CutCreateBindingErrors, ThrowOnError>;
3619
+ export declare const databaseKvListEvents: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvListEventsData, ThrowOnError>) => RequestResult<DatabaseKvListEventsResponses, DatabaseKvListEventsErrors, ThrowOnError>;
2786
3620
  /**
2787
- * Remove library binding
3621
+ * Delete rows
2788
3622
  *
2789
- * Detach a library alias obtained from bindings.list after removing all timeline clips that reference its library. BINDING_IN_USE returns 409 while references remain; inspect timeline and edit those clips first. Removal must preserve the one writable default upload binding.
3623
+ * Deletes the rows matched by the filter query parameters (the same filters as databaseTableSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.
2790
3624
  */
2791
- export declare const cutDeleteBinding: <ThrowOnError extends boolean = false>(options: Options<CutDeleteBindingData, ThrowOnError>) => RequestResult<CutDeleteBindingResponses, CutDeleteBindingErrors, ThrowOnError>;
3625
+ export declare const databaseTableDelete: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableDeleteData, ThrowOnError>) => RequestResult<DatabaseTableDeleteResponses, DatabaseTableDeleteErrors, ThrowOnError>;
2792
3626
  /**
2793
- * Import project media
3627
+ * Select rows
2794
3628
  *
2795
- * Import a URL, data URI or existing file into a writable project media library. Select binding from bindings.list or omit it to use default_upload. Save library_id and asset_id from the result and use them as libraryId and assetId inside execute script media references; overwrites follow the source asset latest version.
3629
+ * Read matching rows with filters, selected columns and ordering. Returns at most 1000 rows per request, including when limit is omitted. Content-Range reports the actual returned interval and the total when count is requested. PATCH and DELETE are not subject to this read cap. Unlike Supabase, casts, aggregates, spread and join modifiers are unsupported. Each table supports up to 1,000,000 rows. Query budget: 8,000 ms with a shared 3,000,000-row safety ceiling. Create indexes on filtered or sorted fields, or narrow the request when it exceeds its budget. Synchronous SQLite aggregates use candidate-row throughput estimates before execution; deployed Workers freeze clocks during synchronous CPU work, so the timer is not a guaranteed server-side interrupt. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Error table: QUERY_CANCELED / PostgREST 57014 is HTTP 500, retryable=false: Query timed out: index filtered or sorted fields, or narrow the range. DATABASE_INVALID_STATE is HTTP 409 for operations on a deleting database. Cleared or nonexistent databases return DATABASE_NOT_FOUND / HTTP 404. The count is an HTTP Content-Range response header, not a JSON property. Use praxis.database.count in the SDK or codemode to return { count: number | null }; a page length is not a total unless you know all matches fit in that page.
2796
3630
  */
2797
- export declare const cutImportMedia: <ThrowOnError extends boolean = false>(options: Options<CutImportMediaData, ThrowOnError>) => RequestResult<CutImportMediaResponses, CutImportMediaErrors, ThrowOnError>;
3631
+ export declare const databaseTableSelect: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableSelectData, ThrowOnError>) => RequestResult<DatabaseTableSelectResponses, DatabaseTableSelectErrors, ThrowOnError>;
2798
3632
  /**
2799
- * List project exports
3633
+ * Count rows
2800
3634
  *
2801
- * Find export jobs associated with this project before polling or canceling a render. Copy an export id into praxis.cut.exports.retrieve or cancel. Continue with next_page_token as page_token when present; queued or in-progress jobs have not produced a final media asset.
3635
+ * Inspect the HTTP row count and range without retrieving row data; send Prefer: count=exact for a filtered count. Returns no body and does not fetch or serialize row data. A known count determines the interval using limit/offset or Range with a default and maximum page size of 1000. Without a count preference, or when the selected count mode cannot supply a total, Content-Range is **. Singular Accept still validates page cardinality. Unlike Supabase, planned and estimated counts do not use PostgreSQL planner estimates. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Use praxis.database.count in the SDK or codemode to return { count: number | null } from this header without retrieving rows.
2802
3636
  */
2803
- export declare const cutListExports: <ThrowOnError extends boolean = false>(options: Options<CutListExportsData, ThrowOnError>) => RequestResult<CutListExportsResponses, CutListExportsErrors, ThrowOnError>;
3637
+ export declare const databaseTableHead: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableHeadData, ThrowOnError>) => RequestResult<DatabaseTableHeadResponses, DatabaseTableHeadErrors, ThrowOnError>;
2804
3638
  /**
2805
- * Create video export
3639
+ * Update rows
2806
3640
  *
2807
- * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
3641
+ * Updates the rows matched by the filter query parameters (the same filters as databaseTableSelect); with no filter every row of the table matches. The JSON object body lists only the fields to change, other fields keep their values, and id cannot be changed. Values are validated against the field types and the required and unique settings (400 VALIDATION_FAILED, 409 UNIQUE_VIOLATION). The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the updated rows. Each changed row's _version increases by one.
2808
3642
  */
2809
- export declare const cutCreateExport: <ThrowOnError extends boolean = false>(options: Options<CutCreateExportData, ThrowOnError>) => RequestResult<CutCreateExportResponses, CutCreateExportErrors, ThrowOnError>;
3643
+ export declare const databaseTableUpdate: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableUpdateData, ThrowOnError>) => RequestResult<DatabaseTableUpdateResponses, DatabaseTableUpdateErrors, ThrowOnError>;
2810
3644
  /**
2811
- * Create draft range render
3645
+ * Insert rows
2812
3646
  *
2813
- * 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.
3647
+ * Insert rows into an existing table after defining its fields; at most 500 rows per request. Each request is atomic: any failure rolls back the entire batch. There are no transactions across requests.
3648
+ * Rows are filled to the union of their keys with null; send Prefer: missing=default to use field defaults for missing keys.
3649
+ * The default is return=minimal: success returns HTTP 201 with an empty body. Send Prefer: return=representation to return the inserted rows. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. Unlike Supabase, upsert conflicts can target only id or one unique field, not a composite key. Each table supports up to 1,000,000 rows.
2814
3650
  */
2815
- export declare const cutCreateRender: <ThrowOnError extends boolean = false>(options: Options<CutCreateRenderData, ThrowOnError>) => RequestResult<CutCreateRenderResponses, CutCreateRenderErrors, ThrowOnError>;
3651
+ export declare const databaseTableInsert: <ThrowOnError extends boolean = false>(options: Options<DatabaseTableInsertData, ThrowOnError>) => RequestResult<DatabaseTableInsertResponses, DatabaseTableInsertErrors, ThrowOnError>;
2816
3652
  /**
2817
- * Retrieve draft range render
3653
+ * List keys
2818
3654
  *
2819
- * Poll a draft render id returned by projects.renders.create to see whether the interval is ready, then read url while it lasts. queued and rendering are in progress; done provides file_id and a short-lived url for the rendered .m4a or .mp4; failed provides error. Only done yields a url, and the file behind it disappears 24 hours after it was stored, so retrieve again when the link has expired.
3655
+ * Browse the keys of a key-value database (kind kv): use it to see what is stored before reading one key with databaseKvGetKey; to run an arbitrary Redis command (counters, ranges, scans) use databaseKvExecuteCommand instead. Keys come back in lexicographic key order, one page at a time, as summaries (key, type, remaining TTL, size) without values; expired keys are never returned. pattern filters with a Redis glob (* ? [abc] [^abc]) matched against the whole key, and type keeps one value type. limit is 1–500, default 50; while next_cursor is a string, pass it back unchanged as cursor for the next page; null means this is the last page. Needs a read credential. Errors: 400 INVALID_PARAMS for a limit outside 1–500 or a malformed query; 404 DATABASE_NOT_FOUND for an unknown id.
2820
3656
  */
2821
- export declare const cutRetrieveRender: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveRenderData, ThrowOnError>) => RequestResult<CutRetrieveRenderResponses, CutRetrieveRenderErrors, ThrowOnError>;
3657
+ export declare const databaseKvListKeys: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvListKeysData, ThrowOnError>) => RequestResult<DatabaseKvListKeysResponses, DatabaseKvListKeysErrors, ThrowOnError>;
2822
3658
  /**
2823
- * Retrieve video export
3659
+ * Delete key
2824
3660
  *
2825
- * Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.
3661
+ * Delete one key of a key-value database together with its value; the data cannot be recovered. A key that is absent or has already expired is not an error: the call succeeds with deleted false, so it is safe to retry. To delete many keys at once or by pattern, list them with databaseKvListKeys or run DEL / UNLINK through databaseKvExecuteCommand. Needs a read-write credential. Errors: 404 DATABASE_NOT_FOUND for an unknown id; 403 BINDING_READ_ONLY for a read-only credential.
2826
3662
  */
2827
- export declare const cutRetrieveExport: <ThrowOnError extends boolean = false>(options: Options<CutRetrieveExportData, ThrowOnError>) => RequestResult<CutRetrieveExportResponses, CutRetrieveExportErrors, ThrowOnError>;
3663
+ export declare const databaseKvDeleteKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvDeleteKeyData, ThrowOnError>) => RequestResult<DatabaseKvDeleteKeyResponses, DatabaseKvDeleteKeyErrors, ThrowOnError>;
2828
3664
  /**
2829
- * Cancel video export
3665
+ * Get key
2830
3666
  *
2831
- * Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.
3667
+ * Read one key of a key-value database with its type, TTL, size and value; use databaseKvListKeys first to find key names. A string value is returned whole. A hash, list, set or zset is returned a page of entries at a time: limit is 1–1000, default 100, and while next_cursor is a string, pass it back unchanged as cursor to read the next page; string values and the last page return next_cursor null. value takes the shape of type: a string; hash as [{field, value}]; list and set as a string array; zset as [{member, score}]. Needs a read credential. Errors: 404 KEY_NOT_FOUND when the key does not exist or has expired; 400 INVALID_PARAMS for a limit outside 1–1000; 404 DATABASE_NOT_FOUND.
2832
3668
  */
2833
- export declare const cutCancelExport: <ThrowOnError extends boolean = false>(options: Options<CutCancelExportData, ThrowOnError>) => RequestResult<CutCancelExportResponses, CutCancelExportErrors, ThrowOnError>;
3669
+ export declare const databaseKvGetKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvGetKeyData, ThrowOnError>) => RequestResult<DatabaseKvGetKeyResponses, DatabaseKvGetKeyErrors, ThrowOnError>;
2834
3670
  /**
2835
- * List saved versions
3671
+ * Update key
2836
3672
  *
2837
- * Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.
3673
+ * Change only the TTL of an existing key of a key-value database, leaving its value alone. update_mask must be ttl_ms (the only writable field) and ttl_ms is required: a positive integer is the new TTL in milliseconds (Redis PEXPIRE), null removes the TTL so the key never expires (PERSIST). To replace the value use databaseKvSetKey. Returns the key after the change. Needs a read-write credential. Errors: 404 KEY_NOT_FOUND when the key does not exist or has expired; 400 INVALID_PARAMS when update_mask is not ttl_ms or ttl_ms is neither a positive integer nor null; 404 DATABASE_NOT_FOUND; 403 BINDING_READ_ONLY.
2838
3674
  */
2839
- export declare const cutListVersions: <ThrowOnError extends boolean = false>(options: Options<CutListVersionsData, ThrowOnError>) => RequestResult<CutListVersionsResponses, CutListVersionsErrors, ThrowOnError>;
3675
+ export declare const databaseKvUpdateKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvUpdateKeyData, ThrowOnError>) => RequestResult<DatabaseKvUpdateKeyResponses, DatabaseKvUpdateKeyErrors, ThrowOnError>;
2840
3676
  /**
2841
- * Save project version
3677
+ * Set key
2842
3678
  *
2843
- * Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.
3679
+ * Overwrite one key of a key-value database with a whole new value in a single transaction, creating it if absent; the previous value is dropped first and never merged, even when the type changes. To change only the TTL use databaseKvUpdateKey; to add to a counter or push onto a list use databaseKvExecuteCommand. type decides the shape of value: a string; hash as [{field, value}]; list and set as a string array; zset as [{member, score}] with finite scores. Containers must not be empty, and hash fields and set members must be unique. ttl_ms omitted keeps the key's existing TTL, a positive integer sets a new one in milliseconds, null makes the key permanent. A value is at most 1 MiB and a key at most 1 KiB. Returns the stored key (first page for a container). Needs a read-write credential. Errors: 400 INVALID_PARAMS for an empty container, duplicate field or member, non-finite score or bad ttl_ms; 400 LIMIT_EXCEEDED for an oversized key or value; 503 CAPACITY when the database is full; 404 DATABASE_NOT_FOUND; 403 BINDING_READ_ONLY for a read-only credential.
2844
3680
  */
2845
- export declare const cutCreateVersion: <ThrowOnError extends boolean = false>(options: Options<CutCreateVersionData, ThrowOnError>) => RequestResult<CutCreateVersionResponses, CutCreateVersionErrors, ThrowOnError>;
3681
+ export declare const databaseKvSetKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvSetKeyData, ThrowOnError>) => RequestResult<DatabaseKvSetKeyResponses, DatabaseKvSetKeyErrors, ThrowOnError>;
2846
3682
  /**
2847
- * Restore saved version
3683
+ * Execute command
2848
3684
  *
2849
- * Replace current editing content with a saved project snapshot selected from projects.versions.list. The restore commits a new transaction and revision while preserving the saved version for future use. Inspect the returned summary and timeline before further editing; a response revision conflict can follow a committed restore, so retrieve current state before retrying.
3685
+ * Run one Redis command with Redis 7 semantics against a key-value database and get its reply; use it for what the key operations cannot do: counters (INCR), list and set operations, ranges (LRANGE, ZRANGE), scans (SCAN, HSCAN) and expiry commands. For one whole-value read or write use databaseKvGetKey / databaseKvSetKey; for existing Redis clients use the Upstash-compatible face under /redis. command is the command name followed by its arguments, every element a string, for example ["SET","k","v"] or ["LRANGE","queue","0","9"]. result is Redis's reply as plain JSON (integers, strings, arrays, null), never base64. Not supported: Lua scripting (EVAL), blocking commands, Pub/Sub and Streams. A value is at most 1 MiB, a key at most 1 KiB, a reply at most 8 MiB (read big collections in ranges with SCAN, HSCAN, LRANGE or ZRANGE) and the database at most 1 GiB. A read command needs a read credential; a write command, or a command that cannot be parsed, needs a read-write credential. Errors: 400 KV_COMMAND_ERROR when Redis rejects the command, with Redis's own text in message (for example WRONGTYPE Operation against a key holding the wrong kind of value or ERR unknown command); 400 INVALID_PARAMS for a missing or empty command; 404 DATABASE_NOT_FOUND; 403 BINDING_READ_ONLY for a write on a read-only credential.
2850
3686
  */
2851
- export declare const cutRestoreVersion: <ThrowOnError extends boolean = false>(options: Options<CutRestoreVersionData, ThrowOnError>) => RequestResult<CutRestoreVersionResponses, CutRestoreVersionErrors, ThrowOnError>;
3687
+ export declare const databaseKvExecuteCommand: <ThrowOnError extends boolean = false>(options: Options<DatabaseKvExecuteCommandData, ThrowOnError>) => RequestResult<DatabaseKvExecuteCommandResponses, DatabaseKvExecuteCommandErrors, ThrowOnError>;
2852
3688
  /**
2853
3689
  * List databases
2854
3690
  *
2855
- * Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
3691
+ * Deprecated: use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.
3692
+ *
3693
+ * @deprecated
2856
3694
  */
2857
3695
  export declare const databaseListDatabases: <ThrowOnError extends boolean = false>(options?: Options<DatabaseListDatabasesData, ThrowOnError>) => RequestResult<DatabaseListDatabasesResponses, DatabaseListDatabasesErrors, ThrowOnError>;
2858
3696
  /**
2859
3697
  * Create database
2860
3698
  *
2861
- * Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.
3699
+ * Deprecated: use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. kind is optional: table (the default) for tables and rows, kv for Redis-style keys and values; it cannot change later, and creating kv where it is not available returns 400 INVALID_PARAMS: kind kv is not available. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.
3700
+ *
3701
+ * @deprecated
2862
3702
  */
2863
3703
  export declare const databaseCreateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateDatabaseData, ThrowOnError>) => RequestResult<DatabaseCreateDatabaseResponses, DatabaseCreateDatabaseErrors, ThrowOnError>;
2864
3704
  /**
2865
3705
  * Delete database
2866
3706
  *
2867
- * Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
3707
+ * Deprecated: use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.
3708
+ *
3709
+ * @deprecated
2868
3710
  */
2869
3711
  export declare const databaseDeleteDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteDatabaseData, ThrowOnError>) => RequestResult<DatabaseDeleteDatabaseResponses, DatabaseDeleteDatabaseErrors, ThrowOnError>;
2870
3712
  /**
2871
3713
  * Get database
2872
3714
  *
2873
- * Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.
3715
+ * Deprecated: use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.
3716
+ *
3717
+ * @deprecated
2874
3718
  */
2875
3719
  export declare const databaseGetDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetDatabaseData, ThrowOnError>) => RequestResult<DatabaseGetDatabaseResponses, DatabaseGetDatabaseErrors, ThrowOnError>;
2876
3720
  /**
2877
3721
  * Update database
2878
3722
  *
2879
- * Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.
3723
+ * Deprecated: use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.
3724
+ *
3725
+ * @deprecated
2880
3726
  */
2881
3727
  export declare const databaseUpdateDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateDatabaseData, ThrowOnError>) => RequestResult<DatabaseUpdateDatabaseResponses, DatabaseUpdateDatabaseErrors, ThrowOnError>;
2882
3728
  /**
2883
3729
  * Restore database
2884
3730
  *
2885
- * Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
3731
+ * Deprecated: use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. Recover a soft-deleted database within its seven-day recovery window. Restore before purge_at. An empty body is accepted. Active databases return 409; purged databases return 404.
3732
+ *
3733
+ * @deprecated
2886
3734
  */
2887
3735
  export declare const databaseRestoreDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabaseRestoreDatabaseData, ThrowOnError>) => RequestResult<DatabaseRestoreDatabaseResponses, DatabaseRestoreDatabaseErrors, ThrowOnError>;
2888
3736
  /**
2889
3737
  * Permanently purge database
2890
3738
  *
2891
- * Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
3739
+ * Deprecated: use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.
3740
+ *
3741
+ * @deprecated
2892
3742
  */
2893
3743
  export declare const databasePurgeDatabase: <ThrowOnError extends boolean = false>(options: Options<DatabasePurgeDatabaseData, ThrowOnError>) => RequestResult<DatabasePurgeDatabaseResponses, DatabasePurgeDatabaseErrors, ThrowOnError>;
2894
3744
  /**
2895
3745
  * List tables
2896
3746
  *
2897
- * Lists every table of an active database with its field definitions. A database holds at most 50 tables, so the single page contains all of them and next_cursor is always null. Use databaseGetTable instead when you also need row_count for one table.
3747
+ * Deprecated: use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. Lists every table of an active database with its field definitions. A database holds at most 50 tables, so the single page contains all of them and next_cursor is always null. Use databaseGetTable instead when you also need row_count for one table.
3748
+ *
3749
+ * @deprecated
2898
3750
  */
2899
3751
  export declare const databaseListTables: <ThrowOnError extends boolean = false>(options: Options<DatabaseListTablesData, ThrowOnError>) => RequestResult<DatabaseListTablesResponses, DatabaseListTablesErrors, ThrowOnError>;
2900
3752
  /**
2901
3753
  * Create table
2902
3754
  *
2903
- * Creates a table together with its initial fields in one call and returns it (HTTP 201) with generated tbl_ and fld_ ids. name must match ^[a-z_][a-z0-9_]{0,62}$ and be unused in this database (duplicate: 409 UNIQUE_VIOLATION). fields is required and may be an empty array; fields can also be added later with databaseAddField. Limits: 50 tables per database, 64 fields per table, and 16 indexed or unique fields per table; exceeding one returns 400 LIMIT_EXCEEDED. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. Every row also has a system id column, which is not declared as a field. Insert data afterwards with databaseInsert. Unlike Supabase, define schema with this table API and the field APIs; PostgreSQL DDL and SQL migration files cannot be submitted. Each table supports up to 1,000,000 rows.
3755
+ * Deprecated: use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. Creates a table together with its initial fields in one call and returns it (HTTP 201) with generated tbl_ and fld_ ids. name must match ^[a-z_][a-z0-9_]{0,62}$ and be unused in this database (duplicate: 409 UNIQUE_VIOLATION). fields is required and may be an empty array; fields can also be added later with databaseAddField. Limits: 50 tables per database, 64 fields per table, and 16 indexed or unique fields per table; exceeding one returns 400 LIMIT_EXCEEDED. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. Every row also has a system id column, which is not declared as a field. Insert data afterwards with databaseInsert. Unlike Supabase, define schema with this table API and the field APIs; PostgreSQL DDL and SQL migration files cannot be submitted. Each table supports up to 1,000,000 rows.
3756
+ *
3757
+ * @deprecated
2904
3758
  */
2905
3759
  export declare const databaseCreateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseCreateTableData, ThrowOnError>) => RequestResult<DatabaseCreateTableResponses, DatabaseCreateTableErrors, ThrowOnError>;
2906
3760
  /**
2907
3761
  * Delete table
2908
3762
  *
2909
- * Permanently drops a table with all of its rows; the deletion is immediate and has no recovery window or undo. Refused with 409 REFERENCE_RESTRICT while a link field of another table points at this table, so delete or change those fields first. Returns {deleted: true}. A table name can be reused afterwards.
3763
+ * Deprecated: use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. Permanently drops a table with all of its rows; the deletion is immediate and has no recovery window or undo. Refused with 409 REFERENCE_RESTRICT while a link field of another table points at this table, so delete or change those fields first. Returns {deleted: true}. A table name can be reused afterwards.
3764
+ *
3765
+ * @deprecated
2910
3766
  */
2911
3767
  export declare const databaseDeleteTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteTableData, ThrowOnError>) => RequestResult<DatabaseDeleteTableResponses, DatabaseDeleteTableErrors, ThrowOnError>;
2912
3768
  /**
2913
3769
  * Get table
2914
3770
  *
2915
- * Returns one table by id or name with its field definitions, schema_revision and row_count. row_count is only returned by this operation, not by list or create. Use field ids from this response for stable references because field names can be renamed; an unknown table returns 404 TABLE_NOT_FOUND.
3771
+ * Deprecated: use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. Returns one table by id or name with its field definitions, schema_revision and row_count. row_count is only returned by this operation, not by list or create. Use field ids from this response for stable references because field names can be renamed; an unknown table returns 404 TABLE_NOT_FOUND.
3772
+ *
3773
+ * @deprecated
2916
3774
  */
2917
3775
  export declare const databaseGetTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetTableData, ThrowOnError>) => RequestResult<DatabaseGetTableResponses, DatabaseGetTableErrors, ThrowOnError>;
2918
3776
  /**
2919
3777
  * Update table
2920
3778
  *
2921
- * Renames a table and/or changes its description; send only the keys to change, and send description null to clear it. The new name must follow ^[a-z_][a-z0-9_]{0,62}$ and be unused (409 UNIQUE_VIOLATION); ids are stable, so renaming never rewrites row data. A body with no changes or values equal to the current ones does not bump schema_revision. Fields cannot be changed here; use databaseAddField, databaseUpdateField and databaseDeleteField.
3779
+ * Deprecated: use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. Renames a table and/or changes its description; send only the keys to change, and send description null to clear it. The new name must follow ^[a-z_][a-z0-9_]{0,62}$ and be unused (409 UNIQUE_VIOLATION); ids are stable, so renaming never rewrites row data. A body with no changes or values equal to the current ones does not bump schema_revision. Fields cannot be changed here; use databaseAddField, databaseUpdateField and databaseDeleteField.
3780
+ *
3781
+ * @deprecated
2922
3782
  */
2923
3783
  export declare const databaseUpdateTable: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateTableData, ThrowOnError>) => RequestResult<DatabaseUpdateTableResponses, DatabaseUpdateTableErrors, ThrowOnError>;
2924
3784
  /**
2925
3785
  * Add field
2926
3786
  *
2927
- * Adds one field to an existing table and returns the updated table (HTTP 201). Required inputs are name (lowercase letters, digits and underscores; id and names starting with _ are reserved) and type (string, integer, number, boolean, datetime, json or link); json needs options.schema and link needs options.linked_table_id and options.multiple. Adding a required field to a table that already has rows needs a default, otherwise the call fails with 400 VALIDATION_FAILED; a default is written into every existing row. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. JSON and link fields cannot be indexed. Limits: 64 fields and 16 indexed or unique fields per table (400 LIMIT_EXCEEDED). Unlike Supabase, schema evolution uses field definitions rather than ALTER TABLE statements or SQL migrations.
3787
+ * Deprecated: use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. Adds one field to an existing table and returns the updated table (HTTP 201). Required inputs are name (lowercase letters, digits and underscores; id and names starting with _ are reserved) and type (string, integer, number, boolean, datetime, json or link); json needs options.schema and link needs options.linked_table_id and options.multiple. Adding a required field to a table that already has rows needs a default, otherwise the call fails with 400 VALIDATION_FAILED; a default is written into every existing row. Fields default to indexed:false. Set indexed:true explicitly for fields used in filters or ordering. Only indexed:true or unique:true consumes one of the 16 indexed-or-unique field slots; a field with both consumes one slot. Unique fields still consume a slot even with indexed:false. Existing fields are unchanged. Minimal field example: {"name":"notes","type":"string","indexed":false}. JSON and link fields cannot be indexed. Limits: 64 fields and 16 indexed or unique fields per table (400 LIMIT_EXCEEDED). Unlike Supabase, schema evolution uses field definitions rather than ALTER TABLE statements or SQL migrations.
3788
+ *
3789
+ * @deprecated
2928
3790
  */
2929
3791
  export declare const databaseAddField: <ThrowOnError extends boolean = false>(options: Options<DatabaseAddFieldData, ThrowOnError>) => RequestResult<DatabaseAddFieldResponses, DatabaseAddFieldErrors, ThrowOnError>;
2930
3792
  /**
2931
3793
  * Delete field
2932
3794
  *
2933
- * Deletes one field definition from a table and returns the updated table; the deletion is immediate and has no recovery window. Look the field up by id or name. The field's index, if any, is dropped with it, and the name can be reused afterwards. Unknown fields return 400 FIELD_NOT_FOUND.
3795
+ * Deprecated: use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. Deletes one field definition from a table and returns the updated table; the deletion is immediate and has no recovery window. Look the field up by id or name. The field's index, if any, is dropped with it, and the name can be reused afterwards. Unknown fields return 400 FIELD_NOT_FOUND.
3796
+ *
3797
+ * @deprecated
2934
3798
  */
2935
3799
  export declare const databaseDeleteField: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteFieldData, ThrowOnError>) => RequestResult<DatabaseDeleteFieldResponses, DatabaseDeleteFieldErrors, ThrowOnError>;
2936
3800
  /**
2937
3801
  * Update field
2938
3802
  *
2939
- * Changes a field's name, description, required flag, indexed flag, default or json options.schema and returns the updated table. The field type, a link field's linked_table_id and the unique flag cannot be changed (400 FIELD_TYPE_IMMUTABLE or INVALID_PARAMS). Setting required to true fails with 400 VALIDATION_FAILED while existing rows hold null for the field. A new json schema constrains only later writes; existing rows are not revalidated. Renaming never rewrites row data, and a request that changes nothing does not bump schema_revision. Unlike Supabase, field types and uniqueness cannot be altered through SQL migrations; use the supported field settings described here.
3803
+ * Deprecated: use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. Changes a field's name, description, required flag, indexed flag, default or json options.schema and returns the updated table. The field type, a link field's linked_table_id and the unique flag cannot be changed (400 FIELD_TYPE_IMMUTABLE or INVALID_PARAMS). Setting required to true fails with 400 VALIDATION_FAILED while existing rows hold null for the field. A new json schema constrains only later writes; existing rows are not revalidated. Renaming never rewrites row data, and a request that changes nothing does not bump schema_revision. Unlike Supabase, field types and uniqueness cannot be altered through SQL migrations; use the supported field settings described here.
3804
+ *
3805
+ * @deprecated
2940
3806
  */
2941
3807
  export declare const databaseUpdateField: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateFieldData, ThrowOnError>) => RequestResult<DatabaseUpdateFieldResponses, DatabaseUpdateFieldErrors, ThrowOnError>;
2942
3808
  /**
2943
3809
  * List events
2944
3810
  *
2945
- * Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.
3811
+ * Deprecated: use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.
3812
+ *
3813
+ * @deprecated
2946
3814
  */
2947
3815
  export declare const databaseListEvents: <ThrowOnError extends boolean = false>(options: Options<DatabaseListEventsData, ThrowOnError>) => RequestResult<DatabaseListEventsResponses, DatabaseListEventsErrors, ThrowOnError>;
2948
3816
  /**
2949
3817
  * Delete rows
2950
3818
  *
2951
- * Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.
3819
+ * Deprecated: use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.
3820
+ *
3821
+ * @deprecated
2952
3822
  */
2953
3823
  export declare const databaseDelete: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteData, ThrowOnError>) => RequestResult<DatabaseDeleteResponses, DatabaseDeleteErrors, ThrowOnError>;
2954
3824
  /**
2955
3825
  * Select rows
2956
3826
  *
2957
- * Read matching rows with filters, selected columns and ordering. Returns at most 1000 rows per request, including when limit is omitted. Content-Range reports the actual returned interval and the total when count is requested. PATCH and DELETE are not subject to this read cap. Unlike Supabase, casts, aggregates, spread and join modifiers are unsupported. Each table supports up to 1,000,000 rows. Query budget: 8,000 ms with a shared 3,000,000-row safety ceiling. Create indexes on filtered or sorted fields, or narrow the request when it exceeds its budget. Synchronous SQLite aggregates use candidate-row throughput estimates before execution; deployed Workers freeze clocks during synchronous CPU work, so the timer is not a guaranteed server-side interrupt. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Error table: QUERY_CANCELED / PostgREST 57014 is HTTP 500, retryable=false: Query timed out: index filtered or sorted fields, or narrow the range. DATABASE_INVALID_STATE is HTTP 409 for operations on a deleting database. Cleared or nonexistent databases return DATABASE_NOT_FOUND / HTTP 404. The count is an HTTP Content-Range response header, not a JSON property. Use praxis.database.count in the SDK or codemode to return { count: number | null }; a page length is not a total unless you know all matches fit in that page.
3827
+ * Deprecated: use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. Read matching rows with filters, selected columns and ordering. Returns at most 1000 rows per request, including when limit is omitted. Content-Range reports the actual returned interval and the total when count is requested. PATCH and DELETE are not subject to this read cap. Unlike Supabase, casts, aggregates, spread and join modifiers are unsupported. Each table supports up to 1,000,000 rows. Query budget: 8,000 ms with a shared 3,000,000-row safety ceiling. Create indexes on filtered or sorted fields, or narrow the request when it exceeds its budget. Synchronous SQLite aggregates use candidate-row throughput estimates before execution; deployed Workers freeze clocks during synchronous CPU work, so the timer is not a guaranteed server-side interrupt. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Error table: QUERY_CANCELED / PostgREST 57014 is HTTP 500, retryable=false: Query timed out: index filtered or sorted fields, or narrow the range. DATABASE_INVALID_STATE is HTTP 409 for operations on a deleting database. Cleared or nonexistent databases return DATABASE_NOT_FOUND / HTTP 404. The count is an HTTP Content-Range response header, not a JSON property. Use praxis.database.count in the SDK or codemode to return { count: number | null }; a page length is not a total unless you know all matches fit in that page.
3828
+ *
3829
+ * @deprecated
2958
3830
  */
2959
3831
  export declare const databaseSelect: <ThrowOnError extends boolean = false>(options: Options<DatabaseSelectData, ThrowOnError>) => RequestResult<DatabaseSelectResponses, DatabaseSelectErrors, ThrowOnError>;
2960
3832
  /**
2961
3833
  * Count rows
2962
3834
  *
2963
- * Inspect the HTTP row count and range without retrieving row data; send Prefer: count=exact for a filtered count. Returns no body and does not fetch or serialize row data. A known count determines the interval using limit/offset or Range with a default and maximum page size of 1000. Without a count preference, or when the selected count mode cannot supply a total, Content-Range is **. Singular Accept still validates page cardinality. Unlike Supabase, planned and estimated counts do not use PostgreSQL planner estimates. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Use praxis.database.count in the SDK or codemode to return { count: number | null } from this header without retrieving rows.
3835
+ * Deprecated: use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. Inspect the HTTP row count and range without retrieving row data; send Prefer: count=exact for a filtered count. Returns no body and does not fetch or serialize row data. A known count determines the interval using limit/offset or Range with a default and maximum page size of 1000. Without a count preference, or when the selected count mode cannot supply a total, Content-Range is **. Singular Accept still validates page cardinality. Unlike Supabase, planned and estimated counts do not use PostgreSQL planner estimates. Count preferences: without filters, exact, planned and estimated all use SQLite's exact b-tree count. With filters, exact counts within budget; planned skips counting and reports an unknown total (Content-Range: 0-24*); estimated attempts exact counting only when the preflight budget allows it, otherwise reports an unknown total. Preference-Applied echoes the requested count mode. Use praxis.database.count in the SDK or codemode to return { count: number | null } from this header without retrieving rows.
3836
+ *
3837
+ * @deprecated
2964
3838
  */
2965
3839
  export declare const databaseHead: <ThrowOnError extends boolean = false>(options: Options<DatabaseHeadData, ThrowOnError>) => RequestResult<DatabaseHeadResponses, DatabaseHeadErrors, ThrowOnError>;
2966
3840
  /**
2967
3841
  * Update rows
2968
3842
  *
2969
- * Updates the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. The JSON object body lists only the fields to change, other fields keep their values, and id cannot be changed. Values are validated against the field types and the required and unique settings (400 VALIDATION_FAILED, 409 UNIQUE_VIOLATION). The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the updated rows. Each changed row's _version increases by one.
3843
+ * Deprecated: use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. Updates the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. The JSON object body lists only the fields to change, other fields keep their values, and id cannot be changed. Values are validated against the field types and the required and unique settings (400 VALIDATION_FAILED, 409 UNIQUE_VIOLATION). The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the updated rows. Each changed row's _version increases by one.
3844
+ *
3845
+ * @deprecated
2970
3846
  */
2971
3847
  export declare const databaseUpdate: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateData, ThrowOnError>) => RequestResult<DatabaseUpdateResponses, DatabaseUpdateErrors, ThrowOnError>;
2972
3848
  /**
2973
3849
  * Insert rows
2974
3850
  *
2975
- * Insert rows into an existing table after defining its fields; at most 500 rows per request. Each request is atomic: any failure rolls back the entire batch. There are no transactions across requests.
3851
+ * Deprecated: use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. Insert rows into an existing table after defining its fields; at most 500 rows per request. Each request is atomic: any failure rolls back the entire batch. There are no transactions across requests.
2976
3852
  * Rows are filled to the union of their keys with null; send Prefer: missing=default to use field defaults for missing keys.
2977
3853
  * The default is return=minimal: success returns HTTP 201 with an empty body. Send Prefer: return=representation to return the inserted rows. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. Unlike Supabase, upsert conflicts can target only id or one unique field, not a composite key. Each table supports up to 1,000,000 rows.
3854
+ *
3855
+ * @deprecated
2978
3856
  */
2979
3857
  export declare const databaseInsert: <ThrowOnError extends boolean = false>(options: Options<DatabaseInsertData, ThrowOnError>) => RequestResult<DatabaseInsertResponses, DatabaseInsertErrors, ThrowOnError>;
3858
+ /**
3859
+ * List keys
3860
+ *
3861
+ * Deprecated: use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. Browse the keys of a key-value database (kind kv): use it to see what is stored before reading one key with databaseGetKey; to run an arbitrary Redis command (counters, ranges, scans) use databaseExecuteCommand instead. Keys come back in lexicographic key order, one page at a time, as summaries (key, type, remaining TTL, size) without values; expired keys are never returned. pattern filters with a Redis glob (* ? [abc] [^abc]) matched against the whole key, and type keeps one value type. limit is 1–500, default 50; while next_cursor is a string, pass it back unchanged as cursor for the next page; null means this is the last page. Needs a read credential. Errors: 400 INVALID_PARAMS for a limit outside 1–500 or a malformed query; 404 DATABASE_NOT_FOUND for an unknown id; 409 DATABASE_KIND_MISMATCH when the database is a table database.
3862
+ *
3863
+ * @deprecated
3864
+ */
3865
+ export declare const databaseListKeys: <ThrowOnError extends boolean = false>(options: Options<DatabaseListKeysData, ThrowOnError>) => RequestResult<DatabaseListKeysResponses, DatabaseListKeysErrors, ThrowOnError>;
3866
+ /**
3867
+ * Delete key
3868
+ *
3869
+ * Deprecated: use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. Delete one key of a key-value database together with its value; the data cannot be recovered. A key that is absent or has already expired is not an error: the call succeeds with deleted false, so it is safe to retry. To delete many keys at once or by pattern, list them with databaseListKeys or run DEL / UNLINK through databaseExecuteCommand. Needs a read-write credential. Errors: 404 DATABASE_NOT_FOUND for an unknown id; 409 DATABASE_KIND_MISMATCH for a table database; 403 BINDING_READ_ONLY for a read-only credential.
3870
+ *
3871
+ * @deprecated
3872
+ */
3873
+ export declare const databaseDeleteKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseDeleteKeyData, ThrowOnError>) => RequestResult<DatabaseDeleteKeyResponses, DatabaseDeleteKeyErrors, ThrowOnError>;
3874
+ /**
3875
+ * Get key
3876
+ *
3877
+ * Deprecated: use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. Read one key of a key-value database with its type, TTL, size and value; use databaseListKeys first to find key names. A string value is returned whole. A hash, list, set or zset is returned a page of entries at a time: limit is 1–1000, default 100, and while next_cursor is a string, pass it back unchanged as cursor to read the next page; string values and the last page return next_cursor null. value takes the shape of type: a string; hash as [{field, value}]; list and set as a string array; zset as [{member, score}]. Needs a read credential. Errors: 404 KEY_NOT_FOUND when the key does not exist or has expired; 400 INVALID_PARAMS for a limit outside 1–1000; 404 DATABASE_NOT_FOUND; 409 DATABASE_KIND_MISMATCH for a table database.
3878
+ *
3879
+ * @deprecated
3880
+ */
3881
+ export declare const databaseGetKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseGetKeyData, ThrowOnError>) => RequestResult<DatabaseGetKeyResponses, DatabaseGetKeyErrors, ThrowOnError>;
3882
+ /**
3883
+ * Update key
3884
+ *
3885
+ * Deprecated: use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. Change only the TTL of an existing key of a key-value database, leaving its value alone. update_mask must be ttl_ms (the only writable field) and ttl_ms is required: a positive integer is the new TTL in milliseconds (Redis PEXPIRE), null removes the TTL so the key never expires (PERSIST). To replace the value use databaseSetKey. Returns the key after the change. Needs a read-write credential. Errors: 404 KEY_NOT_FOUND when the key does not exist or has expired; 400 INVALID_PARAMS when update_mask is not ttl_ms or ttl_ms is neither a positive integer nor null; 404 DATABASE_NOT_FOUND; 409 DATABASE_KIND_MISMATCH; 403 BINDING_READ_ONLY.
3886
+ *
3887
+ * @deprecated
3888
+ */
3889
+ export declare const databaseUpdateKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseUpdateKeyData, ThrowOnError>) => RequestResult<DatabaseUpdateKeyResponses, DatabaseUpdateKeyErrors, ThrowOnError>;
3890
+ /**
3891
+ * Set key
3892
+ *
3893
+ * Deprecated: use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. Overwrite one key of a key-value database with a whole new value in a single transaction, creating it if absent; the previous value is dropped first and never merged, even when the type changes. To change only the TTL use databaseUpdateKey; to add to a counter or push onto a list use databaseExecuteCommand. type decides the shape of value: a string; hash as [{field, value}]; list and set as a string array; zset as [{member, score}] with finite scores. Containers must not be empty, and hash fields and set members must be unique. ttl_ms omitted keeps the key's existing TTL, a positive integer sets a new one in milliseconds, null makes the key permanent. A value is at most 1 MiB and a key at most 1 KiB. Returns the stored key (first page for a container). Needs a read-write credential. Errors: 400 INVALID_PARAMS for an empty container, duplicate field or member, non-finite score or bad ttl_ms; 400 LIMIT_EXCEEDED for an oversized key or value; 503 CAPACITY when the database is full; 404 DATABASE_NOT_FOUND; 409 DATABASE_KIND_MISMATCH; 403 BINDING_READ_ONLY for a read-only credential.
3894
+ *
3895
+ * @deprecated
3896
+ */
3897
+ export declare const databaseSetKey: <ThrowOnError extends boolean = false>(options: Options<DatabaseSetKeyData, ThrowOnError>) => RequestResult<DatabaseSetKeyResponses, DatabaseSetKeyErrors, ThrowOnError>;
3898
+ /**
3899
+ * Execute command
3900
+ *
3901
+ * Deprecated: use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. Run one Redis command with Redis 7 semantics against a key-value database and get its reply; use it for what the key operations cannot do: counters (INCR), list and set operations, ranges (LRANGE, ZRANGE), scans (SCAN, HSCAN) and expiry commands. For one whole-value read or write use databaseGetKey / databaseSetKey; for existing Redis clients use the Upstash-compatible face under /redis. command is the command name followed by its arguments, every element a string, for example ["SET","k","v"] or ["LRANGE","queue","0","9"]. result is Redis's reply as plain JSON (integers, strings, arrays, null), never base64. Not supported: Lua scripting (EVAL), blocking commands, Pub/Sub and Streams. A value is at most 1 MiB, a key at most 1 KiB, a reply at most 8 MiB (read big collections in ranges with SCAN, HSCAN, LRANGE or ZRANGE) and the database at most 1 GiB. A read command needs a read credential; a write command, or a command that cannot be parsed, needs a read-write credential. Errors: 400 KV_COMMAND_ERROR when Redis rejects the command, with Redis's own text in message (for example WRONGTYPE Operation against a key holding the wrong kind of value or ERR unknown command); 400 INVALID_PARAMS for a missing or empty command; 404 DATABASE_NOT_FOUND; 409 DATABASE_KIND_MISMATCH; 403 BINDING_READ_ONLY for a write on a read-only credential.
3902
+ *
3903
+ * @deprecated
3904
+ */
3905
+ export declare const databaseExecuteCommand: <ThrowOnError extends boolean = false>(options: Options<DatabaseExecuteCommandData, ThrowOnError>) => RequestResult<DatabaseExecuteCommandResponses, DatabaseExecuteCommandErrors, ThrowOnError>;
2980
3906
  /**
2981
3907
  * Read a commit's test catalog
2982
3908
  *
@@ -3088,15 +4014,33 @@ export declare const devopsTestExecutionsGet: <ThrowOnError extends boolean = fa
3088
4014
  /**
3089
4015
  * Upload an external test report
3090
4016
  *
3091
- * 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.
4017
+ * 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.
3092
4018
  */
3093
4019
  export declare const devopsTestReportsUpload: <ThrowOnError extends boolean = false>(options: Options<DevopsTestReportsUploadData, ThrowOnError>) => RequestResult<DevopsTestReportsUploadResponses, DevopsTestReportsUploadErrors, ThrowOnError>;
4020
+ /**
4021
+ * Retrieve the merge gate's test plan at a commit
4022
+ *
4023
+ * 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.
4024
+ */
4025
+ export declare const devopsTestPlanGet: <ThrowOnError extends boolean = false>(options: Options<DevopsTestPlanGetData, ThrowOnError>) => RequestResult<DevopsTestPlanGetResponses, DevopsTestPlanGetErrors, ThrowOnError>;
3094
4026
  /**
3095
4027
  * List projects
3096
4028
  *
3097
- * 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.
4029
+ * 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.
3098
4030
  */
3099
4031
  export declare const devopsProjectsList: <ThrowOnError extends boolean = false>(options?: Options<DevopsProjectsListData, ThrowOnError>) => RequestResult<DevopsProjectsListResponses, DevopsProjectsListErrors, ThrowOnError>;
4032
+ /**
4033
+ * Create a project
4034
+ *
4035
+ * 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).
4036
+ */
4037
+ export declare const devopsProjectsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsCreateData, ThrowOnError>) => RequestResult<DevopsProjectsCreateResponses, DevopsProjectsCreateErrors, ThrowOnError>;
4038
+ /**
4039
+ * Create a project's default branch
4040
+ *
4041
+ * 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.
4042
+ */
4043
+ export declare const devopsProjectsInitializeDefaultBranch: <ThrowOnError extends boolean = false>(options: Options<DevopsProjectsInitializeDefaultBranchData, ThrowOnError>) => RequestResult<DevopsProjectsInitializeDefaultBranchResponses, DevopsProjectsInitializeDefaultBranchErrors, ThrowOnError>;
3100
4044
  /**
3101
4045
  * Retrieve a project
3102
4046
  *
@@ -3136,25 +4080,25 @@ export declare const devopsReleasesAbandon: <ThrowOnError extends boolean = fals
3136
4080
  /**
3137
4081
  * Create a promotion
3138
4082
  *
3139
- * Promote a release into one environment: this is the operation that actually schedules a deployment. Name the release and the environment; path is regular for an ordinary promotion, targeted to deploy only the targets you list, patch to carry a patch release, and rollback to return the environment to an earlier release. A regular promotion promotes EVERY target the release changed in that environment and refuses a targets list (to promote a subset use path targeted, so a narrowing is never silently ignored). A targeted promotion requires targets: each item is a target id from the target list or the workspace path the console shows (services/devops), and the call resolves the path to the id. A target the release does not carry is refused with the targets the release does deploy; so is a target this environment never runs. Naming a target also deploys the targets it depends on, which come first and are reported in plan.addedDependencies. The targets that changed but were not named are listed in plan.skipped with reason not_requested, so a reader sees what the promotion left behind. Callees upgrade first by default: naming a target brings the targets it depends on, because a caller cannot run on a callee it did not deploy. To leave one of those callees behind, pass withoutCallees, a list of { target, reason } on a targeted promotion. Each entry names a callee the named targets depend on — by target id or workspace path, as in targets — and carries a required, non-empty reason, because an exception nobody can justify afterwards is indistinguishable from a mistake. An excluded callee is subtracted rather than deferred: it is not deployed, and a target that entered the plan only through it leaves the plan too, so nothing is deployed that would have needed it. The exclusion is visible in the plan (plan.skipped with reason callee_excluded, carrying the reason in message) and on the promotion (withoutCallees), and a retry repeats it. Excluding a target you named is refused (take it out of targets instead), as is excluding a target the named ones do not depend on; a regular promotion refuses withoutCallees the same way it refuses targets. A targeted promotion's success verifies only the targets it deployed, not the whole release, so the upstream gate still requires the untouched targets before a later environment may take them. The service reads the environment's promotion order and refuses when an upstream environment has not verified this release yet, unless a bypass carries the authorization for that gate. An environment takes one promotion at a time, so a create while another is running is queued behind it rather than refused; only a regular promotion supersedes waiting regular ones, and a targeted promotion neither overtakes another ride nor is overtaken. Set validateOnly to read the plan and its refusals — layers, skipped targets, pending migrations, missing configuration keys — without scheduling anything, which is the safe way to find out what a promotion will do; the same plan is on the promotion this call answers and on `praxis api devops promotion get`, which reads it again with the promotion's progress as the rollout advances. patch and rollback are not creatable here yet and are refused with NOT_IMPLEMENTED. The answer is the promotion: the plan it will execute is in its plan field (layers, skipped, refusals, pending migrations) and its progress is in state; `praxis api devops promotion get <id>` shows both again at any time. With an environment that requires approval the promotion waits in awaiting_approval until `praxis api devops promotion approve`.
4083
+ * 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). Every promotion runs one version of the deploy engine, resolved from the project's settings.deploy.engine when the promotion is created and recorded as engineVersion; a request that engine version cannot serve is refused with ENGINE_TOO_OLD, which names the option and the first version that has it. 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 answer then carries validateOnly true and the placeholder id prm_validate_only, because nothing was stored and there is no promotion to read again; the same plan is on the promotion a real 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: a rollback is created with environments.rollback, not with path rollback on this call. An environment whose blocksLater is true stays held during its observation window: a promotion created for it waits queued (its stateDescription names the promotion it waits for) until promotions.conclude ends the window, and the environment list shows the queue as busy with that promotion as active. A promotion in which every rollout was skipped as artifact_identical (the change did not alter the built artifact, such as a comment) succeeds and moves the checkpoints but deploys nothing; promotions.retrieve counts it in summary.identical. 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`.
3140
4084
  */
3141
4085
  export declare const devopsPromotionsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCreateData, ThrowOnError>) => RequestResult<DevopsPromotionsCreateResponses, DevopsPromotionsCreateErrors, ThrowOnError>;
3142
4086
  /**
3143
4087
  * List promotions
3144
4088
  *
3145
- * 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.
4089
+ * 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". The one filter is the forced query parameter (true or false, sent as text in the query string); a filter expression and orderBy are not accepted yet, so page through with pageToken instead of narrowing further.
3146
4090
  */
3147
4091
  export declare const devopsPromotionsList: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsListData, ThrowOnError>) => RequestResult<DevopsPromotionsListResponses, DevopsPromotionsListErrors, ThrowOnError>;
3148
4092
  /**
3149
4093
  * Retrieve a promotion
3150
4094
  *
3151
- * 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).
4095
+ * 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 window holds the environment, so a promotion queued behind it waits until conclude. Once a rollout has ended, summary says how many targets were really deployed (deployed), how many were skipped as artifact_identical (identical: the change did not alter the built artifact, such as a comment, so nothing was deployed although the promotion succeeds and its checkpoints advance) and how many ended any other way (other). 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).
3152
4096
  */
3153
4097
  export declare const devopsPromotionsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsGetData, ThrowOnError>) => RequestResult<DevopsPromotionsGetResponses, DevopsPromotionsGetErrors, ThrowOnError>;
3154
4098
  /**
3155
4099
  * Approve or reject a promotion
3156
4100
  *
3157
- * 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.
4101
+ * Not supported yet (Sean 2026-11-27: approvals return as a step of the workflow engine): every call answers 409 ENGINE_UNSUPPORTED, and an environment that requires approval is refused when a promotion into it is created, so no promotion waits for an answer.
3158
4102
  */
3159
4103
  export declare const devopsPromotionsApprove: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsApproveData, ThrowOnError>) => RequestResult<DevopsPromotionsApproveResponses, DevopsPromotionsApproveErrors, ThrowOnError>;
3160
4104
  /**
@@ -3166,15 +4110,21 @@ export declare const devopsPromotionsCancel: <ThrowOnError extends boolean = fal
3166
4110
  /**
3167
4111
  * Retry a promotion
3168
4112
  *
3169
- * Continue a promotion that stopped part-way, such as one in halted where some targets succeeded and others failed. The retry re-runs the targets that did not succeed and leaves the ones that did alone, so a partially deployed environment is completed rather than redeployed from the start. A promotion that is still running is refused, and so is one that already reached a terminal state; read the promotion first and retry only a halted or errored one. The retry is attributed to the credential that sends it and is recorded on the promotion.
4113
+ * 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.
3170
4114
  */
3171
4115
  export declare const devopsPromotionsRetry: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsRetryData, ThrowOnError>) => RequestResult<DevopsPromotionsRetryResponses, DevopsPromotionsRetryErrors, ThrowOnError>;
3172
4116
  /**
3173
4117
  * Conclude an observation
3174
4118
  *
3175
- * 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.
4119
+ * Retired with the observation window (ticket-4240): a promotion ends when its deploy ends, so no promotion is ever observing and every call answers 409 PROMOTION_NOT_OBSERVING. Watching production after a release is its author's own work; to undo a release use environments.rollback, which also takes the culprit Change this call used to record.
3176
4120
  */
3177
4121
  export declare const devopsPromotionsConclude: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsConcludeData, ThrowOnError>) => RequestResult<DevopsPromotionsConcludeResponses, DevopsPromotionsConcludeErrors, ThrowOnError>;
4122
+ /**
4123
+ * Get the checkout credential of a running promotion
4124
+ *
4125
+ * 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.
4126
+ */
4127
+ export declare const devopsPromotionsCheckoutCredential: <ThrowOnError extends boolean = false>(options: Options<DevopsPromotionsCheckoutCredentialData, ThrowOnError>) => RequestResult<DevopsPromotionsCheckoutCredentialResponses, DevopsPromotionsCheckoutCredentialErrors, ThrowOnError>;
3178
4128
  /**
3179
4129
  * List a promotion's rollouts
3180
4130
  *
@@ -3208,7 +4158,7 @@ export declare const devopsEnvironmentsCheckpointsList: <ThrowOnError extends bo
3208
4158
  /**
3209
4159
  * Roll an environment back
3210
4160
  *
3211
- * 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.
4161
+ * 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; the answer then carries validateOnly true and the placeholder id prm_validate_only, because no promotion was stored. This is the way to create a rollback; promotions.create does not take path rollback. 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.
3212
4162
  */
3213
4163
  export declare const devopsEnvironmentsRollback: <ThrowOnError extends boolean = false>(options: Options<DevopsEnvironmentsRollbackData, ThrowOnError>) => RequestResult<DevopsEnvironmentsRollbackResponses, DevopsEnvironmentsRollbackErrors, ThrowOnError>;
3214
4164
  /**
@@ -3352,7 +4302,7 @@ export declare const devopsChangesGet: <ThrowOnError extends boolean = false>(op
3352
4302
  /**
3353
4303
  * Abandon a change
3354
4304
  *
3355
- * Stop a change for good: it no longer moves forward and its stage becomes abandoned. reason is required and is kept with the change. Pull requests that were already merged are not undone — the system cleans them up, or a new change reverts them — so abandoning is a statement about the change, not a rollback of code. The id is the branch name and its slash must be percent-encoded in the path (feat%2Frun-page-v2). A change that is already abandoned is refused with INVALID_ARGUMENT, which is how a caller tells an earlier abandon apart from a call that had no effect.
4305
+ * 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.
3356
4306
  */
3357
4307
  export declare const devopsChangesAbandon: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesAbandonData, ThrowOnError>) => RequestResult<DevopsChangesAbandonResponses, DevopsChangesAbandonErrors, ThrowOnError>;
3358
4308
  /**
@@ -3361,6 +4311,24 @@ export declare const devopsChangesAbandon: <ThrowOnError extends boolean = false
3361
4311
  * 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).
3362
4312
  */
3363
4313
  export declare const devopsChangesMarkLastSlice: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesMarkLastSliceData, ThrowOnError>) => RequestResult<DevopsChangesMarkLastSliceResponses, DevopsChangesMarkLastSliceErrors, ThrowOnError>;
4314
+ /**
4315
+ * Open a new slice
4316
+ *
4317
+ * Open one more slice of a change: another pull request on the same change, developed beside the ones already open. Use it when a second piece of the change can be built in parallel; for the change's first pull request there is nothing to open — work on the branch `praxis devops change checkout` gave you. The call cuts the next slice branch, named <id>--<n> where n is one more than the highest slice number the change's pull requests and its workspace already hold (so two calls give two different slices), and gives it its own git worktree in the change's workspace. If the change has no live workspace one is opened. Everything after that is automatic: the branch name, the worktree, removing the worktree once its pull request merges, and restacking a slice cut from another onto the default branch when that slice merges. A restack that conflicts is aborted and reported with the conflicting files; resolve those by hand on the slice branch, nothing is resolved for you. Without from the slice is cut from the default branch; with from set to another branch of the same change it is cut from that slice (the right choice when it builds on it). An abandoned change is refused with INVALID_ARGUMENT. The change id is the branch name <type>/<slug>; give it as it comes back — the SDK and the CLI encode the slash themselves. The workspace may still be starting when the call returns: directory is the path the worktree will have once it is available, and exists at once when the workspace is already running. From a terminal: `praxis devops changes slice <change>`.
4318
+ */
4319
+ export declare const devopsChangesSlicesCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesSlicesCreateData, ThrowOnError>) => RequestResult<DevopsChangesSlicesCreateResponses, DevopsChangesSlicesCreateErrors, ThrowOnError>;
4320
+ /**
4321
+ * Open a change's pull request
4322
+ *
4323
+ * 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. For a later slice opened with `slices.create`, pass head set to that slice's branch (<id>--<n>): the pull request is opened from it instead of the change's own branch, and a branch that belongs to another change is refused with INVALID_ARGUMENT. 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.
4324
+ */
4325
+ export declare const devopsChangesOpenPullRequest: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesOpenPullRequestData, ThrowOnError>) => RequestResult<DevopsChangesOpenPullRequestResponses, DevopsChangesOpenPullRequestErrors, ThrowOnError>;
4326
+ /**
4327
+ * Get a change workspace's read-only git credential
4328
+ *
4329
+ * 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).
4330
+ */
4331
+ export declare const devopsChangesGitCredential: <ThrowOnError extends boolean = false>(options: Options<DevopsChangesGitCredentialData, ThrowOnError>) => RequestResult<DevopsChangesGitCredentialResponses, DevopsChangesGitCredentialErrors, ThrowOnError>;
3364
4332
  /**
3365
4333
  * List a project's pull requests
3366
4334
  *
@@ -3370,27 +4338,39 @@ export declare const devopsPullRequestsList: <ThrowOnError extends boolean = fal
3370
4338
  /**
3371
4339
  * Retrieve a pull request
3372
4340
  *
3373
- * Read one pull request in full: its state, its head and base, its changed paths, the exposure its description declares, and — the part this call exists for — its gate. The gate is a list of named checks (the declaration, the flag duties, the affected tests, and the one judgement only a person makes), each with a result and, when it failed or is pending, the sentence saying what is missing; the gate's own state is passed only when no check failed and none is still pending. Read the gate here before merging or before recording a verdict, and read it again after a rerun: the checks are facts about the current head, and a new head starts a new gate. Add expand=runs to also get the affected test runs reported at the head commit, newest first, which is how you see why the tests check came out the way it did.
4341
+ * 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.
3374
4342
  */
3375
4343
  export declare const devopsPullRequestsGet: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsGetData, ThrowOnError>) => RequestResult<DevopsPullRequestsGetResponses, DevopsPullRequestsGetErrors, ThrowOnError>;
3376
4344
  /**
3377
4345
  * Decide a pull request's merge gate again
3378
4346
  *
3379
- * Decide the merge gate again at the pull request's current head and report the result on GitHub as the "Praxis DevOps / gate" check run. Use it when a fact the gate reads has changed without a new push — a test run finished, a flag was registered, or a check that had no evidence now has some — so nobody has to push an empty commit to make the check move. The answer is the pull request with the gate it now reaches. A head whose earlier gate already had a verdict and comes back pending opens a NEW check run, because GitHub will not reopen a completed one; while the same head is still deciding, the run it already owns is updated in place. Nothing else on the pull request changes, and repeating the call is safe: the same facts decide the same gate.
4347
+ * 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.
3380
4348
  */
3381
4349
  export declare const devopsPullRequestsRerunGate: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRerunGateData, ThrowOnError>) => RequestResult<DevopsPullRequestsRerunGateResponses, DevopsPullRequestsRerunGateErrors, ThrowOnError>;
3382
4350
  /**
3383
4351
  * Merge a pull request through its gate
3384
4352
  *
3385
- * Land a pull request by having DevOps call GitHub, so the merge goes through the platform's own merge gate instead of around it. The gate is the permission: while the gate is pending or failed the merge is refused with GATE_NOT_PASSED, and a pull request that is already merged or closed is refused with PULL_REQUEST_NOT_OPEN. Only the commit the gate decided on may land — that commit is sent to GitHub as the merge sha, so a head that moved underneath is refused with HEAD_MOVED rather than merged untested — and GitHub's own refusal, such as a conflict, comes back as MERGE_REFUSED carrying its words. method picks the merge shape and defaults to merge. queue true does not merge now: it puts the pull request into its (project, base) merge queue, where the commit that eventually lands is one GitHub built from the current base and a test run proved. Send requestId to make a retry safe — a retry that reaches a pull request DevOps itself already merged answers that merge without calling GitHub again; it does not make the merge wait. Merging something already merged by somebody else stays a refusal rather than a replay.
4353
+ * 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.
3386
4354
  */
3387
4355
  export declare const devopsPullRequestsMerge: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsMergeData, ThrowOnError>) => RequestResult<DevopsPullRequestsMergeResponses, DevopsPullRequestsMergeErrors, ThrowOnError>;
3388
4356
  /**
3389
- * Record a gatekeeper's verdict on a direct change
4357
+ * Record a review verdict on a pull request
3390
4358
  *
3391
- * A gatekeeper's judgement of a change declared direct — the one gate check a person answers, because a direct change has no flag to hold it back. Send result passed to let it through, or failed to hold it, with reason saying in a sentence a reviewer can act on why; the reason becomes the message of the gate's exposure-judged check. The verdict is about ONE commit: headSha must be the pull request's current head, and a verdict for any other commit is refused with INVALID_ARGUMENT rather than applied, because a judgement of a version nobody reviewed must never pass the version that is there now — so a recorded verdict stops applying the moment the head moves, and the new head must be judged on its own. Recording it decides the gate again, so a passed verdict makes the gate passed once every other check has too, and the answer is the pull request with the gate it now reaches. A passed verdict for a change whose tests have not run leaves the gate pending: a person's judgement never outvotes a missing test.
4359
+ * 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.
3392
4360
  */
3393
4361
  export declare const devopsPullRequestsRecordVerdict: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsRecordVerdictData, ThrowOnError>) => RequestResult<DevopsPullRequestsRecordVerdictResponses, DevopsPullRequestsRecordVerdictErrors, ThrowOnError>;
4362
+ /**
4363
+ * Close a pull request without merging it
4364
+ *
4365
+ * 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.
4366
+ */
4367
+ export declare const devopsPullRequestsClose: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsCloseData, ThrowOnError>) => RequestResult<DevopsPullRequestsCloseResponses, DevopsPullRequestsCloseErrors, ThrowOnError>;
4368
+ /**
4369
+ * Review a pull request on our own Git
4370
+ *
4371
+ * 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.
4372
+ */
4373
+ export declare const devopsPullRequestsReviewsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsPullRequestsReviewsCreateData, ThrowOnError>) => RequestResult<DevopsPullRequestsReviewsCreateResponses, DevopsPullRequestsReviewsCreateErrors, ThrowOnError>;
3394
4374
  /**
3395
4375
  * List connections
3396
4376
  *
@@ -3448,7 +4428,7 @@ export declare const devopsTestRunsRetryFailed: <ThrowOnError extends boolean =
3448
4428
  /**
3449
4429
  * List a project's stage workspaces
3450
4430
  *
3451
- * List the project's three stage workspaces — development, integration and runtime — in that order. Each row says how a machine of that stage is built and how long it lives; it is configuration, not a machine, so listing never opens one. A project whose rows do not exist yet gets all three materialized on this call with the defaults (size medium, prebuild on, idle timeout 30 minutes, retention 7 days), and a later call reads those same rows back rather than replacing them. Read one stage with the workspace retrieve; the machines actually running are units.
4431
+ * 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.
3452
4432
  */
3453
4433
  export declare const devopsWorkspacesList: <ThrowOnError extends boolean = false>(options: Options<DevopsWorkspacesListData, ThrowOnError>) => RequestResult<DevopsWorkspacesListResponses, DevopsWorkspacesListErrors, ThrowOnError>;
3454
4434
  /**
@@ -3475,6 +4455,12 @@ export declare const devopsUnitsList: <ThrowOnError extends boolean = false>(opt
3475
4455
  * 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.
3476
4456
  */
3477
4457
  export declare const devopsUnitsCreate: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsCreateData, ThrowOnError>) => RequestResult<DevopsUnitsCreateResponses, DevopsUnitsCreateErrors, ThrowOnError>;
4458
+ /**
4459
+ * List a project's cleanup ledger
4460
+ *
4461
+ * 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.
4462
+ */
4463
+ export declare const devopsCleanupsList: <ThrowOnError extends boolean = false>(options: Options<DevopsCleanupsListData, ThrowOnError>) => RequestResult<DevopsCleanupsListResponses, DevopsCleanupsListErrors, ThrowOnError>;
3478
4464
  /**
3479
4465
  * Delete a unit
3480
4466
  *
@@ -3508,7 +4494,7 @@ export declare const devopsUnitsFetch: <ThrowOnError extends boolean = false>(op
3508
4494
  /**
3509
4495
  * Push a unit's branch
3510
4496
  *
3511
- * 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.
4497
+ * 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, naming the head it is at now in the message and in details.remoteHead. Read the starting value from the unit's git.remoteHead (fetch first when someone else may have pushed). 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.
3512
4498
  */
3513
4499
  export declare const devopsUnitsPush: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsPushData, ThrowOnError>) => RequestResult<DevopsUnitsPushResponses, DevopsUnitsPushErrors, ThrowOnError>;
3514
4500
  /**
@@ -3520,7 +4506,7 @@ export declare const devopsUnitsConnect: <ThrowOnError extends boolean = false>(
3520
4506
  /**
3521
4507
  * Run a command inside a unit
3522
4508
  *
3523
- * 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.
4509
+ * 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, and that 600000 ceiling is fixed: a task that needs longer than 240 seconds is not run by raising it — start it in the background and poll for its result, because a foreground call that long outlives the caller's own patience, and when the caller disconnects the command used to keep running on the machine with nobody collecting it (the reclaimer that ends that is #4404). When a command is stopped at its budget the answer is exitCode 124 with whatever it had already printed in stdout and stderr, so a stopped command shows its output instead of an empty result. 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.
3524
4510
  */
3525
4511
  export declare const devopsUnitsExec: <ThrowOnError extends boolean = false>(options: Options<DevopsUnitsExecData, ThrowOnError>) => RequestResult<DevopsUnitsExecResponses, DevopsUnitsExecErrors, ThrowOnError>;
3526
4512
  /**
@@ -3814,7 +4800,7 @@ export declare const mediaBatchAssets: <ThrowOnError extends boolean = false>(op
3814
4800
  /**
3815
4801
  * Get job
3816
4802
  *
3817
- * Read the current batch or generation Job status and progress. For generation, inspect outputs and failures; a successful output has already landed in the library as an asset.
4803
+ * 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.
3818
4804
  */
3819
4805
  export declare const mediaGetJob: <ThrowOnError extends boolean = false>(options: Options<MediaGetJobData, ThrowOnError>) => RequestResult<MediaGetJobResponses, MediaGetJobErrors, ThrowOnError>;
3820
4806
  /**
@@ -3850,25 +4836,25 @@ export declare const mediaGetAssetLineage: <ThrowOnError extends boolean = false
3850
4836
  /**
3851
4837
  * Generate image
3852
4838
  *
3853
- * Generate one or more images from a text prompt and store them straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still generate. The request body is the image request itself: prompt is required, and n, size, background, output_format, output, references, seed, model, asset_folder and understanding are optional. Set output to sticker for a cut-out with a transparent background. references attach existing assets with a role — edit_target, style, structure or subject — and a model that cannot honour a role returns REFERENCE_TYPE_MISMATCH. A reference may also be an element id (a character, product, scene or brand from the materials endpoints): the service expands it into the element’s pictures and appends its description to the prompt, so the same subject stays consistent across requests. Aspect ratio is not accepted for images; name size instead. Generation is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, final once the job is completed or failed) and each produced asset carries its own part in provenance.cost; nothing is charged for a request refused before it starts. When the job is done, tell the person the usage amount and give them each output’s viewer_url, which opens the asset in the Console. The response is 202 with a queued Job whose type is image and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced assets from the library. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice. Example: POST /media/v1/libraries/default/images/generations with {"prompt":"A red kite above a calm sea at sunrise","n":1,"output":"sticker"}.
4839
+ * 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.
3854
4840
  */
3855
4841
  export declare const mediaGenerateImage: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateImageData, ThrowOnError>) => RequestResult<MediaGenerateImageResponses, MediaGenerateImageErrors, ThrowOnError>;
3856
4842
  /**
3857
4843
  * Generate video
3858
4844
  *
3859
- * Generate one or more videos from a text prompt and store them straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still generate. mode says what the video is anchored to: text needs only a prompt, image animates the existing image named by first_frame, and first_last interpolates between first_frame and last_frame. The frames must be image or sticker assets of the same library; a fetchable URL for each is sent to the model and recorded in the produced asset’s provenance. mode reference keeps 1 to 9 pictures named in references consistent (role subject or style; not combinable with frames; a model may take fewer); a reference may be an element id, which the service expands into the element’s pictures and description. output gif is refused with OPERATION_NOT_SUPPORTED in this release, and negative_prompt, references outside mode reference and an unknown mode are refused before anything is charged. Every output lands in the library as a video asset as soon as it is ready — there is no candidate state and nothing expires, so outputs.save is not part of this lane. Generation is billed per second by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals) and each produced asset carries its own part in provenance.cost; a refused request costs nothing. When the job is done, tell the person the usage amount and give them each output’s viewer_url. The response is 202 with a queued Job whose type is video and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced assets from the library. Send Idempotency-Key, or idempotency_key in the body, to retry without generating and charging twice. Example: POST /media/v1/libraries/default/videos/generations with {"prompt":"A red kite above a calm sea at sunrise","mode":"text","n":1}.
4845
+ * 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.
3860
4846
  */
3861
4847
  export declare const mediaGenerateVideo: <ThrowOnError extends boolean = false>(options: Options<MediaGenerateVideoData, ThrowOnError>) => RequestResult<MediaGenerateVideoResponses, MediaGenerateVideoErrors, ThrowOnError>;
3862
4848
  /**
3863
4849
  * Edit asset
3864
4850
  *
3865
- * Edit an existing asset and store the result as a new asset. Use library_id from creation or listing and asset_id from asset creation or listing; library_id also accepts the literal default, which resolves to the organization’s default library before the credential check. The source asset is never overwritten: the new asset hangs under it in the edit chain, records it in derived_from, and reads back with assets.lineage, so earlier steps stay reachable. The body is operation plus the optional model, asset_folder, understanding and idempotency_key; operation.type selects the edit and carries that operation’s own fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, upscale, enhance_voice, reframe and redact through Media’s processing lane (upscale on a picture or a video; enhance_voice on a recording or a video, whose audio is used; reframe and redact on a video), and to_video, frame and resynthesize on the material each takes; every other type in the operation vocabulary is refused with OPERATION_NOT_SUPPORTED. The processing lane takes its model from the platform model catalogue, judged by the operation’s capability and overridable with operation.model, and bills per second of input; each edit is idempotent on the source, the operation and the parameters, so a second request that would make the same asset answers the asset already made instead of paying again, and an operation whose catalogue list is empty is refused with OPERATION_NOT_SUPPORTED, 尚未上架. remove_background on a video produces a portrait matte video for compositing without a green screen: output picks mask (a black-and-white matte as a small H.264 video, person white and background black: use it as a Cut track mask with channel luma under the original video to lay a lecturer over slides — the choice for compositing) or alpha (the default: the person on a transparent background as ProRes 4444, which is very large, about 870 MB per 15 seconds of 1080p, so ask for it only when a transparent file itself is the deliverable), and model picks the matting model from types.matting.models of the generation capabilities — read it first, because a request that names none takes the first available matting model and a video is refused with OPERATION_NOT_SUPPORTED, in the model field, when the platform has published none. output and model mean nothing for an image source and are refused with INVALID_PARAMS naming the field rather than ignored. inpaint takes mask, a PNG File identifier beginning with file- whose transparent area marks the region to replace, plus the prompt describing what belongs there. Aspects beyond the source asset’s material type return REFERENCE_TYPE_MISMATCH. Editing is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals) and the new asset carries it in provenance.cost; when the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is image, whose operation is the edit applied, and whose source_asset_id is the asset edited; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until it is completed or failed, then read the produced asset. Example: POST /media/v1/libraries/lib_example/assets/9dfa312ef9bc4b00816339b598b1152c/edits with {"operation":{"type":"variations","strength":"subtle"}}.
4851
+ * 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.
3866
4852
  */
3867
4853
  export declare const mediaEditAsset: <ThrowOnError extends boolean = false>(options: Options<MediaEditAssetData, ThrowOnError>) => RequestResult<MediaEditAssetResponses, MediaEditAssetErrors, ThrowOnError>;
3868
4854
  /**
3869
4855
  * Create speech
3870
4856
  *
3871
- * Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak. voice is optional and may be omitted, in which case the model’s default voice is used; when it is given it must be one of the voices of the model being used — read them from the types.speech list of GET /media/v1/generation/capabilities, which gives each voice an id, a name, a gender, a language and a style, or pass a voice material id of this same library — and a voice that is neither is refused with INVALID_PARAMS in the voice field before any job exists, so a wrong name is free to try but reading the capabilities first is free without trying. Do not use OpenAI voice names such as alloy or aura: they are not valid here. speed is passed to the provider unchanged, and instructions and language are refused with OPERATION_NOT_SUPPORTED in this release. Cloning a voice from recordings is not available yet. The provider caps one request at a short stretch of text, so a long input is cut into segments at paragraph and sentence boundaries and synthesised in order, then joined into the single recording the library receives: nothing is spoken twice and nothing is dropped. Because the segments are joined byte for byte, a multi-segment input accepts only response_format mp3 (the default) or pcm; opus is available for a single-segment input. A speech job has one result however many segments it took. Synthesis is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, the sum over every segment) and the recording carries it in provenance.cost; a request refused before it starts costs nothing. When the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is speech and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced asset from the library — the recording carries material_type audio, audio_role voice, ai_generated true, and provenance naming this job, the text spoken and the model. Send Idempotency-Key, or idempotency_key in the body, to retry without synthesising and charging twice. Example: POST /media/v1/libraries/default/audio/speech with {"input":"A red kite above a calm sea at sunrise."}, or with {"input":"A red kite above a calm sea at sunrise.","voice":"zh_female_wenroumama_uranus_bigtts"} for a gentle female voice.
4857
+ * 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.
3872
4858
  */
3873
4859
  export declare const mediaCreateSpeech: <ThrowOnError extends boolean = false>(options: Options<MediaCreateSpeechData, ThrowOnError>) => RequestResult<MediaCreateSpeechResponses, MediaCreateSpeechErrors, ThrowOnError>;
3874
4860
  /**
@@ -3904,13 +4890,13 @@ export declare const mediaListUnderstandingsByLibrary: <ThrowOnError extends boo
3904
4890
  /**
3905
4891
  * List jobs
3906
4892
  *
3907
- * List batch and generation jobs in a library. Filter by status or by pipeline_run_id (the jobs one automation run started) and continue with next_cursor. Poll a generation Job until terminal; every produced output is already a library asset.
4893
+ * 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.
3908
4894
  */
3909
4895
  export declare const mediaListJobs: <ThrowOnError extends boolean = false>(options: Options<MediaListJobsData, ThrowOnError>) => RequestResult<MediaListJobsResponses, MediaListJobsErrors, ThrowOnError>;
3910
4896
  /**
3911
4897
  * Cancel job
3912
4898
  *
3913
- * Cancel a queued or running generation job. Outputs already produced remain in the library; poll or read the returned Job to confirm its status. A video cannot be cancelled once the provider has started generating it: the call answers 409 JOB_INVALID_STATE (details VIDEO_ALREADY_RUNNING), and the task still finishes, is saved to the library and is charged.
4899
+ * 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.
3914
4900
  */
3915
4901
  export declare const mediaCancelJob: <ThrowOnError extends boolean = false>(options: Options<MediaCancelJobData, ThrowOnError>) => RequestResult<MediaCancelJobResponses, MediaCancelJobErrors, ThrowOnError>;
3916
4902
  /**
@@ -3925,6 +4911,30 @@ export declare const mediaGetGenerationCapabilities: <ThrowOnError extends boole
3925
4911
  * 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}.
3926
4912
  */
3927
4913
  export declare const mediaAlignAsset: <ThrowOnError extends boolean = false>(options: Options<MediaAlignAssetData, ThrowOnError>) => RequestResult<MediaAlignAssetResponses, MediaAlignAssetErrors, ThrowOnError>;
4914
+ /**
4915
+ * Get HLS renditions
4916
+ *
4917
+ * 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.
4918
+ */
4919
+ export declare const mediaGetHlsRenditions: <ThrowOnError extends boolean = false>(options: Options<MediaGetHlsRenditionsData, ThrowOnError>) => RequestResult<MediaGetHlsRenditionsResponses, MediaGetHlsRenditionsErrors, ThrowOnError>;
4920
+ /**
4921
+ * Request HLS renditions
4922
+ *
4923
+ * 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]}.
4924
+ */
4925
+ export declare const mediaRequestHlsRenditions: <ThrowOnError extends boolean = false>(options: Options<MediaRequestHlsRenditionsData, ThrowOnError>) => RequestResult<MediaRequestHlsRenditionsResponses, MediaRequestHlsRenditionsErrors, ThrowOnError>;
4926
+ /**
4927
+ * Create voice
4928
+ *
4929
+ * 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.
4930
+ */
4931
+ export declare const mediaCreateVoice: <ThrowOnError extends boolean = false>(options: Options<MediaCreateVoiceData, ThrowOnError>) => RequestResult<MediaCreateVoiceResponses, MediaCreateVoiceErrors, ThrowOnError>;
4932
+ /**
4933
+ * Design a voice
4934
+ *
4935
+ * 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.
4936
+ */
4937
+ export declare const mediaDesignVoice: <ThrowOnError extends boolean = false>(options: Options<MediaDesignVoiceData, ThrowOnError>) => RequestResult<MediaDesignVoiceResponses, MediaDesignVoiceErrors, ThrowOnError>;
3928
4938
  /**
3929
4939
  * List types
3930
4940
  *
@@ -4015,6 +5025,168 @@ export declare const ontologyApplyChangeset: <ThrowOnError extends boolean = fal
4015
5025
  * 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.
4016
5026
  */
4017
5027
  export declare const ontologySearch: <ThrowOnError extends boolean = false>(options: Options<OntologySearchData, ThrowOnError>) => RequestResult<OntologySearchResponses, OntologySearchErrors, ThrowOnError>;
5028
+ /**
5029
+ * List repositories
5030
+ *
5031
+ * 列出这个组织现有的库,默认库也在其中。库很少,一页通常装得下;用 next_cursor 翻页。先在这里拿到 repository_id,再用它列出或发布包。
5032
+ */
5033
+ export declare const registryRepositoriesList: <ThrowOnError extends boolean = false>(options?: Options<RegistryRepositoriesListData, ThrowOnError>) => RequestResult<RegistryRepositoriesListResponses, RegistryRepositoriesListErrors, ThrowOnError>;
5034
+ /**
5035
+ * Create repository
5036
+ *
5037
+ * 新建一个库来分类存放包。name 是库的唯一标识,小写字母、数字和连字符,最多 63 个字符,且不能和已有的库重名;display_name 和 description 是给人看的。每个组织本来就有一个默认库,需要新分类时才建;一个库非空时不能删除,所以不要用库来临时隔离一次上传。format 默认 oci,库里放技能和插件;要放 git 仓库就传 format=git,建库后 format 不能改。git 库需要这个组织已开放 git 功能,否则返回 409。
5038
+ */
5039
+ export declare const registryRepositoriesCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesCreateData, ThrowOnError>) => RequestResult<RegistryRepositoriesCreateResponses, RegistryRepositoriesCreateErrors, ThrowOnError>;
5040
+ /**
5041
+ * Delete repository
5042
+ *
5043
+ * 删一个空的库。默认库不能删(FAILED_PRECONDITION);库里还有包时也不能删,先把包删掉或改用别的库。删除请求重发会 404,所以删除前先读一次确认。
5044
+ */
5045
+ export declare const registryRepositoriesDelete: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesDeleteData, ThrowOnError>) => RequestResult<RegistryRepositoriesDeleteResponses, RegistryRepositoriesDeleteErrors, ThrowOnError>;
5046
+ /**
5047
+ * Retrieve repository
5048
+ *
5049
+ * 读一个库的名称、说明、包数量和默认标记。repository_id 来自 repositories.list 或 repositories.create;另一个组织的库或不存在的库一律 404,不区分两者。
5050
+ */
5051
+ export declare const registryRepositoriesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesRetrieveData, ThrowOnError>) => RequestResult<RegistryRepositoriesRetrieveResponses, RegistryRepositoriesRetrieveErrors, ThrowOnError>;
5052
+ /**
5053
+ * Update repository
5054
+ *
5055
+ * 改库的 display_name 或 description。只送要改的字段,省略的保持原值;name 建库之后不能改,它标识库。一个字段都不送会 400。
5056
+ */
5057
+ export declare const registryRepositoriesUpdate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesUpdateData, ThrowOnError>) => RequestResult<RegistryRepositoriesUpdateResponses, RegistryRepositoriesUpdateErrors, ThrowOnError>;
5058
+ /**
5059
+ * List packages
5060
+ *
5061
+ * 列出一个库里的包,可按种类筛、按名字搜、按最近更新或下载量排序。kind=skill 只看技能,kind=plugin 只看插件,省略则两类都返回。q 在 name、title 和 description 上做子串匹配。sort 默认 updated;downloads 按累计下载量降序,用来找这个库最常用的资源。
5062
+ */
5063
+ export declare const registryRepositoriesPackagesList: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesPackagesListData, ThrowOnError>) => RequestResult<RegistryRepositoriesPackagesListResponses, RegistryRepositoriesPackagesListErrors, ThrowOnError>;
5064
+ /**
5065
+ * Create a package
5066
+ *
5067
+ * 在一个库里建新包,按库的 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 发布。
5068
+ */
5069
+ export declare const registryRepositoriesPackagesCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryRepositoriesPackagesCreateData, ThrowOnError>) => RequestResult<RegistryRepositoriesPackagesCreateResponses, RegistryRepositoriesPackagesCreateErrors, ThrowOnError>;
5070
+ /**
5071
+ * Retrieve package
5072
+ *
5073
+ * 读一个包的元数据:种类、所属库、当前 latest_version、作者、标签和累计下载量。package_id 来自 packages.list 或 packages.create;另一个组织或不存在都返回 404。软删期间这个包一律 404,恢复后才重新出现。
5074
+ */
5075
+ export declare const registryPackagesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesRetrieveData, ThrowOnError>) => RequestResult<RegistryPackagesRetrieveResponses, RegistryPackagesRetrieveErrors, ThrowOnError>;
5076
+ /**
5077
+ * List versions
5078
+ *
5079
+ * 列出一个包的所有版本,含已撤回的。撤回的版本仍在列表里(它占着版本号),withdrawn 为 true,并带 withdraw_time。按发布顺序返回。
5080
+ */
5081
+ export declare const registryPackagesVersionsList: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsListData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsListResponses, RegistryPackagesVersionsListErrors, ThrowOnError>;
5082
+ /**
5083
+ * Publish a version
5084
+ *
5085
+ * 给一个已有的包发新版本。请求体与 packages.create 相同(multipart:version 必填,archive 或 files 给内容),但种类和名字沿用这个包,不再从上传内容重判。version 必须比已发布的最高版本高(撤回的版本也占号,不能复用);比它低或相等返回 FAILED_PRECONDITION。title、description、tags 不填就沿用这个包现在显示的,不会被新版本里 SKILL.md 或 plugin.json 的描述覆盖;要改就在这次请求里给。作者不随新版本改变。
5086
+ */
5087
+ export declare const registryPackagesVersionsCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsCreateData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsCreateResponses, RegistryPackagesVersionsCreateErrors, ThrowOnError>;
5088
+ /**
5089
+ * Create a git credential
5090
+ *
5091
+ * 给一个 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 可以多次取,每次是一个新凭据,互不影响。
5092
+ */
5093
+ export declare const registryPackagesGitCredentialCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesGitCredentialCreateData, ThrowOnError>) => RequestResult<RegistryPackagesGitCredentialCreateResponses, RegistryPackagesGitCredentialCreateErrors, ThrowOnError>;
5094
+ /**
5095
+ * List commits
5096
+ *
5097
+ * 列出一个 git 包的提交历史,最新的在前。ref 不给就是包的默认分支;limit 与 offset 分页,has_more 为 true 表示还有下一页。只读:提交只能通过 git 协议推送(clone 地址在包的 clone_url)。OCI 包没有 git 读接口,返回 404。
5098
+ */
5099
+ export declare const registryGitLog: <ThrowOnError extends boolean = false>(options: Options<RegistryGitLogData, ThrowOnError>) => RequestResult<RegistryGitLogResponses, RegistryGitLogErrors, ThrowOnError>;
5100
+ /**
5101
+ * Read a commit
5102
+ *
5103
+ * 按对象 id 读一个提交(完整 sha,不解析缩写)。返回提交信息、作者、提交时间与父提交;changed_files=true 时再返回它相对第一个父提交改了哪些文件(根提交的全部文件算新增),文件列表被上限截断时 changed_files_truncated 为 true。仓库里没有这个对象返回 404。
5104
+ */
5105
+ export declare const registryGitCommitsRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitCommitsRetrieveData, ThrowOnError>) => RequestResult<RegistryGitCommitsRetrieveResponses, RegistryGitCommitsRetrieveErrors, ThrowOnError>;
5106
+ /**
5107
+ * List a tree
5108
+ *
5109
+ * 读一个树对象(或一个提交的根树)的条目:名字、类型(blob / tree / commit)、模式、对象 id,以及已知时的大小。只列这一层,不递归。
5110
+ */
5111
+ export declare const registryGitTreesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitTreesRetrieveData, ThrowOnError>) => RequestResult<RegistryGitTreesRetrieveResponses, RegistryGitTreesRetrieveErrors, ThrowOnError>;
5112
+ /**
5113
+ * List branches and tags
5114
+ *
5115
+ * 列出一个 git 包的分支和标签,按名字排序;prefix 只取 refs/heads/(分支)或 refs/tags/(标签),不给就两者都列。page 从 1 起,size 1 到 500,默认 100;has_more 为 true 表示还有下一页。带注解的标签返回它指向的提交 id,不是标签对象的 id。想把一个名字换成提交 id 用 git/resolve,不要自己在这个列表里找。只读;OCI 包返回 404。
5116
+ */
5117
+ export declare const registryGitRefs: <ThrowOnError extends boolean = false>(options: Options<RegistryGitRefsData, ThrowOnError>) => RequestResult<RegistryGitRefsResponses, RegistryGitRefsErrors, ThrowOnError>;
5118
+ /**
5119
+ * Resolve a ref
5120
+ *
5121
+ * 把一个引用换成它指向的提交 id:ref 可以是分支名、标签名、refs/… 全名、HEAD 或完整对象 id(40 或 64 位十六进制,缩写不解析)。名字既是标签又是分支时取标签。完整对象 id 只在仓库里真有这个提交时才返回。仓库没有这个引用或提交返回 404(GIT_OBJECT_NOT_FOUND),不会返回空值。要比较两个引用用 git/compare。
5122
+ */
5123
+ export declare const registryGitResolve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitResolveData, ThrowOnError>) => RequestResult<RegistryGitResolveResponses, RegistryGitResolveErrors, ThrowOnError>;
5124
+ /**
5125
+ * Compare two refs
5126
+ *
5127
+ * 比较 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。只读。
5128
+ */
5129
+ export declare const registryGitCompare: <ThrowOnError extends boolean = false>(options: Options<RegistryGitCompareData, ThrowOnError>) => RequestResult<RegistryGitCompareResponses, RegistryGitCompareErrors, ThrowOnError>;
5130
+ /**
5131
+ * List a tree recursively
5132
+ *
5133
+ * 读一个提交(或树对象)下的全部条目,递归,每个条目用相对根的完整路径命名,目录和子模块也是条目(子模块不展开)。适合要拿到整个仓库文件清单的场景(例如 DevOps 的构建判断);只想看一个目录用 git/trees/{sha}。相同的子树只读一次。条目上限 20000、树读取上限 1000 次,撞到上限时 truncated 为 true、entries 只是前一部分,不要当作全部。sha 通常来自 git/resolve。仓库里没有这个对象返回 404。只读。
5134
+ */
5135
+ export declare const registryGitTreesRecursive: <ThrowOnError extends boolean = false>(options: Options<RegistryGitTreesRecursiveData, ThrowOnError>) => RequestResult<RegistryGitTreesRecursiveResponses, RegistryGitTreesRecursiveErrors, ThrowOnError>;
5136
+ /**
5137
+ * Download a file from a ref
5138
+ *
5139
+ * 按引用读一个文件的原始字节,边读边发(流式),没有大小上限。path 是仓库内相对路径,可以含斜杠;ref 不给就是默认分支。路径不是文件或引用不存在返回 404。
5140
+ */
5141
+ export declare const registryGitFilesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryGitFilesRetrieveData, ThrowOnError>) => RequestResult<RegistryGitFilesRetrieveResponses, RegistryGitFilesRetrieveErrors, ThrowOnError>;
5142
+ /**
5143
+ * List version contents
5144
+ *
5145
+ * 列出一个版本解压后的文件清单(路径和大小),用来在不下载整个包的前提下看它包含什么。路径是相对包根的,例如 SKILL.md 或 plugin/skills/review.md。已撤回的版本仍可读清单。
5146
+ */
5147
+ export declare const registryPackagesVersionsContents: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsContentsData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsContentsResponses, RegistryPackagesVersionsContentsErrors, ThrowOnError>;
5148
+ /**
5149
+ * Download a file
5150
+ *
5151
+ * 下载一个版本里的单个文件,返回原始字节。path 是 contents 给出的路径,可以含斜杠(例如 plugin/skills/review.md)。用它按文件取内容,装到磁盘上时保留这个相对路径。不计入 downloads。
5152
+ */
5153
+ export declare const registryPackagesVersionsFilesRetrieve: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsFilesRetrieveData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsFilesRetrieveResponses, RegistryPackagesVersionsFilesRetrieveErrors, ThrowOnError>;
5154
+ /**
5155
+ * Download version archive
5156
+ *
5157
+ * 下载一个版本的完整 zip 归档,用来整包安装或转存。每次调用都计入这个包的 downloads,所以不要为了看内容而反复拉 archive——先读 contents,只取需要的文件用 files 下载。
5158
+ */
5159
+ export declare const registryPackagesVersionsArchive: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsArchiveData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsArchiveResponses, RegistryPackagesVersionsArchiveErrors, ThrowOnError>;
5160
+ /**
5161
+ * Withdraw a version
5162
+ *
5163
+ * 撤回一个版本。撤回后它不再是 latest、不能被新装;已经装好的照常可用。版本号仍被占着,不能再用它发新版本。已经撤回的版本再撤回会返回 FAILED_PRECONDITION。撤回是不可逆的:要重新提供这个版本,用更高的版本号重新发布。
5164
+ */
5165
+ export declare const registryPackagesVersionsWithdraw: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesVersionsWithdrawData, ThrowOnError>) => RequestResult<RegistryPackagesVersionsWithdrawResponses, RegistryPackagesVersionsWithdrawErrors, ThrowOnError>;
5166
+ /**
5167
+ * List installations
5168
+ *
5169
+ * 列出这个包装在哪些智能体和电脑上。每次读取都会和目标那边对账,以目标现在的实际情况为准,所以每条记录的 state 是读取这一刻的结论:installed 表示目标上有它且版本与记录一致;drifted 表示目标上有它但版本不同,此时 version 显示目标上的版本;missing 表示目标上已经没有它(被人在智能体或电脑那边删掉了),记录仍保留,可以用 installations.delete 清掉,或用 installations.update 重新装回;unknown 表示这次问不到目标,不代表没装,稍后重读。withdrawn 表示这条记录的版本已被撤回。一次返回全部记录,没有分页,按创建时间排序。
5170
+ */
5171
+ export declare const registryPackagesInstallationsList: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesInstallationsListData, ThrowOnError>) => RequestResult<RegistryPackagesInstallationsListResponses, RegistryPackagesInstallationsListErrors, ThrowOnError>;
5172
+ /**
5173
+ * Install a package
5174
+ *
5175
+ * 把一个包装到目标上:技能装到智能体(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 里。
5176
+ */
5177
+ export declare const registryPackagesInstallationsCreate: <ThrowOnError extends boolean = false>(options: Options<RegistryPackagesInstallationsCreateData, ThrowOnError>) => RequestResult<RegistryPackagesInstallationsCreateResponses, RegistryPackagesInstallationsCreateErrors, ThrowOnError>;
5178
+ /**
5179
+ * Update an installation
5180
+ *
5181
+ * 把一条安装记录换到另一个版本。技能可以换到任何未撤回的版本(升级或回退),version 省略时换到最新版;插件只能换到库里的最新版本,version 给了也必须等于最新版。撤回的版本不能换过去。对账为 missing 的记录用它可以重新装回去。同名冲突和 20 个技能上限的规则与安装时相同。
5182
+ */
5183
+ export declare const registryInstallationsUpdate: <ThrowOnError extends boolean = false>(options: Options<RegistryInstallationsUpdateData, ThrowOnError>) => RequestResult<RegistryInstallationsUpdateResponses, RegistryInstallationsUpdateErrors, ThrowOnError>;
5184
+ /**
5185
+ * Remove an installation
5186
+ *
5187
+ * 把包从目标上卸下来,并删掉这条安装记录:技能从智能体的技能列表里移除,插件从电脑上卸载。目标那边已经没有它时也算完成。包本身和它的版本不受影响,之后可以重新安装。记录删除后重发会 404,所以删除前先用 installations.list 确认。
5188
+ */
5189
+ export declare const registryInstallationsDelete: <ThrowOnError extends boolean = false>(options: Options<RegistryInstallationsDeleteData, ThrowOnError>) => RequestResult<RegistryInstallationsDeleteResponses, RegistryInstallationsDeleteErrors, ThrowOnError>;
4018
5190
  /**
4019
5191
  * List sandboxes (v2)
4020
5192
  *
@@ -4024,7 +5196,7 @@ export declare const getSandboxV1Sandboxes: <ThrowOnError extends boolean = fals
4024
5196
  /**
4025
5197
  * Create sandbox (v2)
4026
5198
  *
4027
- * 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.
5199
+ * 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.
4028
5200
  */
4029
5201
  export declare const postSandboxV1Sandboxes: <ThrowOnError extends boolean = false>(options: Options<PostSandboxV1SandboxesData, ThrowOnError>) => RequestResult<PostSandboxV1SandboxesResponses, PostSandboxV1SandboxesErrors, ThrowOnError>;
4030
5202
  /**
@@ -4210,7 +5382,7 @@ export declare const shareListPermissions: <ThrowOnError extends boolean = false
4210
5382
  /**
4211
5383
  * Create share
4212
5384
  *
4213
- * Make one file readable by anyone holding a link, before sending the link to a person or embedding it. Name the object as resource {type, id}, with the file id from the File API. 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). The link is anonymous and read-only. A type other than file answers 400 RESOURCE_TYPE_UNSUPPORTED, and a file that is missing or outside your organization answers 404 RESOURCE_NOT_FOUND.
5385
+ * 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.
4214
5386
  */
4215
5387
  export declare const shareCreatePermission: <ThrowOnError extends boolean = false>(options: Options<ShareCreatePermissionData, ThrowOnError>) => RequestResult<ShareCreatePermissionResponses, ShareCreatePermissionErrors, ThrowOnError>;
4216
5388
  /**
@@ -4684,7 +5856,7 @@ export declare const vaultListVaults: <ThrowOnError extends boolean = false>(opt
4684
5856
  /**
4685
5857
  * Create vault
4686
5858
  *
4687
- * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
5859
+ * Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. A session carries its agent's vaults (agent vault_ids, which a department or organization rule's grants also write) plus its own vault_ids, at most 50 together, and it matches their credentials against its MCP servers, so a stored static or oauth credential serves as vault-backed MCP authentication, and it exports their secrets to its machine as environment variables named after the secret, with real values (a service agent's session leaves out OAuth credentials and secrets that declare allowed_hosts; allowed_hosts does not limit what a command does with an exported value). Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.
4688
5860
  */
4689
5861
  export declare const vaultCreateVault: <ThrowOnError extends boolean = false>(options: Options<VaultCreateVaultData, ThrowOnError>) => RequestResult<VaultCreateVaultResponses, VaultCreateVaultErrors, ThrowOnError>;
4690
5862
  /**
@@ -4732,13 +5904,13 @@ export declare const vaultListSecrets: <ThrowOnError extends boolean = false>(op
4732
5904
  /**
4733
5905
  * Create secret
4734
5906
  *
4735
- * 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.
5907
+ * 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.
4736
5908
  */
4737
5909
  export declare const vaultCreateSecret: <ThrowOnError extends boolean = false>(options: Options<VaultCreateSecretData, ThrowOnError>) => RequestResult<VaultCreateSecretResponses, VaultCreateSecretErrors, ThrowOnError>;
4738
5910
  /**
4739
5911
  * Import secrets
4740
5912
  *
4741
- * 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.
5913
+ * 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.
4742
5914
  */
4743
5915
  export declare const vaultImportSecrets: <ThrowOnError extends boolean = false>(options: Options<VaultImportSecretsData, ThrowOnError>) => RequestResult<VaultImportSecretsResponses, VaultImportSecretsErrors, ThrowOnError>;
4744
5916
  /**
@@ -4786,7 +5958,7 @@ export declare const vaultListTemplates: <ThrowOnError extends boolean = false>(
4786
5958
  /**
4787
5959
  * Create authorization
4788
5960
  *
4789
- * 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.
5961
+ * 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.
4790
5962
  */
4791
5963
  export declare const vaultCreateAuthorization: <ThrowOnError extends boolean = false>(options: Options<VaultCreateAuthorizationData, ThrowOnError>) => RequestResult<VaultCreateAuthorizationResponses, VaultCreateAuthorizationErrors, ThrowOnError>;
4792
5964
  /**