Skip to main content

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

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": [ ... ]
}