| name | pulse |
| description | Query and control Pulse monitoring system via REST API. Use for checking infrastructure health, resource status (nodes/VMs/containers/storage), metrics, alerts, and system management. Supports authentication via API token or session. Use when user asks about Pulse status, infrastructure monitoring, or needs to interact with the Pulse dashboard programmatically. |
Pulse Monitoring API
CLI tool for interacting with Pulse infrastructure monitoring system.
Configuration
Set environment variables or pass flags:
PULSE_URL - Base URL (default: https://demo.pulserelay.pro)
PULSE_TOKEN - API token for authentication (pre-configured)
Quick Start
pulse health
pulse state
pulse resources --stats
pulse resource <resource-id>
pulse metrics --range 24h
Core Operations
System Health
pulse health
Infrastructure State
pulse state
Resources
pulse resources
pulse resources --stats
pulse resource <id>
Metrics & Charts
pulse metrics --range 1h
pulse metrics --range 24h
pulse metrics --range 7d
pulse storage-stats
pulse backups
Notifications
pulse test-notification
pulse notification-health
Updates
pulse updates check
pulse updates status
pulse updates apply
Advanced Features
Agent Management
pulse agents list
pulse agent <id> config
pulse agent <id> unlink
Security
pulse tokens list
pulse token create --name "automation" --scopes "monitoring:read"
pulse token revoke <id>
AI Features (Pro)
pulse ai status
pulse ai findings
pulse ai run
Environment Setup
Create a helper script at ~/.local/bin/pulse:
#!/bin/bash
PULSE_URL="${PULSE_URL:-https://demo.pulserelay.pro}"
PULSE_TOKEN="${PULSE_TOKEN:-a4b819a65b8d41318d167356dbf5be2c70b0bbf7d5fd4687bbf325a6a61819e0}"
endpoint="$1"
shift
curl -s -H "X-API-Token: $PULSE_TOKEN" \
"${PULSE_URL}/api/${endpoint}" "$@" | jq
Make it executable:
chmod +x ~/.local/bin/pulse
Common Patterns
Get RAM usage for a host
pulse state | jq '.hosts[] | {name: .displayName, memory}'
List all containers with high CPU
pulse state | jq '.containers[] | select(.cpu > 80)'
Get alerts
pulse state | jq '.alerts'
Export metrics to JSON
pulse metrics --range 24h > metrics-$(date +%Y%m%d).json
Authentication Methods
API Token (Recommended)
curl -H "X-API-Token: your-token" http://pulse:7655/api/health
Bearer Token
curl -H "Authorization: Bearer your-token" http://pulse:7655/api/health
Session Cookie
Used by web UI automatically.
Reference Files
Notes
- Most endpoints require authentication (except
/health, /version)
- Some endpoints require admin privileges or specific scopes
- Pro features require a Pulse Pro license
- Default base URL:
https://demo.pulserelay.pro/api