anatools.anaclient.api.api module

API Module

class api(url, status_url, headers, verbose=False)

Bases: object

addGANOrganization(modelId, organizationId)
addMember(email, role=None, organizationId=None, workspaceId=None)
cancelDataset(workspaceId, datasetId)
close()
createAPIKey(name, expires, organizationId)
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)
createLLMPrompt(prompt, baseChannel, nodeType, nodeName)
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)
deleteAPIKey(name)
deleteAnalytics(workspaceId, analyticsId)
deleteAnnotation(workspaceId, annotationId)
deleteDataset(workspaceId, datasetId)
deleteGANDataset(datasetId, workspaceId)
deleteGANModel(modelId)
deleteGraph(workspaceId, graphId)
deleteLLMPrompt(promptId)
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)
downloadManagedGAN(modelId)
downloadManagedMap(mapId)
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, permission=None)
editMember(email, organizationId, role)
editOrganization(organizationId, name)
editWorkspace(workspaceId, name=None, channelIds=None, volumeIds=None, ganIds=None, mapIds=None)
errorhandler(response, call)
getAPIKeyContext(apiKey)
getAPIKeyData(name)
getAPIKeys()
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)
getGANDatasets(datasetId, workspaceId, gandatasetId)
getGANModels(organizationId, workspaceId, modelId)
getGraphs(workspaceId, graphId=None, name=None, email=None)
getInvitations(organizationId=None)
getLLMBaseChannels()
getLLMChannelNodeTypes()
getLLMResponse(promptId)
getManagedChannels(organizationId, channelId=None)
getManagedGANs(organizationId, modelId)
getManagedMaps(organizationId, mapId)
getManagedVolumes(organizationId, volumeId=None)
getMembers(organizationId=None)
getOrganizations(organizationId=None)
getSystemNotifications()
getSystemStatus(serviceId=None)
getUMAPs(umapId, datasetId, workspaceId)
getVolumeData(volumeId, keys=[], dir=None, offset=None, limit=None)
getVolumes(organizationId=None, volumeId=None)
getWorkspaces(organizationId=None, workspaceId=None)
login(email, password)
mountVolumes(volumes)
putVolumeData(volumeId, keys=[])
removeGANOrganization(modelId, organizationId)
removeMember(email, organizationId=None, workspaceId=None, invitationId=None)
setChannelGraph(channelId, workspaceId, graphId=None, stagedGraphId=None)
uploadChannelDocumentation(channelId, keys=[])