Authentication

Base URL & Auth

https://api.can-qc01.ubqt.cloud/v1

Authentication is done via Bearer token. Include your API key in the Authorization header of each request.

curl https://api.can-qc01.ubqt.cloud/v1/vms \ -H "Authorization: Bearer ubqt-sk-xxxxxxxxxxxx" \ -H "Content-Type: application/json"
Compute

UVM · Virtual Machines

MethodEndpointDescription
GET/v1/vmsList VMs
POST/v1/vmsCreate a VM
GET/v1/vms/{id}Details of a VM
DELETE/v1/vms/{id}Delete a VM
POST/v1/vms/{id}/actions/startStart a VM
POST/v1/vms/{id}/actions/stopStop a VM
POST/v1/vms/{id}/actions/rebootReboot a VM
Storage

UOS · Object Storage

MethodEndpointDescription
s3.can-qc01.ubqt.cloudS3-compatible endpoint
GET/v1/storage/bucketsList buckets
POST/v1/storage/bucketsCreate a bucket
DELETE/v1/storage/buckets/{name}Delete a bucket

UBS · Block Storage

MethodEndpointDescription
GET/v1/volumesList volumes
POST/v1/volumesCreate a volume
GET/v1/volumes/{id}Details
POST/v1/volumes/{id}/attachAttach to an instance
POST/v1/volumes/{id}/detachDetach
POST/v1/volumes/{id}/snapshotsCreate a snapshot
DELETE/v1/volumes/{id}Delete
PaaS

UKS · Managed Kubernetes

MethodEndpointDescription
GET/v1/kubernetes/namespacesList namespaces
POST/v1/kubernetes/namespacesCreate a namespace
GET/v1/kubernetes/namespaces/{id}/kubeconfigDownload kubeconfig
DELETE/v1/kubernetes/namespaces/{id}Delete a namespace
Databases

UDB · Managed Databases

MethodEndpointDescription
GET/v1/databasesList instances
POST/v1/databasesCreate an instance
GET/v1/databases/{id}Instance details
GET/v1/databases/{id}/credentialsGet credentials
DELETE/v1/databases/{id}Delete an instance
DNS

UDNS · Managed DNS

MethodEndpointDescription
GET/v1/dns/zonesList zones
POST/v1/dns/zonesCreate a zone
GET/v1/dns/zones/{id}/recordsList records
POST/v1/dns/zones/{id}/recordsAdd a record
DELETE/v1/dns/zones/{id}/records/{rid}Delete a record
AI

ULLM · AI

MethodEndpointDescription
GET/v1/gpu/instancesList GPU instances
POST/v1/gpu/instancesCreate a GPU instance
POST/v1/ai/chat/completionsInference API (compatible OpenAI)
GET/v1/ai/modelsList available models
Reference

Response Codes

CodeMeaning
200Success
201Created successfully
400Bad request
401Unauthenticated
403Unauthorized
404Resource not found
429Too many requests (rate limit)
500Server Error
Rate Limits

Rate Limits

100 requests per minute by default. The X-RateLimit-Remaining header is included in each response to track your usage.

Need higher limits? Contact Us.

Tools

SDKs