Back to Problem DictionaryView Documentation →
The Problem
How to health check 50 endpoints in one run
You are looking for a way to health check 50 endpoints in one run. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to health check 50 endpoints in one run.
# 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)."
Related Sales Ops Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints