Docs

API documentation

GPUForge REST API · v1

Authentication

GET /api/v1/clusters?page=1&limit=100
Authorization: Bearer <token>
Content-Type: application/json

API configuration

VITE_USE_MOCKS=false
VITE_API_URL=https://api.gpuforge.cloud

Responses

{ "items": [], "page": 1, "limit": 100, "total": 0 }

// Errors
{ "code": "not_found", "message": "Resource not found" }
The complete endpoint contract and shared TypeScript entities are included in docs/api-contract.md and src/api/types.ts.