APINode API services

Reference documentation

class dataikuapi.dss.apiservice.DSSAPIServiceSettings(client, project_key, service_id, settings)
add_prediction_endpoint(endpoint_id, saved_model_id)
save()

Saves back these settings to the API Service

class dataikuapi.dss.apiservice.DSSAPIService(client, project_key, service_id)

An API Service on the DSS instance

get_settings()

Gets the settings of this API Service

list_packages()

List the packages of this API services

Returns:
the list of API service packages, each one as a JSON object
create_package(package_id)

Prepare a package of this API service

delete_package(package_id)

Delete a package of this API service

download_package_stream(package_id)

Download a package archive that can be deployed in a DSS API Node, as a binary stream.

Warning: this stream will monopolize the DSSClient until closed.

download_package_to_file(package_id, path)

Download a package archive that can be deployed in a DSS API Node, into the given output file.