API REST
Referencia de la API
Gestiona toda tu infraestructura de CubePath desde código: 313 endpoints en 24 productos, generados directamente de la API en vivo.
Welcome to CubePath Cloud! Our API helps you manage your cloud infrastructure with ease. Create servers, manage networks, handle payments, and more - all through simple API calls.
AI assistants (MCP)
Everything below is also available to AI assistants through an MCP server, so you can operate your infrastructure in plain language: mcp.cubepath.com has the install snippet for every client, the full tool list and how permissions work.
URL base
Todas las peticiones van por HTTPS al host de la API. Los cuerpos de petición y respuesta son JSON.
https://api.cubepath.comAutenticación
Autentícate con un token de API, como Bearer o en la cabecera X-API-Key. Crea un token en el panel y guárdalo en secreto: actúa con tus permisos.
curl https://api.cubepath.com/projects/ \
-H "Authorization: Bearer $CUBEPATH_API_TOKEN"
# o, de forma equivalente
curl https://api.cubepath.com/projects/ \
-H "X-API-Key: $CUBEPATH_API_TOKEN"Errores
Los errores usan códigos de estado HTTP estándar y devuelven un JSON con un detail legible. Los errores de validación devuelven 422.
{
"detail": "VPS not found"
}Las respuestas con límite de peticiones incluyen las cabeceras X-RateLimit-Limit, X-RateLimit-Remaining y X-RateLimit-Reset; un 429 significa que debes esperar al reset.
Productos
4 endpoints
31 endpoints
6 endpoints
19 endpoints
24 endpoints
23 endpoints
36 endpoints
13 endpoints
6 endpoints
6 endpoints
18 endpoints
9 endpoints
1 endpoint
39 endpoints
22 endpoints
25 endpoints
3 endpoints
6 endpoints
4 endpoints
3 endpoints
11 endpoints
2 endpoints
1 endpoint
1 endpoint