Skip to main content
OPENAPI · GRAPHQL · CONTRACT TESTING

API Design & GraphQL/REST

Pulkit Mundra designs contract-first REST, GraphQL, and agentic MCP API surfaces engineered for both human developers and LLM tool callers. Drawing on 800+ shipped production and simulated endpoints across Django, FastAPI, Flask, and Pydantic v2, he establishes clean resource modeling, predictable pagination and error envelopes, strict schema validation, and long-term backward compatibility.

01 / Core Capabilities

What gets architected & shipped

OpenAPI/SwaggerGraphQL schemasAuth & rate limits
Versioned OpenAPI 3.1 / GraphQL SDL Contracts

Consistent resource naming, cursor pagination, idempotency headers, structured RFC-style error codes, and automated schema linting in CI.

Strict Pydantic v2 Validation & Auth Guardrails

Fail-fast input validation, scoped OAuth2/JWT/API-key authorization, per-tenant rate limits, and clean separation between internal models and public DTOs.

Dual Human + Agent-Ready Tool Overlays

Clean REST/GraphQL endpoints paired with lean, workflow-aligned MCP tool facades when APIs must serve both UI clients and autonomous agents.

01b / Bottlenecks Solved

Production failure modes this track eliminates

Inconsistent Payloads, Pagination & Error Shapes

Mixed camelCase/snake_case fields, unpaginated list endpoints, and ambiguous 400/500 responses force frontend and partner clients to write brittle defensive glue.

Over-Fetching in REST or N+1 Explosion in GraphQL

Unbounded GraphQL resolvers and bloated REST serializers degrade response times and starve database connection pools under real load.

Human-Only Endpoints Failing When Exposed to AI Agents

Deeply nested unions and undocumented parameter constraints confuse LLM function callers and waste context tokens on redundant metadata.

02 / Execution Pipeline

How engagements run end-to-end

  1. 01
    Use-case mapping

    Translate consumer workflows and partner integrations into clean resource and event contracts.

  2. 02
    Schema design

    Author versioned OpenAPI/JSON schemas with consistent pagination, filtering, and error envelopes.

  3. 03
    Implement

    Build high-throughput FastAPI/Django endpoints with validation, rate limiting, and RBAC.

  4. 04
    Docs

    Author runnable quickstarts, copy-pasteable endpoint examples, and OpenAPI/reference guides.

  5. 05
    Hardening

    Run load tests, fuzz edge-case payloads, enforce auth scopes, and lock in contract tests.

03 / Production Proof & Case Studies

Shipped systems & benchmarks in this domain

04 / Technical FAQs

Common architectural questions

I choose pragmatically. REST for simplicity and caching, GraphQL for flexible, client-driven queries.