Introduction
The AVxcelerate Resource Manager REST API v0.1.0 is compatible with the AVX Architecture V2. This REST API allows to perform CRUD (Create, Read, Update, and Delete) operations on resources such as queues, deployments, applications and app-runtime-configurations.Features
Plugins
You can register a plugin with definition of container runtime. For example: Docker Engine / KubernetesPython helper
The AVxcelerate python APIs are hosted as a python package on a cluster as part of the Explore service deployment. The developers can install the package using pip and use it to call AVx autonomy APIs without needing to make raw REST calls.PyPi Regsitry URL:
The python package is hosted as PyPi compliant registry on each deployed cluster. The registry URL is like this:Usage example
Pre-requisites: We assume that the system is running with the Ubuntu 22.04 version, and that the following tools are already installed:- python 3.10
- pip 25.1
- uv 0.6
- ansys-api-avxcelerate-autonomy
- ansys-avxcelerate-autonomy
Optimize available resource through worker management
1. Introduction: worker management in simulation jobs
If you submit a large number of simulation jobs, this will trigger the creation of workers that are queued and launched simultaneously. This creation of many worker instances (referred to as containers in Kubernetes) can overload the cluster. As a result, the cluster’s resources may become depleted, which could lead to failures or even a complete system crash.2. Cluster Resource Usage Optimization
To prevent this issue, you can set a limit on the maximum number of worker instances that can be created during a simulation job. This limit is controlled by the maximum_allowed_worker_instances parameter, which can be set when creating or updating a queue via the Resource Manager REST API. Once this limit is configured, the system will only launch up to the specified number of workers at the same time; any additional jobs will remain in a waiting state until sufficient worker capacity becomes available.Example
- If The maximum_allowed_worker_instances parameter is set to 10 for the queue named Default.
- Two jobs are created: a. Job (1) with 10 worker instances b. Job (2) with 8 worker instances
Additional Containers
While worker instances are the primary consumers of cluster resources, there are two additional containers that are created when a job is submitted:- Simulation Controller Instance (created on the simulation-controller-queue): Manages the job and its associated workers.
- Post Controller Instance (created on the post-controller-queue): Launched when the visualization tab is opened in the UI and is responsible for data analysis.
Configuring maximum number of parallel running workers per queue
Through the Resource REST API, and the maximum_allowed_worker_instances parameter you are able to configure the maximum number of parallel running workers per job. Set a limit to the following parameter:

Getting a Token to use the REST API
To use the REST API, you need to enter a Token To generate the Token:- Run the following command from your terminal, to generate a token:
- Go the REST API documentation page.
- Click Authorize

- Enter Bearer in the Value field, with a space at the end. Then, insert the access token. Click Authorize once again.

Creating and Configuring Queues
The following steps explain how to add or update an existing queue through the Resource Manager REST API that will appear in the Explore web app to be selected during the simulation job configuration. To create a queue you need to make a POST request to:- Edit the Request body and click Try it out.
- Click Execute. A Queue ID will be generated.



