CLI & APIs

Automate Everything

Two CLI tools for different needs: quant for static sites, qc for cloud applications. Plus REST APIs with OpenAPI specifications and SDKs.

CLI Tools
Ready
quant deploy dist/
Scanning ./dist ... 42 files
Uploading 100%
Invalidating cache ... done
Deploy complete
42 files uploaded in 1.2s
Live at https://example.quantcdn.io
quant static
qc cloud
REST API
npm install OpenAPI 3.0
4 SDKs
2
CLI Tools
4
SDK Languages
REST
APIs
OpenAPI
3.0 Spec
Quant CLI

Static Site Deployment

The Quant CLI (@quantcdn/quant-cli) provides complete control over static site deployments. Initialize projects, deploy directories, manage redirects, and purge cache.

  • quant init/deploy
  • File & page uploads
  • Redirect management
  • Cache purge & search

CLI documentation

Quant CLI
@quantcdn/quant-cli
quant deploy
Scanning ./dist for changes
Changes detected 4 files
index.html new
about/index.html new
_astro/main.js modified
_astro/styles.css unchanged
Uploading 3 files
100%
Deployed successfully
3 files uploaded, 1 unchanged
2.1s
Incremental
npm install
CI/CD ready
Cloud CLI
qc
qc env list
production
healthy
staging
healthy
pr-123
deploying
qc env logs --follow
[web] GET /api/users 200
[web] POST /api/orders 201
[worker] Processing job #847
qc ssh web
Connected to web-7f8d9b4c
qc backup create --type=database
Backup created: bak_2024_01_15.sql.gz
SSH access Live logs Backups
View docs
Cloud CLI

Application Management

The Quant Cloud CLI (qc) manages cloud applications, environments, logs, backups, and more. SSH access, live metrics, and visual regression testing included.

  • qc env create/logs/metrics
  • qc ssh for terminal access
  • qc backup create/download
  • qc vrt for visual testing

Cloud CLI docs

REST APIs

Complete API Coverage

Multiple REST APIs cover all QuantCDN functionality. CDN management, domain configuration, applications, DNS - all accessible via API with OpenAPI specs.

  • CDN Management API
  • Application API
  • DNS API
  • AI Services API

API documentation

REST APIs OpenAPI 3.0
v1
CDN Management
api.quantcdn.io
GET /projects POST /deploy DELETE /purge
Application API
cloud.quantcdn.io
GET /envs POST /deploy PATCH /scale
DNS API
api.quantcdn.io/dns
GET /zones POST /records DELETE /records
SDK Libraries
TypeScript
Go
Python
PHP
OpenAPI 3.0 Bearer auth
4 SDKs

Start Automating

CLI tools and API access included in all plans. 30-day free trial.

Quant CLI (static)
Cloud CLI (apps)
REST APIs
30-day free trial