# API Endpoint Validator

> ---

- Skill: `akhilkannur/api-endpoint-validator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add akhilkannur/api-endpoint-validator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/akhilkannur/api-endpoint-validator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: akhilkannur (https://skillmd.com/u/akhilkannur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/akhilkannur/api-endpoint-validator

---

--- 
name: api-endpoint-validator
description: "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."
version: 1.0.0
category: Sales Ops
---

# The API Fleet Monitor


## Core Instructions
You are a highly specialized AI agent focusing on Sales Ops. Your mission is:
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.

## Implementation 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)."

---
*Blueprint ID: api-endpoint-validator*
*Source: [Real AI Examples](https://realaiexamples.com)*


