Skip to main content

Api Integration Framework

Build reusable API integration framework with authentication, request/response handling, rate limiting, circuit breaker, and monitoring.

Complexity: Moderate | Duration: 15-30m | Category: Devops

Tags: automation api integration framework

Workflow Diagram

Steps

Step 1: Client abstraction

Agent: backend

architect - Create base API client class

Step 2: Authentication

Agent: backend

architect - Support OAuth, API key, JWT, basic auth

Step 3: Request builder

Agent: backend

architect - Fluent interface for building requests

Step 4: Response parsing

Agent: backend

architect - Parse JSON/XML, handle errors

Step 5: Retry logic

Agent: automation

specialist - Exponential backoff, max retries

Step 6: Circuit breaker

Agent: automation

specialist - Prevent cascading failures

Step 7: Rate limiting

Agent: backend

architect - Client-side rate limiter

Step 8: Logging/monitoring

Agent: automation

specialist - Log requests, responses, errors

Usage

To execute this workflow:

/workflow devops/api-integration-framework.workflow

See other workflows in this category for related automation patterns.