HARCH|CORP
API Playground
Explore and test HarchOS API endpoints with instant feedback.
API Groups
Endpoints
Request Headers
Request Body
{
"gpu_type": "H100",
"count": 8,
"region": "morocco-dakhla",
"sovereignty": "strict",
"carbon_aware": true,
"image": "pytorch/2.2.0-cuda12.1"
}
{
"id": "d-7f3a2b1c4e5f",
"status": "running",
"created_at": "2025-03-15T14:32:00Z",
"hub": {
"name": "harch-alpha",
"location": "Dakhla, Morocco",
"energy_source": "offshore wind"
},
"gpu": {
"type": "H100",
"count": 8,
"utilization": 0.87,
"memory_used_gb": 640,
"memory_total_gb": 800
},
"networking": {
"endpoint": "https://mesh.harchos.com/d-7f3a2b1c4e5f",
"latency_ms": 12,
"bandwidth_gbps": 100
},
"sustainability": {
"carbon_score": "A+",
"renewable_percentage": 100,
"co2_saved_kg": 127.4
}
}All API requests require authentication via Bearer token or API key.
Authorization: Bearer harch_sk_your_api_key_here
Never expose your API key in client-side code.
curl -X POST https://api.harchos.com/v1/compute/deploy \
-H "Authorization: Bearer harch_sk_..." \
-H "Content-Type: application/json" \
-d '{
"gpu_type": "H100",
"count": 8,
"region": "morocco-dakhla",
"sovereignty": "strict",
"carbon_aware": true,
"image": "pytorch/2.2.0-cuda12.1"
}'Free
Professional
Enterprise
Rate limits vary by tier. Upgrade for higher limits.