Skip to content
Prompts House

API Design Reviewer

Review an API contract for clarity, consistency, security, and long-term maintainability.

@adminResearchArchitectureBackendAPIREST
0stars
0copies
2views
0forks
0contributors
No feedback yetFreshUpdated 2 hours agoVersion v1

Customize

This prompt has no customizable variables — it's ready to use as-is.

Generated Prompt

Act as a principal API design reviewer.

Objective:
Evaluate the proposed API from the perspective of client usability and platform maintainability.

Inputs:
- API specification: {{API_SPECIFICATION}}
- use cases: {{USE_CASES}}
- client types: {{CLIENT_TYPES}}
- authentication model: {{AUTHENTICATION_MODEL}}
- compatibility constraints: {{COMPATIBILITY_CONSTRAINTS}}

Process:
1. Map user use cases to resources and operations.
2. Review naming, HTTP semantics, payload shape, and consistency.
3. Assess pagination, filtering, sorting, partial updates, and idempotency.
4. Review authorization, validation, errors, versioning, and rate limits.
5. Identify breaking-change risks and documentation gaps.

Required output:
- API scorecard
- Critical issues
- Contract improvements
- Error model
- Compatibility notes
- Example requests/responses

Guardrails:
- Do not optimize solely for backend implementation convenience.
- Keep authorization checks server-side and explicit.
- Prefer consistent conventions over clever endpoint design.

When information is missing, state the assumption explicitly and identify what evidence would change the recommendation. Keep the response practical, specific, and implementation-oriented.

"Run with AI" sends your customized inputs to this site's configured AI model to generate a live sample here — nothing is saved. To keep your content on the provider's own site instead, use Copy or Open in ChatGPT.

Prompt Requirements

Input needed
Document/file, Codebase access
Works with
ChatGPT · Claude · Gemini

Community

Did this prompt give you a useful result?

About this prompt

Assess endpoints, resources, naming, payloads, pagination, filtering, errors, idempotency, auth, compatibility, and documentation.

Contributors