---
author: "Umesh Malik"
canonical: "https://umesh-malik.com/blog/tag/api-design"
description: "Explore articles tagged with API Design by Umesh Malik — AI Engineer, LLM & GenAI Developer. Learn API Design best practices, practical tips, and in-depth guides."
title: "Umesh Malik's Blog - API Design Articles | API Design Tutorials"
tokens: 274
generator: "scripts/generate-page-markdown.mjs"
---

[← Back to Blog](https://umesh-malik.com/blog)

# API Design

2 articles

 [![OAuth consent screen with optional scope checkboxes that let users narrow agent permissions](https://umesh-malik.com/blog/optional-oauth-scopes-mcp-servers-cover.png)

Web Engineering • Aug 23, 2026

### Configure Optional OAuth Scopes for MCP Servers and Agents

Configure optional OAuth scopes so users can narrow agent permissions at consent. The API call, the UX, and handling partial grants.

6 min read

Read more →](https://umesh-malik.com/blog/optional-oauth-scopes-mcp-servers)

 [![Diagram of an AI agent paying an API over the x402 HTTP 402 protocol using a Cloudflare Virtual Wallet](https://umesh-malik.com/blog/cloudflare-wallets-x402-agent-payments-cover.png)

AI Engineering • Aug 4, 2026

### Cloudflare Wallets and x402: How AI Agents Pay for APIs

Cloudflare Wallets and x402 explained: how AI agents get a spending identity, how HTTP 402 payments work, and what breaks when your agent holds a budget.

10 min read

Read more →](https://umesh-malik.com/blog/cloudflare-wallets-x402-agent-payments)
