castai-webhooks-events

Featured

Configure CAST AI webhook notifications for cluster events and audit logs. Use when setting up alerts for node scaling, cost threshold events, or integrating CAST AI events with Slack, PagerDuty, or custom endpoints. Trigger with phrases like "cast ai webhooks", "cast ai notifications", "cast ai slack alerts", "cast ai events".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CAST AI Webhooks & Events ## Overview CAST AI emits events for node lifecycle changes, autoscaler decisions, and security findings. Configure webhook endpoints or use the audit log API to track all cluster operations. Integrates with Slack, PagerDuty, and custom HTTP endpoints. ## Prerequisites - CAST AI cluster connected and active - HTTPS endpoint for receiving webhooks (or Slack webhook URL) - API key with Full Access ## Instructions ### Step 1: Configure Notification Channels in Console Navigate to console.cast.ai > your cluster > Notifications. Available channels: - **Slack**: Webhook URL integration - **Email**: Per-user notifications - **PagerDuty**: Incident escalation - **Custom webhook**: Any HTTPS endpoint ### Step 2: Query Audit Log via API ```bash # Get recent cluster operations curl -s -H "X-API-Key: ${CASTAI_API_KEY}" \ "https://api.cast.ai/v1/kubernetes/clusters/${CASTAI_CLUSTER_ID}/audit-log?limit=20" \ | jq '.items[] | { time: .createdAt, action: .action, initiator: .initiatedBy, details: .details }' ``` ### Step 3: Build a Custom Notification Handler ```typescript // castai-webhook-handler.ts import express from "express"; const app = express(); app.use(express.json()); interface CastAIEvent { eventType: string; clusterId: string; clusterName: string; timestamp: string; data: { nodeName?: string; instanceType?: string; lifecycle?: string; action?: string; savingsImpact?: number; }; } app...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category