NeurOps exposes several APIs to manage hardware simulation, inject chaos, and interact with the AI assistant.
Base URL: http://localhost:8080 (Default)
Interactive Docs: http://localhost:8080/docs (Swagger UI)
- Description: Forces the CPU usage of the specified server to 95%.
- Response:
{"message": "CPU spike injected for server-1"}
- Description: Forces the temperature reading to 95°C.
- Response:
{"message": "High temperature injected for server-1"}
- Description: Forces the
PowerStatetoOfffor the specified server.
- Description: Sets the
PowerStateback toOn.
- Description: Clears all active simulations for the target server and returns it to its base state.
These endpoints serve as standardized integration points for production remediation workflows. While they simulate recovery in this environment, they are designed to be tied to actual workload automation.
- Description: Simulates a hardware power-cycle or system reboot.
- Production Note: Can be tied to real Redfish Reset commands or Intelligent PDU cycles.
- Description: Simulates clearing resource spikes or memory leaks.
- Production Note: Use this as a hook for automation that restarts services or migrates workloads.
Base URL: http://localhost:8000 (Default)
- Description: Send a natural language question to the AI Agent.
- Request Body:
{ "question": "Show me the health status of all servers." } - Response:
{ "answer": "All servers are currently healthy except server-1, which is reporting high temperatures." }
Base URL: http://localhost:8001 (to 8003)
- Description: Standard Redfish collection endpoint.
- Note: These should usually be accessed via the Chaos Proxy for the best experience.
Tip
Swagger/OpenAPI: Since we use FastAPI, you can always visit /docs on any API port to see the full, interactive documentation and try out endpoints directly from your browser.