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
Queues
- You can create queues with the required storages, resource limits and environment variables
- Allowing to manage queues helps will help you configure different applications within resource limits and group the applications requiring same storage together.
- You can adjust the maximum number of workers that can concurrently run on a queue using the parameter ‘maximum_allowed_worker_instances’
Plugins
You can register a plugin with definition of container runtime. For example: Docker Engine / KubernetesJobs
- You can submit a resource-manager job by providing application details (name, version, image, environment variables, etc.) and track it to its completion.
- You can also check the status of the job and clean the resources the job has acquired.
Python 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: https://explore.\{\{ domain }}/api/explore/pypiUsage example
Pre-requisites: We assume that on 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 local.
- 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:

Download concrete scenario files
It is possible to download the concrete scenario files of simulation jobs through the REST API. To do this, you need to provides a list of sample_ids to generate concrete scenario files for those samples.- If ‘samples’ is empty or not provided, no concrete file is included.
- If ‘samples’ is specified, than all the concrete files will be included for these samples in the zip.
- Scenario files
- Asset files