# 1. Create a cluster (returns 202 with request_id)
curl -X POST https://engine.tensorpool.dev/cluster/create \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"instance_type": "1xH100", "ssh_key_id": "key_abc123"}'
# Response: 202 Accepted
# { "request_id": "req_abc123" }
# 2. Poll until terminal state
curl https://engine.tensorpool.dev/request/info/req_abc123 \
-H "Authorization: Bearer YOUR_API_TOKEN"
# Response includes Retry-After header
# { "status": "PENDING", ... }
# 3. Keep polling (respecting Retry-After) until COMPLETED or FAILED
# { "status": "COMPLETED", ... }