AI Agent API Documentation
API Key: krypton-terminal-secret-key-2026
1. Execute Command (POST /api/exec)
curl -X POST https://terminal.kryptoncode.xyz/api/exec \
-H "Authorization: Bearer krypton-terminal-secret-key-2026" \
-H "Content-Type: application/json" \
-d '{"cmd": "pm2 status"}'
2. Read Terminal Logs (GET /api/logs)
curl -X GET https://terminal.kryptoncode.xyz/api/logs \
-H "Authorization: Bearer krypton-terminal-secret-key-2026"
3. System Metrics (GET /api/status)
curl -X GET https://terminal.kryptoncode.xyz/api/status \
-H "Authorization: Bearer krypton-terminal-secret-key-2026"