anatools.anaclient.api.api module

API Module

class api(url, headers, verbose=False)

Bases: object

addChannelOrganization(channelId, organizationId)
addGANAccess(organizationId, modelId)
addGANOrganization(modelId, organizationId)
addMapOrganization(mapId, organizationId)
addMember(email, role=None, organizationId=None, workspaceId=None)
addVolumeOrganization(volumeId, organizationId, permission)
cancelDataset(workspaceId, datasetId)
close()
createAnalytics(workspaceId, datasetId, rangeInput, typeInput, returnImages)
createAnnotation(workspaceId, datasetId, format, map)
createDataset(workspaceId, graphId, name, runs, seed, priority, description=None)
createGANDataset(modelId, datasetId, workspaceId)
createGraph(workspaceId, channelId, graph, name, description)
createManagedChannel(organizationId, name, description=None, volumes=None, instance=None, timeout=None, interfaceVersion=None)
createManagedGAN(organizationId, name, description, flags)
createManagedMap(organizationId, name, description)
createManagedVolume(organizationId, name, description=None)
createUMAP(datasetIds, samples, workspaceId)
createWorkspace(organizationId, name, channelIds, volumeIds, code)
datasetUpload(workspaceId, description, filename)
deleteAnalytics(workspaceId, analyticsId)
deleteDataset(workspaceId, datasetId)
deleteGANDataset(datasetId, workspaceId)
deleteGANModel(modelId)
deleteGraph(workspaceId, graphId)
deleteManagedChannel(channelId)
deleteManagedGAN(modelId)
deleteManagedMap(mapId)
deleteManagedVolume(volumeId)
deleteUMAP(umapId, workspaceId)
deleteVolumeData(volumeId, keys=[])
deleteWorkspace(workspaceId)
deployManagedChannel(channelId, alias=None)
downloadAnnotation(workspaceId, datasetId, annotationId)
downloadDataset(workspaceId, datasetId)
downloadGraph(workspaceId, graphId)
editDataset(workspaceId, datasetId, name=None, description=None)
editGraph(workspaceId, graphId, name=None, description=None)
editManagedChannel(channelId, name=None, description=None, volumes=None, instance=None, timeout=None, status=None, interfaceVersion=None)
editManagedGAN(modelId, name=None, description=None, flags=None)
editManagedMap(mapId, name=None, description=None)
editManagedVolume(volumeId, name=None, description=None)
editMember(email, organizationId, role)
editOrganization(organizationId, name)
editWorkspace(workspaceId, name=None, channelIds=None, volumeIds=None, ganIds=None, mapIds=None)
errorhandler(response, call)
getAnalytics(analyticsId, workspaceId)
getAnalyticsTypes()
getAnnotationFormats()
getAnnotationMaps(organizationId, workspaceId, mapId)
getAnnotations(workspaceId, datasetId, annotationId)
getChannelDeployment(deploymentId)
getChannelDocumentation(channelId)
getChannels(organizationId=None, workspaceId=None, channelId=None, verbose=False)
getDatasetLog(workspaceId, datasetId, runId)
getDatasetRuns(workspaceId, datasetId, state=None)
getDatasets(workspaceId, datasetId=None, name=None, email=None)
getDefaultGraph(channelId)
getGANDataset(datasetId, workspaceId)
getGANModels(organizationId, workspaceId, modelId)
getGraphs(workspaceId, graphId=None, name=None, email=None)
getInvitations(organizationId=None, workspaceId=None)
getManagedChannels(organizationId, channelId=None)
getManagedGANs(organizationId, modelId)
getManagedMaps(organizationId, mapId)
getManagedVolumes(organizationId, volumeId=None)
getMembers(organizationId=None, workspaceId=None)
getOrganizationLimits(organizationId, setting=None)
getOrganizationUsage(organizationId, year, month, workspaceId=None, member=None)
getOrganizations(organizationId=None)
getPlatformLimits(tier=None, setting=None)
getUMAP(umapId, workspaceId)
getVolumeData(volumeId, keys=[], dir=None, offset=None, limit=None)
getVolumes(organizationId=None, volumeId=None)
getWorkspaceLimits(workspaceId, setting=None)
getWorkspaces(organizationId=None, workspaceId=None)
login(email, password)
mountVolumes(volumes)
putVolumeData(volumeId, keys=[])
removeChannelOrganization(channelId, organizationId)
removeGANAccess(organizationId, modelId)
removeGANOrganization(modelId, organizationId)
removeMapOrganization(mapId, organizationId)
removeMember(email, organizationId=None, workspaceId=None, invitationId=None)
removeVolumeOrganization(volumeId, organizationId)
setChannelGraph(channelId, workspaceId, graphId=None, stagedGraphId=None)
setOrganizationLimit(organizationId, setting, limit)
setPlatformLimit(tier, setting, limit)
setWorkspaceLimit(workspaceId, setting, limit)
uploadChannelDocumentation(channelId, keys=[])