HARCH|CORP
Bac à sable — En-tête
Testez l'API HarchOS en direct avec notre bac à sable interactif.
Groupes API du bac à sable
Points de terminaison du bac à sable
En-têtes de la Requête
Corps de la Requête
{
"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
}
}Toutes les requêtes API nécessitent une authentification par jeton Bearer ou clé API.
Authorization: Bearer harch_sk_your_api_key_here
N'exposez jamais votre clé API dans le code côté client.
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
Limites de débit appliquées pour garantir la stabilité du service.