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)
createInpaint(volumeId, location, files=[], destination=None)
createLLMPrompt(prompt, baseChannel, nodeType, nodeName)
createMLInference(workspaceId, datasetId, modelId, mapId=None)
createMLModel(workspaceId, datasetId, architectureId, name, description=None, parameters=None)
createManagedChannel(organizationId, name, description=None, volumes=None, instance=None, timeout=None, interfaceVersion=None)
createManagedGAN(organizationId, name, size, description, flags)
createManagedGANFinalizer(organizationId, uploadId, key, parts)
createManagedMap(organizationId, name, description)
createManagedVolume(organizationId, name, description=None)
createRemoteDevelopment(organizationId=None, channelId=None, channelVersion=None, verbose=False)
createUMAP(datasetIds, samples, workspaceId)
createWorkspace(organizationId, name, channelIds, volumeIds, code)
datasetUpload(workspaceId, filename, filesize, description)
datasetUploadFinalizer(workspaceId, uploadId, key, parts)
deleteAPIKey(name)
deleteAnalytics(workspaceId, analyticsId)
deleteAnnotation(workspaceId, annotationId)
deleteDataset(workspaceId, datasetId)
deleteGANDataset(datasetId, workspaceId)
deleteGANModel(modelId)
deleteGraph(workspaceId, graphId)
deleteInpaint(volumeId, inpaintId)
deleteLLMPrompt(promptId)
deleteMLInference(workspaceId, inferenceId)
deleteMLModel(workspaceId, modelId)
deleteManagedChannel(channelId)
deleteManagedGAN(modelId)
deleteManagedMap(mapId)
deleteManagedVolume(volumeId)
deleteRemoteDevelopment(editorSessionId, organizationId=None, verbose=False)
deleteUMAP(umapId, workspaceId)
deleteVolumeData(volumeId, keys=[])
deleteWorkspace(workspaceId)
deployManagedChannel(channelId, alias=None)
downloadAnnotation(workspaceId, datasetId, annotationId)
downloadDataset(workspaceId, datasetId)
downloadGraph(workspaceId, graphId)
downloadMLInference(workspaceId, inferenceId)
downloadMLModel(workspaceId, modelId)
downloadManagedGAN(modelId)
downloadManagedMap(mapId)
editDataset(workspaceId, datasetId, name=None, description=None)
editGraph(workspaceId, graphId, name=None, description=None)
editMLModel(workspaceId, modelId, name=None, description=None)
editManagedChannel(channelId, name=None, description=None, volumes=None, instance=None, timeout=None, status=None, interfaceVersion=None, preview=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)
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)
getInpaintLogs(volumeId, inpaintId)
getInpaints(volumeId, inpaintId=None, cursor=None, limit=None)
getInvitations(organizationId=None)
getLLMBaseChannels()
getLLMChannelNodeTypes()
getLLMResponse(promptId)
getMLArchitectures()
getMLInferenceMetrics(workspaceId, inferenceId)
getMLInferences(workspaceId, inferenceId, datasetId=None, modelId=None, cursor=None, limit=None)
getMLModels(workspaceId, datasetId=None, modelId=None, cursor=None, limit=None)
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, recursive=False, offset=None, limit=None)
getVolumes(organizationId=None, workspaceId=None, volumeId=None)
getWorkspaces(organizationId=None, workspaceId=None)
listRemoteDevelopment(organizationId=None, verbose=False)
login(email, password)
mountVolumes(volumes)
putVolumeData(volumeId, key, size)
putVolumeDataFinalizer(volumeId, uploadId, key, parts)
removeGANOrganization(modelId, organizationId)
removeMember(email, organizationId=None, workspaceId=None, invitationId=None)
setChannelGraph(channelId, workspaceId, graphId=None, stagedGraphId=None)
uploadChannelDocumentation(channelId, keys=[])
uploadMLModel(workspaceId, architectureId, name, size, description=None, parameters=None)
uploadMLModelFinalizer(workspaceId, key, uploadId, parts)