Overview
The Get Cluster Details endpoint provides comprehensive information about a specific GPU cluster, including real-time status, performance metrics, network configuration, cost information, and connection details. Essential for monitoring and managing individual clusters.Endpoint
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
cluster_id | string | Yes | Unique cluster identifier |
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
include_metrics | boolean | No | Include real-time performance metrics (default: true) |
include_logs | boolean | No | Include recent log entries (default: false) |
include_cost_breakdown | boolean | No | Include detailed cost breakdown (default: true) |
metrics_window | string | No | Metrics time window: 1h , 6h , 24h , 7d (default: 1h ) |
Request Examples
Response Schema
Response Fields
Status Information
status
: Current cluster state (starting
,running
,stopping
,stopped
,error
)status_details
: Detailed status information and health checkshealth_checks
: Individual component health status
Configuration Details
configuration
: Hardware and software configurationtemplate_info
: Information about the template usedenvironment
: Environment variables and runtime information
Network and Connectivity
network
: Complete networking configurationssh_connection
: SSH access details and statusport_mappings
: Exposed ports and their URLsproxy_url
: Main cluster access URL
Performance Metrics
metrics.current
: Real-time performance datametrics.historical
: Historical performance trendsmetrics.alerts
: Active performance alerts
Cost Information
cost.current_hourly_rate
: Current billing ratecost.cost_breakdown
: Detailed cost componentscost.cost_projections
: Future cost estimates
Use Cases
Cluster Health Monitoring
Monitor cluster health and performance for proactive management.Connection Information Retrieval
Get connection details for accessing cluster services.Cost Analysis and Optimization
Analyze cluster costs and identify optimization opportunities.Performance Monitoring Dashboard
Create real-time performance monitoring for multiple clusters.Error Handling
Security Considerations
- Access Control: Ensure proper permissions for cluster access
- Sensitive Data: Cluster details may contain sensitive configuration information
- API Key Security: Use secure storage for API keys with appropriate scopes
- Network Security: Monitor exposed ports and access patterns
Best Practices
- Regular Monitoring: Check cluster health and metrics regularly
- Cost Awareness: Monitor costs and set up alerts for unexpected charges
- Performance Optimization: Use metrics to optimize cluster configurations
- Security Compliance: Regularly review access logs and security settings
- Resource Planning: Use historical data for future capacity planning
Authorizations
API key authentication. Use 'Bearer YOUR_API_KEY' format.
Response
List of clusters
The response is of type object[]
.