IT AI Skill

Api Management

Manage API lifecycle including design, development, documentation, versioning, security, monitoring, developer portal management, rate limiting, and API governance. Use when designing APIs, managing API gateways, documenting API endpoints, implementing API...

API Management & Governance

Design, deploy, secure, and manage APIs across their lifecycle while ensuring developer experience and governance compliance.

Workflow

1. API Design & Development

  1. API design principles and standards:
  1. API specification and documentation:
  1. API versioning strategy:

2. API Gateway & Runtime Management

  1. Gateway configuration and deployment:
  1. Rate limiting and throttling:
  1. Request/response transformation:

3. API Security

  1. Authentication and authorization:
  1. Security enforcement:
  1. Security monitoring and compliance:

4. API Monitoring & Analytics

  1. Performance monitoring:
  1. Usage analytics:
  1. Developer experience monitoring:

5. API Governance & Lifecycle

  1. API catalog and inventory:
  1. Design review and approval:
  1. Developer portal and enablement:

Templates & Frameworks

API Design Guidelines

API DESIGN GUIDELINES
======================

URL STRUCTURE:
  Format: /api/{version}/{resource}/{id}/{sub-resource}
  Example: /api/v2/accounts/12345/transactions
  Rules: Use nouns (not verbs), lowercase, hyphenated, plural resources

HTTP METHODS:
  GET: Retrieve resource (idempotent, no side effects)
  POST: Create new resource
  PUT: Full resource update (idempotent)
  PATCH: Partial resource update
  DELETE: Remove resource (idempotent)

RESPONSE FORMAT:
  Success (2xx): { "data": {...}, "meta": {...} }
  Error (4xx/5xx): { "error": { "code": "...", "message": "...", "details": [...] } }
  Pagination: { "data": [...], "meta": { "page": 1, "perPage": 20, "total": 150 } }

STATUS CODES:
  200: Success (GET, PUT, PATCH)
  201: Created (POST)
  204: No Content (DELETE)
  400: Bad Request (validation error)
  401: Unauthorized (missing/invalid auth)
  403: Forbidden (insufficient permissions)
  404: Not Found (resource doesn't exist)
  409: Conflict (duplicate or state conflict)
  422: Unprocessable Entity (semantic error)
  429: Too Many Requests (rate limit exceeded)
  500: Internal Server Error

RATE LIMITING:
  Standard tier: 1,000 requests/minute, 50,000/hour
  Premium tier: 5,000 requests/minute, 200,000/hour
  Enterprise tier: Custom limits per contract
  Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset

VERSIONING:
  Strategy: URL path versioning (/api/v1/, /api/v2/)
  Major version: Breaking changes only
  Minor changes: Backward compatible, no version bump
  Deprecation: 12-month notice, sunset communication
  Support: Current + 1 previous version

DOCUMENTATION REQUIREMENTS:
  OpenAPI 3.0 specification (required for all APIs)
  Interactive documentation (Swagger UI or equivalent)
  Example requests and responses
  Authentication guide
  Error code reference
  Rate limit documentation
  SDK availability (preferred languages)

API Health Dashboard

API HEALTH DASHBOARD — April 2025
===================================

API INVENTORY:
  Total APIs: 147
  Active: 128
  In development: 12
  Deprecated: 5
  Retired (sunset pending): 2

PERFORMANCE (LAST 7 DAYS):
  Avg response time: 142ms (SLA: <200ms ✓)
  p95 response time: 312ms (SLA: <500ms ✓)
  p99 response time: 587ms (SLA: <1000ms ✓)
  Total API calls: 24.7M
  Success rate: 99.2% ✓
  Error rate: 0.8% (within threshold ✓)

TOP APIs BY VOLUME:
  1. /api/v2/accounts: 8.2M calls (33.2%), avg 98ms
  2. /api/v2/transactions: 5.1M calls (20.7%), avg 156ms
  3. /api/v2/products: 4.3M calls (17.4%), avg 124ms
  4. /api/v2/users: 3.8M calls (15.4%), avg 89ms
  5. /api/v2/analytics: 1.9M calls (7.7%), avg 245ms ⚠

ERROR ANALYSIS:
  4xx errors: 0.5% (client errors — rate limit, validation, auth)
  5xx errors: 0.3% (server errors — timeout, internal error)
  Top error: 429 Too Many Requests (rate limit hit by 3 consumers)
  Top 5xx: Timeout on /api/v2/analytics (high-compute endpoint)

RATE LIMITING:
  Rate limit violations: 1,240 (0.005% of total calls)
  Consumers exceeding limit: 8 (3 external partners)
  Throttled requests: 3,420
  Rate limit policy adjustment needed: 2 consumers

SECURITY:
  Authentication failures: 892 (invalid/expired tokens)
  Authorization failures: 156 (insufficient permissions)
  Security alerts: 3 (unusual pattern detection — under review)
  Certificate expiry: 2 certs expiring within 30 days (renewal pending)

CONSUMER BREAKDOWN:
  Internal consumers: 78 (68% of traffic)
  Partner consumers: 24 (22% of traffic)
  Public consumers: 46 (10% of traffic)
  New consumers (this month): 7

SLA COMPLIANCE:
  Availability: 99.95% (SLA: 99.9% ✓)
  Response time: 97.8% within SLA (SLA: 95% ✓)
  Error rate: Within threshold ✓
  SLA breach this month: 0 ✓

Integration Points

Edge Cases

Output

API Governance Report

API GOVERNANCE REPORT — Q2 2025
=================================

COMPLIANCE STATUS:
  APIs with current OpenAPI spec: 122/128 (95.3%) ✓
  APIs with documentation: 126/128 (98.4%) ✓
  APIs passing security scan: 127/128 (99.2%) ✓
  APIs meeting SLA: 124/128 (96.9%) ✓
  APIs with defined owner: 128/128 (100%) ✓

API LIFECYCLE DISTRIBUTION:
  Design phase: 8
  Development: 14
  Testing/QA: 6
  Production (current): 98
  Production (previous version): 20
  Deprecated (sunset notice): 5
  Scheduled retirement: 2

DESIGN REVIEW METRICS:
  APIs reviewed this quarter: 18
  Average review time: 4.2 days
  Design guideline compliance: 89%
  Security review compliance: 100%
  Documentation completeness at launch: 94%

DEVELOPER EXPERIENCE:
  Developer portal visits: 23,400
  SDK downloads: 4,560
  API key registrations: 189
  Average onboarding time: 2.3 days
  Developer satisfaction: 4.1/5.0
  Support tickets (API-related): 67

INNOVATION AND IMPROVEMENT:
  API modernization in progress: 5 (gRPC migration, GraphQL addition)
  New SDK languages planned: Python, Go
  Developer community growth: +12% QoQ
  API marketplace launch: Q3 2025

Trigger Phrases

"API design", "REST API", "API gateway", "API documentation", "OpenAPI", "API security", "rate limiting", "API versioning", "developer portal", "API governance", "API lifecycle", "GraphQL", "API key", "API monitoring", "API catalog"