Skip to content
MacrofoldDocs
Reference

SDK method reference

Find the resource method for every public operation in all five languages.

Generated from the OpenAPI contract. All 144 public operations have a resource method. Start with the language guides for installation, authentication, and runnable examples.

Names below follow each language's casing. TypeScript, Python, and Go use resource properties; Java and Rust use resource accessors, such as client.projects().create(...). Rust network methods are async. Signatures and response types are available in editor completion and checked-in generated sources; query/header options use typed parameter classes in Go, Rust, and Java. Python uses keyword arguments; TypeScript uses typed options.

Path identifiers are positional. Required request values stay typed; optional transport settings expose idempotency, cancellation, and organization selection where supported. Methods retain each SDK's documented transport behavior. The run events method delegates to resumable incremental streaming; stream remains available. Closing a stream leaves the remote run active; call runs.cancel to stop it.

Run convenience helpers

These compose existing operations and add no backend endpoints.

PurposeTypeScript / JavaPython / RustGo
Assistant text fragmentsruns.streamTextruns.stream_textRuns.StreamText
Typed complete result after execution and persistenceruns.waitruns.waitRuns.Wait

Text streams handle SSE, cursors and duplicate suppression internally, excluding tool payloads and status events. Both convenience helpers report unsuccessful execution or persistence as a typed run error carrying the run ID. A wait timeout stops local waiting without cancelling execution. The language guides describe timeout options, callbacks/iterators, and advanced replay.

Projects

OpenAPI operationTypeScript / JavaPython / RustGo
listProjectsprojects.listprojects.listProjects.List
createProjectprojects.createprojects.createProjects.Create
getProjectprojects.getprojects.getProjects.Get
updateProjectprojects.updateprojects.updateProjects.Update
deleteProjectprojects.deleteprojects.deleteProjects.Delete
listWorkspacesprojects.listWorkspacesprojects.list_workspacesProjects.ListWorkspaces
createWorkspaceprojects.createWorkspaceprojects.create_workspaceProjects.CreateWorkspace
scheduleProjectDeletionprojects.scheduleDeletionprojects.schedule_deletionProjects.ScheduleDeletion
cancelProjectDeletionprojects.cancelDeletionprojects.cancel_deletionProjects.CancelDeletion
getWorktreeOptionsprojects.getWorktreeOptionsprojects.get_worktree_optionsProjects.GetWorktreeOptions

Workspaces

OpenAPI operationTypeScript / JavaPython / RustGo
getWorkspaceworkspaces.getworkspaces.getWorkspaces.Get
deleteWorkspaceworkspaces.deleteworkspaces.deleteWorkspaces.Delete
updateWorkspaceworkspaces.updateworkspaces.updateWorkspaces.Update
listFilesworkspaces.listFilesworkspaces.list_filesWorkspaces.ListFiles
readFileworkspaces.readFileworkspaces.read_fileWorkspaces.ReadFile
writeFileworkspaces.writeFileworkspaces.write_fileWorkspaces.WriteFile
deleteFileworkspaces.deleteFileworkspaces.delete_fileWorkspaces.DeleteFile
renameFileworkspaces.renameFileworkspaces.rename_fileWorkspaces.RenameFile
listCheckpointsworkspaces.listCheckpointsworkspaces.list_checkpointsWorkspaces.ListCheckpoints
createCheckpointworkspaces.createCheckpointworkspaces.create_checkpointWorkspaces.CreateCheckpoint
restoreWorkspaceworkspaces.restoreworkspaces.restoreWorkspaces.Restore
getSyncworkspaces.getSyncworkspaces.get_syncWorkspaces.GetSync
syncWorkspaceworkspaces.syncworkspaces.syncWorkspaces.Sync
getWorkspaceDiffworkspaces.getDiffworkspaces.get_diffWorkspaces.GetDiff
createTransferworkspaces.createTransferworkspaces.create_transferWorkspaces.CreateTransfer
listTransfersworkspaces.listTransfersworkspaces.list_transfersWorkspaces.ListTransfers
createFolderworkspaces.createFolderworkspaces.create_folderWorkspaces.CreateFolder
duplicateFileworkspaces.duplicateFileworkspaces.duplicate_fileWorkspaces.DuplicateFile

Agents

OpenAPI operationTypeScript / JavaPython / RustGo
listAgentsagents.listagents.listAgents.List
createAgentagents.createagents.createAgents.Create
getAgentagents.getagents.getAgents.Get
updateAgentagents.updateagents.updateAgents.Update
deleteAgentagents.deleteagents.deleteAgents.Delete

Sessions

OpenAPI operationTypeScript / JavaPython / RustGo
listSessionssessions.listsessions.listSessions.List
createSessionsessions.createsessions.createSessions.Create
getSessionsessions.getsessions.getSessions.Get
continueSessionsessions.continueRunsessions.continue_runSessions.ContinueRun

Runs

OpenAPI operationTypeScript / JavaPython / RustGo
listRunsruns.listruns.listRuns.List
createRunruns.createruns.createRuns.Create
getRunruns.getruns.getRuns.Get
cancelRunruns.cancelruns.cancelRuns.Cancel
submitRunInputruns.submitInputruns.submit_inputRuns.SubmitInput
getRunResultruns.getResultruns.get_resultRuns.GetResult
listRunEventsruns.listEventsruns.list_eventsRuns.ListEvents
streamRunruns.eventsruns.eventsRuns.Events
listArtifactsruns.listArtifactsruns.list_artifactsRuns.ListArtifacts

Artifacts

OpenAPI operationTypeScript / JavaPython / RustGo
downloadArtifactartifacts.downloadartifacts.downloadArtifacts.Download

Connections

OpenAPI operationTypeScript / JavaPython / RustGo
listConnectionsconnections.listconnections.listConnections.List
createConnectionconnections.createconnections.createConnections.Create
getConnectionconnections.getconnections.getConnections.Get
updateConnectionconnections.updateconnections.updateConnections.Update
deleteConnectionconnections.deleteconnections.deleteConnections.Delete
authorizeConnectionconnections.authorizeconnections.authorizeConnections.Authorize
testConnectionconnections.testconnections.testConnections.Test
listConnectionToolsconnections.listToolsconnections.list_toolsConnections.ListTools
listStdioPackagesconnections.listStdioPackagesconnections.list_stdio_packagesConnections.ListStdioPackages
listConnectorCatalogconnections.listConnectorCatalogconnections.list_connector_catalogConnections.ListConnectorCatalog
getConnectionAccessconnections.getAccessconnections.get_accessConnections.GetAccess
updateConnectionAccessconnections.updateAccessconnections.update_accessConnections.UpdateAccess
listConnectionAccessRulesconnections.listAccessRulesconnections.list_access_rulesConnections.ListAccessRules
createConnectionAccessRuleconnections.createAccessRuleconnections.create_access_ruleConnections.CreateAccessRule
updateConnectionAccessRuleconnections.updateAccessRuleconnections.update_access_ruleConnections.UpdateAccessRule
deleteConnectionAccessRuleconnections.deleteAccessRuleconnections.delete_access_ruleConnections.DeleteAccessRule
resolveConnectionAccessconnections.resolveAccessconnections.resolve_accessConnections.ResolveAccess

ApiKeys

OpenAPI operationTypeScript / JavaPython / RustGo
listApiKeysapiKeys.listapi_keys.listApiKeys.List
createApiKeyapiKeys.createapi_keys.createApiKeys.Create
revokeApiKeyapiKeys.revokeapi_keys.revokeApiKeys.Revoke

WebhookEndpoints

OpenAPI operationTypeScript / JavaPython / RustGo
listWebhookEndpointswebhookEndpoints.listwebhook_endpoints.listWebhookEndpoints.List
createWebhookEndpointwebhookEndpoints.createwebhook_endpoints.createWebhookEndpoints.Create
updateWebhookEndpointwebhookEndpoints.updatewebhook_endpoints.updateWebhookEndpoints.Update
deleteWebhookEndpointwebhookEndpoints.deletewebhook_endpoints.deleteWebhookEndpoints.Delete
rotateWebhookSecretwebhookEndpoints.rotateWebhookSecretwebhook_endpoints.rotate_webhook_secretWebhookEndpoints.RotateWebhookSecret

WebhookDeliveries

OpenAPI operationTypeScript / JavaPython / RustGo
listWebhookDeliverieswebhookDeliveries.listwebhook_deliveries.listWebhookDeliveries.List
replayWebhookDeliverywebhookDeliveries.replaywebhook_deliveries.replayWebhookDeliveries.Replay

Usage

OpenAPI operationTypeScript / JavaPython / RustGo
getUsageusage.getusage.getUsage.Get

Requests

OpenAPI operationTypeScript / JavaPython / RustGo
listRequestsrequests.listrequests.listRequests.List

Billing

OpenAPI operationTypeScript / JavaPython / RustGo
getBillingbilling.getbilling.getBilling.Get
createCheckoutbilling.createCheckoutbilling.create_checkoutBilling.CreateCheckout
createBillingPortalbilling.createPortalbilling.create_portalBilling.CreatePortal
getStoragebilling.getStoragebilling.get_storageBilling.GetStorage
updateStoragePolicybilling.updateStoragePolicybilling.update_storage_policyBilling.UpdateStoragePolicy

Harnesses

OpenAPI operationTypeScript / JavaPython / RustGo
listHarnessesharnesses.listharnesses.listHarnesses.List

Models

OpenAPI operationTypeScript / JavaPython / RustGo
listModelsmodels.listmodels.listModels.List

Operations

OpenAPI operationTypeScript / JavaPython / RustGo
getOperationoperations.getoperations.getOperations.Get

Operator

OpenAPI operationTypeScript / JavaPython / RustGo
getGrowthMetricsoperator.getGrowthMetricsoperator.get_growth_metricsOperator.GetGrowthMetrics
getPlatformUsageMetricsoperator.getPlatformUsageMetricsoperator.get_platform_usage_metricsOperator.GetPlatformUsageMetrics
listAccountsoperator.listAccountsoperator.list_accountsOperator.ListAccounts
getAccountSummaryoperator.getAccountSummaryoperator.get_account_summaryOperator.GetAccountSummary
listPlatformRequestsoperator.listPlatformRequestsoperator.list_platform_requestsOperator.ListPlatformRequests
getRunDiagnosticsoperator.getRunDiagnosticsoperator.get_run_diagnosticsOperator.GetRunDiagnostics
getInfrastructureHealthoperator.getInfrastructureHealthoperator.get_infrastructure_healthOperator.GetInfrastructureHealth
getCapacityReportoperator.getCapacityReportoperator.get_capacity_reportOperator.GetCapacityReport
getOperatingReportoperator.getOperatingReportoperator.get_operating_reportOperator.GetOperatingReport
listReportSnapshotsoperator.listReportSnapshotsoperator.list_report_snapshotsOperator.ListReportSnapshots

Checkpoints

OpenAPI operationTypeScript / JavaPython / RustGo
updateCheckpointRetentioncheckpoints.updateRetentioncheckpoints.update_retentionCheckpoints.UpdateRetention
exportCheckpointcheckpoints.exportArchivecheckpoints.export_archiveCheckpoints.ExportArchive

Me

OpenAPI operationTypeScript / JavaPython / RustGo
getIdentityme.getme.getMe.Get

Transfers

OpenAPI operationTypeScript / JavaPython / RustGo
getTransfertransfers.gettransfers.getTransfers.Get
applyTransfertransfers.applytransfers.applyTransfers.Apply

Integrations

OpenAPI operationTypeScript / JavaPython / RustGo
listGithubInstallationsintegrations.listGithubInstallationsintegrations.list_github_installationsIntegrations.ListGithubInstallations
listGithubRepositoriesintegrations.listGithubRepositoriesintegrations.list_github_repositoriesIntegrations.ListGithubRepositories
disconnectGithubintegrations.disconnectGithubintegrations.disconnect_githubIntegrations.DisconnectGithub

Organizations

OpenAPI operationTypeScript / JavaPython / RustGo
createOrganizationorganizations.createorganizations.createOrganizations.Create
updateOrganizationorganizations.updateorganizations.updateOrganizations.Update
listMembersorganizations.listMembersorganizations.list_membersOrganizations.ListMembers
updateMemberorganizations.updateMemberorganizations.update_memberOrganizations.UpdateMember
removeMemberorganizations.removeMemberorganizations.remove_memberOrganizations.RemoveMember
listInvitationsorganizations.listInvitationsorganizations.list_invitationsOrganizations.ListInvitations
createInvitationorganizations.createInvitationorganizations.create_invitationOrganizations.CreateInvitation
revokeInvitationorganizations.revokeInvitationorganizations.revoke_invitationOrganizations.RevokeInvitation
listOrganizationAuditorganizations.listAuditorganizations.list_auditOrganizations.ListAudit
getExecutionPolicyorganizations.getExecutionPolicyorganizations.get_execution_policyOrganizations.GetExecutionPolicy
updateExecutionPolicyorganizations.updateExecutionPolicyorganizations.update_execution_policyOrganizations.UpdateExecutionPolicy

Triggers

OpenAPI operationTypeScript / JavaPython / RustGo
listTriggerstriggers.listtriggers.listTriggers.List
createTriggertriggers.createtriggers.createTriggers.Create
getTriggertriggers.gettriggers.getTriggers.Get
updateTriggertriggers.updatetriggers.updateTriggers.Update
deleteTriggertriggers.deletetriggers.deleteTriggers.Delete
rotateTriggerSecrettriggers.rotateSecrettriggers.rotate_secretTriggers.RotateSecret
listTriggerDeliveriestriggers.listDeliveriestriggers.list_deliveriesTriggers.ListDeliveries
runTriggertriggers.runtriggers.runTriggers.Run
retryTriggerReplytriggers.retryReplytriggers.retry_replyTriggers.RetryReply

SlackConnections

OpenAPI operationTypeScript / JavaPython / RustGo
listSlackConnectionsslackConnections.listslack_connections.listSlackConnections.List
createSlackConnectionslackConnections.createslack_connections.createSlackConnections.Create
deleteSlackConnectionslackConnections.deleteslack_connections.deleteSlackConnections.Delete
listSlackConnectionChannelsslackConnections.listChannelsslack_connections.list_channelsSlackConnections.ListChannels

CustomerAgents

OpenAPI operationTypeScript / JavaPython / RustGo
ensureCustomerAgentcustomerAgents.ensurecustomer_agents.ensureCustomerAgents.Ensure
listCustomerAgentscustomerAgents.listcustomer_agents.listCustomerAgents.List
getCustomerAgentcustomerAgents.getcustomer_agents.getCustomerAgents.Get
sendCustomerAgentMessagecustomerAgents.sendMessagecustomer_agents.send_messageCustomerAgents.SendMessage
listCustomerAgentConversationscustomerAgents.listConversationscustomer_agents.list_conversationsCustomerAgents.ListConversations
getCustomerAgentRuncustomerAgents.getRuncustomer_agents.get_runCustomerAgents.GetRun
getCustomerAgentRunResultcustomerAgents.getRunResultcustomer_agents.get_run_resultCustomerAgents.GetRunResult
listCustomerAgentRunEventscustomerAgents.listRunEventscustomer_agents.list_run_eventsCustomerAgents.ListRunEvents
streamCustomerAgentRuncustomerAgents.streamRuncustomer_agents.stream_runCustomerAgents.StreamRun
cancelCustomerAgentRuncustomerAgents.cancelRuncustomer_agents.cancel_runCustomerAgents.CancelRun
listCustomerAgentFilescustomerAgents.listFilescustomer_agents.list_filesCustomerAgents.ListFiles
readCustomerAgentFilecustomerAgents.readFilecustomer_agents.read_fileCustomerAgents.ReadFile
listCustomerAgentConnectionscustomerAgents.listConnectionscustomer_agents.list_connectionsCustomerAgents.ListConnections
createCustomerAgentConnectioncustomerAgents.createConnectioncustomer_agents.create_connectionCustomerAgents.CreateConnection
deleteCustomerAgentConnectioncustomerAgents.deleteConnectioncustomer_agents.delete_connectionCustomerAgents.DeleteConnection
updateCustomerAgentConnectionPermissionscustomerAgents.updateConnectionPermissionscustomer_agents.update_connection_permissionsCustomerAgents.UpdateConnectionPermissions
authorizeCustomerAgentConnectioncustomerAgents.authorizeConnectioncustomer_agents.authorize_connectionCustomerAgents.AuthorizeConnection
completeCustomerAgentConnectioncustomerAgents.completeConnectioncustomer_agents.complete_connectionCustomerAgents.CompleteConnection