Skip to main content
7BBusyBoss

REST API design review

Reviews a REST API spec — resource naming, methods, status codes, pagination, errors.

Catches anti-patterns before they ship and become forever-versioned.

Software Engineeringapirest

The prompt

Copy this into ChatGPT, Claude, Gemini or any assistant you already use — then paste your own api spec / endpoint list underneath it.

Review the API design. Axes:

**Resource naming** — plural nouns, no verbs in URLs
**HTTP methods** — correct verbs, idempotency
**Status codes** — right code for each case (200/201/204/400/401/403/404/409/422/429/500)
**Pagination** — cursor vs offset, consistent
**Filtering / sorting** — query param syntax
**Errors** — RFC 7807 or consistent envelope
**Versioning** — header vs URL
**Security** — auth, rate limits, data exposure
**Compat** — backwards-compatible changes only

For each: ✅ what's right, ⚠️ what to change, 💡 suggestion with example.

Rules:
- Cite specific endpoints.
- Suggest renames, not rewrites.

Or run it here

0/8000
Output will appear here after you click Run.
Or run in your favourite chatbot

Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params — paste manually with Ctrl/Cmd+V.

Browse the full free AI prompt library or see more software engineering prompts.