exalsius-api-client
The exalsius REST API enables programmatic access to GPU infrastructure management and orchestration capabilities.
Access the API through the exls command-line tool or integrate it directly into your applications using standard HTTP requests.
The API covers several areas:
- GPU Market Offers Browse and compare GPU instance pricing across public cloud providers and hyperscalers.
- Operator Integration Coordinates with the exalsius-operator running in a management Kubernetes cluster to handle infrastructure provisioning and node lifecycle management.
- Node Management Import cloud-provider instances or self-managed nodes (via SSH) into your node pool. Hardware characteristics of self-managed nodes are discovered automatically.
- Cluster Provisioning Create and manage Kubernetes clusters on supported cloud providers or self-managed bare-metal infrastructure.
- Service Deployment Deploy infrastructure services such as the NVIDIA GPU Operator, KubeRay, Flyte, or Kubeflow onto your clusters.
- Workspace Deployment Provision application workloads including Jupyter Notebook servers, LLM inference services, and other compute workloads on your clusters.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.46.0
- Package version: 1.46.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://exalsius.ai
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 exalsius_api_client
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 exalsius_api_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import exalsius_api_client
from exalsius_api_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.exalsius.ai/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = exalsius_api_client.Configuration(
host = "https://api.exalsius.ai/v1"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
configuration.access_token = os.environ["ACCESS_TOKEN"]
# Enter a context with an instance of the API client
with exalsius_api_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = exalsius_api_client.ClustersApi(api_client)
cluster_id = 'cluster_id_example' # str |
cluster_add_node_request = {"nodes_to_add":[{"node_id":"123e4567-e89b-12d3-a456-426614174001","node_role":"CONTROL_PLANE"}]} # ClusterAddNodeRequest |
try:
# Add nodes to a cluster
api_response = api_instance.add_nodes(cluster_id, cluster_add_node_request)
print("The response of ClustersApi->add_nodes:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ClustersApi->add_nodes: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.exalsius.ai/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ClustersApi | add_nodes | POST /cluster/{cluster_id}/nodes | Add nodes to a cluster |
| ClustersApi | adopt_cluster | POST /clusters/adopt | Adopt a cluster |
| ClustersApi | create_cluster | POST /clusters | Create a cluster |
| ClustersApi | delete_cluster | DELETE /cluster/{cluster_id} | Delete (tear-down) a cluster |
| ClustersApi | delete_node_from_cluster | DELETE /cluster/{cluster_id}/nodes/{node_id} | Delete a node from a cluster |
| ClustersApi | deploy_cluster | POST /cluster/{cluster_id}/deploy | Deploy a new cluster |
| ClustersApi | describe_cluster | GET /cluster/{cluster_id} | Get details of a single cluster |
| ClustersApi | get_cluster_kubeconfig | GET /cluster/{cluster_id}/kubeconfig | Get the kubeconfig for a cluster |
| ClustersApi | get_cluster_logs | GET /cluster/{cluster_id}/logs | Get cluster logs |
| ClustersApi | get_cluster_resources | GET /cluster/{cluster_id}/resources | List available / occupied resources in the cluster |
| ClustersApi | get_nodes | GET /cluster/{cluster_id}/nodes | Get nodes of a cluster |
| ClustersApi | list_clusters | GET /clusters | List all clusters |
| ColoniesApi | create_colony | POST /colonies | Create a colony |
| ColoniesApi | delete_colony | DELETE /colony/{colony_id} | Delete (tear-down) a colony |
| ColoniesApi | describe_colony | GET /colony/{colony_id} | Get details of a single colony |
| ColoniesApi | get_colony_kubeconfig | GET /colony/{colony_id}/kubeconfig | Get the kubeconfig for a colony |
| ColoniesApi | list_colonies | GET /colonies | List all colonies |
| ManagementApi | add_ssh_key | POST /management/ssh-keys | Add an SSH key |
| ManagementApi | delete_ssh_key | DELETE /management/ssh-key/{ssh_key_id} | Delete an SSH key |
| ManagementApi | generate_self_register_token | POST /management/self-register-token | Generate a self-register token |
| ManagementApi | get_dashboard_url | GET /management/dashboard-url | Get dashboard URL |
| ManagementApi | get_self_register_token | GET /management/self-register-token | Get the active self-register token |
| ManagementApi | list_cluster_templates | GET /management/cluster-templates | List all cluster templates |
| ManagementApi | list_credentials | GET /management/credentials | List all cloud provider credentials |
| ManagementApi | list_service_templates | GET /management/service-templates | List all available service templates |
| ManagementApi | list_ssh_keys | GET /management/ssh-keys | List all SSH keys |
| ManagementApi | list_workspace_templates | GET /management/workspace-templates | List all workspace templates |
| NodesApi | delete_node | DELETE /node/{node_id} | Delete a node from the pool |
| NodesApi | describe_node | GET /node/{node_id} | Get details of a single node in the node pool (self-managed or cloud) |
| NodesApi | import_node_from_offer | POST /node/import/offer/{offer_id} | Import a node from an offer |
| NodesApi | import_ssh | POST /node/import/ssh | Import a self-managed node via SSH |
| NodesApi | list_nodes | GET /nodes | List all imported nodes in the node pool |
| NodesApi | patch_node | PATCH /node/{node_id} | Patch a node |
| NodesApi | self_register_node | POST /node/self-register | Self-register a node using a registration token |
| OffersApi | get_offers | GET /offers | List and filter current GPU on-demand and spot market offers |
| OffersApi | get_offers_filter_metadata | GET /offers/metadata | List available offer filters and metric ranges |
| PerformancePredictionApi | get_performance_prediction | POST /performance-prediction | Get runtime performance predictions for a GPU-accelerated workload configuration |
| ServicesApi | create_service_deployment | POST /services | Create a service deployment |
| ServicesApi | delete_service_deployment | DELETE /service/{service_deployment_id} | Delete a service deployment |
| ServicesApi | describe_service_deployment | GET /service/{service_deployment_id} | Get details of a single service deployment |
| ServicesApi | list_services_deployments | GET /services | List all service deployments |
| TelemetryApi | post_telemetry_event | POST /telemetry | Post a telemetry event |
| VramPredictionApi | get_vram_prediction | POST /vram-prediction | Get the VRAM prediction for LLM fine-tuning |
| VramPredictionApi | get_vram_prediction_metadata | GET /vram-prediction/metadata | List available models and the range of parameters for VRAM prediction endpoint |
| WorkspacesApi | create_workspace | POST /workspaces | Create a workspace |
| WorkspacesApi | delete_workspace | DELETE /workspace/{workspace_id} | Delete a workspace |
| WorkspacesApi | describe_workspace | GET /workspace/{workspace_id} | Get details of a single workspace |
| WorkspacesApi | get_workspace_logs | GET /workspace/{workspace_id}/logs | Get workspace logs |
| WorkspacesApi | list_workspaces | GET /workspaces | List all workspaces |
| WorkspacesApi | start_workspace | POST /workspace/{workspace_id}/start | Start a workspace |
| WorkspacesApi | stop_workspace | POST /workspace/{workspace_id}/stop | Stop a workspace |
Documentation For Models
- BaseNode
- CloudNode
- Cluster
- ClusterAddNodeRequest
- ClusterAdoptRequest
- ClusterCreateRequest
- ClusterCreateRequestLocalStorage
- ClusterCreateResponse
- ClusterDeleteResponse
- ClusterDeployResponse
- ClusterEventPayload
- ClusterEventPayloadInvolvedObject
- ClusterKubeconfigResponse
- ClusterLocalStorage
- ClusterNodeRemoveResponse
- ClusterNodeToAdd
- ClusterNodesResponse
- ClusterResourcesListResponse
- ClusterResourcesListResponseResourcesInner
- ClusterResponse
- ClusterServicesResponse
- ClusterTemplate
- ClusterTemplateListResponse
- ClustersListResponse
- ColoniesListResponse
- Colony
- ColonyCreateRequest
- ColonyCreateResponse
- ColonyDeleteResponse
- ColonyKubeconfigResponse
- ColonyResponse
- Credentials
- CredentialsListResponse
- DashboardUrlResponse
- Error
- ErrorDetail
- GpuTypeInfo
- Kubeconfig
- NodeDeleteResponse
- NodeHardware
- NodeImportResponse
- NodeImportSshRequest
- NodePatchRequest
- NodePatchResponse
- NodeResponse
- NodeSelfRegisterRequest
- NodeSelfRegisterResponse
- NodeSoftware
- NodeSystem
- NodesListResponse
- Offer
- OfferMetadataResponse
- OffersListResponse
- PerformancePrediction
- PerformancePredictionRequest
- PerformancePredictionResponse
- SelfManagedNode
- SelfRegisterToken
- SelfRegisterTokenResponse
- Service
- ServiceCreateResponse
- ServiceDeleteResponse
- ServiceDeployment
- ServiceDeploymentCreateRequest
- ServiceResponse
- ServiceTemplate
- ServiceTemplateListResponse
- ServicesListResponse
- SshKey
- SshKeyCreateRequest
- SshKeyCreateResponse
- SshKeysListResponse
- SshKeysListResponseSshKeysInner
- TelemetryEventRequest
- VramPredictionMetadataResponse
- VramPredictionRequest
- VramPredictionResponse
- Workspace
- WorkspaceAccessInformation
- WorkspaceCreateRequest
- WorkspaceCreateResponse
- WorkspaceDeleteResponse
- WorkspaceDeployment
- WorkspaceLogPayload
- WorkspaceResponse
- WorkspaceStartResponse
- WorkspaceStopResponse
- WorkspaceTemplate
- WorkspaceTemplateListResponse
- WorkspacesListResponse
Documentation For Authorization
Authentication schemes defined for the API:
OAuth2
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://exalsius.eu.auth0.com/authorize?audience=http://api.exalsius.ai
- Scopes:
- openid: Request an ID token (mandatory for OIDC)
- gpuradar: Scope used for GPU radar operations
- nodeagent: Scope used for node agent operations
Author
Metadata
Release files for exalsius-api-client 1.46.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exalsius_api_client-1.46.0.tar.gz | 116.9 kB | With provenance | Details for exalsius_api_client-1.46.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exalsius_api_client-1.46.0-py3-none-any.whl | Python 3 | none | any | Details for exalsius_api_client-1.46.0-py3-none-any.whl |
Total release size: 403.3 kB
Release files / exalsius_api_client-1.46.0.tar.gz
| Download URL | exalsius_api_client-1.46.0.tar.gz |
|---|---|
| Size | 116.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99d86c4784ac98f7118b0b34783e3ee5cac33a3b72e343f8db98b0a5c82457ba
|
|
BLAKE2b-256 checksum How to use checksums |
9988187d510175103244cd9ac8764ae9d77f19099f86b723bab7b3ba3a45f41a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logRelease files / exalsius_api_client-1.46.0-py3-none-any.whl
| Download URL | exalsius_api_client-1.46.0-py3-none-any.whl |
|---|---|
| Size | 286.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30c531b56d14a774fe2a4e3d8c1549815294929bf2ce7abd74950bbe92f71719
|
|
BLAKE2b-256 checksum How to use checksums |
ee6dcad1999430086275a22fbfcb1dcd35ae58872d5bf9de5480d6d00ecf7bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logSecurity for exalsius-api-client 1.46.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for exalsius_api_client-1.46.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.