API Documentation
The NodePrism API is a RESTful service that provides:
- Server management
- Agent registration and monitoring
- Metrics collection and querying
- Alert management
- Event logging
Quick Links
- API Endpoints - All available endpoints
- WebSocket Events - Real-time updates
Base URL
- Development:
http://localhost:4000/api - Production:
https://your-domain.com/api
Response Format
All responses follow this structure:
{
"success": true,
"data": { ... },
"message": "Optional message"
}
Error responses:
{
"success": false,
"error": "Error message",
"details": [ ... ]
}