API Reference
A complete index of every resource method, generated from the SDK. Each line shows the call signature; see the linked resource page for full descriptions.
Authentication
client.auth.create_key(*, name: str, scopes: Sequence[str], expires_in_days: int | None = None) -> ApiKeyCreateResponse
client.auth.delete_key(key_id: str) -> None
client.auth.list_app_sign_ins(*, limit: int | None = None) -> SyncPaginator[AppSignIn]
client.auth.list_keys(*, status: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ApiKey]
client.auth.remove_app_sign_in(install_id: str) -> None
client.auth.retrieve_key(key_id: str) -> ApiKey
client.auth.revoke_key(key_id: str) -> ApiKey
client.auth.rotate_key(key_id: str) -> ApiKeyRotateResponse
Apps
client.apps.add_domain(app_id: str, hostname: str) -> AppDomain
client.apps.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.apps.add_user(app_id: str, user_id: str) -> AppUser
client.apps.analytics(app_id: str, *, range: str | None = None) -> AppAnalytics
client.apps.analytics_users(app_id: str, *, range: str | None = None, q: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[AppUsageUser]
client.apps.build_log_download_link(app_id: str) -> DownloadLink
client.apps.build_logs(app_id: str, *, limit: int | None = None, level: str | None = None, since: str | None = None) -> AppBuildLogs
client.apps.build_status(app_id: str) -> AppBuild
client.apps.create(*, name: str, description: str | None = None, display_name: str | None = None, source_volume_id: str | None = None, source_folder: str | None = None, github_repo_url: str | None = None, github_branch: str | None = None, github_ssh_key_id: str | None = None, github_subdirectory: str | None = None, instances: int | None = None, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: str | None = None, gpu_type: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, environment_id: str | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None, ai_models: Sequence[str] | None = None, ml_models: Sequence[str] | None = None, workflows: Sequence[str] | None = None, feature_stores: Sequence[str] | None = None, agents: Sequence[str] | None = None, volumes: Sequence[str] | None = None, autoscaling: AppAutoscaling | Mapping[str, Any] | None = None, scale_to_zero: AppScaleToZero | Mapping[str, Any] | None = None, tags: Sequence[str] | None = None) -> App
client.apps.create_with_upload(file: str | Path | BinaryIO, *, name: str | None = None, description: str | None = None, environment_variables: Mapping[str, str] | None = None, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: str | None = None, gpu_type: str | None = None, instances: int | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, metadata: Mapping[str, Any] | None = None) -> App
client.apps.delete(app_id: str) -> None
client.apps.delete_agent_subject(app_id: str, subject_id: str) -> None
client.apps.delete_certificate(app_id: str, certificate_id: str) -> None
client.apps.delete_domain(app_id: str, domain_id: str) -> None
client.apps.delete_plan(app_id: str, plan_id: str) -> AppPaidAccess
client.apps.delete_user_account(app_id: str, user_id: str) -> None
client.apps.deploy(app_id: str) -> App
client.apps.deploy_upload(app_id: str, file: str | Path | BinaryIO, *, description: str | None = None) -> App
client.apps.deploy_version(app_id: str, version_id: str) -> AppVersion
client.apps.disconnect_mcp_connection(app_id: str, connection_id: str) -> None
client.apps.download_build_log(app_id: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.apps.get_certificate(app_id: str, certificate_id: str) -> AppCertificate
client.apps.get_domain(app_id: str, domain_id: str) -> AppDomain
client.apps.get_user(app_id: str, user_id: str) -> AppUser
client.apps.invite_user(app_id: str, email: str, *, name: str | None = None, role: str | None = None) -> AppInvitation
client.apps.list(*, status: str | None = None, environment_id: str | None = None, search: str | None = None, public_access: str | None = None, limit: int | None = None) -> SyncPaginator[AppSummary]
client.apps.list_certificates(app_id: str, *, limit: int | None = None) -> SyncPaginator[AppCertificate]
client.apps.list_domains(app_id: str, *, limit: int | None = None) -> SyncPaginator[AppDomain]
client.apps.list_invitations(app_id: str, *, status: str | None = None, limit: int | None = None) -> SyncPaginator[AppInvitation]
client.apps.list_mcp_connections(app_id: str, *, status: str | None = None, user_id: str | None = None, limit: int | None = None) -> SyncPaginator[McpConnection]
client.apps.list_users(app_id: str, *, type: str | None = None, status: str | None = None, q: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[AppUser]
client.apps.logs(app_id: str, *, lines: int | None = None, skip_newest: int | None = None, since: str | None = None, container: str | None = None) -> list[AppLogLine]
client.apps.metrics(app_id: str) -> AppMetrics
client.apps.minimum_size() -> AppMinimumSize
client.apps.native_sign_in(app_id: str) -> AppNativeSignIn
client.apps.paid_access(app_id: str) -> AppPaidAccess
client.apps.permissions(resource_id: str) -> Permissions
client.apps.platform_environment(app_id: str) -> PlatformEnvironment
client.apps.public_access(app_id: str) -> AppPublicAccess
client.apps.rebuild(app_id: str, *, bundle_source_type: str | None = None, bundle_source: Mapping[str, Any] | None = None) -> App
client.apps.refresh_domain(app_id: str, domain_id: str) -> AppDomain
client.apps.remote_mcp(app_id: str) -> AppRemoteMcp
client.apps.remove_member(resource_id: str, user_id: str) -> None
client.apps.remove_user(app_id: str, user_id: str) -> None
client.apps.replace_certificate(app_id: str, certificate_id: str, *, certificate: str, private_key: str, chain: str | None = None) -> AppCertificate
client.apps.resend_invitation(app_id: str, invitation_id: str) -> AppInvitation
client.apps.reset_user_password(app_id: str, user_id: str) -> AppUser
client.apps.restart(app_id: str) -> App
client.apps.retrieve(app_id: str) -> App
client.apps.retrieve_version(app_id: str, version_id: str) -> AppVersion
client.apps.revoke_invitation(app_id: str, invitation_id: str) -> None
client.apps.set_env(app_id: str, environment_variables: Mapping[str, str]) -> App
client.apps.set_plan(app_id: str, plan_id: str, *, name: str, kind: str, stripe_price_id: str, description: str | None = None, min_seats: int | None = None, trial_days: int | None = None) -> AppPaidAccess
client.apps.set_visibility(resource_id: str, visibility: str) -> Permissions
client.apps.start(app_id: str) -> App
client.apps.stats(*, status: str | None = None, environment_id: str | None = None, search: str | None = None, public_access: str | None = None) -> AppStats
client.apps.status(app_id: str) -> AppStatus
client.apps.stop(app_id: str) -> App
client.apps.subscriptions(app_id: str, *, status: str | None = None, q: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[AppSubscription]
client.apps.time_series(app_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> ResourceUsageSeries
client.apps.update(app_id: str, *, name: str | None = None, description: str | None = None, display_name: str | None = None, instances: int | None = None, cpu: str | None = None, memory: str | None = None, disk: str | Literal[False] | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, environment_id: str | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None, ai_models: Sequence[str] | None = None, ml_models: Sequence[str] | None = None, workflows: Sequence[str] | None = None, feature_stores: Sequence[str] | None = None, agents: Sequence[str] | None = None, volumes: Sequence[str] | None = None, autoscaling: AppAutoscaling | Mapping[str, Any] | Literal[False] | None = None, scale_to_zero: AppScaleToZero | Mapping[str, Any] | Literal[False] | None = None, tags: Sequence[str] | None = None) -> App
client.apps.update_auth(app_id: str, *, enabled: bool | None = None, slug: str | None = None, signup_enabled: bool | None = None, access: str | None = None, allowed_domains: Sequence[str] | None = None, logo: str | None = None, primary_color: str | None = None, button_text_color: str | None = None, background_color: str | None = None, heading_font: str | None = None) -> AppAuthSettings
client.apps.update_domain(app_id: str, domain_id: str, *, certificate_source: str, certificate_id: str | None = None) -> AppDomain
client.apps.update_native_sign_in(app_id: str, *, enabled: bool | None = None, ios_bundle_ids: Sequence[str] | None = None) -> AppNativeSignIn
client.apps.update_paid_access(app_id: str, *, stripe_secret_key: str | None = None, stripe_webhook_secret: str | None = None, enabled: bool | None = None, grace_days: int | None = None) -> AppPaidAccess
client.apps.update_public_access(app_id: str, *, enabled: bool | None = None, risk_acknowledged: bool | None = None, slug: str | None = None, max_request_bytes: int | None = None, paths: Sequence[str] | None = None) -> AppPublicAccess
client.apps.update_remote_mcp(app_id: str, *, enabled: bool | None = None, path: str | None = None, scopes: Sequence[Mapping[str, str]] | None = None, redirect_hosts: Sequence[str] | None = None, loopback_redirects: bool | None = None) -> AppRemoteMcp
client.apps.update_user(app_id: str, user_id: str, *, active: bool | None = None, free_access: bool | None = None, role: str | None = None) -> AppUser
client.apps.upload_certificate(app_id: str, *, certificate: str, private_key: str, domain_ids: Sequence[str], chain: str | None = None) -> AppCertificate
client.apps.versions(app_id: str, *, limit: int | None = None) -> SyncPaginator[AppVersion]
Add-ons
client.addons.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.addons.backup(addon_id: str) -> AddonBackup
client.addons.connect_app(addon_id: str, app_id: str) -> Addon
client.addons.create(*, label: str, type: str, cpu: str, memory: str, disk: str, description: str | None = None, version: str | None = None, gpu: str | None = None, gpu_type: str | None = None, deployment_mode: str | None = None, cluster_config: Mapping[str, Any] | None = None, backup_config: Mapping[str, Any] | None = None) -> Addon
client.addons.credentials(addon_id: str) -> AddonCredentials
client.addons.delete(addon_id: str) -> None
client.addons.disconnect_app(addon_id: str, app_id: str) -> None
client.addons.get_backup(addon_id: str, backup_id: str) -> AddonBackup
client.addons.get_backup_config(addon_id: str) -> AddonBackupConfig
client.addons.get_restore(addon_id: str, restore_id: str) -> AddonRestore
client.addons.list(*, search: str | None = None, type: str | None = None, status: str | None = None, limit: int | None = None) -> SyncPaginator[AddonSummary]
client.addons.list_backups(addon_id: str, *, limit: int | None = None) -> SyncPaginator[AddonBackup]
client.addons.list_restores(addon_id: str, *, limit: int | None = None) -> SyncPaginator[AddonRestore]
client.addons.list_types() -> list[AddonType]
client.addons.logs(addon_id: str, *, lines: int | None = None, since: str | None = None, container: str | None = None) -> list[AddonLogEntry]
client.addons.metrics(addon_id: str) -> AddonMetrics
client.addons.permissions(resource_id: str) -> Permissions
client.addons.recover(addon_id: str) -> Addon
client.addons.remove_member(resource_id: str, user_id: str) -> None
client.addons.restart(addon_id: str) -> Addon
client.addons.restore(addon_id: str, backup_id: str) -> AddonRestore
client.addons.retrieve(addon_id: str) -> Addon
client.addons.schedule(addon_id: str) -> AddonSchedule
client.addons.set_visibility(resource_id: str, visibility: str) -> Permissions
client.addons.sizing() -> list[AddonNodeSize]
client.addons.start(addon_id: str) -> Addon
client.addons.stats(*, search: str | None = None, type: str | None = None, status: str | None = None) -> AddonStats
client.addons.status(addon_id: str) -> AddonLiveStatus
client.addons.stop(addon_id: str) -> Addon
client.addons.time_series(addon_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> ResourceUsageSeries
client.addons.update(addon_id: str, *, label: str | None = None, description: str | None = None, cpu: str | None = None, memory: str | None = None, disk: str | None = None) -> Addon
client.addons.update_backup_config(addon_id: str, *, enabled: bool, schedule: str, retention: int) -> AddonBackupConfig
client.addons.update_schedule(addon_id: str, *, enabled: bool, timezone: str, start_time: str, stop_time: str, days_of_week: Sequence[int], skip_holidays: bool | None = None, holiday_calendar: str | None = None) -> AddonSchedule
Data Sources
client.datasources.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.datasources.create(*, name: str, label: str, type: str, credentials: Mapping[str, Any], description: str | None = None) -> DataSource
client.datasources.credentials(datasource_id: str) -> DataSourceCredentials
client.datasources.delete(datasource_id: str) -> None
client.datasources.list(*, search: str | None = None, type: str | None = None, category: str | None = None, status: str | None = None, limit: int | None = None) -> SyncPaginator[DataSourceSummary]
client.datasources.list_objects(datasource_id: str, *, bucket: str | None = None, prefix: str | None = None) -> BucketListing
client.datasources.metadata(datasource_id: str) -> DataSourceMetadata
client.datasources.permissions(resource_id: str) -> Permissions
client.datasources.remove_member(resource_id: str, user_id: str) -> None
client.datasources.retrieve(datasource_id: str) -> DataSource
client.datasources.set_visibility(resource_id: str, visibility: str) -> Permissions
client.datasources.stats(*, search: str | None = None, type: str | None = None, category: str | None = None, status: str | None = None) -> DataSourceStats
client.datasources.status(datasource_id: str) -> DataSourceStatus
client.datasources.table_columns(datasource_id: str, table: str, *, schema: str | None = None) -> TableDetails
client.datasources.test_connection(datasource_id: str) -> ConnectionTest
client.datasources.time_series(data_source_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> DataSourceLaunchesSeries
client.datasources.update(datasource_id: str, *, name: str | None = None, label: str | None = None, description: str | None = None, credentials: Mapping[str, Any] | None = None) -> DataSource
Projects
client.projects.add_collaborator(project_id: str, *, email: str, role: str, user_id: str | None = None) -> AddedCollaborator
client.projects.archive(project_id: str) -> Project
client.projects.collaborator_removal_impact(project_id: str, user_id: str) -> CollaboratorRemovalImpact
client.projects.counts(*, status: str | None = None, category: str | None = None, search: str | None = None) -> ProjectListCounts
client.projects.create(*, name: str, description: str, filesystem_type: str | None = None, github_config: Mapping[str, str] | None = None, tags: Sequence[str] | None = None) -> Project
client.projects.delete(project_id: str, *, volume: Literal['delete', 'keep']) -> None
client.projects.deletion_impact(project_id: str) -> DeletionImpact
client.projects.list(*, search: str | None = None, status: str | None = None, category: str | None = None, tag: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ProjectSummary]
client.projects.list_activity(project_id: str, *, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ProjectActivity]
client.projects.list_collaborators(project_id: str, *, limit: int | None = None) -> SyncPaginator[ProjectCollaborator]
client.projects.list_volumes(project_id: str, *, limit: int | None = None) -> SyncPaginator[Volume]
client.projects.list_workspaces(project_id: str, *, sort: str | None = None, limit: int | None = None) -> SyncPaginator[WorkspaceSummary]
client.projects.remove_collaborator(project_id: str, user_id: str) -> None
client.projects.retrieve(project_id: str) -> Project
client.projects.set_visibility(project_id: str, *, is_public: bool) -> Project
client.projects.stats(project_id: str) -> ProjectStats
client.projects.transfer_ownership(project_id: str, *, new_owner_id: str) -> Project
client.projects.update(project_id: str, *, name: str | None = None, description: str | None = None, icon: str | None = None, category: str | None = None, tags: Sequence[str] | None = None, readme: str | None = None) -> Project
client.projects.update_collaborator(project_id: str, user_id: str, *, role: str) -> ProjectCollaborator
Project Boards
client.project_boards.add_card(project_id: str, *, column_id: str, title: str, description: str | None = None) -> BoardCard
client.project_boards.add_column(project_id: str, *, name: str) -> BoardColumnEntry
client.project_boards.archive_card(card_id: str) -> BoardCard
client.project_boards.delete_column(project_id: str, column_id: str) -> BoardColumnRemoval
client.project_boards.delete_label(project_id: str, label_id: str) -> None
client.project_boards.list_archived_cards(project_id: str, *, search: str | None = None, limit: int | None = None) -> SyncPaginator[ArchivedCard]
client.project_boards.list_members(project_id: str, *, limit: int | None = None) -> SyncPaginator[BoardMember]
client.project_boards.move_card(card_id: str, *, to_column_id: str, prev_card_id: str | None = None, next_card_id: str | None = None) -> BoardCard
client.project_boards.reorder_columns(project_id: str, *, column_ids: Sequence[str]) -> list[BoardColumnEntry]
client.project_boards.restore_card(card_id: str, *, to_column_id: str) -> BoardCard
client.project_boards.retrieve(project_id: str) -> Board
client.project_boards.update_card(card_id: str, *, title: str | None = None, description: str | None = None, label_ids: Sequence[str] | None = None, assignee_ids: Sequence[str] | None = None, due_date: datetime | str | None = None, clear_due_date: bool | None = None, due_complete: bool | None = None) -> BoardCard
client.project_boards.update_column(project_id: str, column_id: str, *, name: str) -> BoardColumnEntry
client.project_boards.upsert_label(project_id: str, *, name: str, color: str, label_id: str | None = None) -> BoardLabel
Jobs
client.jobs.cancel_execution(job_id: str, execution_id: str) -> JobExecution
client.jobs.create(*, project_id: str, name: str, command: str, workspace_volume_size: str, use_spot: bool | None = None, spot_fallback: bool | None = None, retries: int | None = None, retry_delay_seconds: int | None = None, addons: Sequence[str], data_sources: Sequence[str], ai_models: Sequence[str], workflows: Sequence[str], ml_models: Sequence[str], feature_stores: Sequence[str], agents: Sequence[str], description: str | None = None, environment_id: str | None = None, environment_version: int | None = None, resources: Mapping[str, Any] | None = None, env_vars: Mapping[str, str] | None = None, schedule: Mapping[str, Any] | None = None, shared_volume_ids: Sequence[str] | None = None) -> Job
client.jobs.delete(job_id: str) -> None
client.jobs.download_execution_log(job_id: str, execution_id: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.jobs.execution_log_download_link(job_id: str, execution_id: str) -> DownloadLink
client.jobs.execution_log_url(job_id: str, execution_id: str) -> str
client.jobs.execution_pod(job_id: str, execution_id: str) -> WorkerStatus
client.jobs.list(*, project_id: str | None = None, status: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[JobSummary]
client.jobs.list_executions(job_id: str, *, limit: int | None = None) -> SyncPaginator[JobExecutionSummary]
client.jobs.pause(job_id: str) -> Job
client.jobs.resume(job_id: str) -> Job
client.jobs.retrieve(job_id: str) -> Job
client.jobs.retrieve_execution(job_id: str, execution_id: str) -> JobExecution
client.jobs.run(job_id: str) -> JobExecution
client.jobs.update(job_id: str, *, name: str | None = None, description: str | None = None, command: str | None = None, environment_id: str | None = None, environment_version: int | None = None, resources: Mapping[str, Any] | None = None, workspace_volume_size: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, retries: int | None = None, retry_delay_seconds: int | None = None, env_vars: Mapping[str, str] | None = None, schedule: Mapping[str, Any] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None, ai_models: Sequence[str] | None = None, workflows: Sequence[str] | None = None, ml_models: Sequence[str] | None = None, feature_stores: Sequence[str] | None = None, agents: Sequence[str] | None = None, shared_volume_ids: Sequence[str] | None = None) -> Job
Workspaces
client.workspaces.abort_sync(workspace_id: str, *, volume_id: str) -> WorkspaceMerges
client.workspaces.add_port(workspace_id: str, port: int, *, label: str | None = None) -> ExposedPort
client.workspaces.cancel_sync(workspace_id: str, sync_id: str) -> WorkspaceSync
client.workspaces.create(*, name: str, description: str, environment_type: str, environment_id: str | None = None, environment_version: int | None = None, custom_resources: Mapping[str, Any] | None = None, workspace_volume_size: str | None = None, project_id: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None, ai_gateways: Sequence[str] | None = None, workflows: Sequence[str] | None = None, skill_ids: Sequence[str] | None = None, shared_volume_ids: Sequence[str] | None = None, coding_assistants: Sequence[str] | None = None, assistant_model_id: str | None = None, code_session_enabled: bool | None = None, custom_port: int | None = None, proxy_headers: Sequence[Mapping[str, str]] | None = None, cluster: Mapping[str, Any] | None = None) -> Workspace
client.workspaces.delete(workspace_id: str) -> None
client.workspaces.deletion_impact(workspace_id: str) -> DeletionImpact
client.workspaces.execute(workspace_id: str, command: str, *, cwd: str | None = None, idempotency_key: str | None = None) -> CommandResult
client.workspaces.list(*, search: str | None = None, status: str | None = None, project_id: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[WorkspaceSummary]
client.workspaces.logs(workspace_id: str, *, type: str | None = None) -> list[WorkspaceLogEntry]
client.workspaces.metrics(workspace_id: str) -> WorkspaceMetrics
client.workspaces.minimum_size() -> WorkspaceMinimumSize
client.workspaces.planned_volumes(*, project_id: str, shared_volume_ids: Sequence[str] | None = None) -> PlannedVolumes
client.workspaces.platform_environment(workspace_id: str) -> PlatformEnvironment
client.workspaces.pod(workspace_id: str) -> WorkerStatus
client.workspaces.remove_port(workspace_id: str, port: int) -> None
client.workspaces.resolve_sync_conflict(workspace_id: str, *, volume_id: str, path: str, take: str) -> WorkspaceMerges
client.workspaces.restart(workspace_id: str) -> Workspace
client.workspaces.retrieve(workspace_id: str) -> Workspace
client.workspaces.retrieve_execution(workspace_id: str, execution_id: str, *, cursor: str | None = None) -> WorkspaceExecution
client.workspaces.retrieve_sync(workspace_id: str, sync_id: str) -> WorkspaceSync
client.workspaces.start(workspace_id: str) -> Workspace
client.workspaces.start_execution(workspace_id: str, command: str, *, cwd: str | None = None, idempotency_key: str | None = None) -> WorkspaceExecution
client.workspaces.stats(*, search: str | None = None, status: str | None = None, project_id: str | None = None) -> WorkspaceStats
client.workspaces.status(workspace_id: str) -> WorkspaceStatus
client.workspaces.stop(workspace_id: str) -> Workspace
client.workspaces.sync(workspace_id: str) -> WorkspaceSync
client.workspaces.sync_conflicts(workspace_id: str) -> WorkspaceMerges
client.workspaces.time_series(workspace_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> ResourceUsageSeries
client.workspaces.update(workspace_id: str, *, name: str | None = None, description: str | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None, ai_gateways: Sequence[str] | None = None, workflows: Sequence[str] | None = None, shared_volume_ids: Sequence[str] | None = None, coding_assistants: Sequence[str] | None = None, skill_ids: Sequence[str] | None = None, assistant_model_id: str | None = None) -> Workspace
client.workspaces.volumes(workspace_id: str, *, group: str, q: str | None = None, sort: str | None = None) -> SyncPaginator[WorkspaceMount]
client.workspaces.wait_for_execution(workspace_id: str, execution: WorkspaceExecution | str, *, poll_interval: float = 2.0) -> CommandResult
Volumes
client.volumes.code_diff(volume_id: str, *, head: str, base: str | None = None, path: str | None = None) -> CodeDiff
client.volumes.create(*, name: str, filesystem_type: str | None = None, repo_url: str | None = None, branch: str | None = None, ssh_key_id: str | None = None, scope: str | None = None, project_id: str | None = None, description: str | None = None) -> CreatedVolume
client.volumes.create_code_branch(volume_id: str, name: str, *, from_ref: str | None = None) -> CodeBranchCreated
client.volumes.delete(volume_id: str) -> None
client.volumes.delete_code_file(volume_id: str, path: str, *, branch: str | None = None, message: str | None = None) -> CodeCommitResult
client.volumes.delete_data_file(volume_id: str, path: str, *, message: str | None = None) -> DataFileWrite
client.volumes.delete_data_folder(volume_id: str, path: str, *, message: str | None = None) -> DataFolderDelete
client.volumes.deletion_impact(volume_id: str) -> DeletionImpact
client.volumes.download_data(volume_id: str, dest: str) -> int
client.volumes.download_file(volume_id: str, path: str, local_path: str | None = None, *, version: int | None = None) -> str
client.volumes.list(*, scope: str | None = None, project_id: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[Volume]
client.volumes.list_available_shared(*, project_id: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[AvailableSharedVolume]
client.volumes.list_code_branches(volume_id: str) -> CodeBranches
client.volumes.list_code_commits(volume_id: str, *, ref: str, path: str | None = None, limit: int | None = None) -> SyncPaginator[CodeCommit]
client.volumes.list_code_files(volume_id: str, *, ref: str | None = None, path: str | None = None) -> CodeTree
client.volumes.list_data_file_versions(volume_id: str, path: str, *, limit: int | None = None) -> SyncPaginator[DataFileVersion]
client.volumes.list_data_files(volume_id: str, *, limit: int | None = None) -> SyncPaginator[DataFile]
client.volumes.read_code_file(volume_id: str, path: str, *, ref: str) -> CodeFile
client.volumes.read_data_file(volume_id: str, path: str, *, version: int | None = None) -> bytes
client.volumes.read_data_text(volume_id: str, path: str, *, version: int | None = None, encoding: str = "utf-8") -> str
client.volumes.retrieve(volume_id: str) -> Volume
client.volumes.upload_data(volume_id: str, src: str, *, message: str | None = None) -> int
client.volumes.upload_file(volume_id: str, local_path: str, path: str | None = None, message: str | None = None) -> DataFileUpload
client.volumes.write_code_file(volume_id: str, path: str, *, content: str, branch: str | None = None, message: str | None = None) -> CodeCommitResult
client.volumes.write_data_file(volume_id: str, path: str, data: str | bytes, *, message: str | None = None) -> DataFileWrite
Compute
client.compute.delete_pre_warmed(workload_type: str) -> None
client.compute.list_gpu_options() -> list[GpuOption]
client.compute.list_pools() -> list[ComputePool]
client.compute.list_pre_warmed() -> dict[str, PreWarmedPool]
client.compute.set_pre_warmed(workload_type: str, *, enabled: bool, count: int, instance_category: str, instance_size: str) -> PreWarmedPool
Environments
client.environments.base_image_status() -> BaseImageStatuses
client.environments.create(*, name: str, description: str | None = None, vcpu: int | None = None, memory_gb: float | None = None, storage_gb: float | None = None, gpu_count: int | None = None, gpu_type: str | None = None, is_public: bool | None = None, base_image: str | None = None, dockerfile: str | None = None) -> Environment
client.environments.delete(environment_id: str) -> None
client.environments.list(*, enabled_only: bool | None = None, include_usage: bool | None = None) -> SyncPaginator[Environment]
client.environments.rebuild(environment_id: str) -> EnvironmentRebuild
client.environments.retrieve(environment_id: str) -> Environment
client.environments.update(environment_id: str, *, name: str | None = None, description: str | None = None, vcpu: int | None = None, memory_gb: float | None = None, storage_gb: float | None = None, gpu_count: int | None = None, gpu_type: str | None = None, is_public: bool | None = None, base_image: str | None = None, dockerfile: str | None = None, enabled: bool | None = None) -> Environment
Workflows
client.workflows.add_connection(workflow_id: str, *, source_node_id: str, target_node_id: str, source_port: str | None = None, target_port: str | None = None, feedback: bool | None = None, max_iterations: int | None = None) -> WorkflowConnection
client.workflows.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.workflows.add_node(workflow_id: str, *, node_type: str, label: str | None = None, config: Mapping[str, Any] | None = None, position: Mapping[str, Any] | None = None, node_version: str | None = None) -> WorkflowGraphNode
client.workflows.arrange(workflow_id: str) -> WorkflowArrangement
client.workflows.build(*, name: str, nodes: Sequence[Mapping[str, Any]], connections: Sequence[Mapping[str, Any]] | None = None, workflow_type: str | None = None, description: str | None = None) -> Workflow
client.workflows.check_import(*, export_data: Mapping[str, Any]) -> WorkflowImportCheck
client.workflows.create(*, name: str, description: str | None = None, status: str | None = None, workflow_type: str | None = None, tags: Sequence[str] | None = None, nodes: Sequence[Mapping[str, Any]] | None = None, connections: Sequence[Mapping[str, Any]] | None = None, settings: Mapping[str, Any] | None = None, environment_variables: Mapping[str, str] | None = None) -> Workflow
client.workflows.create_alert_rule(*, name: str, condition: str, channels: Sequence[Mapping[str, Any]], workflow_id: str | None = None, condition_config: Mapping[str, Any] | None = None, throttle: Mapping[str, Any] | None = None, is_enabled: bool | None = None, description: str | None = None) -> WorkflowAlertRule
client.workflows.create_version(workflow_id: str, *, message: str, description: str | None = None, type: str | None = None, tag: str | None = None) -> WorkflowVersion
client.workflows.delete(workflow_id: str) -> None
client.workflows.delete_alert_rule(rule_id: str) -> None
client.workflows.delete_connection(workflow_id: str, connection_id: str) -> None
client.workflows.delete_node(workflow_id: str, node_id: str) -> None
client.workflows.delete_secret(workflow_id: str, name: str) -> WorkflowSecretRemoval
client.workflows.dependency_access(workflow_id: str, *, for_: str) -> WorkflowDependencyAccess
client.workflows.deploy(workflow_id: str, *, environment_id: str | None = None, environment_version: int | None = None, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: str | None = None, gpu_type: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, force_redeploy: bool | None = None, autoscaling: WorkflowAutoscaling | Mapping[str, Any] | Literal[False] | None = None) -> Workflow
client.workflows.deploy_version(workflow_id: str, version_id: str, *, environment_id: str | None = None, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: str | None = None, gpu_type: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, autoscaling: WorkflowAutoscaling | Mapping[str, Any] | Literal[False] | None = None) -> Workflow
client.workflows.discover(*, app_id: str, limit: int | None = None) -> SyncPaginator[WorkflowAppEntry]
client.workflows.duplicate(workflow_id: str) -> Workflow
client.workflows.emit_event(*, event_type: str, event_data: Mapping[str, Any] | None = None, source: str | None = None) -> WorkflowEventResult
client.workflows.execute(workflow_id: str, *, trigger_inputs: Mapping[str, Any] | None = None, secret_inputs: Mapping[str, str] | None = None, definition: Mapping[str, Any] | None = None, trigger_type: str | None = None, trigger_source: Mapping[str, Any] | None = None, parent_execution_id: str | None = None, idempotency_key: str | None = None) -> WorkflowRun
client.workflows.export(workflow_id: str) -> WorkflowExport
client.workflows.import_bundle(*, export_data: Mapping[str, Any], resolved_deps: Mapping[str, Any]) -> Workflow
client.workflows.lifecycle(workflow_id: str) -> WorkflowLifecycle
client.workflows.list(*, status: str | None = None, search: str | None = None, tag: str | None = None, limit: int | None = None) -> SyncPaginator[WorkflowSummary]
client.workflows.list_alert_rules(*, workflow_id: str | None = None, limit: int | None = None) -> SyncPaginator[WorkflowAlertRule]
client.workflows.list_alerts(*, workflow_id: str | None = None, rule_id: str | None = None, limit: int | None = None) -> SyncPaginator[WorkflowAlert]
client.workflows.list_nodes(workflow_id: str, *, limit: int | None = None) -> SyncPaginator[WorkflowNodeSummary]
client.workflows.list_secrets(workflow_id: str) -> SyncPaginator[WorkflowSecret]
client.workflows.logs(workflow_id: str, *, lines: int | None = None, container: str | None = None) -> WorkflowLogs
client.workflows.metrics(workflow_id: str, *, window: str | None = None) -> WorkflowMetrics
client.workflows.permissions(resource_id: str) -> Permissions
client.workflows.remove_member(resource_id: str, user_id: str) -> None
client.workflows.restore_version(workflow_id: str, version_id: str) -> WorkflowVersionRestore
client.workflows.retrieve(workflow_id: str) -> Workflow
client.workflows.retrieve_alert_rule(rule_id: str) -> WorkflowAlertRule
client.workflows.retrieve_version(workflow_id: str, version_id: str) -> WorkflowVersionDetail
client.workflows.set_secret(workflow_id: str, name: str, value: str) -> WorkflowSecret
client.workflows.set_visibility(resource_id: str, visibility: str) -> Permissions
client.workflows.start(workflow_id: str, *, replicas: int | None = None) -> Workflow
client.workflows.stats() -> WorkflowStats
client.workflows.status(workflow_id: str) -> WorkflowStatus
client.workflows.stop(workflow_id: str) -> Workflow
client.workflows.structure_check(workflow_id: str) -> WorkflowStructureCheck
client.workflows.time_series(workflow_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> WorkflowRunsSeries
client.workflows.undeploy(workflow_id: str) -> Workflow
client.workflows.update(workflow_id: str, *, name: str | None = None, description: str | None = None, status: str | None = None, tags: Sequence[str] | None = None, nodes: Sequence[Mapping[str, Any]] | None = None, connections: Sequence[Mapping[str, Any]] | None = None, settings: Mapping[str, Any] | None = None, deployment_environment_id: str | None = None, deployment_environment_version: int | None = None, max_concurrent_executions: int | None = None, environment_variables: Mapping[str, str | None] | None = None) -> Workflow
client.workflows.update_alert_rule(rule_id: str, *, name: str | None = None, condition: str | None = None, channels: Sequence[Mapping[str, Any]] | None = None, workflow_id: str | None = None, condition_config: Mapping[str, Any] | None = None, throttle: Mapping[str, Any] | None = None, is_enabled: bool | None = None, description: str | None = None) -> WorkflowAlertRule
client.workflows.update_lifecycle(workflow_id: str, *, type: str, idle_timeout_minutes: int | None = None, schedule: Mapping[str, Any] | None = None) -> WorkflowLifecycle
client.workflows.update_node(workflow_id: str, node_id: str, *, config: Mapping[str, Any] | None = None, label: str | None = None, node_version: str | None = None) -> WorkflowGraphNode
client.workflows.update_node_input_mappings(workflow_id: str, node_id: str, *, mappings: Mapping[str, Any]) -> WorkflowGraphNode
client.workflows.update_node_passthrough_values(workflow_id: str, node_id: str, *, values: Mapping[str, Any]) -> WorkflowGraphNode
client.workflows.validate(workflow_id: str) -> WorkflowValidation
client.workflows.versions(workflow_id: str, *, limit: int | None = None) -> SyncPaginator[WorkflowVersion]
Executions
client.executions.ai_usage(execution_id: str) -> ExecutionAiUsage
client.executions.cancel(execution_id: str) -> Execution
client.executions.discard_dead_letter(dead_letter_id: str, *, notes: str | None = None) -> DeadLetter
client.executions.list(*, workflow_id: str | None = None, search: str | None = None, status: str | None = None, since: str | None = None, until: str | None = None, trigger_type: str | None = None, limit: int | None = None) -> SyncPaginator[ExecutionSummary]
client.executions.list_dead_letters(*, workflow_id: str | None = None, status: str | None = None) -> SyncPaginator[DeadLetter]
client.executions.list_spans(execution_id: str, *, node_id: str | None = None, name: str | None = None, status: str | None = None, slim: bool | None = None, limit: int | None = None) -> SyncPaginator[ExecutionSpan]
client.executions.logs(execution_id: str, *, level: str | None = None, pod_name: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[ExecutionLog]
client.executions.notify_input_request(execution_id: str, request_id: str) -> HumanRequestNotified
client.executions.pending_inputs(execution_id: str) -> list[HumanRequest]
client.executions.progress(execution_id: str) -> ExecutionProgress
client.executions.resume(execution_id: str) -> Execution
client.executions.retrieve(execution_id: str) -> Execution
client.executions.retrieve_dead_letter(dead_letter_id: str) -> DeadLetter
client.executions.retry_dead_letter(dead_letter_id: str) -> DeadLetterRetry
client.executions.stats(workflow_id: str, *, search: str | None = None, status: str | None = None, since: str | None = None, until: str | None = None, trigger_type: str | None = None) -> ExecutionStats
client.executions.stop(execution_id: str) -> Execution
client.executions.submit_input(execution_id: str, *, request_id: str, data: Any) -> HumanRequestAnswer
Workflow Nodes
client.workflow_nodes.activate_tool(node_id: str, *, config: Mapping[str, Any] | None = None) -> WorkflowToolRegistration | WorkflowNode
client.workflow_nodes.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.workflow_nodes.create(*, label: str, category: str, type: str, function_definition: Mapping[str, Any], description: str | None = None, is_active: bool | None = None, input_definition: str | None = None, output_definition: str | None = None, editor_config: Mapping[str, Any] | None = None, default_data: Mapping[str, Any] | None = None, icon: str | None = None) -> WorkflowNode
client.workflow_nodes.datasource_fields(datasource_type: str) -> DataSourceFieldSpec
client.workflow_nodes.deactivate_tool(node_id: str) -> WorkflowToolRegistration | WorkflowNode
client.workflow_nodes.delete(node_id: str) -> None
client.workflow_nodes.duplicate(node_id: str) -> WorkflowNode
client.workflow_nodes.list(*, search: str | None = None, category: str | None = None, type: str | None = None, workflow_type: str | None = None, active: bool | None = None, is_system: bool | None = None, limit: int | None = None) -> SyncPaginator[WorkflowNode]
client.workflow_nodes.permissions(resource_id: str) -> Permissions
client.workflow_nodes.remove_member(resource_id: str, user_id: str) -> None
client.workflow_nodes.retrieve(node_id: str) -> WorkflowNode
client.workflow_nodes.schema(node_type: str, *, category: str | None = None) -> WorkflowNodeSchema
client.workflow_nodes.services_addons(*, type: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceAddon]
client.workflow_nodes.services_datasources(*, type: str | None = None, category: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceDataSource]
client.workflow_nodes.services_models(*, provider: str | None = None, type: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceModel]
client.workflow_nodes.set_tool_enabled(node_id: str, *, enabled: bool) -> WorkflowToolRegistration
client.workflow_nodes.set_visibility(resource_id: str, visibility: str) -> Permissions
client.workflow_nodes.suggest_mappings(*, source_type: str, target_type: str, source_category: str | None = None, target_category: str | None = None) -> MappingSuggestion
client.workflow_nodes.sync_from_s3() -> NodeCatalogSync
client.workflow_nodes.update(node_id: str, *, label: str | None = None, category: str | None = None, type: str | None = None, description: str | None = None, is_active: bool | None = None, input_definition: str | None = None, output_definition: str | None = None, editor_config: Mapping[str, Any] | None = None, default_data: Mapping[str, Any] | None = None, icon: str | None = None) -> WorkflowNode
AI Inference
client.ai.inference.cancel_generation(*, job_id: str) -> GenerationJob
client.ai.inference.chat_completion(*, model: str, messages: Sequence[dict[str, Any] | ChatMessage], stream: bool = False, max_tokens: int | None = None, temperature: float = 0.7, top_p: float = 1.0, stop: str | list[str] | None = None, **kwargs) -> ChatCompletion | Iterator[StreamChunk]
client.ai.inference.completion(*, model: str, prompt: str, stream: bool = False, max_tokens: int | None = None, temperature: float = 0.7, **kwargs) -> Completion | Iterator[StreamChunk]
client.ai.inference.count_tokens(*, model: str, prompt: str) -> TokenCount
client.ai.inference.embedding(*, model: str, input: str | list[str], **kwargs) -> EmbeddingResponse
client.ai.inference.generate(*, model: str, prompt: str, type: Literal['image', 'video', 'music'], parameters: Mapping[str, Any] | None = None) -> GenerationJob
client.ai.inference.generation_status(*, job_id: str) -> GenerationJob
client.ai.inference.image_generation(*, model: str, prompt: str, n: int = 1, size: str = "1024x1024", quality: str = "standard", response_format: str = "url", **kwargs) -> ImageGenerationResponse
client.ai.inference.list_speech_voices() -> list[SpeechVoice]
client.ai.inference.moderation(*, model: str, input: str | list[str], **kwargs) -> ModerationResponse
client.ai.inference.music_generation(*, model: str, prompt: str, duration: int = 30, **kwargs) -> GenerationJob
client.ai.inference.ocr(*, model: str, document: Mapping[str, Any], **options) -> OcrResponse
client.ai.inference.rerank(*, model: str, query: str, documents: list[str | dict[str, Any]], top_n: int | None = None, return_documents: bool = True, **kwargs) -> RerankResponse
client.ai.inference.speech(*, model: str, input: str, voice: str = "alloy", response_format: str = "mp3", speed: float = 1.0, **kwargs) -> SpeechResponse
client.ai.inference.speech_to_speech(*, model: str, file: Any, voice: str, output_format: str, filename: str = "audio.wav", content_type: str = "audio/wav", voice_settings: Mapping[str, Any] | None = None, seed: int | None = None, remove_background_noise: bool = False, file_format: Literal['pcm_s16le_16', 'other'] | None = None) -> SpeechResponse
client.ai.inference.transcription(*, model: str, file: Any, filename: str = "audio.mp3", language: str | None = None, prompt: str | None = None, response_format: str = "json", temperature: float = 0.0, **kwargs) -> TranscriptionResponse
client.ai.inference.translation(*, model: str, file: Any, filename: str = "audio.mp3", **kwargs) -> TranscriptionResponse
client.ai.inference.video_generation(*, model: str, prompt: str, duration: int = 5, resolution: str = "1080p", **kwargs) -> GenerationJob
AI Models
client.ai.models.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.ai.models.clear_cache(model_id: str) -> None
client.ai.models.create(*, name: str, type: str, provider: str, vendor_model_id: str, model_type: str | None = None, description: str | None = None, capabilities: Sequence[str] | None = None, max_output_tokens: int | None = None, context_window: int | None = None, config: Mapping[str, Any] | None = None, prompt_storage: PromptStorage | None = None, **extra) -> AIModel
client.ai.models.delete(model_id: str) -> None
client.ai.models.deploy(model_id: str, *, instance_type: str | None = None, replicas: int | None = None, auto_shutdown_minutes: int | None = None, schedule_rules: Sequence[Mapping[str, Any]] | None = None, scaling_mode: ScalingMode | None = None, min_replicas: int | None = None, max_replicas: int | None = None, target_concurrency: int | None = None, env_vars: Mapping[str, str] | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, **extra) -> AIModel
client.ai.models.list(*, search: str | None = None, type: str | None = None, status: str | None = None, provider: str | None = None, model_type: str | None = None, limit: int | None = None) -> SyncPaginator[AIModel]
client.ai.models.list_certified(*, provider: str | None = None, model_type: str | None = None, capability: str | None = None) -> list[CertifiedModel]
client.ai.models.list_prebuilt(*, category: str | None = None, provider: str | None = None) -> list[PrebuiltTemplate]
client.ai.models.list_providers() -> list[ModelProvider]
client.ai.models.logs(model_id: str, *, type: Literal['build', 'deployment', 'runtime'] | None = None, lines: int | None = None, since: str | None = None, container: str | None = None) -> list[ModelLogEntry]
client.ai.models.metrics(model_id: str, *, time_range: Literal['1h', '6h', '24h', '7d'] | None = None) -> ModelLiveMetrics | ModelUsage
client.ai.models.options(model_id: str) -> ModelOptions
client.ai.models.overview() -> AIModelOverview
client.ai.models.permissions(resource_id: str) -> Permissions
client.ai.models.remove_member(resource_id: str, user_id: str) -> None
client.ai.models.resize(model_id: str, *, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: int | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None) -> AIModel
client.ai.models.restart(model_id: str) -> AIModel
client.ai.models.retrieve(model_id: str) -> AIModel
client.ai.models.set_visibility(resource_id: str, visibility: str) -> Permissions
client.ai.models.start(model_id: str) -> AIModel
client.ai.models.status(model_id: str) -> AIModelStatus
client.ai.models.stop(model_id: str) -> AIModel
client.ai.models.time_series(model_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> ModelUseSeries
client.ai.models.update(model_id: str, *, name: str | None = None, type: str | None = None, provider: str | None = None, vendor_model_id: str | None = None, model_type: str | None = None, description: str | None = None, capabilities: Sequence[str] | None = None, max_output_tokens: int | None = None, context_window: int | None = None, config: Mapping[str, Any] | None = None, replicas: int | None = None, scheduling_mode: SchedulingMode | None = None, auto_shutdown_minutes: int | None = None, schedule_rules: Sequence[Mapping[str, Any]] | None = None, scaling_mode: ScalingMode | None = None, min_replicas: int | None = None, max_replicas: int | None = None, target_concurrency: int | None = None, prompt_storage: PromptStorage | None = None, **extra) -> AIModel
client.ai.models.update_to_catalog(model_id: str, *, instance_type: str | None = None) -> AIModel
AI Provider Keys
client.ai.provider_keys.create(*, name: str, provider: str, api_key: str, description: str | None = None, provider_organization: str | None = None) -> ProviderKey
client.ai.provider_keys.delete(key_id: str) -> None
client.ai.provider_keys.list(*, provider: str | None = None, status: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[ProviderKey]
client.ai.provider_keys.retrieve(key_id: str) -> ProviderKey
client.ai.provider_keys.test(key_id: str) -> ProviderKeyTestResult
client.ai.provider_keys.update(key_id: str, *, name: str | None = None, description: str | None = None, api_key: str | None = None, provider_organization: str | None = None) -> ProviderKey
AI Analytics
client.ai.analytics.performance(*, date_range: DateRange, model_id: str | None = None) -> list[ModelPerformance]
client.ai.analytics.providers(*, date_range: DateRange) -> list[ProviderStats]
client.ai.analytics.time_series(*, date_range: DateRange, granularity: Granularity, provider: str | None = None) -> list[TimeSeriesPoint]
client.ai.analytics.usage(*, date_range: DateRange, model_id: str | None = None) -> UsageStats
client.ai.analytics.user(user_id: str, *, date_range: DateRange, app_id: str | None = None) -> UserUsageDetail
client.ai.analytics.users(*, date_range: DateRange, app_id: str | None = None, limit: int | None = None) -> SyncPaginator[UserUsage]
Guardrails
client.ai.guardrails.judge_models(model_id: str) -> SyncPaginator[GuardrailJudgeModel]
client.ai.guardrails.list_models(*, limit: int | None = None) -> SyncPaginator[GuardrailModel]
client.ai.guardrails.logs(model_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[GuardrailLog]
client.ai.guardrails.replace(model_id: str, *, enabled: bool, rules: Sequence[Mapping[str, Any]]) -> ModelGuardrails
client.ai.guardrails.retrieve(model_id: str) -> ModelGuardrails
client.ai.guardrails.set_enabled(model_id: str, enabled: bool) -> ModelGuardrails
client.ai.guardrails.statistics() -> GuardrailTotals
client.ai.guardrails.templates() -> list[GuardrailTemplate]
client.ai.guardrails.test(model_id: str, *, input: str, direction: str, rules: Sequence[Mapping[str, Any]], grounding: str | None = None) -> GuardrailTestResult
Agents
client.agents.add_member(agent_id: str, *, user_id: str) -> Permissions
client.agents.addons(agent_id: str) -> SyncPaginator[AgentAddon]
client.agents.allowed_features(agent_id: str) -> SyncPaginator[AgentFeature]
client.agents.analytics(agent_id: str, *, days: int = 30) -> AgentAnalytics
client.agents.approve_run(agent_id: str, run_id: str, tool_call_id: str) -> AgentRunOutcome
client.agents.attach_skill(agent_id: str, *, skill_id: str, editable: bool | None = None, auto_connected: bool | None = None, connected_by: str | None = None) -> AgentSkill
client.agents.cancel_run(agent_id: str, run_id: str) -> AgentRunOutcome
client.agents.chat(agent_id: str, thread_id: str, message: str, *, interactive: bool = False, subject_id: str | None = None) -> Iterator[dict[str, Any]]
client.agents.clonable() -> SyncPaginator[ClonableAgent]
client.agents.clone(base_agent_id: str) -> Agent
client.agents.clones(agent_id: str) -> SyncPaginator[AgentClone]
client.agents.config(agent_id: str) -> AgentConfig
client.agents.create(*, name: str, description: str | None = None, personality: str | None = None, ai_model_id: str | None = None, operating_prompt_id: str | None = None, operating_prompt_name: str | None = None, reference_key: str | None = None, response_format: str | None = None, fallback_model_ids: Sequence[str] | None = None, context_policy: Mapping[str, Any] | None = None, session_policy: Mapping[str, Any] | None = None, heartbeat: Mapping[str, Any] | None = None, connectors: Sequence[Mapping[str, Any]] | None = None, training: Mapping[str, Any] | None = None, shared_linked_ids: Sequence[str] | None = None, built_in_tools: Mapping[str, Any] | None = None, allowed_features: Sequence[str] | None = None, workspace: Mapping[str, Any] | None = None, stan_aware: bool | None = None) -> Agent
client.agents.create_thread(agent_id: str, *, title: str | None = None, subject_id: str | None = None) -> AgentThread
client.agents.delete(agent_id: str) -> None
client.agents.delete_thread(agent_id: str, thread_id: str) -> None
client.agents.delete_thread_message(agent_id: str, thread_id: str, message_id: str) -> None
client.agents.demote(agent_id: str) -> Workflow
client.agents.detach_skill(agent_id: str, skill_id: str) -> None
client.agents.get_template(key: str) -> dict[str, Any]
client.agents.library_references(agent_id: str) -> SyncPaginator[AgentLibraryReference]
client.agents.list(*, status: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[AgentSummary]
client.agents.list_connectors() -> list[AgentConnectorCategory]
client.agents.list_skills(agent_id: str) -> SyncPaginator[AgentSkill]
client.agents.list_templates() -> list[AgentTemplateSummary]
client.agents.list_threads(agent_id: str, *, limit: int | None = None) -> SyncPaginator[AgentThread]
client.agents.logs(agent_id: str, *, lines: int | None = None, container: str | None = None) -> AgentLogs
client.agents.name_available(name: str, *, ignore_agent_id: str | None = None) -> bool
client.agents.permissions(agent_id: str) -> Permissions
client.agents.promote(workflow_id: str, *, description: str | None = None) -> Agent
client.agents.redeploy(agent_id: str) -> AgentLifecycleResult
client.agents.remove_addon(agent_id: str, addon_id: str) -> Agent
client.agents.remove_member(agent_id: str, user_id: str, *, clones: Literal['keep', 'suspend', 'delete'] | None = None) -> None
client.agents.remove_tool_workflow(agent_id: str, workflow_id: str) -> Agent
client.agents.retrieve(agent_id: str) -> Agent
client.agents.retrieve_thread(agent_id: str, thread_id: str) -> AgentThread
client.agents.set_allowed_features(agent_id: str, allowed_features: Sequence[str]) -> list[str]
client.agents.set_clone_addon_mode(agent_id: str, addon_id: str, clone_addon_mode: CloneAddonMode | None) -> AgentAddon
client.agents.set_library_version(agent_id: str, item_id: str, *, pinned_version: int | None) -> AgentLibraryReference
client.agents.start(agent_id: str) -> AgentLifecycleResult
client.agents.stats(*, search: str | None = None) -> AgentStats
client.agents.status(agent_id: str) -> AgentStatus
client.agents.stop(agent_id: str) -> AgentLifecycleResult
client.agents.sync(agent_id: str) -> CloneSyncOutcome
client.agents.time_series(agent_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> ModelUseSeries
client.agents.update(agent_id: str, *, name: str | None = None, description: str | None = None, nodes: Sequence[Mapping[str, Any]] | None = None, connections: Sequence[Mapping[str, Any]] | None = None) -> Agent
client.agents.update_config(agent_id: str, *, personality: str | None = None, stan_aware: bool | None = None, context_policy: Mapping[str, Any] | None = None, session_policy: Mapping[str, Any] | None = None, heartbeat_enabled: bool | None = None, heartbeat_cron: str | None = None, heartbeat_timezone: str | None = None, max_iterations: int | None = None, temperature: float | None = None, max_tokens: int | None = None, response_format: str | None = None, built_in_tools: Mapping[str, Any] | None = None, knowledge_base_ids: Sequence[str] | None = None, on_demand_mode: Literal['always-on', 'on-demand'] | None = None, idle_timeout_seconds: int | None = None) -> AgentConfig
client.agents.update_model(agent_id: str, model_id: str, fallback_model_ids: list[str] | None = None) -> AgentConfig
client.agents.update_operating_prompt(agent_id: str, operating_prompt_id: str | None) -> AgentConfig
client.agents.update_skill(agent_id: str, skill_id: str, *, editable: bool) -> AgentSkill
Agent Messages
client.agent_messages.delete(agent_id: str, message_id: str) -> None
client.agent_messages.list(*, agent_id: str | None = None, type: str | None = None, category: str | None = None, since: str | None = None, limit: int | None = None) -> SyncPaginator[AgentMessage]
client.agent_messages.mark_read(agent_id: str, message_id: str) -> AgentMessage
client.agent_messages.send(agent_id: str, *, content: str, to_agent_id: str | None = None, category: str | None = None, metadata: Mapping[str, Any] | None = None, expires_at: str | None = None) -> AgentMessage
Agent Router
client.agent_router.add_member(router_id: str, *, model_id: str, weight: float | None = None, priority: int | None = None, enabled: bool | None = None, capabilities: Sequence[str] | None = None) -> AgentRouter
client.agent_router.create(*, name: str, strategy: str, members: Sequence[Mapping[str, Any]], description: str | None = None, fallback_behavior: str | None = None, sticky_routing: bool | None = None, health_check: Mapping[str, Any] | None = None, bandit_config: Mapping[str, Any] | None = None, canary_config: Mapping[str, Any] | None = None, semantic_config: Mapping[str, Any] | None = None, complexity_config: Mapping[str, Any] | None = None, content_type_config: Mapping[str, Any] | None = None, token_budget_config: Mapping[str, Any] | None = None, routellm_config: Mapping[str, Any] | None = None, custom_strategy: Mapping[str, Any] | None = None) -> AgentRouter
client.agent_router.decisions(router_id: str, *, limit: int | None = None) -> SyncPaginator[RouterDecision]
client.agent_router.delete(router_id: str) -> None
client.agent_router.feedback(router_id: str, *, decision_id: str, reward: float, label: str | None = None) -> RouterFeedbackResult
client.agent_router.list(*, limit: int | None = None) -> SyncPaginator[AgentRouter]
client.agent_router.remove_member(router_id: str, member_id: str) -> None
client.agent_router.retrieve(router_id: str) -> AgentRouter
client.agent_router.stats(router_id: str, *, period_hours: int = 24) -> RouterStats
client.agent_router.update(router_id: str, *, name: str | None = None, strategy: str | None = None, description: str | None = None, members: Sequence[Mapping[str, Any]] | None = None, fallback_behavior: str | None = None, sticky_routing: bool | None = None, health_check: Mapping[str, Any] | None = None, bandit_config: Mapping[str, Any] | None = None, canary_config: Mapping[str, Any] | None = None, semantic_config: Mapping[str, Any] | None = None, complexity_config: Mapping[str, Any] | None = None, content_type_config: Mapping[str, Any] | None = None, token_budget_config: Mapping[str, Any] | None = None, routellm_config: Mapping[str, Any] | None = None, custom_strategy: Mapping[str, Any] | None = None) -> AgentRouter
Agent Sessions
client.sessions.end(agent_id: str, session_id: str) -> AgentSession
client.sessions.list(agent_id: str, *, state: str | None = None, limit: int | None = None) -> SyncPaginator[AgentSession]
client.sessions.pause(agent_id: str, session_id: str) -> AgentSession
client.sessions.resume(agent_id: str, session_id: str) -> AgentSession
client.sessions.retrieve(agent_id: str, session_id: str) -> AgentSession
client.sessions.transfer(agent_id: str, session_id: str, target_agent_id: str) -> AgentSession
client.sessions.update_session_policy(agent_id: str, *, idle_timeout_seconds: int, max_session_duration_seconds: int, auto_archive_after_days: int, max_concurrent_sessions_per_user: int | None = None, allow_per_session_model_override: bool = False) -> AgentConfig
client.sessions.upsert_from_activity(agent_id: str, thread_id: str, *, transport: str = "text", model_override: str | None = None, streaming_session_id: str | None = None) -> AgentSession
Avatars
client.avatars.create(*, name: str, tier: str, description: str | None = None, render_style: str | None = None, orb_color: str | None = None, orb_size: float | None = None, config: Mapping[str, Any] | None = None, resources: Mapping[str, Any] | None = None, on_demand: Mapping[str, Any] | None = None) -> Avatar
client.avatars.delete(avatar_id: str) -> None
client.avatars.list(*, name: str | None = None) -> SyncPaginator[Avatar]
client.avatars.preview(avatar_id: str) -> AvatarPreview
client.avatars.retrieve(avatar_id: str) -> Avatar
client.avatars.update(avatar_id: str, *, name: str | None = None, description: str | None = None, render_style: str | None = None, orb_color: str | None = None, orb_size: float | None = None, config: Mapping[str, Any] | None = None, resources: Mapping[str, Any] | None = None) -> Avatar
client.avatars.upload_source(avatar_id: str, file: str | Path | BinaryIO) -> AvatarSourceUpload
Code Sessions
client.code_sessions.create(*, project_name: str, project_description: str, project_id: str | None = None, workspace_id: str | None = None) -> CodeSession
client.code_sessions.delete(session_id: str) -> None
client.code_sessions.deploy(session_id: str) -> App
client.code_sessions.output(session_id: str, *, after_seq: int | None = None) -> CodeSessionOutput
client.code_sessions.retrieve(session_id: str) -> CodeSession
client.code_sessions.send_input(session_id: str, *, text: str) -> CodeSession
client.code_sessions.start_login(session_id: str) -> CodeSessionLogin
client.code_sessions.status(session_id: str) -> CodeSession
client.code_sessions.submit_login_code(session_id: str, *, code: str) -> CodeSession
Memory
client.memory.add_link(memory_id: str, *, target_id: str, relation: str, weight: float | None = None) -> MemoryLink
client.memory.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.memory.assess(memory_id: str) -> LibraryAssessment
client.memory.consolidate(*, config: Mapping[str, Any] | None = None, dry_run: bool | None = None) -> MemoryConsolidation
client.memory.create(*, kind: str, content: str, summary: str | None = None, tags: Sequence[str] | None = None, category: str | None = None, source: str | None = None, event_time: str | None = None, valid_from: str | None = None, valid_until: str | None = None, source_thread_id: str | None = None, source_message_id: str | None = None, source_tool_name: str | None = None, importance: float | None = None, decay_half_life_days: float | None = None, confidence: float | None = None, links: Sequence[Mapping[str, Any]] | None = None, linked_ids: Sequence[str] | None = None) -> Memory
client.memory.delete(memory_id: str) -> None
client.memory.delete_link(memory_id: str, target_id: str) -> None
client.memory.demote(memory_id: str) -> Memory
client.memory.export(*, include_invalidated: bool | None = None) -> MemoryExport
client.memory.import_memories(*, memories: Sequence[Mapping[str, Any]]) -> LibraryImportResult
client.memory.ingest(*, content: str, kind: str, agent_id: str, tags: Sequence[str] | None = None, linked_ids: Sequence[str] | None = None, candidate_k: int | None = None) -> MemoryIngestion
client.memory.invalidate(memory_id: str, *, superseded_by: str | None = None) -> Memory
client.memory.linked_to(memory_id: str, *, limit: int | None = None) -> SyncPaginator[MemorySummary]
client.memory.list(*, kind: str | None = None, tags: list[str] | None = None, search: str | None = None, linked_ids: Sequence[str] | None = None, as_of: str | None = None, limit: int | None = None) -> SyncPaginator[MemorySummary]
client.memory.permissions(resource_id: str) -> Permissions
client.memory.promote(memory_id: str) -> Memory
client.memory.record_access(memory_id: str) -> MemoryUsage
client.memory.remove_member(resource_id: str, user_id: str) -> None
client.memory.restore_version(memory_id: str, version: int) -> Memory
client.memory.retrieve(memory_id: str) -> Memory
client.memory.retrieve_version(memory_id: str, version: int) -> MemoryVersion
client.memory.search(*, query: str, limit: int | None = None, kind: str | None = None, tags: Sequence[str] | None = None, linked_ids: Sequence[str] | None = None, rrf_k: int | None = None, weights: Mapping[str, Any] | None = None, decay_half_life_days_override: float | None = None, as_of: str | None = None, include_invalidated: bool | None = None, rerank: bool | None = None, rerank_model: str | None = None) -> MemorySearchResults
client.memory.set_visibility(resource_id: str, visibility: str) -> Permissions
client.memory.update(memory_id: str, *, kind: str | None = None, content: str | None = None, summary: str | None = None, tags: Sequence[str] | None = None, category: str | None = None, event_time: str | None = None, valid_from: str | None = None, valid_until: str | None = None, source_thread_id: str | None = None, source_message_id: str | None = None, source_tool_name: str | None = None, importance: float | None = None, decay_half_life_days: float | None = None, confidence: float | None = None, links: Sequence[Mapping[str, Any]] | None = None, linked_ids: Sequence[str] | None = None, change_note: str | None = None) -> Memory
client.memory.versions(memory_id: str, *, limit: int | None = None) -> SyncPaginator[MemoryVersion]
Rules
client.rules.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.rules.applicable(*, user_turn: str | None = None, tool_name: str | None = None, linked_ids: Sequence[str] | None = None) -> RuleSearchResults
client.rules.assess(rule_id: str) -> LibraryAssessment
client.rules.check(tool_name: str, *, args: Mapping[str, Any] | None = None, user_turn: str | None = None, linked_ids: Sequence[str] | None = None) -> ToolGateVerdict
client.rules.create(*, description: str, content: str, category: str, severity: str | None = None, hierarchy_scope: str | None = None, enforcement_mode: str | None = None, triggers: Mapping[str, Any] | None = None, tags: Sequence[str] | None = None, enabled: bool | None = None, source: str | None = None, linked_ids: Sequence[str] | None = None) -> Rule
client.rules.delete(rule_id: str) -> None
client.rules.export(*, enabled: bool | None = None) -> RuleExport
client.rules.import_from_github(github_url: str) -> Rule
client.rules.import_rules(rules: Sequence[Mapping[str, Any]]) -> LibraryImportResult
client.rules.list(*, category: str | None = None, severity: str | None = None, hierarchy_scope: str | None = None, enabled: bool | None = None, tags: list[str] | None = None, search: str | None = None, linked_ids: Sequence[str] | None = None, limit: int | None = None) -> SyncPaginator[RuleSummary]
client.rules.list_violations(rule_id: str, *, limit: int | None = None) -> SyncPaginator[RuleViolation]
client.rules.permissions(resource_id: str) -> Permissions
client.rules.record_violation(rule_id: str, *, attempted_action: str, detected_by: str | None = None, agent_id: str | None = None, thread_id: str | None = None, run_id: str | None = None, evidence: Mapping[str, Any] | None = None) -> RuleViolation
client.rules.remove_member(resource_id: str, user_id: str) -> None
client.rules.restore_version(rule_id: str, version: int) -> Rule
client.rules.retrieve(rule_id: str) -> Rule
client.rules.retrieve_version(rule_id: str, version: int) -> RuleVersion
client.rules.set_visibility(resource_id: str, visibility: str) -> Permissions
client.rules.update(rule_id: str, *, description: str | None = None, content: str | None = None, category: str | None = None, severity: str | None = None, hierarchy_scope: str | None = None, enforcement_mode: str | None = None, triggers: Mapping[str, Any] | None = None, tags: Sequence[str] | None = None, enabled: bool | None = None, linked_ids: Sequence[str] | None = None, change_note: str | None = None) -> Rule
client.rules.versions(rule_id: str, *, limit: int | None = None) -> SyncPaginator[RuleVersion]
client.rules.violations_aggregate(*, days: int | None = None, top_rules: int | None = None, top_tools: int | None = None) -> ViolationSummary
Tasks
client.tasks.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.tasks.cancel(task_id: str, *, reason: str | None = None) -> Task
client.tasks.claim(task_id: str, *, claimant_id: str) -> Task
client.tasks.complete(task_id: str, *, notes: str | None = None, execution_id: str | None = None, run_id: str | None = None) -> Task
client.tasks.create(*, description: str, linked_ids: Sequence[str], subject_ref: Mapping[str, Any] | None = None, subject_id: str | None = None, due_at: str | None = None, notes: str | None = None, recurrence: Mapping[str, Any] | None = None, tags: Sequence[str] | None = None, trigger_type: str | None = None, created_by_agent: str | None = None, assigned_to_agent: str | None = None) -> Task
client.tasks.delete(task_id: str) -> None
client.tasks.end_recurrence(task_id: str) -> Task
client.tasks.fires(task_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[TaskFireRecord]
client.tasks.list(*, kind: str | None = None, status: str | None = None, include_completed: bool | None = None, search_text: str | None = None, tags: Sequence[str] | None = None, trigger_type: str | None = None, due_only: bool | None = None, linked_ids: Sequence[str] | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[TaskSummary]
client.tasks.permissions(resource_id: str) -> Permissions
client.tasks.remove_member(resource_id: str, user_id: str) -> None
client.tasks.retrieve(task_id: str) -> Task
client.tasks.set_visibility(resource_id: str, visibility: str) -> Permissions
client.tasks.skip_next(task_id: str) -> Task
client.tasks.stats(*, kind: str | None = None, status: str | None = None, include_completed: bool | None = None, search_text: str | None = None, tags: Sequence[str] | None = None, trigger_type: str | None = None, due_only: bool | None = None, linked_ids: Sequence[str] | None = None) -> TaskStats
client.tasks.time_series(task_id: str, *, window: SeriesWindow | None = None, granularity: SeriesGranularity | None = None) -> TaskFiresSeries
client.tasks.update(task_id: str, *, description: str | None = None, subject_ref: Mapping[str, Any] | None = None, due_at: str | None = None, notes: str | None = None, recurrence: Mapping[str, Any] | None = None, tags: Sequence[str] | None = None, trigger_type: str | None = None, assigned_to_agent: str | None = None, linked_ids: Sequence[str] | None = None, clear_due_at: bool | None = None, clear_assigned_to_agent: bool | None = None, clear_subject_ref: bool | None = None) -> Task
Prompts
client.prompts.create(*, name: <class 'str'>, content: <class 'str'>, type: <class 'str'> = "system-prompt", description: str | None = None, variables: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, tags: collections.abc.Sequence[str] | None = None, source: str | None = None, files: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, github_url: str | None = None, linked_ids: collections.abc.Sequence[str] | None = None) -> <class 'Prompt'>
client.prompts.delete(prompt_id: <class 'str'>)
client.prompts.duplicate(prompt_id: <class 'str'>) -> <class 'Prompt'>
client.prompts.list(*, type: str | None = None, search: str | None = None, platform: bool | None = None, tags: str | None = None, limit: int | None = None) -> SyncPaginator[PromptSummary]
client.prompts.list_versions(prompt_id: <class 'str'>, *, limit: int | None = None) -> SyncPaginator[PromptVersion]
client.prompts.record_usage(prompt_id: <class 'str'>) -> <class 'int'>
client.prompts.render(prompt_id: <class 'str'>, variables: collections.abc.Mapping[str, str]) -> <class 'PromptRenderResult'>
client.prompts.restore_version(prompt_id: <class 'str'>, version_number: <class 'int'>) -> <class 'Prompt'>
client.prompts.retrieve(prompt_id: <class 'str'>) -> <class 'Prompt'>
client.prompts.search(*, q: <class 'str'>, type: str | None = None, tags: str | None = None, limit: int | None = None) -> list[PromptSearchHit]
client.prompts.update(prompt_id: <class 'str'>, *, name: str | None = None, description: str | None = None, content: str | None = None, variables: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, tags: collections.abc.Sequence[str] | None = None, linked_ids: collections.abc.Sequence[str] | None = None, change_note: str | None = None) -> <class 'Prompt'>
Skills
client.skills.assess(skill_id: <class 'str'>) -> <class 'LibraryAssessment'>
client.skills.create(*, name: <class 'str'>, content: <class 'str'>, description: str | None = None, variables: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, tags: collections.abc.Sequence[str] | None = None, category: str | None = None, source: str | None = None, files: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, github_url: str | None = None, mcp_tools: collections.abc.Sequence[str] | None = None, linked_ids: collections.abc.Sequence[str] | None = None) -> <class 'Skill'>
client.skills.delete(skill_id: <class 'str'>)
client.skills.duplicate(skill_id: <class 'str'>) -> <class 'Skill'>
client.skills.get_file(skill_id: <class 'str'>, path: <class 'str'>) -> <class 'SkillFileContent'>
client.skills.import_from_github(github_url: <class 'str'>) -> <class 'SkillImportResult'>
client.skills.list(*, category: str | None = None, search: str | None = None, tags: str | None = None, limit: int | None = None) -> SyncPaginator[SkillSummary]
client.skills.list_files(skill_id: <class 'str'>) -> <class 'SkillFileList'>
client.skills.list_versions(skill_id: <class 'str'>, *, limit: int | None = None) -> SyncPaginator[SkillVersion]
client.skills.record_usage(skill_id: <class 'str'>) -> <class 'int'>
client.skills.render(skill_id: <class 'str'>, variables: collections.abc.Mapping[str, str]) -> <class 'SkillRenderResult'>
client.skills.restore_version(skill_id: <class 'str'>, version_number: <class 'int'>) -> <class 'Skill'>
client.skills.retrieve(skill_id: <class 'str'>) -> <class 'Skill'>
client.skills.search(*, user_turn: <class 'str'>, limit: int | None = None, tags: collections.abc.Sequence[str] | None = None, linked_ids: collections.abc.Sequence[str] | None = None) -> <class 'SkillSearchResults'>
client.skills.update(skill_id: <class 'str'>, *, name: str | None = None, description: str | None = None, content: str | None = None, variables: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, tags: collections.abc.Sequence[str] | None = None, category: str | None = None, linked_ids: collections.abc.Sequence[str] | None = None, change_note: str | None = None, files: collections.abc.Sequence[collections.abc.Mapping[str, Any]] | None = None, mcp_tools: collections.abc.Sequence[str] | None = None) -> <class 'Skill'>
Artifacts
client.artifacts.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.artifacts.create(*, title: str, artifact_type: str, content_type: str, content: str, summary: str | None = None, tags: Sequence[str] | None = None) -> Artifact
client.artifacts.delete(artifact_id: str) -> None
client.artifacts.download(artifact_id: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.artifacts.download_link(artifact_id: str) -> DownloadLink
client.artifacts.list(*, search: str | None = None, artifact_type: str | None = None, tags: list[str] | None = None, producer_agent_id: str | None = None, producer_skill_id: str | None = None, limit: int | None = None) -> SyncPaginator[ArtifactSummary]
client.artifacts.list_versions(artifact_id: str, *, limit: int | None = None) -> SyncPaginator[ArtifactVersion]
client.artifacts.permissions(resource_id: str) -> Permissions
client.artifacts.refresh_size(artifact_id: str) -> Artifact
client.artifacts.remove_member(resource_id: str, user_id: str) -> None
client.artifacts.restore_version(artifact_id: str, version_number: int) -> Artifact
client.artifacts.retrieve(artifact_id: str) -> Artifact
client.artifacts.set_visibility(resource_id: str, visibility: str) -> Permissions
client.artifacts.update(artifact_id: str, *, title: str | None = None, summary: str | None = None, tags: Sequence[str] | None = None) -> Artifact
Knowledge Bases
client.knowledge.add_document(knowledge_base_id: str, *, filename: str | None = None, content: str | None = None, file: str | Path | BinaryIO | None = None, content_type: str | None = None) -> KnowledgeDocument
client.knowledge.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.knowledge.agent_catalog(agent_id: str) -> AgentKnowledge
client.knowledge.agent_outline(agent_id: str, document_id: str) -> KnowledgeOutline
client.knowledge.agent_search(agent_id: str, q: str) -> KnowledgeSearch
client.knowledge.agent_section(agent_id: str, document_id: str, section_id: str) -> KnowledgeSection
client.knowledge.create(*, name: str, index_model_id: str, description: str | None = None, clone_id: str | None = None) -> KnowledgeBase
client.knowledge.delete(knowledge_base_id: str) -> None
client.knowledge.import_artifacts(knowledge_base_id: str, *, artifact_ids: Sequence[str]) -> list[KnowledgeDocument]
client.knowledge.list(*, limit: int | None = None) -> SyncPaginator[KnowledgeBaseSummary]
client.knowledge.permissions(resource_id: str) -> Permissions
client.knowledge.reindex_document(knowledge_base_id: str, document_id: str) -> KnowledgeDocument
client.knowledge.remove_document(knowledge_base_id: str, document_id: str) -> None
client.knowledge.remove_member(resource_id: str, user_id: str) -> None
client.knowledge.retrieve(knowledge_base_id: str) -> KnowledgeBase
client.knowledge.set_visibility(resource_id: str, visibility: str) -> Permissions
client.knowledge.update(knowledge_base_id: str, *, name: str | None = None, description: str | None = None, index_model_id: str | None = None) -> KnowledgeBase
client.knowledge.update_agent_knowledge_bases(agent_id: str, *, knowledge_base_ids: Sequence[str]) -> AgentConfig
Preferences
client.preferences.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.preferences.by_key(key: str) -> Preference
client.preferences.create(*, key: str, value: Any, category: str | None = None, preference_source: str | None = None, confidence: float | None = None, evidence: str | None = None, tags: Sequence[str] | None = None, linked_ids: Sequence[str] | None = None) -> Preference
client.preferences.delete(preference_id: str) -> None
client.preferences.forget(key: str) -> PreferenceForgotten
client.preferences.list(*, search: str | None = None, category: str | None = None, preference_source: str | None = None, tags: list[str] | None = None, include_superseded: bool | None = None, limit: int | None = None) -> SyncPaginator[Preference]
client.preferences.permissions(resource_id: str) -> Permissions
client.preferences.remove_member(resource_id: str, user_id: str) -> None
client.preferences.retrieve(preference_id: str) -> Preference
client.preferences.search(*, user_turn: str, category: str | None = None, limit: int | None = None, tags: str | None = None, linked_ids: Sequence[str] | None = None) -> PreferenceSearchResults
client.preferences.set(key: str, value: Any, *, category: str | None = None, preference_source: str | None = None, confidence: float | None = None, evidence: str | None = None, tags: Sequence[str] | None = None, linked_ids: Sequence[str] | None = None) -> Preference
client.preferences.set_visibility(resource_id: str, visibility: str) -> Permissions
client.preferences.update(preference_id: str, *, value: Any = None, category: str | None = None, preference_source: str | None = None, confidence: float | None = None, evidence: str | None = None, tags: Sequence[str] | None = None, linked_ids: Sequence[str] | None = None) -> Preference
Pools
client.pools.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.pools.create(*, name: str, description: str | None = None, scope: str | None = None) -> Pool
client.pools.delete(pool_id: str) -> None
client.pools.list(*, scope: str | None = None, counts: bool | None = None) -> SyncPaginator[Pool]
client.pools.permissions(resource_id: str) -> Permissions
client.pools.remove_member(resource_id: str, user_id: str) -> None
client.pools.retrieve(pool_id: str) -> Pool
client.pools.set_visibility(resource_id: str, visibility: str) -> Permissions
client.pools.update(pool_id: str, *, name: str | None = None, description: str | None = None) -> Pool
Imprints
client.imprints.add_item(imprint_id: str, *, resource_type: str, resource_id: str) -> PoolItem
client.imprints.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.imprints.create(*, name: str, description: str | None = None) -> Pool
client.imprints.delete(imprint_id: str) -> None
client.imprints.install(agent_id: str, imprint_id: str) -> Pool
client.imprints.list(*, search: str | None = None) -> SyncPaginator[Pool]
client.imprints.permissions(resource_id: str) -> Permissions
client.imprints.remove_item(imprint_id: str, *, resource_type: str, resource_id: str) -> None
client.imprints.remove_member(resource_id: str, user_id: str) -> None
client.imprints.retrieve(imprint_id: str) -> Pool
client.imprints.set_visibility(resource_id: str, visibility: str) -> Permissions
client.imprints.uninstall(agent_id: str, imprint_id: str) -> None
Templates
client.templates.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.templates.create(workflow_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None, guide: str | None = None) -> Template
client.templates.delete(template_id: str) -> None
client.templates.list(*, kind: str | None = None, source: str | None = None, q: str | None = None) -> SyncPaginator[TemplateSummary]
client.templates.permissions(resource_id: str) -> Permissions
client.templates.remove_member(resource_id: str, user_id: str) -> None
client.templates.retrieve(template_id: str) -> Template
client.templates.set_visibility(resource_id: str, visibility: str) -> Permissions
client.templates.update(template_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None, guide: str | None = None) -> Template
client.templates.use(template_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None, bindings: Mapping[str, Any] | None = None, environment_id: str | None = None, custom_resources: Mapping[str, str] | None = None, assistant: str | None = None, project_id: str | None = None) -> TemplateUse
STAN
client.stan.cancel_run(run_id: str) -> StanRun
client.stan.cancel_session(session_id: str) -> StanSession
client.stan.create_session(*, model_id: str, message: str, mode: str | None = None, active_workflow_id: str | None = None, active_workflow_name: str | None = None, attachments: Sequence[str | os.PathLike[str]] | None = None, wait: bool = True) -> StanRun
client.stan.delete_artifact(artifact_id: str) -> None
client.stan.end_session(session_id: str) -> None
client.stan.history(*, session_id: str | None = None, turns: int | None = None) -> StanHistory
client.stan.list_checkpoints(session_id: str) -> StanCheckpoints
client.stan.list_sessions(*, limit: int | None = None) -> SyncPaginator[StanSession]
client.stan.list_tool_executions(*, run_id: str | None = None, limit: int | None = None) -> SyncPaginator[StanToolExecution]
client.stan.retrieve_artifact(artifact_id: str, *, version: int | None = None) -> StanArtifact
client.stan.retrieve_run(run_id: str) -> StanRun
client.stan.retrieve_session(session_id: str) -> StanSession
client.stan.revert(session_id: str, *, resource_ids: Sequence[str]) -> StanRevertOutcome
client.stan.revert_plan(session_id: str) -> StanRevertPlan
client.stan.send_message(session_id: str, *, message: str, attachments: Sequence[str | os.PathLike[str]] | None = None, wait: bool = True) -> StanRun
client.stan.submit_credentials(run_id: str, *, values: Mapping[str, str]) -> StanRun
STAN Settings
client.stan_settings.compact() -> StanCompaction
client.stan_settings.context() -> StanContext
client.stan_settings.delete_conversation(conversation_id: str) -> None
client.stan_settings.list_conversations(*, limit: int | None = None) -> SyncPaginator[StanConversation]
client.stan_settings.list_eval_runs(*, limit: int | None = None) -> SyncPaginator[StanEvalRun]
client.stan_settings.list_skills() -> StanSkillCatalog
client.stan_settings.memory_diagnostic() -> StanMemoryDiagnostic
client.stan_settings.message(*, message: str | None = None, source: str | None = None, new_session: bool | None = None, session_id: str | None = None, model_id: str | None = None, model_name: str | None = None, active_workflow_id: str | None = None, active_workflow_name: str | None = None, include_history: int | None = None, stan_version: str | None = None, delivery: str | None = None) -> StanReply
client.stan_settings.personality() -> StanPreferences
client.stan_settings.poll_skill_compliance_eval(*, model_id: str | None = None) -> StanSkillComplianceEval
client.stan_settings.prompt_diagnostic(*, mode: str | None = None, message: str | None = None) -> StanPromptDiagnostic
client.stan_settings.recall_skills(query: str, *, limit: int | None = None) -> StanSkillRecall
client.stan_settings.resume_conversation(conversation_id: str) -> StanConversation
client.stan_settings.retrieve_conversation(conversation_id: str) -> StanConversation
client.stan_settings.run_evals(*, model_id: str | None = None, scenarios: Sequence[str] | None = None, judge_model_id: str | None = None) -> StanEvalsStarted
client.stan_settings.run_skill_selection_eval(*, top_k: int | None = None) -> StanSkillSelectionReport
client.stan_settings.tools_diagnostic(*, names: Sequence[str] | None = None) -> StanToolsDiagnostic
client.stan_settings.update_personality(*, personality: str | None = None, user_type: str | None = None) -> StanPreferences
STAN Memories
client.stan_memories.create(*, content: str, type: str, importance: float | None = None) -> StanMemory
client.stan_memories.delete(memory_id: str) -> None
client.stan_memories.delete_all() -> None
client.stan_memories.list(*, type: str | None = None, limit: int | None = None) -> SyncPaginator[StanMemory]
client.stan_memories.stats() -> StanMemoryStats
STAN Tasks
client.stan_tasks.add_monitor(*, instruction: str) -> StanHeartbeatMonitor
client.stan_tasks.create(*, name: str, schedule_type: str, run_at: str | None = None, cron: str | None = None, timezone: str | None = None, execution_mode: str | None = None, action: str | None = None, model_id: str | None = None, model_name: str | None = None, tool_name: str | None = None, tool_params: Mapping[str, Any] | None = None, description: str | None = None) -> StanScheduledTask
client.stan_tasks.delete(task_id: str) -> None
client.stan_tasks.heartbeat() -> StanHeartbeat
client.stan_tasks.list(*, limit: int | None = None) -> SyncPaginator[StanScheduledTask]
client.stan_tasks.pause(task_id: str) -> StanScheduledTask
client.stan_tasks.remove_monitor(monitor_id: str) -> None
client.stan_tasks.resume(task_id: str) -> StanScheduledTask
client.stan_tasks.retrieve(task_id: str) -> StanScheduledTask
client.stan_tasks.run_heartbeat() -> StanHeartbeatRun
client.stan_tasks.update(task_id: str, *, name: str | None = None, description: str | None = None, execution_mode: str | None = None, action: str | None = None, tool_name: str | None = None, tool_params: Mapping[str, Any] | None = None, schedule_type: str | None = None, run_at: str | None = None, cron: str | None = None, timezone: str | None = None, model_id: str | None = None, model_name: str | None = None) -> StanScheduledTask
client.stan_tasks.update_heartbeat(*, enabled: bool | None = None, interval_minutes: int | None = None, model_id: str | None = None) -> StanHeartbeat
client.stan_tasks.update_monitor(monitor_id: str, *, instruction: str | None = None, state: str | None = None, enabled: bool | None = None) -> StanHeartbeatMonitor
Experiments
client.experiments.add_member(resource_id: str, *, user_id: str, role: str) -> Permissions
client.experiments.artifact_download_link(experiment_id: str, path: str) -> DownloadLink
client.experiments.compare(ids: list[str]) -> ExperimentComparison
client.experiments.create(*, name: str, description: str | None = None, tags: Sequence[str] | None = None, parent_run_id: str | None = None, status: str | None = None, params: Mapping[str, ParamValue] | None = None, system_info: Mapping[str, Any] | None = None, git_info: Mapping[str, Any] | None = None) -> Experiment
client.experiments.delete(experiment_id: str) -> None
client.experiments.download_artifact(experiment_id: str, path: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.experiments.get_metric_history(experiment_id: str, key: str) -> list[MetricPoint]
client.experiments.list(*, search: str | None = None, status: str | None = None, tag: str | None = None, pinned: bool | None = None, parent_run_id: str | None = None, limit: int | None = None) -> SyncPaginator[ExperimentSummary]
client.experiments.list_artifacts(experiment_id: str, *, limit: int | None = None) -> SyncPaginator[ExperimentArtifact]
client.experiments.list_metric_keys(experiment_id: str) -> list[str]
client.experiments.list_runs(experiment_id: str, *, status: str | None = None) -> list[ExperimentSummary]
client.experiments.log_artifact(experiment_id: str, local_path: str | os.PathLike[str], *, path: str | None = None, type: str = "file", description: str | None = None, content_type: str | None = None) -> ExperimentArtifact
client.experiments.log_batch(experiment_id: str, *, metrics: Sequence[Mapping[str, Any]] = (), params: Mapping[str, ParamValue] | None = None) -> None
client.experiments.log_metrics(experiment_id: str, metrics: Mapping[str, float], *, step: int | None = None, timestamp: datetime | int | str | None = None) -> None
client.experiments.log_params(experiment_id: str, params: Mapping[str, ParamValue]) -> None
client.experiments.permissions(resource_id: str) -> Permissions
client.experiments.register(*, name: str, description: str | None = None, tags: Sequence[str] | None = None) -> Experiment
client.experiments.register_model(experiment_id: str, *, name: str | None = None, model_id: str | None = None, artifact_path: str = "model", description: str | None = None, files: Sequence[str] | None = None) -> RunModelRegistration
client.experiments.remove_member(resource_id: str, user_id: str) -> None
client.experiments.retrieve(experiment_id: str) -> Experiment
client.experiments.set_visibility(resource_id: str, visibility: str) -> Permissions
client.experiments.stats() -> ExperimentStats
client.experiments.update(experiment_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None, status: str | None = None, framework: str | None = None, pinned: bool | None = None, error: RunError | None = None) -> Experiment
AutoML
client.automl.create_job(*, name: str, target_column: str, hardware: Mapping[str, Any], dataset: str | None = None, data_source_id: str | None = None, addon_id: str | None = None, read: Mapping[str, str] | None = None, output_volume_id: str | None = None, output_volume_name: str | None = None, dataset_file: str | None = None, feature_columns: Sequence[str] | None = None, problem_type: str | None = None, predictor_type: str | None = None, preset: str | None = None, time_limit: int | None = None, metric: str | None = None, environment_id: str | None = None, advanced: Mapping[str, Any] | None = None) -> AutoMLJob
client.automl.dataset_columns(dataset_id: str, *, file: str | None = None) -> list[str]
client.automl.dataset_download_link(job_id: str) -> DownloadLink
client.automl.dataset_files(dataset_id: str) -> AutoMLDatasetFiles
client.automl.datasets(*, limit: int | None = None) -> SyncPaginator[AutoMLDataset]
client.automl.delete_job(job_id: str) -> None
client.automl.deploy_best_model(job_id: str, *, registry_name: str | None = None, description: str | None = None) -> AutoMLPublished
client.automl.download_dataset(job_id: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.automl.job_logs(job_id: str, *, lines: int | None = None, since: str | None = None) -> AutoMLLogs
client.automl.job_metrics(job_id: str) -> AutoMLJobMetrics
client.automl.job_status(job_id: str) -> AutoMLJobStatus
client.automl.list_jobs(*, status: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[AutoMLJobSummary]
client.automl.retrieve_job(job_id: str) -> AutoMLJob
client.automl.stats() -> AutoMLStats
client.automl.stop_job(job_id: str) -> AutoMLJob
client.automl.upload_dataset(file: str | Any, *, filename: str | None = None, content_type: str = "text/csv") -> str
Model Registry
client.model_registry.activate_baseline(model_id: str, baseline_id: str) -> BaselineActivated
client.model_registry.activate_version(model_id: str, version: int) -> RegisteredModel
client.model_registry.actuals_upload_url(model_id: str, filename: str) -> UploadLink
client.model_registry.analytics(model_id: str, *, period: str | None = None) -> ModelAnalytics
client.model_registry.baseline_upload_url(model_id: str, filename: str) -> UploadLink
client.model_registry.build_baseline(model_id: str, *, upload_id: str | None = None, filename: str | None = None, volume_id: str | None = None, path: str | None = None, version: int | None = None, analyze_daily: bool = False) -> BaselineJob
client.model_registry.build_baseline_from_file(model_id: str, file: str | Path | BinaryIO, *, version: int | None = None, analyze_daily: bool = False) -> BaselineJob
client.model_registry.build_log_download_link(model_id: str) -> DownloadLink
client.model_registry.create(*, name: str, framework: str, source: str | None = None, description: str | None = None, framework_version: str | None = None, python_version: str | None = None, tags: Sequence[str] | None = None, workspace_id: str | None = None, artifact: Mapping[str, Any] | None = None, manifest: Mapping[str, Any] | None = None, manifest_raw: str | None = None, problem_type: str | None = None, feature_names: Sequence[str] | None = None, input_fields: Sequence[Mapping[str, str]] | None = None, requirements: Sequence[str] | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None) -> RegisteredModel
client.model_registry.create_version(model_id: str, *, artifact: Mapping[str, Any], description: str | None = None, manifest: Mapping[str, Any] | None = None, manifest_raw: str | None = None, metrics: Mapping[str, Any] | None = None, framework_version: str | None = None, python_version: str | None = None, requirements: Sequence[str] | None = None, input_fields: Sequence[Mapping[str, str]] | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None) -> ModelVersion
client.model_registry.create_version_with_upload(file: str | Path | BinaryIO, model_id: str, *, description: str | None = None, metrics: Mapping[str, Any] | None = None, framework_version: str | None = None, python_version: str | None = None, requirements: Sequence[str] | None = None, input_fields: Sequence[Mapping[str, str]] | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None) -> ModelVersion
client.model_registry.create_with_upload(file: str | Path | BinaryIO, *, name: str, framework: str, description: str | None = None, tags: list[str] | None = None, workspace_id: str | None = None, problem_type: str | None = None, feature_names: Sequence[str] | None = None, framework_version: str | None = None, python_version: str | None = None, input_fields: Sequence[Mapping[str, str]] | None = None, requirements: Sequence[str] | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None) -> RegisteredModel
client.model_registry.delete(model_id: str) -> None
client.model_registry.delete_version(model_id: str, version: int) -> None
client.model_registry.deploy(model_id: str, *, resources: Mapping[str, Any] | None = None, autoscaling: Mapping[str, Any] | None = None, scheduling_mode: str | None = None, auto_shutdown_minutes: int | None = None, schedule_rules: Sequence[Mapping[str, Any]] | None = None, scaling_mode: str | None = None, min_replicas: int | None = None, max_replicas: int | None = None, target_concurrency: int | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, instance_type: str | None = None) -> RegisteredModel
client.model_registry.deploy_version(model_id: str, version: int, *, resources: Mapping[str, Any] | None = None, autoscaling: Mapping[str, Any] | None = None, scheduling_mode: str | None = None, auto_shutdown_minutes: int | None = None, schedule_rules: Sequence[Mapping[str, Any]] | None = None, scaling_mode: str | None = None, min_replicas: int | None = None, max_replicas: int | None = None, target_concurrency: int | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, instance_type: str | None = None) -> RegisteredModel
client.model_registry.download_build_log(model_id: str, dst_path: str | os.PathLike[str] | None = None) -> str
client.model_registry.import_actuals(model_id: str, *, upload_id: str | None = None, filename: str | None = None, volume_id: str | None = None, path: str | None = None) -> ActualsImport
client.model_registry.import_actuals_file(model_id: str, file: str | Path | BinaryIO) -> ActualsImport
client.model_registry.list(*, search: str | None = None, framework: str | None = None, source: str | None = None, deployment_status: str | None = None, tag: str | None = None, workspace_id: str | None = None, limit: int | None = None) -> SyncPaginator[RegisteredModelSummary]
client.model_registry.list_actuals_import_rejections(model_id: str, import_id: str, *, search: str | None = None, limit: int | None = None) -> SyncPaginator[ActualsImportRejection]
client.model_registry.list_actuals_imports(model_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ActualsImport]
client.model_registry.list_baseline_jobs(model_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[BaselineJob]
client.model_registry.list_callers(model_id: str, *, period: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ModelCaller]
client.model_registry.list_versions(model_id: str, *, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ModelVersion]
client.model_registry.logs(model_id: str, *, log_type: str | None = None) -> ModelLogs
client.model_registry.predict(model_id: str, input_data: Any, *, entity_id: str | None = None, source: str | None = None, path: str | None = None) -> Prediction
client.model_registry.record_actuals(model_id: str, actuals: Sequence[Mapping[str, Any]]) -> ActualsRecordResult
client.model_registry.retrieve(model_id: str) -> RegisteredModel
client.model_registry.start(model_id: str) -> RegisteredModel
client.model_registry.stats(*, search: str | None = None, framework: str | None = None, source: str | None = None, deployment_status: str | None = None, tag: str | None = None, workspace_id: str | None = None) -> RegisteredModelStats
client.model_registry.status(model_id: str) -> ModelServingStatus
client.model_registry.stop(model_id: str) -> RegisteredModel
client.model_registry.update(model_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None, problem_type: str | None = None) -> RegisteredModel
client.model_registry.update_monitoring(model_id: str, *, record_inputs: bool | None = None, label_window_days: int | None = None) -> RegisteredModel
client.model_registry.update_serving(model_id: str, *, environment_id: str | None = None, resources: Mapping[str, Any] | None = None, autoscaling: Mapping[str, Any] | None = None, scheduling_mode: str | None = None, auto_shutdown_minutes: int | None = None, schedule_rules: Sequence[Mapping[str, Any]] | None = None, scaling_mode: str | None = None, min_replicas: int | None = None, max_replicas: int | None = None, target_concurrency: int | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, environment_variables: Mapping[str, str] | None = None, addons: Sequence[str] | None = None, data_sources: Sequence[str] | None = None) -> RegisteredModel
client.model_registry.upload_artifact(file: str | Path | BinaryIO) -> UploadedArtifact
Fine-Tuning
client.fine_tuning.base_models() -> list[FineTuningBaseModel]
client.fine_tuning.create_job(*, name: str, base_model: str, training_dataset: str, volume_id: str | None = None, data_version: int | None = None, url_volume_id: str | None = None, output_volume_id: str | None = None, output_volume_name: str | None = None, description: str | None = None, validation_file: str | None = None, dataset_format: str | None = None, epochs: int | None = None, batch_size: int | None = None, training_method: str | None = None, learning_rate: float | None = None, gpu_count: int | None = None, gpu_type: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, hyperparameters: Mapping[str, Any] | None = None, suffix: str | None = None) -> FineTuningJob
client.fine_tuning.delete_job(job_id: str) -> None
client.fine_tuning.deploy_model(job_id: str, **kwargs) -> AIModel
client.fine_tuning.hardware() -> list[FineTuningHardware]
client.fine_tuning.job_logs(job_id: str, *, log_type: str | None = None) -> list[FineTuningLogLine]
client.fine_tuning.job_metrics(job_id: str) -> list[FineTuningMetric]
client.fine_tuning.job_status(job_id: str) -> FineTuningJobStatus
client.fine_tuning.list_jobs(*, status: str | None = None, base_model: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[FineTuningJobSummary]
client.fine_tuning.model_requirements(base_model: str, *, method: str | None = None) -> ModelRequirements
client.fine_tuning.recommend(base_model: str, *, use_case: str | None = None, dataset_size: int | None = None) -> FineTuningRecommendation
client.fine_tuning.restart_job(job_id: str) -> FineTuningJob
client.fine_tuning.retrieve_job(job_id: str) -> FineTuningJob
client.fine_tuning.stats() -> FineTuningStats
client.fine_tuning.stop_job(job_id: str) -> FineTuningJob
client.fine_tuning.validate_config(base_model: str, *, method: str, hardware: Mapping[str, Any] | None = None, method_config: Mapping[str, Any] | None = None) -> FineTuningValidation
Drift Detection
client.drift_detection.active_baseline(model_id: str) -> ReferenceBaseline | None
client.drift_detection.analyze(*, model_id: str, window_days: int | None = None, window_start: str | None = None, window_end: str | None = None) -> DriftAnalysisRun
client.drift_detection.analyze_status(job_id: str, *, model_id: str) -> DriftAnalysisRun
client.drift_detection.create_algorithm(*, name: str, code: str, supports: Sequence[str], description: str | None = None) -> DriftAlgorithm
client.drift_detection.delete_algorithm(algorithm_id: str) -> None
client.drift_detection.latest_result(model_id: str) -> DriftResult | None
client.drift_detection.list_algorithms(*, search: str | None = None, limit: int | None = None) -> SyncPaginator[DriftAlgorithm]
client.drift_detection.list_analyses(model_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[DriftAnalysisRun]
client.drift_detection.list_baselines(model_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ReferenceBaseline]
client.drift_detection.list_predictions(model_id: str, *, source: str | None = None, start_date: str | None = None, end_date: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[PredictionRecord]
client.drift_detection.log_prediction(*, model_id: str, features: Mapping[str, Any], prediction: Any, probabilities: Sequence[float] | None = None, entity_id: str | None = None, model_version: int | None = None, latency_ms: float | None = None) -> str
client.drift_detection.models(*, status: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[DriftModel]
client.drift_detection.result_features(result_id: str, *, model_id: str, rows: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[DriftResultRow]
client.drift_detection.results(model_id: str, *, status: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[DriftResult]
client.drift_detection.retrieve_algorithm(algorithm_id: str) -> DriftAlgorithm
client.drift_detection.retrieve_algorithm_test(test_id: str, *, algorithm_id: str) -> DriftAlgorithmTest
client.drift_detection.settings(model_id: str) -> DriftSettings | None
client.drift_detection.test_algorithm(algorithm_id: str) -> DriftAlgorithmTest
client.drift_detection.update_algorithm(algorithm_id: str, *, name: str | None = None, description: str | None = None, code: str | None = None, supports: Sequence[str] | None = None, is_active: bool | None = None) -> DriftAlgorithm
client.drift_detection.update_settings(model_id: str, *, enabled: bool | None = None, algorithms: Mapping[str, Any] | None = None, performance_drop_warning: float | None = None, performance_drop_alert: float | None = None, min_baseline_sample_size: int | None = None, min_window_sample_size: int | None = None, notifications: Mapping[str, Any] | None = None, schedule: Mapping[str, Any] | None = None) -> DriftSettings | None
A/B Tests
client.ab_tests.analyze_experiment(experiment_id: str) -> ExperimentAnalysis
client.ab_tests.conclude_experiment(experiment_id: str) -> ABTestExperiment
client.ab_tests.create(*, name: str, strategy: str, variants: Sequence[Mapping[str, Any]], description: str | None = None, tags: Sequence[str] | None = None, workspace_id: str | None = None, sticky_routing: bool | None = None, feature_rules: Sequence[Mapping[str, Any]] | None = None, bandit_config: Mapping[str, Any] | None = None, canary_config: Mapping[str, Any] | None = None) -> ABTest
client.ab_tests.create_experiment(test_id: str, *, name: str, control_variant_id: str, treatment_variant_ids: Sequence[str], primary_metric: str, description: str | None = None, hypothesis: str | None = None, confidence_level: float | None = None, minimum_detectable_effect: float | None = None, min_sample_per_variant: int | None = None, max_sample_per_variant: int | None = None, max_duration_days: float | None = None) -> ABTestExperiment
client.ab_tests.delete(test_id: str) -> None
client.ab_tests.delete_experiment(experiment_id: str) -> None
client.ab_tests.deploy(test_id: str) -> ABTest
client.ab_tests.list(*, status: str | None = None, strategy: str | None = None, model_id: str | None = None, workspace_id: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ABTest]
client.ab_tests.list_experiments(test_id: str, *, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ABTestExperiment]
client.ab_tests.metrics(test_id: str) -> ABTestMetrics
client.ab_tests.predict(test_id: str, input_data: Any, *, entity_id: str | None = None) -> ABTestPrediction
client.ab_tests.prediction_feedback(prediction_id: str, *, reward: float | None = None, label: str | None = None) -> PredictionRecord
client.ab_tests.predictions(test_id: str, *, variant_id: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[PredictionRecord]
client.ab_tests.retrieve(test_id: str) -> ABTest
client.ab_tests.start(test_id: str) -> ABTest
client.ab_tests.start_experiment(experiment_id: str) -> ABTestExperiment
client.ab_tests.stop(test_id: str) -> ABTest
client.ab_tests.stop_experiment(experiment_id: str) -> ABTestExperiment
client.ab_tests.traffic(test_id: str) -> ABTestTraffic
client.ab_tests.update(test_id: str, *, name: str | None = None, description: str | None = None, tags: Sequence[str] | None = None) -> ABTest
client.ab_tests.update_variant(test_id: str, variant_id: str, *, weight: float | None = None, enabled: bool | None = None) -> ABTestVariant
Governance
client.governance.add_policy(solution_id: str, policy_id: str) -> GovernanceSolution
client.governance.add_workload(solution_id: str, *, type: str, id: str, name: str | None = None) -> GovernanceSolution
client.governance.approve_gate_submission(submission_id: str, *, decision: str, comments: str | None = None) -> GateSubmission
client.governance.audit(*, entity_type: str | None = None, entity_id: str | None = None, solution_id: str | None = None, action: str | None = None, user_id: str | None = None, search: str | None = None, start_date: str | None = None, end_date: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[GovernanceAuditEntry]
client.governance.create_policy(*, name: str, description: str, category: str, severity: str, applicable_resource_types: Sequence[str], stages: Sequence[Mapping[str, Any]], is_active: bool, is_draft: bool, tags: Sequence[str] | None = None) -> GovernancePolicy
client.governance.create_solution(*, name: str, description: str | None = None, workloads: Sequence[Mapping[str, Any]] | None = None, policy_ids: Sequence[str] | None = None) -> GovernanceSolution
client.governance.delete_evidence(evidence_id: str) -> None
client.governance.delete_policy(policy_id: str) -> None
client.governance.delete_solution(solution_id: str) -> None
client.governance.download_evidence(evidence_id: str) -> bytes
client.governance.enforcement_check(*, resource_type: str, resource_id: str, organization_id: str) -> EnforcementResult
client.governance.list_policies(*, category: str | None = None, severity: str | None = None, is_active: bool | None = None, is_draft: bool | None = None, tag: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[GovernancePolicySummary]
client.governance.list_solutions(*, status: str | None = None, policy_id: str | None = None, workload_type: str | None = None, workload_id: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[GovernanceSolution]
client.governance.metrics() -> GovernanceMetrics
client.governance.pending_reviews(*, limit: int | None = None) -> SyncPaginator[GateSubmission]
client.governance.policy_versions(policy_id: str, *, limit: int | None = None) -> SyncPaginator[PolicyVersion]
client.governance.recompute_solution(solution_id: str) -> SolutionStatusSummary
client.governance.remove_policy(solution_id: str, policy_id: str) -> None
client.governance.remove_workload(solution_id: str, workload_type: str, workload_id: str) -> None
client.governance.resource_types() -> list[GovernanceResourceType]
client.governance.retrieve_policy(policy_id: str) -> GovernancePolicy
client.governance.retrieve_solution(solution_id: str) -> GovernanceSolution
client.governance.reviewer_options() -> ReviewerOptions
client.governance.solution_requirements(solution_id: str, *, resource_type: str | None = None, limit: int | None = None) -> SyncPaginator[GateRequirement]
client.governance.submit_gate(solution_id: str, gate_id: str, *, policy_id: str, data: Mapping[str, Any] | None = None) -> GateSubmission
client.governance.update_policy(policy_id: str, *, name: str | None = None, description: str | None = None, category: str | None = None, severity: str | None = None, applicable_resource_types: Sequence[str] | None = None, stages: Sequence[Mapping[str, Any]] | None = None, is_active: bool | None = None, is_draft: bool | None = None, tags: Sequence[str] | None = None) -> GovernancePolicy
client.governance.update_solution(solution_id: str, *, name: str | None = None, description: str | None = None) -> GovernanceSolution
client.governance.upload_evidence(solution_id: str, gate_id: str, *, policy_id: str, file: FileInput) -> EvidenceAttachment
client.governance.waive_gate_submission(submission_id: str, *, reason: str) -> GateSubmission
FinOps Budgets
client.finops.budgets.create(*, name: str, organization_id: str, scope: Mapping[str, Any], budget: Mapping[str, Any], thresholds: Sequence[Mapping[str, Any]], description: str | None = None, notifications: Mapping[str, Any] | None = None, enabled: bool | None = None) -> Budget
client.finops.budgets.delete(budget_id: str) -> None
client.finops.budgets.list(*, search: str | None = None, status: str | None = None, scope_level: str | None = None, limit: int | None = None) -> SyncPaginator[BudgetSummary]
client.finops.budgets.pause(budget_id: str) -> Budget
client.finops.budgets.resume(budget_id: str) -> Budget
client.finops.budgets.retrieve(budget_id: str) -> Budget
client.finops.budgets.update(budget_id: str, *, name: str | None = None, description: str | None = None, organization_id: str | None = None, scope: Mapping[str, Any] | None = None, budget: Mapping[str, Any] | None = None, thresholds: Sequence[Mapping[str, Any]] | None = None, notifications: Mapping[str, Any] | None = None, enabled: bool | None = None) -> Budget
FinOps Costs
client.finops.costs.anomalies(*, days: int | None = None, sensitivity: Sensitivity | None = None) -> CostAnomalies
client.finops.costs.breakdown(*, window: str | None = None, group_by: GroupBy | None = None, org_id: str | None = None, owner_id: str | None = None, user_id: str | None = None, resource_type: str | None = None, workload: str | None = None, namespace: str | None = None) -> CostGroupBreakdown
client.finops.costs.cost_top_drivers(*, window: str | None = None, limit: int | None = None) -> list[TopCostDriver]
client.finops.costs.daily(*, start_date: str | None = None, end_date: str | None = None, resource_type: str | None = None) -> DailyCosts
client.finops.costs.dashboard() -> FinOpsDashboard
client.finops.costs.dashboard_stats(*, period: str | None = None) -> DashboardStats
client.finops.costs.data_health() -> FinOpsDataHealth
client.finops.costs.efficiency(*, window: str | None = None, group_by: GroupBy | None = None, org_id: str | None = None, owner_id: str | None = None, user_id: str | None = None, resource_type: str | None = None, workload: str | None = None, namespace: str | None = None) -> CostEfficiency
client.finops.costs.forecast(*, weeks: int | None = None) -> CostForecast
client.finops.costs.historical(*, start_date: str | None = None, end_date: str | None = None, group_by: GroupBy | None = None, org_id: str | None = None, owner_id: str | None = None, user_id: str | None = None, resource_type: str | None = None, workload: str | None = None) -> HistoricalCosts
client.finops.costs.monthly(*, months: int | None = None, year: int | None = None) -> MonthlyCosts
client.finops.costs.per_execution(*, window: str | None = None, workflow_id: str | None = None) -> CostPerExecution
client.finops.costs.realtime(*, window: str | None = None, namespace: str | None = None) -> RealtimeCosts
client.finops.costs.reconciliation(day: str) -> BillReconciliation
client.finops.costs.reconciliations(*, limit: int | None = None) -> SyncPaginator[BillReconciliation]
client.finops.costs.savings(*, category: str | None = None, min_savings: float | None = None) -> SavingsRecommendations
client.finops.costs.top_drivers(*, limit: int | None = None, period: str | None = None) -> list[TopCostDriver]
client.finops.costs.trends(*, window: str | None = None, granularity: str | None = None, group_by: GroupBy | None = None, org_id: str | None = None, owner_id: str | None = None, user_id: str | None = None, resource_type: str | None = None, workload: str | None = None) -> CostTrend
FinOps Resource Groups
client.finops.resource_groups.add_resource(resource_group_id: str, *, type: str, resource_id: str, name: str) -> ResourceGroup
client.finops.resource_groups.create(*, name: str, description: str | None = None) -> ResourceGroup
client.finops.resource_groups.delete(resource_group_id: str) -> None
client.finops.resource_groups.list(*, search: str | None = None, status: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[ResourceGroup]
client.finops.resource_groups.remove_resource(resource_group_id: str, resource_id: str, *, type: str) -> ResourceGroup
client.finops.resource_groups.retrieve(resource_group_id: str) -> ResourceGroup
client.finops.resource_groups.update(resource_group_id: str, *, name: str | None = None, description: str | None = None, status: str | None = None) -> ResourceGroup
FinOps Schedules
client.finops.schedules.create(*, name: str, scope: Mapping[str, Any], schedule: Mapping[str, Any], description: str | None = None, organization_id: str | None = None, enabled: bool | None = None) -> Schedule
client.finops.schedules.create_override(schedule_id: str, *, resource_type: Literal['app', 'addon', 'workspace', 'self-hosted-model'], resource_id: str, skip_until: datetime, reason: str | None = None) -> ScheduleOverride
client.finops.schedules.delete(schedule_id: str) -> None
client.finops.schedules.delete_override(schedule_id: str, override_id: str) -> None
client.finops.schedules.execute(schedule_id: str, *, action: Literal['stop', 'start']) -> ScheduleExecutionLog
client.finops.schedules.history(schedule_id: str, *, limit: int | None = None) -> SyncPaginator[ScheduleExecutionLog]
client.finops.schedules.list(*, search: str | None = None, status: str | None = None, scope_type: str | None = None, enabled: bool | None = None, limit: int | None = None) -> SyncPaginator[Schedule]
client.finops.schedules.list_overrides(schedule_id: str, *, limit: int | None = None) -> SyncPaginator[ScheduleOverride]
client.finops.schedules.list_resources(schedule_id: str, *, limit: int | None = None) -> SyncPaginator[ScheduleResource]
client.finops.schedules.pause(schedule_id: str) -> None
client.finops.schedules.resume(schedule_id: str) -> None
client.finops.schedules.retrieve(schedule_id: str) -> Schedule
client.finops.schedules.update(schedule_id: str, *, name: str | None = None, description: str | None = None, scope: Mapping[str, Any] | None = None, schedule: Mapping[str, Any] | None = None, enabled: bool | None = None) -> Schedule
client.finops.schedules.update_override(schedule_id: str, override_id: str, *, skip_until: datetime | None = None, reason: str | None = None) -> ScheduleOverride
Users
client.users.app_cards(*, limit: int | None = None) -> SyncPaginator[AppCard]
client.users.archive(user_id: str, *, transfer_to: str | None = None, delete_resources: bool = False) -> UserArchiveResult
client.users.assets(user_id: str) -> UserAssetSummary
client.users.create(*, email: str, name: str, role: str | None = None, send_email: bool | None = None, profile: Mapping[str, Any] | None = None) -> CreatedUser
client.users.delete_me() -> AccountDeletionResult
client.users.github_ssh_keys(*, limit: int | None = None) -> SyncPaginator[GithubSSHKey]
client.users.list(*, search: str | None = None, active: bool | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[User]
client.users.me() -> CurrentUser
client.users.reset_password(user_id: str) -> PasswordResetResult
client.users.retrieve(user_id: str) -> User
client.users.update(user_id: str, *, name: str | None = None, email: str | None = None, active: bool | None = None, is_admin: bool | None = None, is_developer: bool | None = None) -> User
client.users.update_me(*, name: str | None = None, photo: str | None = None, governance_email: bool | None = None) -> CurrentUser
Organizations
client.organizations.add_credits(org_id: str, *, credits: int, note: str | None = None) -> CreditTransaction
client.organizations.apply_credit_reset(org_id: str, reset_id: str) -> CreditReset
client.organizations.cancel_invitation(org_id: str, invitation_id: str) -> None
client.organizations.create_credit_grant(org_id: str, *, label: str, amount_credits: int, starts_at: datetime | str, period_count: int | None = None, ends_at: datetime | str | None = None) -> CreditGrant
client.organizations.create_credit_reset(org_id: str, *, note: str, expires_at: datetime | str) -> CreditReset
client.organizations.credits(org_id: str) -> OrganizationCredits
client.organizations.end_credit_grant(org_id: str, grant_id: str) -> CreditGrant
client.organizations.get_credit_grant(org_id: str, grant_id: str) -> CreditGrant
client.organizations.get_credit_settings(org_id: str) -> CreditSettings
client.organizations.invite(org_id: str, *, email: str, role: str, platform_role: str | None = None, name: str | None = None) -> Invitation
client.organizations.list(*, status: str | None = None, limit: int | None = None) -> SyncPaginator[Organization]
client.organizations.list_credit_grants(org_id: str, *, limit: int | None = None) -> SyncPaginator[CreditGrant]
client.organizations.list_credit_purchases(org_id: str, *, limit: int | None = None) -> SyncPaginator[CreditPurchaseLot]
client.organizations.list_credit_resets(org_id: str, *, limit: int | None = None) -> SyncPaginator[CreditReset]
client.organizations.list_invitations(org_id: str, *, limit: int | None = None) -> SyncPaginator[Invitation]
client.organizations.list_members(org_id: str, *, limit: int | None = None) -> SyncPaginator[Member]
client.organizations.list_transactions(org_id: str, *, type: str | None = None, search: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[CreditTransaction]
client.organizations.purchase_credits(org_id: str, *, credits: int, payment_method: str | None = None, idempotency_key: str | None = None) -> CreditPurchase
client.organizations.remove_member(org_id: str, user_id: str) -> MemberRemoval
client.organizations.resend_invitation(org_id: str, invitation_id: str) -> None
client.organizations.retrieve(org_id: str) -> Organization
client.organizations.revoke_credit_reset(org_id: str, reset_id: str) -> CreditReset
client.organizations.update(org_id: str, *, name: str | None = None, description: str | None = None, status: str | None = None, billing_email: str | None = None, settings: Mapping[str, Any] | None = None, alert_thresholds: Sequence[int] | None = None) -> Organization
client.organizations.update_credit_grant(org_id: str, grant_id: str, *, label: str | None = None, amount_credits: int | None = None, starts_at: datetime | str | None = None, period_count: int | None = None) -> CreditGrant
client.organizations.update_credit_settings(org_id: str, *, low_balance_alert: Mapping[str, Any] | None = None, auto_refill: Mapping[str, Any] | None = None) -> CreditSettings
client.organizations.update_member(org_id: str, user_id: str, *, role: str | None = None, platform_role: str | None = None, active: bool | None = None) -> Member
Marketplace
client.marketplace.available_addons(*, type: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[AvailableAddon]
client.marketplace.available_models(*, model_type: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[AvailableModel]
client.marketplace.cancel_deployment(deployment_id: str) -> MarketplaceDeployment
client.marketplace.cancel_subscription(subscription_id: str, *, at_period_end: bool) -> OfferingSubscription
client.marketplace.create_item(*, name: str, app_name: str, description: str, vendor: str, type: str, vertical: str, featured: bool | None = None, tags: Sequence[str] | None = None, images: Mapping[str, Any] | None = None, features: Sequence[str] | None = None, requirements: Mapping[str, Any] | None = None, specifications: Mapping[str, Any] | None = None, pricing: Mapping[str, Any] | None = None, price: str | None = None, version: str | None = None, status: str | None = None, environment: Mapping[str, Any] | None = None) -> MarketplaceItem
client.marketplace.create_subscription(*, organization_id: str, offering_id: str, plan_name: str, activate_immediately: bool, success_url: str, cancel_url: str) -> OfferingSubscription
client.marketplace.delete_deployment(deployment_id: str) -> None
client.marketplace.delete_item(item_id: str) -> None
client.marketplace.deploy(*, app_name: str, marketplace_item_id: str, terms_accepted: bool, resources: Mapping[str, Any] | None = None, volumes: Sequence[Mapping[str, Any]] | None = None, deployment_id: str | None = None, config: Mapping[str, Any] | None = None) -> MarketplaceDeployment
client.marketplace.deployment_status(deployment_id: str) -> DeploymentStatus
client.marketplace.item_deploy_config(item_id: str) -> dict[str, Any]
client.marketplace.item_license(item_id: str) -> MarketplaceLicense
client.marketplace.item_stats(*, search: str | None = None, vertical: str | None = None, type: str | None = None, featured: bool | None = None) -> MarketplaceItemStats
client.marketplace.list_deployments(*, marketplace_item_id: str | None = None, limit: int | None = None) -> SyncPaginator[MarketplaceDeployment]
client.marketplace.list_items(*, search: str | None = None, vertical: str | None = None, type: str | None = None, featured: bool | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[MarketplaceItemSummary]
client.marketplace.list_subscriptions(*, organization_id: str | None = None, offering_id: str | None = None, status: str | None = None, limit: int | None = None) -> SyncPaginator[OfferingSubscription]
client.marketplace.list_verticals() -> list[MarketplaceVertical]
client.marketplace.record_offering_usage(*, offering_id: str, meter_key: str, quantity: float, idempotency_key: str, occurred_at: str | None = None) -> OfferingUsageRecorded
client.marketplace.retrieve_deployment(deployment_id: str) -> MarketplaceDeployment
client.marketplace.retrieve_item(item_id: str) -> MarketplaceItem
client.marketplace.retrieve_subscription(subscription_id: str) -> OfferingSubscription
client.marketplace.update_item(item_id: str, *, name: str | None = None, app_name: str | None = None, description: str | None = None, vendor: str | None = None, type: str | None = None, vertical: str | None = None, featured: bool | None = None, tags: Sequence[str] | None = None, images: Mapping[str, Any] | None = None, features: Sequence[str] | None = None, requirements: Mapping[str, Any] | None = None, specifications: Mapping[str, Any] | None = None, pricing: Mapping[str, Any] | None = None, price: str | None = None, version: str | None = None, status: str | None = None, environment: Mapping[str, Any] | None = None) -> MarketplaceItem
client.marketplace.update_subscription(subscription_id: str, *, plan_name: str) -> OfferingSubscription
Plugins
client.plugins.install(plugin_id: str, *, values: dict[str, Any] | None = None, features: dict[str, bool] | None = None, organization_id: str | None = None) -> PluginInstance
client.plugins.list() -> list[Plugin]
client.plugins.list_instances() -> SyncPaginator[PluginInstance]
client.plugins.retrieve_instance(instance_id: str) -> PluginInstance
client.plugins.uninstall(instance_id: str) -> None
client.plugins.update_instance(instance_id: str, *, enabled: bool | None = None, values: dict[str, Any] | None = None, features: dict[str, bool] | None = None) -> PluginInstance
Desktop Bridge
client.bridge.invoke(node: str, *, inputs: Mapping[str, Any] | None = None) -> BridgeInvokeResult
client.bridge.status() -> BridgeStatus
API Document
client.api.openapi() -> dict[str, Any]
Data Forge
client.data_forge.analytics(project_id: str) -> DataForgeAnalytics
client.data_forge.available_models() -> list[DataForgeModel]
client.data_forge.bulk_action_pairs(project_id: str, *, action: str, pair_ids: list[str] | None = None, filters: dict[str, Any] | None = None) -> DataForgeBulkResult
client.data_forge.cancel_generation(generation_id: str) -> DataForgeGeneration
client.data_forge.create_project(*, name: str, description: str | None = None, chunk_strategy: str | None = None, embedding_model_id: str | None = None) -> DataForgeProject
client.data_forge.delete_document(project_id: str, document_id: str) -> None
client.data_forge.delete_project(project_id: str) -> None
client.data_forge.embedding_models() -> list[DataForgeModel]
client.data_forge.export_dataset(project_id: str, *, format: str = "chatml", include_system_prompt: bool = True, min_quality_score: float | None = None, volume_id: str | None = None, new_volume_name: str | None = None) -> DataForgeExport
client.data_forge.generation_logs(generation_id: str) -> list[DataForgeLogLine]
client.data_forge.list_chunks(project_id: str, *, limit: int | None = None) -> SyncPaginator[DataForgeChunk]
client.data_forge.list_documents(project_id: str, *, limit: int | None = None) -> SyncPaginator[DataForgeDocument]
client.data_forge.list_generations(project_id: str, *, limit: int | None = None) -> SyncPaginator[DataForgeGeneration]
client.data_forge.list_pairs(project_id: str, *, status: str | None = None, quality_min: float | None = None, difficulty: str | None = None, document_id: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[DataForgePair]
client.data_forge.list_projects(*, status: str | None = None, search: str | None = None, limit: int | None = None) -> SyncPaginator[DataForgeProject]
client.data_forge.parse_documents(project_id: str) -> DataForgeParseJob
client.data_forge.register_document(project_id: str, *, filename: str, content_type: str, file_size: int, s3_key: str) -> DataForgeDocument
client.data_forge.retrieve_export(project_id: str, version: int) -> DataForgeExport
client.data_forge.retrieve_generation(generation_id: str) -> DataForgeGeneration
client.data_forge.retrieve_project(project_id: str) -> DataForgeProject
client.data_forge.start_generation(project_id: str, *, teacher_model_id: str, output_format: str, pairs_per_chunk: int | None = None, difficulty_distribution: Mapping[str, Any] | None = None, system_prompt: str | None = None, temperature: float | None = None, style_template: str | None = None, thresholds: Mapping[str, Any] | None = None) -> DataForgeGeneration
client.data_forge.update_chunk(project_id: str, chunk_id: str, *, content: str | None = None, **kwargs) -> DataForgeChunk
client.data_forge.update_pair(pair_id: str, *, question: str | None = None, answer: str | None = None, system_prompt: str | None = None, status: str | None = None, reviewer_notes: str | None = None) -> DataForgePair
client.data_forge.update_project(project_id: str, *, name: str | None = None, description: str | None = None, config: Mapping[str, Any] | None = None) -> DataForgeProject
client.data_forge.upload_url(project_id: str, *, filename: str, content_type: str) -> DataForgeUploadUrl
Streaming
client.streaming.deploy(workflow_id: str, *, cpu: str | None = None, memory: str | None = None, disk: str | None = None, gpu: str | None = None, gpu_type: str | None = None, use_spot: bool | None = None, spot_fallback: bool | None = None, idle_timeout_seconds: int | None = None, max_session_duration_seconds: int | None = None, max_concurrent_sessions: int | None = None, autoscaling: Mapping[str, Any] | None = None) -> StreamingWorkflow
client.streaming.end_session(session_id: str) -> None
client.streaming.errors(session_id: str, *, limit: int | None = None) -> SyncPaginator[StreamingErrorEvent]
client.streaming.handoffs(session_id: str, *, limit: int | None = None) -> SyncPaginator[StreamingHandoff]
client.streaming.inject_message(session_id: str, text: str, *, role: Role = "system") -> None
client.streaming.list_deployments(workflow_id: str, *, limit: int | None = None) -> SyncPaginator[StreamingDeployment]
client.streaming.list_recordings(session_id: str, *, limit: int | None = None) -> SyncPaginator[StreamingRecording]
client.streaming.list_sessions(*, workflow_id: str | None = None, status: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[StreamingSession]
client.streaming.list_sessions_for_workflow(workflow_id: str, *, status: str | None = None, limit: int | None = None) -> SyncPaginator[StreamingSession]
client.streaming.list_workflows(*, search: str | None = None, status: str | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[StreamingWorkflow]
client.streaming.session(session_id: str) -> StreamingSession
client.streaming.session_logs(session_id: str, *, lines: int | None = None, container: str | None = None) -> StreamingSessionLogs
client.streaming.session_status(session_id: str) -> StreamingSessionStatus
client.streaming.start_session(workflow_id: str, *, metadata: dict[str, Any] | None = None, correlation_id: str | None = None, disposition_schema_version: str | None = None, mode: Literal['draft', 'production'] | None = None) -> SessionStartResult
client.streaming.transcript(session_id: str, *, limit: int | None = None) -> SyncPaginator[TranscriptTurn]
client.streaming.undeploy(workflow_id: str) -> StreamingWorkflow
client.streaming.workflow(workflow_id: str) -> StreamingWorkflow
Notifications
client.notifications.delete(notification_id: str) -> None
client.notifications.list(*, search: str | None = None, unread_only: bool | None = None, sort: str | None = None, limit: int | None = None) -> SyncPaginator[Notification]
client.notifications.mark_all_read() -> int
client.notifications.register_device(*, token: str, platform: str | None = None) -> None
client.notifications.stats() -> NotificationStats
client.notifications.unread_count() -> int
client.notifications.unregister_device(token: str) -> None
client.notifications.update(notification_id: str, *, read: bool) -> Notification
Dashboard
client.dashboard.summary() -> DashboardSummary
Analytics
client.analytics.beacon(*, events: Sequence[Mapping[str, Any]]) -> int
Feature Store
client.feature_store.apply(store_id: str, *, entities: Sequence[Mapping[str, Any]] | None = None, views: Sequence[Mapping[str, Any]] | None = None, services: Sequence[Mapping[str, Any]] | None = None) -> FeatureApplyResult
client.feature_store.create_store(name: str, *, offline: Mapping[str, Any], snapshot_retention_days: int | Literal['until_store_deleted'], online: Mapping[str, Any] | None = None, description: str | None = None) -> FeatureStoreRecord
client.feature_store.delete_snapshot(store_id: str, snapshot_id: str) -> None
client.feature_store.delete_store(store_id: str) -> None
client.feature_store.delete_view(store_id: str, view: str, version: int) -> None
client.feature_store.deprecate_view(store_id: str, view: str, version: int) -> FeatureViewDeprecated
client.feature_store.forget_entities(store_id: str, view: str, entity_rows: Sequence[Mapping[str, Any]]) -> FeatureEntitiesForgotten
client.feature_store.get_historical_features(store_id: str, feature_service: str, entity_rows: Sequence[Mapping[str, Any]] | None = None, *, entity_s3_uri: str | None = None, entity_format: str | None = None) -> HistoricalFeatures
client.feature_store.get_online_features(store_id: str, feature_service: str, entity_rows: Sequence[Mapping[str, Any]], *, max_staleness_seconds: int | None = None) -> OnlineFeatures
client.feature_store.get_store(store_id: str) -> FeatureStoreDetail
client.feature_store.list_snapshots(store_id: str, *, limit: int | None = None) -> SyncPaginator[FeatureStoreSnapshot]
client.feature_store.list_stores(*, limit: int | None = None) -> SyncPaginator[FeatureStoreSummary]
client.feature_store.materialize(store_id: str, view: str) -> FeatureMaterialization
client.feature_store.push(store_id: str, view: str, events: Sequence[Mapping[str, Any]]) -> FeatureEventsPushed
client.feature_store.update_store(store_id: str, *, name: str | None = None, description: str | None = None, snapshot_retention_days: int | Literal['until_store_deleted'] | None = None) -> FeatureStoreRecord
client.feature_store.view_online_values(store_id: str, view: str, entity_rows: Sequence[Mapping[str, Any]], *, view_version: int | None = None) -> ViewOnlineValues
client.feature_store.write(store_id: str, view: str, rows: Sequence[Mapping[str, Any]]) -> FeatureRowsWritten