Documentation · v2.4.0
API & CLI Reference
Provision a warm H200 microVM snapshot and stream over HTTP/3 in two commands.
Quickstart
$npm install -g @pulsestack/cli && pulsestack login $pulsestack deploy --model ps-llama-70b-fp8 --regions iad,fra --warm Authentication
Pass your scoped Bearer token in the Authorization header. Tokens can be pinned to regional jurisdictions such as eu-strict so out-of-region traffic terminates before compute allocation.
Endpoints
Streaming Model Inference
Execute deterministic low-latency inference on the nearest or pinned bare-metal GPU blade with optional SSE streaming and inline trace headers.
Request
{
"model": "ps-llama-70b-fp8",
"region": "iad",
"stream": true,
"max_tokens": 512,
"messages": [
{ "role": "system", "content": "Respond with concise JSON." },
{ "role": "user", "content": "Summarize cluster health for iad-b04." }
]
} 200 OK
{
"id": "inf_01JDR7X92M4Q8K",
"object": "inference.completion",
"pop": "iad",
"node": "iad-b04-h200",
"cold_start": false,
"trace": {
"dns_ms": 1.2,
"tls_ms": 2.3,
"auth_ms": 0.9,
"gpu_prefill_ms": 5.1,
"ttft_ms": 10.7
},
"usage": { "prompt_tokens": 42, "completion_tokens": 118, "tok_per_sec": 412 }
} Batch Dense Vector Embeddings
Generate L2-normalized dense embeddings with continuous micro-batching up to 512 inputs per call on edge FP16/BF16 tensor lanes.
Request
{
"model": "ps-embed-v3-large",
"dimensions": 1024,
"encoding": "float32",
"input": [
"Bare-metal RDMA fabric across 42 PoPs",
"Firecracker microVM snapshot hydration"
]
} 200 OK
{
"object": "list",
"pop": "fra",
"dimensions": 1024,
"compute_ms": 4.8,
"data": [
{ "index": 0, "embedding": [0.0182, -0.0419, 0.0094, "..."] },
{ "index": 1, "embedding": [-0.0114, 0.0273, 0.0338, "..."] }
]
} Global PoP Telemetry & Health
Inspect real-time GPU queue depth, available H200/B200 blade slots, and rolling 5-minute p95 latencies across all 42 active PoPs.
Request
GET /v1/regions/health?gpu_class=h200 HTTP/3
Host: api.pulsestack.example
Authorization: Bearer ps_live_••••••••••••9a4f 200 OK
{
"status": "operational",
"active_pops": 42,
"global_p95_ms": 11.4,
"regions": [
{ "pop": "iad", "gpu_class": "h200", "p95_ms": 10.7, "queue_ms": 0.4, "healthy": true },
{ "pop": "fra", "gpu_class": "h200", "p95_ms": 11.7, "queue_ms": 0.5, "healthy": true },
{ "pop": "nrt", "gpu_class": "h200", "p95_ms": 12.4, "queue_ms": 0.6, "healthy": true }
]
} Warm MicroVM Snapshot Pinning
Pre-hydrate custom LoRA adapters or quantized weights into pinned host memory across chosen PoPs to maintain 0 ms cold starts.
Request
{
"artifact_uri": "ps-registry://org/code-ft-v4@sha256:88f1e4c9",
"regions": ["iad", "fra", "sjc"],
"vram_gb": 80
} 200 OK
{
"snapshot_id": "snap_94k201a7",
"state": "hydrated",
"restore_p50_ms": 3.8,
"replicated_pops": ["iad", "fra", "sjc"],
"checksum_verified": true
}