Skip to main content
Note: API operations are not supported for on-demand GPU instances. All API features are designed for Elastic Deployment only.

1. List Private Images

→ Request

Request Body

← Response

Response Parameters response Object Fields
Response (on success)
Python

2. Create Deployment

→ Request

Place all parameters in the request body. Details are as follows: container_template Object
Request Body

← Response

Response (on success)
Python

3. List Deployments

→ Request

Place the following parameters in the request body:
Request Body

← Response

The fields returned in each deployment object have the same meaning as the parameters used when creating the deployment.
Response (on success)

4. Scale Replicas (ReplicaSet only)

→ Request

Place the following parameters in the request body:
Request Body

← Response

Response (on success)
Python

5. Stop Entire Deployment

→ Request

Place the following parameters in the request body:
Request Body

← Response

Response (on success)
Python

6. Delete Entire Deployment

→ Request

If the deployment is still running, the system will automatically stop it first, then delete it completely (including all containers and associated resources).
Request Body

← Response

Response (on success)
Python

7. List Container Events

→ Request

Place the following parameters in the request body:
Request Body

← Response

Response Parameters Event Object Fields
Response (on success)
Python

8. List Containers

→ Request

Inside the container, you can get the current container’s UUID via the environment variable: AutoDLContainerUUID
Request Body Parameters
Request Body

← Response

Response Fields Container Object info Object (Connection Details)
Response (on success)
Python

9. Stop a Container

→ Request

Place the following parameters in the request body:
Request Body

← Response

Response Parameters
Response (on success)
Python

10. Host Blacklist

→ Request

To avoid bad machines: if a container experiences unknown issues (e.g., slow startup, crashes), you can blacklist its host to prevent future scheduling on that machine.
Request Body

← Response

Response Parameters
Response (on success)
Python

11. Get Active Blacklist

→ Request

No body required.

← Response

Response Parameters Blacklist Entry Object
Success Response
Python

12. Real-time GPU Stock by Region

→ Request

Use this endpoint before creating deployments to check real-time availability and avoid scheduling failures. Stock is calculated assuming 1 GPU per container. Even if a host has 2 idle GPUs, they may be on different machines — a container requiring 2 GPUs might still fail to schedule. Request Body Parameters
Request Body

← Response

Response Parameters GPU Inventory Object
Response (on success)
Python

13. Check Duration Package Balance

→ Request

Request Parameters (Query String)

← Response

Response Parameters Prepaid Package Object

← Response

Response (on success)
Python

14. Appendix

region_sign & dc_list

Values for dc_list (preferred) or the deprecated region_sign parameter when creating a deployment, After a container starts, the current region is also available inside the container via the environment variable.

Public Image UUID

More images are added regularly: contact support for the latest list or request a custom base image.

CUDA Version values

If your framework needs CUDA 11.5 (or any unlisted version), choose the lowest available version ≥ your requirement (e.g., 11.8 → 118). Higher drivers are backward-compatible, but picking a version that’s too high reduces available GPUs. Always select the smallest compatible value to maximize scheduling success.

Container Environment Variables