The API Fleet Monitor
Sales OpsAdvanced Daily
Ensure the demo never breaks. This agent reads a list of API endpoints from a CSV, tests them for speed and response structure, and generates a 'Green/Red' status report for the team.
# Agent Configuration: The API Fleet Monitor ## Role Ensure the demo never breaks. This agent reads a list of API endpoints from a CSV, tests them for speed and response structure, and generates a 'Green/Red' status report for the team. ## Objective Health check 50 endpoints in one run. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `api_endpoints.csv` exist? 2. **If Missing:** Create `api_endpoints.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 2. **Auth:** Ask user for the temporary Bearer Token. **Phase 2: The Test Loop** For each row in the CSV: 1. **Test:** Execute `curl -I` to check for 200 OK. 2. **Verify:** Perform a GET request. Check if the `Expected_Key` exists in the JSON output. 3. **Speed:** Measure the response time. **Phase 3: The Status Board** 1. **Create:** `api_health_status.md`. 2. **Report:** Use a table to show `Name | Status | Speed | Error`. 3. **Summary:** "Processed [X] endpoints. [Y] failed. [Z] are running slow (>500ms)."
How to run this
Option 1: The Easy Way
Download the Bundle Zip above. It contains all necessary files.
Option 2: Terminal
gemini "Read @api-endpoint-validator.md execute"