Skip to main content

BeeKeeperAI EscrowAI Enclave API

Project description

EnclaveSDK

Described below is the EscrowAI Enclave API that provides functionality inside a BeeKeeperAI environment. Included are data engineering endpoints and reporting endpoints.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.5.9
  • Package version: 1.5.9.dev40740
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import EnclaveSDK

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import EnclaveSDK

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import EnclaveSDK
from EnclaveSDK.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://sandbox.dev.escrow.beekeeperai.com
# See configuration.py for a list of all supported configuration parameters.
configuration = EnclaveSDK.Configuration(
    host = "http://sandbox.dev.escrow.beekeeperai.com"
)



# Enter a context with an instance of the API client
with EnclaveSDK.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = EnclaveSDK.AuthApi(api_client)
    auth_request = EnclaveSDK.AuthRequest() # AuthRequest | 

    try:
        # Authenticate and return server configuration
        api_response = api_instance.api_v1_auth_post(auth_request)
        print("The response of AuthApi->api_v1_auth_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->api_v1_auth_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://sandbox.dev.escrow.beekeeperai.com

Class Method HTTP request Description
AuthApi api_v1_auth_post POST /api/v1/auth Authenticate and return server configuration
DataApi api_v1_data_file_get GET /api/v1/data/file Retrieve a file by its filename and optionally SASUrl as a get request
DataApi api_v1_data_file_post POST /api/v1/data/file Retrieve a file by its filename and optionally SASUrl as a post request
DataApi api_v1_data_files_get GET /api/v1/data/files Retrieve a list of available files
DataApi api_v1_data_sql_select_post POST /api/v1/data/sql/select Execute a SQL query
EscrowApi api_v1_ping_attestation_get GET /api/v1/ping/attestation Ping attestation authority
EscrowApi api_v1_ping_enclave_get GET /api/v1/ping/enclave Ping to check if the enclave API is up
EscrowApi api_v1_ping_escrow_get GET /api/v1/ping/escrow Ping to check if the backend Escrow service is up
EscrowApi api_v1_ping_kms_get GET /api/v1/ping/kms Ping key manager
LogApi api_v1_log_post POST /api/v1/log Post log data
MlflowApi api20_mlflow_artifacts_artifact_path_delete DELETE /api/2.0/mlflow-artifacts/{artifactPath} Proxy DELETE request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_get GET /api/2.0/mlflow-artifacts/{artifactPath} Proxy GET request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_post POST /api/2.0/mlflow-artifacts/{artifactPath} Proxy POST request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_put PUT /api/2.0/mlflow-artifacts/{artifactPath} Proxy PUT request to MLflow Artifacts
MlflowApi api20_mlflow_proxy_path_delete DELETE /api/2.0/mlflow/{proxyPath} Proxy DELETE request to MLflow
MlflowApi api20_mlflow_proxy_path_get GET /api/2.0/mlflow/{proxyPath} Proxy GET request to MLflow
MlflowApi api20_mlflow_proxy_path_post POST /api/2.0/mlflow/{proxyPath} Proxy POST request to MLflow
MlflowApi api20_mlflow_proxy_path_put PUT /api/2.0/mlflow/{proxyPath} Proxy PUT request to MLflow
ReportApi api_v1_report_artifact_post POST /api/v1/report/artifact Upload a report artifact (image or video)
ReportApi api_v1_report_post POST /api/v1/report Post a valid report
ReportApi api_v1_validate_post POST /api/v1/validate Validate a report
RunApi api_v1_algorithm_status_post POST /api/v1/algorithm/status Log the status of an algorithm execution

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: Bearer authentication

Author

engineering@beekeeperai.com

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enclavesdk-1.5.9.dev40740-py3-none-any.whl (66.8 kB view details)

Uploaded Python 3

File details

Details for the file enclavesdk-1.5.9.dev40740-py3-none-any.whl.

File metadata

File hashes

Hashes for enclavesdk-1.5.9.dev40740-py3-none-any.whl
Algorithm Hash digest
SHA256 05968b22d0b8d755d71a0bd0a5673f9975accd8eb3fa376690a26a9c1da680e1
MD5 d3b721df07bdaca622cd2b92bf095811
BLAKE2b-256 f1252c6e83d9142158c48e8057a082981608922541ccaf109bf391fb13261eea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page